Optimized version of powf()
[glibc.git] / ChangeLog
blob1c3e6ff78bed9717f7e596bd957db507f0306e1d
1 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
3         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
4         rearranged code and doubles float types.
6 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
8         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
9         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
11 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
13         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
14         to errno, and simplify remaining related code.
16 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
19         PPC_FEATURE2_SCV.
20         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
21         and darn.
23 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
26         the implementation-specific function name and remove unneeded macros
27         definition.
28         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
29         function name if not defined and pass as parameter to macros
30         accordingly.
32 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
35         (libm-sysdep_routines): Add s_llroundf-ppc64.
36         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
37         (__llroundf): Define as strong alias of __llround.
38         (llroundf):  Define as weak alias of __llround.
39         (__lroundf): Define as strong alias of __llround.
40         (lroundf):  Define as weak alias of __llround.
41         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
42         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
43         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
44         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
45         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
46         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
47         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
49 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
51         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
52         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
54         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
55         (MATH_TESTS_TG): New macro.
56         (SNAN_TESTS_float128): Likewise.
57         (ROUNDING_TESTS_float128): Likewise.
58         (EXCEPTION_TESTS_float128): Likewise.
59         (SNAN_TESTS): Define using MATH_TESTS_TG.
60         (ROUNDING_TESTS): Likewise.
61         (EXCEPTION_TESTS): Likewise.
63         * sysdeps/ieee754/float128/float128_private.h
64         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
65         pass it to SET_RESTORE_ROUNDF128.
67         * sysdeps/ieee754/float128/float128_private.h: Include
68         <ieee754.h>.
70         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
71         typeof to argument passed to __builtin_types_compatible_p.
72         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
74         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
75         <errno.h>.
76         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
77         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
78         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
79         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
80         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
81         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
82         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
83         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
84         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
85         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
86         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
87         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
88         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
89         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
90         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
91         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
92         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
93         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
94         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
95         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
96         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
97         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
99         * sysdeps/ieee754/float128/strtof128_l.c: Include
100         <bits/types/locale_t.h> instead of <xlocale.h>.
101         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
102         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
104 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
106         * benchtests/scripts/benchout_strings.schema.json: New file.
107         * benchtests/scripts/compare_strings.py: New file.
109         * benchtests/bench-memcpy-large.c: Include json-lib.h.
110         (do_one_test): Print json.
111         (do_test): Likewise.
112         (test_main): Likewise.
113         * benchtests/bench-memcpy-random.c: Include json-lib.h.
114         (do_one_test): Print json.
115         (do_test): Likewise.
116         (test_main): Likewise.
117         * benchtests/bench-memcpy.c: Include json-lib.h.
118         (do_one_test): Print json.
119         (do_test): Likewise.
120         (test_main): Likewise.
122         * benchtests/json-lib.h: Include inttypes.h.
123         (json_attr_int, json_attr_int, json_element_string,
124         json_element_int, json_element_uint): New functions.
125         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
126         json_element_string, json_element_int, json_element_uint): New
127         functions.
129 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
131         * manual/arith.texi (Remainder Functions): Describe remainder as
132         primary and drem as an alternative name.  Change the comment on
133         remainder to ISO, since it is defined in ISO C99.
135 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
137         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
138         macro expansion.
139         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
141 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
143         [BZ #21533]
144         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
145         201706L for Unicode 10.0.
147 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
149         [BZ #21657]
150         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
151         on node-local addresses.
152         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
154 2017-06-21  Florian Weimer  <fweimer@redhat.com>
156         * intl/loadmsgcat.c: Remove alloca support.
157         (_nl_load_domain): Use calloc instead of alloca.
159 2017-04-21  Florian Weimer  <fweimer@redhat.com>
161         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
162         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
163         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
164         alloc_buffer_create_failure.
165         * malloc/Versions (__libc_alloc_buffer_alloc_array)
166         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
167         (__libc_alloc_buffer_copy_string)
168         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
169         * malloc/alloc_buffer_alloc_array.c: New file.
170         * malloc/alloc_buffer_allocate.c: Likewise.
171         * malloc/alloc_buffer_copy_bytes.c: Likewise.
172         * malloc/alloc_buffer_copy_string.c: Likewise.
173         * malloc/alloc_buffer_create_failure.c: Likewise.
174         * malloc/tst-alloc_buffer.c: Likewise.
176 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
178         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
179         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
180         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
181         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
182         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
183         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
184         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
185         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
186         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
187         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
188         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
189         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
190         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
191         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
192         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
193         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
194         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
195         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
196         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
197         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
198         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
199         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
200         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
201         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
202         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
203         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
204         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
205         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
206         "locale-defines.h".
207         (UPDATE_STRNCMP_COUNTER): New.
208         (SECTION): Likewise.
209         (GLABEL): Likewise.
210         (LABEL): Likewise.
211         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
212         for libc.a.
214 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
216         [BZ #21622]
217         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
218         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
219         __USE_MISC].
220         (SA_NODEFER): Likewise.
221         (SA_RESETHAND): Likewise.
223 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
225         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
226         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
227         Remove security_level on all fields.
228         * manual/tunables.texi: Replace ifunc with hwcaps.
229         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
230         Renamed to ..
231         (TUNABLE_CALLBACK (set_hwcaps)): This.
232         (init_cpu_features): Updated.
233         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
234         data_cache_size, data_cache_size and non_temporal_threshold to
235         unsigned long int.
236         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
237         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
238         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
239         use DEFAULT_STRLEN.
241 2017-06-21  Florian Weimer  <fweimer@redhat.com>
243         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
244         asprintf to construct an absolute pathname.
246 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
248         * misc/tst-preadvwritev2-common.c: New file.
249         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
250         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
252 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
254         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
255         annotation.
256         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
258 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
260         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
261         hidden __GI__dl_argv symbol.
263 2017-06-21  Florian Weimer  <fweimer@redhat.com>
265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
266         to parse addresses with IPv6 scope IDs.
268 2017-06-21  Florian Weimer  <fweimer@redhat.com>
270         Add the __inet_pton_length helper function.
271         * resolv/resolv-internal.h (__inet_pton_length): Declare.
272         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
273         Add length argument.
274         (__inet_pton): New function.
275         (inet_pton4): Add length argument.
276         (hex_digit_value): New function.
277         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
278         memmove and memset to fill :: gap.
279         * resolv/Makefile (tests, tsts-static, tests-internal): Add
280         tst-inet_pton.
281         * resolv/tst-inet_pton.c: New file.
282         * support/Makefile (libsupport-routines): Add xmprotect.
283         * support/xunistd.h (xmprotect): Declare.
284         * support/xmprotect.c: New file.
286 2017-06-21  Florian Weimer  <fweimer@redhat.com>
288         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
289         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
290         (call_gai, check_ai): New functions.
291         (expect_failure, expect_success): Use them.  Add logging.
293 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
295         * sysdeps/powerpc/powerpc64/multiarch/Makefile
296         (sysdep_routines): Add memchr_power8.
297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
298         (memchr): Add __memchr_power8 to list of memchr functions.
299         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
300         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
301         (memchr): Add __memchr_power8 to ifunc list.
302         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
304 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
306         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
307         (__llrintf): Define as strong alias of __llrint.
308         (llrintf):  Define as weak alias of __llrint.
309         (__lrintf): Define as strong alias of __llrint.
310         (lrintf):  Define as weak alias of __llrint.
311         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
312         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
313         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
316 2017-06-20  Zack Weinberg  <zackw@panix.com>
318         * bits/signum-generic.h: Renamed from bits/signum.h.
319         Add proper multiple include guard and misuse check.
320         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
321         Move definition of SIGIO to "archaic names for compatibility" section.
322         * bits/signum.h: New file which just includes bits/signum-generic.h.
323         * sysdeps/unix/bsd/bits/signum.h
324         * sysdeps/unix/sysv/linux/bits/signum.h
325         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
326         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
327         * sysdeps/unix/sysv/linux/mips/bits/signum.h
328         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
329         Just include <bits/signum-generic.h> and then add or adjust
330         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
332         * signal/Makefile: Install bits/signum-generic.h.
333         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
335         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
336         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
338         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
339         * sysdeps/unix/sysv/linux/Makefile: Run it.
341 2017-06-20  Zack Weinberg  <zackw@panix.com>
343         * locale/xlocale.h: Rename to...
344         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
345         Only define struct __locale_struct and __locale_t, not locale_t.
346         * locale/bits/types/locale_t.h: New file; define locale_t here.
347         * locale/Makefile (headers): Update to match.
349         * include/xlocale.h: Delete wrapper.
350         * include/bits/types/__locale_t.h: New wrapper.
351         * include/bits/types/locale_t.h: New wrapper.
353         * ctype/ctype.h, include/printf.h, include/time.h
354         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
355         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
356         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
357         Correct outdated comments regarding the standardization status of
358         the functions that take locale_t arguments.
360         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
361         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
362         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
363         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
364         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
365         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
366         Don't include xlocale.h. If necessary, include locale.h instead.
368         * stdlib/strtold_l.c: Unconditionally include wchar.h.
370         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
371         * include/monetary.h, include/stdlib.h, include/time.h
372         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
373         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
374         * locale/localeinfo.h, locale/newlocale.c
375         * locale/nl_langinfo_l.c, locale/uselocale.c
376         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
377         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
378         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
379         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
380         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
381         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
382         * string/strings.h, string/strncase.c, string/strxfrm_l.c
383         * sysdeps/ieee754/float128/strtof128_l.c
384         * sysdeps/ieee754/float128/wcstof128.c
385         * sysdeps/ieee754/float128/wcstof128_l.c
386         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
387         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
388         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
389         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
390         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
391         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
392         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
393         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
394         * sysdeps/x86_64/strcasecmp_l-nonascii.c
395         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
396         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
397         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
398         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
399         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
400         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
401         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
402         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
403         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
404         Change all uses of __locale_t to locale_t.
406 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
408         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
409         for !__OFF_T_MATCHES_OFF64_T.
410         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
411         implementation based on open64.
412         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
413         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
415 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
417         * elf/dl-tunables.list: Move x86 specific tunables to ...
418         * sysdeps/x86/dl-tunables.list: Here.  New file.
420 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
422         [BZ #21635]
423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
424         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
425         * conform/data/signal.h-data (uc_mcontext): XFAIL for
426         powerpc32-linux.
427         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
429         [BZ #21634]
430         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
431         (conformtest-xfail-conds): New variable.
432         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
433         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
435 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
437         * benchtests/powf-inputs: Add reduced trace from wrf.
439 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
440             Erich Elsen  <eriche@google.com>
442         * elf/dl-tunables.list (tune): Add ifunc,
443         x86_non_temporal_threshold,
444         x86_data_cache_size and x86_shared_cache_size.
445         * manual/tunables.texi: Document glibc.tune.ifunc,
446         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
447         and glibc.tune.x86_non_temporal_threshold.
448         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
449         * sysdeps/x86/cpu-tunables.c: Likewise.
450         * sysdeps/x86/cacheinfo.c
451         (init_cacheinfo): Check and get data cache size, shared cache
452         size and non temporal threshold from cpu_features.
453         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
454         New.
455         [HAVE_TUNABLES] Include <unistd.h>.
456         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
457         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
458         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
459         IFUNC selection, data cache size, shared cache size and non
460         temporal threshold.
461         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
462         shared_cache_size and non_temporal_threshold.
464 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
466         * benchtests/README: Describe workload feature.
467         * benchtests/bench-skeleton.c (main): Add support for
468         benchmarking traces from workloads.
470 2017-06-20  Zack Weinberg  <zackw@panix.com>
472         * string/string.h (__mempcpy_inline): Delete.
473         * sysdeps/x86_64/multiarch/mempcpy.c
474         * sysdeps/x86_64/multiarch/stpcpy.c:
475         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
476         before including string.h.
478 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
480         * benchtests/Makefile (bench-math): Add powf.
481         * benchtests/powf-inputs: New file.
483 2017-06-20  Zack Weinberg  <zackw@panix.com>
485         * bits/string.h, string/bits/string.h
486         * sysdeps/aarch64/bits/string.h
487         * sysdeps/m68k/m680x0/m68020/bits/string.h
488         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
489         * sysdeps/x86/bits/string.h: Delete file.
491         * string/string.h: Don't include bits/string.h.
492         * string/bits/string3.h: Rename to bits/string_fortified.h.
493         No need to undef various symbols that the removed headers
494         might have defined as macros.
495         * string/Makefile (headers): Remove bits/string.h, change
496         bits/string3.h to bits/string_fortified.h.
497         * string/string-inlines.c: Update commentary.  Remove definitions
498         of various macros that nothing looks at anymore.  Don't directly
499         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
500         compiler-predefined macros.
501         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
502         _is_ defined, provide internal hidden alias __strncat.
503         * include/string.h: Declare internal hidden alias __strncat.
504         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
505         not defined.
506         * include/bits/string3.h: Rename to bits/string_fortified.h,
507         update to match above.
509         * sysdeps/i386/string-inlines.c: Define compat symbols for
510         everything formerly defined by sysdeps/x86/bits/string.h.
511         Make existing definitions into compat symbols as well.
512         Remove some no-longer-necessary messing around with macros.
514         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
515         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
516         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
517         * sysdeps/s390/multiarch/mempcpy.c
518         No need to define _HAVE_STRING_ARCH_mempcpy.
519         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
521         * sysdeps/i386/i686/multiarch/strncat-c.c
522         * sysdeps/s390/multiarch/strncat-c.c
523         * sysdeps/x86_64/multiarch/strncat-c.c
524         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
526 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
528         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
529         (LDBL_DIG): Likewise.
530         (LDBL_MIN_EXP): Likewise.
531         (LDBL_MIN_10_EXP): Likewise.
532         (LDBL_MAX_EXP): Likewise.
533         (LDBL_MAX_10_EXP): Likewise.
534         (LDBL_MAX): Likewise.
535         (LDBL_MIN): Likewise.
536         (LDBL_EPSILON): Likewise.
537         (FLT_ROUNDS): Change standard from ISO to C90.
538         (FLT_RADIX): Likewise.
539         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
540         (FLT_DIG, DBL_DIG): Likewise.
541         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
542         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
543         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
544         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
545         (FLT_MAX, DBL_MAX): Likewise.
546         (FLT_MIN, DBL_MIN): Likewise.
547         (FLT_EPSILON, DBL_EPSILON): Likewise.
549 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
551         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
552         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
553         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
554         * sysdeps/mips/math-tests.h
555         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
556         conditional code.
558 2017-06-19  Florian Weimer  <fweimer@redhat.com>
560         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
561         It cannot change while __libc_setlocale_lock is acquired.
563 2017-06-19  Florian Weimer  <fweimer@redhat.com>
565         * elf/rtld.c (audit_list_string): New variable.
566         (audit_list): Update comment.
567         (struct audit_list_iter): Define.
568         (audit_list_iter_init, audit_list_iter_next): New function.
569         (dl_main): Use struct audit_list_iter to process audit modules.
570         (process_dl_audit): Call dso_name_valid_for_suid.
571         (process_envvars): Set audit_list_string instead of calling
572         process_dl_audit.
574 2017-06-19  Florian Weimer  <fweimer@redhat.com>
576         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
577         (dso_name_valid_for_suid): New function.
578         (handle_ld_preload): Likewise.
579         (dl_main): Call it.  Remove alloca.
581 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
583         [BZ #21625]
584         * posix/sys/wait.h (strust rusage forward declaration): Change
585         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
586         !__USE_XOPEN2K].
587         (wait3): Likewise.
589         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
590         * configure: Regenerated.
591         * manual/install.texi (Tools for Compilation): Document
592         requirement for GCC 4.9 or later.
593         * INSTALL: Regenerated.
595 2017-06-19  Florian Weimer  <fweimer@redhat.com>
597         [BZ #21624]
598         CVE-2017-1000366
599         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
600         __libc_enable_secure.
602 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
604         [BZ #21539]
605         * NEWS: Mention s390 ptrace request changes.
606         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
607         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
608         PTRACE_SETFPREGS): Remove enum constant.
609         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
610         Remove defines.
611         (PTRACE_SINGLEBLOCK): New enum constant.
612         (PT_STEPBLOCK): New define.
613         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
614         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
615         PTRACE_TE_ABORT_RAND): New enum constant and define.
616         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
617         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
618         New file.
619         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
621 2017-06-16  Florian Weimer  <fweimer@redhat.com>
623         * resolv/res_init.c (res_vinit_1): Use getline to read from the
624         configuration file.
625         (__res_vinit): Adjust.
627 2017-06-19  Florian Weimer  <fweimer@redhat.com>
629         * resolv/res_init.c (res_vinit_1): New function.
630         (__res_vinit): Call it.  Handle file open and memory allocation
631         failures.
632         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
633         erno from __res_maybe_init failure.
634         (_nss_dns_gethostbyname4_r): Likewise.
635         (_nss_dns_gethostbyaddr2_r): Likewise.
636         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
637         (_nss_dns_getnetbyaddr_r): Likewise.
639 2017-06-19  Florian Weimer  <fweimer@redhat.com>
641         * resolv/res_init.c: Reformat to GNU style.
643 2017-06-19  Florian Weimer  <fweimer@redhat.com>
645         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
646         (is_sort_mask): New function.
647         (__res_vinit): Use it.
649 2017-06-19  Florian Weimer  <fweimer@redhat.com>
651         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
652         conditionals.
654 2017-06-19  Florian Weimer  <fweimer@redhat.com>
656         * resolv/res-close.c: New file.
657         * resolv/res_init.c (__res_iclose, res_nclose)
658         (res_thread_freeres): Remove definitions.
659         * resolv/Makefile (routines): Add res-close.
661 2017-06-19  Florian Weimer  <fweimer@redhat.com>
663         * resolv/res_randomid.c: New file.
664         * resolv/res_init.c (res_randomid): Remove definition.
665         * resolv/Makefile (routines): Add res_randomid.
667 2017-06-19  Florian Weimer  <fweimer@redhat.com>
669         * include/resolv.h (__res_vinit): Declare as hidden.
670         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
671         * resolv/res_libc.c (res_init): Likewise.
673 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
675         [BZ #21457]
676         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
677         _libc_xmmreg): Use __ctx in defining field.
679         [BZ #21597]
680         * signal/signal.h (siginterrupt): Make declaration conditional on
681         [__USE_XOPEN_EXTENDED || __USE_MISC].
683         [BZ #21584]
684         * signal/signal.h: Make includes of <bits/sigstack.h> and
685         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
686         __USE_MISC].
687         (sigaltstack): Make declaration conditional on
688         [__USE_XOPEN_EXTENDED || __USE_MISC].
690         [BZ #21575]
691         * resource/bits/types/struct_rusage.h: New file.
692         * include/bits/types/struct_rusage.h: Likewise.
693         * bits/resource.h (struct rusage): Include
694         <bits/types/struct_rusage.h> instead of defining here.
695         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
696         Likewise.
697         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
698         Likewise.
699         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
700         Likewise.
701         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
702         Likewise.
703         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
704         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
705         Include <bits/types/struct_rusage.h>
707 2017-06-19  Florian Weimer  <fweimer@redhat.com>
709         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
711 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
713         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
715 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
717         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
719 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
721         [BZ #21537]
722         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
723         Check SHARED instead of PIC.
724         (SYSCALL_PIC_SETUP): Add missing semicolons.
725         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
726         Check SHARED instead of PIC.
727         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
728         (__makecontext_ret): Adjust code to jump to exit.
730 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
732         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
733         Simplify code by always using SVC 0 instead of EX.
734         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
736 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
738         * elf/Versions (ld): Remove _dl_out_of_memory.
740 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
742         * timezone/private.h: Update from tzcode 2017b.
743         * timezone/tzfile.h: Likewise.
744         * timezone/tzselect.ksh: Likewise.
745         * timezone/zdump.c: Likewise.
746         * timezone/zic.c: Likewise.
747         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
748         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
749         * time/tzset.c (SECSPERDAY): New macro.
751 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
753         * manual/string.texi (strdup): Complete header and standards
754         annotation.
755         (strncpy): Likewise.
757 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
759         * manual/arith.texi (FP_NAN): Add or complete header and standard
760         annotations.
761         (FP_INFINITE): Likewise.
762         (FP_ZERO): Likewise.
763         (FP_SUBNORMAL): Likewise.
764         (FP_NORMAL): Likewise.
765         (SNAN): Likewise.
766         (SNANL): Likewise.
767         (totalorderf): Likewise.
768         (totalorderl): Likewise.
769         (totalordermagf): Likewise.
770         (totalordermagl): Likewise.
771         (_Complex_I): Likewise.
772         (I): Likewise.
774 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
776         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
777         standard annotation.
778         (ARGP_HELP_SHORT_USAGE): Likewise.
779         (ARGP_HELP_SEE): Likewise.
780         (ARGP_HELP_LONG): Likewise.
781         (ARGP_HELP_PRE_DOC): Likewise.
782         (ARGP_HELP_POST_DOC): Likewise.
783         (ARGP_HELP_DOC): Likewise.
784         (ARGP_HELP_BUG_ADDR): Likewise.
785         (ARGP_HELP_LONG_ONLY): Likewise.
786         (ARGP_HELP_EXIT_ERR): Likewise.
787         (ARGP_HELP_EXIT_OK): Likewise.
788         (ARGP_HELP_STD_ERR): Likewise.
789         (ARGP_HELP_STD_USAGE): Likewise.
790         (ARGP_HELP_STD_HELP): Likewise.
792 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
794         * manual/Makefile: Generate summary.texi with summary.pl.  Force
795         use of the C locale.  Update Perl dependency comment.
796         * manual/header.texi: Update reference to summary.awk.
797         * manual/macros.texi: Refer authors to `summary.pl --help'.
798         * manual/summary.awk: Remove file.
799         * manual/summary.pl: New file.  Generate summary.texi, and check
800         for @standards-related syntax errors.
801         * manual/argp.texi: Convert header and standards @comments to
802         @standards.
803         * manual/arith.texi: Likewise.
804         * manual/charset.texi: Likewise.
805         * manual/conf.texi: Likewise.
806         * manual/creature.texi: Likewise.
807         * manual/crypt.texi: Likewise.
808         * manual/ctype.texi: Likewise.
809         * manual/debug.texi: Likewise.
810         * manual/errno.texi: Likewise.
811         * manual/filesys.texi: Likewise.
812         * manual/getopt.texi: Likewise.
813         * manual/job.texi: Likewise.
814         * manual/lang.texi: Likewise.
815         * manual/llio.texi: Likewise.
816         * manual/locale.texi: Likewise.
817         * manual/math.texi: Likewise.
818         * manual/memory.texi: Likewise.
819         * manual/message.texi: Likewise.
820         * manual/pattern.texi: Likewise.
821         * manual/pipe.texi: Likewise.
822         * manual/process.texi: Likewise.
823         * manual/resource.texi: Likewise.
824         * manual/search.texi: Likewise.
825         * manual/setjmp.texi: Likewise.
826         * manual/signal.texi: Likewise.
827         * manual/socket.texi: Likewise.
828         * manual/startup.texi: Likewise.
829         * manual/stdio.texi: Likewise.
830         * manual/string.texi: Likewise.
831         * manual/sysinfo.texi: Likewise.
832         * manual/syslog.texi: Likewise.
833         * manual/terminal.texi: Likewise.
834         * manual/threads.texi: Likewise.
835         * manual/time.texi: Likewise.
836         * manual/users.texi: Likewise.
838 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
840         * manual/macros.texi (@standards): New macro.  Provide placeholder
841         for header and standards annotations.
842         (@standardsx): New macro.  Likewise, for lists of @*x elements.
844 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
846         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
847         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
848         rule.
849         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
850         sync_file_range.
852          * support/support_test_main.c (support_test_main):  Use optstring
853          member for option string in getopt_long.
854          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
855          (CMDLINE_OPTSTRING): New define.
856          * support/test-driver.h (test_config): Add optstring member.
858 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
861         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
862         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
863         Check USE_AS_STRPBRK instead of STRPBRK_P.
864         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
865         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
866         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
867         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
868         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
869         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
870         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
871         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
872         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
873         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
874         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
875         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
876         and "#endif".
878 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
880         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
881         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
883 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
886         strcat-sse2.
887         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
888         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
889         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
890         * sysdeps/x86_64/multiarch/strcat.S: Removed.
891         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
893 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
894             Erich Elsen  <eriche@google.com>
896         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
897         memcmp-sse2.
898         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
899         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
900         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
901         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
902         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
903         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
905 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
906             Erich Elsen  <eriche@google.com>
908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
909         memset-sse2-unaligned-erms, and memset_chk-nonshared.
910         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
911         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
912         Update comments.
913         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
914         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
915         * sysdeps/x86_64/multiarch/memset.c: Likewise.
916         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
917         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
918         * sysdeps/x86_64/multiarch/memset.S: Removed.
919         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
920         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
921         (__memset_chk_erms): New function.
923 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
925         * configure.ac(--enable-tunables): Enable by default.
926         * configure: Regenerate.
927         * NEWS: Mention change.
928         * manual/install.texi (enable-tunables): Adjust documentation.
929         * INSTALL: Regenerate.
931 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
933         [BZ #18988]
934         * benchtests/thread_create-inputs: New file.
935         * benchtests/thread_create-source.c: Likewise.
936         * support/xpthread_attr_setguardsize.c: Likewise.
937         * support/Makefile (libsupport-routines): Add
938         xpthread_attr_setguardsize object.
939         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
940         * benchtests/Makefile (bench-pthread): Add thread_create.
941         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
942         then mprotect the required area.
943         (guard_position): New function.
944         (setup_stack_prot): Likewise.
946 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
947             Erich Elsen  <eriche@google.com>
948             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
951         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
952         mempcpy_chk-nonshared and memmove_chk-nonshared.
953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
954         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
955         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
956         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
957         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
958         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
959         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
960         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
961         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
962         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
963         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
964         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
965         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
966         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
967         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
968         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
969         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
970         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
971         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
972         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
973         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
974         (__mempcpy_chk_erms): New function.
975         (__memmove_chk_erms): Likewise.
976         (__memcpy_chk_erms): New alias.
978 2017-06-14  Florian Weimer  <fweimer@redhat.com>
980         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
981         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
983 2017-06-14  Zack Weinberg  <zackw@panix.com>
985         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
986         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
987         defined, don't declare anything other than the E-constants.
989         * include/errno.h: Change conditional for exposing internal
990         declarations to (not _ISOMAC and not __ASSEMBLER__).
991         * bits/errno.h: Remove logic for __need_Emath.  Document
992         requirements for a port-specific bits/errno.h.
994         * sysdeps/unix/sysv/linux/bits/errno.h
995         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
996         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
997         * sysdeps/unix/sysv/linux/mips/bits/errno.h
998         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
999         Add multiple-include guard and check against improper inclusion.
1000         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
1001         constants are defined as simple integer literals.  Consistent
1002         formatting.
1003         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
1004         enum __error_t_codes if __ASSEMBLER__ is not defined.
1005         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1007         * argp/argp.h, string/argz.h: Don't define __need_error_t before
1008         including errno.h.
1009         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1010         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1011         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1012         * sysdeps/x86_64/fpu/s_cosf.S
1013         * sysdeps/x86_64/fpu/s_sincosf.S
1014         * sysdeps/x86_64/fpu/s_sinf.S:
1015         Just include errno.h; don't define __need_Emath or include
1016         bits/errno.h directly.
1018 2017-06-14  Zack Weinberg  <zackw@panix.com>
1020         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1021         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1022         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1024         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1025         for IOV_MAX.
1026         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1027         Don't install bits/uio.h.
1028         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
1029         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
1030         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1032         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1033         and __need_IOV_MAX.  Don't define IOV_MAX at all.
1034         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1036         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1037         Include bits/types/struct_iovec.h, not bits/uio.h.
1038         Use __ssize_t, not ssize_t, in function prototypes.
1039         Don't use hard TAB for double space after period in comments.
1041 2017-06-14  Alan Modra  <amodra@gmail.com>
1043         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1044         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1045         refsym and sym parameters.  Adjust callers.
1046         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1047         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1048         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1049         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1050         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1051         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1052         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1053         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1054         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1055         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1056         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1057         Likewise.
1058         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1059         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1060         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1061         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1062         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1063         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1064         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1065         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
1066         (_dl_reloc_overflow): Increase buffser size.  Formatting.
1067         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1068         Delete reloc param, add refsym and sym.  Check optimized plt
1069         call stubs for localentry:0 functions.  Adjust callers.
1070         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
1071         and sym parameters.  Adjust callers.
1072         (_dl_reloc_overflow): Move attribute.
1073         (_dl_error_localentry): Declare.
1074         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
1075         refsym and sym to elf_machine_fixup_plt.
1076         * elf/testobj6.c (preload): Call printf.
1078 2017-06-14  Alan Modra  <amodra@gmail.com>
1080         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1081         (NOPS, ENTRY_3): New macros.
1082         (ENTRY): Rewrite.
1083         (ENTRY_TOCLESS): Define.
1084         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
1085         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
1086         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
1087         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
1088         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1089         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1090         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1091         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1092         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
1093         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1094         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1095         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1096         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1097         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1098         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1100         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
1101         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1102         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1103         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1104         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
1105         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1106         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1107         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1108         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
1109         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
1110         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1111         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1112         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1113         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
1114         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1115         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1116         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1117         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
1118         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1119         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
1120         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1121         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1122         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1123         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1124         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1125         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1126         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1127         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1128         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1129         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1130         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1131         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1132         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1133         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1134         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1135         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1136         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1137         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1138         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1139         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1140         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1141         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
1142         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
1143         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
1144         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1145         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
1146         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
1147         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1148         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1149         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
1150         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
1151         Likewise.
1152         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
1153         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
1154         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
1155         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
1156         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1157         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
1158         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
1159         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
1160         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1162         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1163         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1164         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1165         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
1166         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
1167         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
1168         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
1169         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
1170         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
1171         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
1172         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
1173         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
1174         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
1175         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
1176         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1177         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
1178         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
1179         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
1180         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1181         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1182         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
1183         add nop when SHARED.
1184         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
1185         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
1186         define.
1187         (ENTRY_TOCLESS): Define.
1188         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
1189         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
1190         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1192 2017-06-14  Alan Modra  <amodra@gmail.com>
1194         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
1195         MEMSET_is_local.
1196         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
1197         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
1198         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
1199         Define MEMSET.
1200         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
1201         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
1202         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
1203         nop after local calls.
1204         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
1205         Don't add nop after local call.
1206         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
1207         CALL_MCOUNT.
1209 2017-06-14  Alan Modra  <amodra@gmail.com>
1211         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
1212         (FUNC_LABEL): Rename from DOT_LABEL.
1213         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
1214         Use .p2align rather than .align.
1215         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
1216         (ABORT_TRANSACTION): Likewise.
1217         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
1218         particularly at end.  Add semicolon at invocation as necessary.
1219         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
1220         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
1221         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
1222         END): Adjust to suit.
1224 2017-06-14  Alan Modra  <amodra@gmail.com>
1226         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
1227         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
1228         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1229         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1230         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
1231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
1232         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
1234 2017-06-14  Alan Modra  <amodra@gmail.com>
1236         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
1237         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
1239 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
1241         [BZ #21548]
1242         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
1243         8 and use it when copying general purpose registers.
1244         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
1245         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
1246         mips o32.
1247         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
1248         new test for mips o32.
1249         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
1250         8 and use it when copying general purpose registers.
1251         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
1253 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1255         * configure.ac (find_cxx_header): Suppress compiler error message.
1257 2017-06-13  Florian Weimer  <fweimer@redhat.com>
1259         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
1260         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
1261         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
1262         begin/end.
1263         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
1264         dynarray_int_end.
1265         (test_str): Test dynarray_str_begin, dynarray_str_end.
1267 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
1269         [BZ #21573]
1270         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
1271         $(common-objpfx)bits/std_abs.h.
1272         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
1273         New target.
1274         * config.make.in (c++-bits-std_abs-h): New.
1275         * configure.ac (find_cxx_header): Use "\,$1," with sed.
1276         (CXX_BITS_STD_ABS_H): New.
1277         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
1278         * configure: Regenerated.
1280 2017-06-13  Zack Weinberg  <zackw@panix.com>
1282         * posix/bits/cpu-set.h: Correct indentation of preprocessor
1283         directives.
1285 2017-06-12  Zack Weinberg  <zackw@panix.com>
1287         * bits/sched.h: Remove __need_schedparam logic and replace with a
1288         normal multiple-include guard.  Change field name in struct
1289         sched_param from __sched_priority to sched_priority.  Delete
1290         everything under #ifndef __cpu_set_t_defined.
1291         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
1292         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
1294         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
1295         For compatibility, #define sched_priority to itself, and #define
1296         __sched_priority as sched_priority.
1297         * posix/bits/cpu-set.h: New file containing, verbatim, the code
1298         that was under #ifndef __cpu_set_t_defined in
1299         sysdeps/unix/sysv/linux/bits/sched.h.
1300         * include/bits/cpu-set.h: New wrapper.
1301         * posix/Makefile: Install bits/cpu-set.h.
1303 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1304             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1305             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1307         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
1308         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
1309         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
1310         * math/libm-test-isfinite.inc (finite_test): Likewise.
1311         * math/libm-test-lgamma.inc (gamma_test): Likewise.
1312         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
1313         (nexttoward_test_data}: Likewise.
1314         * math/libm-test-remainder.inc (drem_test): Likewise.
1315         * math/libm-test-scalb.inc (scalb_test): Likewise.
1316         (scalb_test_data): Likewise.
1317         * math/libm-test-significand.inc (significand_test): Likewise.
1318         (significand_test_data): Likewise.
1319         * math/libm-test-support.c (check_complex): Replace __complex__
1320         FLOAT with CFLOAT to get the support for old compiler.
1321         * math/libm-test-support.h (check_complex): Likewise.
1322         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
1323         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
1324         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
1325         * math/test-float128.h: New file.
1326         * math/test-math-floatn.h: New file.
1328 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1330         * include/float.h: Allow the definition of macros prefixed with
1331         FLT128 even if _ISOMAC is defined, but provided that
1332         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
1334 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1336         * manual/math.texi (Mathematics): Add description for _FloatN and
1337         _FloatNx types and mentions that they are not support in glibc for
1338         any architecture, so far.
1339         * manual/arith.texi (wcstof, wcstold): Replace the mention to
1340         stdlib.h with wchar.h.
1341         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
1342         (Printing of Floats): Add description for strfromfN.
1344 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1345             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1346             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1348         * include/gmp.h (__mpn_construct_float128): New declaration.
1349         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
1350         (__strtof128_l): New declaration.
1351         (__strtof128_nan): Likewise.
1352         (__wcstof128_nan): Likewise.
1353         (__strtof128_internal): Likewise.
1354         (____strtof128_l_internal): Likewise.
1355         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
1356         (__wcstof128_l): New declaration.
1357         (__wcstof128_internal): Likewise.
1359         * stdlib/Makefile (bug-strtod2): Link libm too.
1361         * stdlib/stdlib.h (strtof128): New declaration.
1362         (strtof128_l): Likewise.
1364         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
1365         tst-strtod.h macros to ensure float128 gets tested too.
1367         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
1369         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
1370         tests.
1371         (IF_FLOAT128): New macro.
1372         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
1373         the tests.
1374         (STRTOD_TEST_FOREACH): Likewise.
1376         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
1377         wcstof128 functions into libc.
1379         * sysdeps/ieee754/float128/Versions: Add exports for the above
1380         new functions.
1382         * sysdeps/ieee754/float128/mpn2float128.c: New file.
1383         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
1384         * sysdeps/ieee754/float128/strtof128.c: New file.
1385         * sysdeps/ieee754/float128/strtof128_l.c: New file.
1386         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
1387         * sysdeps/ieee754/float128/wcstof128.c: New file.
1388         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
1389         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
1390         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
1391         (CFLAGS-wcstof128_l): Likewise.
1393         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
1394         (wcstof128): New declaration.
1395         (wcstof128_l): Likewise.
1397 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
1399         [BZ #21552]
1400         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
1401         not [__USE_XOPEN].
1402         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
1404         [BZ #21550]
1405         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
1407 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
1409         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1410         strcpy-sse2 and stpcpy-sse2.
1411         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
1412         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
1413         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
1414         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
1415         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
1416         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
1417         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
1418         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
1419         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1420         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1421         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1422         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
1423         (libc_hidden_def): Always defined as empty.
1424         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
1425         Always Defined as empty.
1427 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1429         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
1431 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1433         [BZ #15105]
1434         [BZ #19463]
1435         * include/string.h: Add internal redirect for __stpcpy.
1436         * string/Makefile: Remove bits/string2.h.
1437         * string/string.h: Update comment.
1438         * string/string-inlines.c: Remove bits/string2.h include and comment.
1439         * string/bits/string2.h: Remove file.
1441 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
1443         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
1444         * sunrpc/clnt_gen.c (clnt_create): Likewise.
1445         * sunrpc/des_impl.c (_des_crypt): Likewise.
1446         * sunrpc/key_call.c (key_gendes): Likewise.
1447         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1448         * sunrpc/svc_simple.c (universal): Likewise.
1449         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
1450         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1451         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
1453 2017-06-10  Zack Weinberg  <zackw@panix.com>
1455         * stdlib/errno.h: Correct an outdated comment.
1457 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
1459         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
1460         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
1461         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
1462         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
1463         New file.  Invoke newly supported sysconf values for powerpc,
1464         and report results.  If none are supported, report so.
1465         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
1466         tst-sysconf.
1468 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1470         * include/sys/auxv.h (__getauxval): Add a prototype and its
1471         libc_hidden_proto.
1472         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
1474 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
1476         [BZ #21561]
1477         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
1478         [__USE_XOPEN_EXTENDED].
1479         (id_t): Likewise.
1480         (include of <bits/types/siginfo_t.h): Likewise.
1481         (waitid): Likewise.
1482         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
1483         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
1484         (WEXITED): Likewise.
1485         (WCONTINUED): Likewise.
1486         (WNOWAIT): Likewise.
1487         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
1488         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1489         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1491         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
1492         libc.so PLT entry optional.
1493         (__gtsf2): Likewise.
1494         (__unorddf2): Likewise.
1495         (__unordsf2): Likewise.
1496         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
1497         New optional libc.so PLT entry.
1499         [BZ #21554]
1500         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
1501         not [__USE_XOPEN].
1503         [BZ #21560]
1504         * posix/sys/wait.h: Condition include of <signal.h> on
1505         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
1506         unconditionally.
1507         [!__pid_t_defined] (pid_t): Define typedef.
1509 2017-06-09  Zack Weinberg  <zackw@panix.com>
1511         * include/errno.h (__errno_location): Use __attribute_const__
1512         instead of bare __attribute__.
1514 2017-06-09  Zack Weinberg  <zackw@panix.com>
1516         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
1517         (common-generated): Add libc-modules.h and libc-modules.stmp in a
1518         more appropriate location. Also add dl-tunable-list.h and
1519         dl-tunable-list.stmp.
1521 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1523         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
1525 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1528         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
1529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1530         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
1531         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
1532         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
1533         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
1534         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
1535         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
1536         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
1537         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
1539 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1542         memrchr-sse2 and memrchr-avx2.
1543         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1544         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
1545         __memrchr_sse2.
1546         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
1547         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
1548         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
1550 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1553         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
1554         wcschr-sse2 and wcschr-avx2.
1555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1556         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
1557         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
1558         __wcschr_sse2.
1559         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
1560         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
1561         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
1562         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
1563         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
1564         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
1565         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
1566         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
1567         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
1568         * sysdeps/x86_64/multiarch/strchr.S: Removed.
1570 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1573         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
1574         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
1575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1576         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
1577         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
1578         __wcslen_sse2 and __wcsnlen_avx2.
1579         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
1580         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
1581         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
1582         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
1583         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
1584         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
1585         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
1586         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
1587         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
1588         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
1589         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
1590         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
1591         vzeroupper is preferred and AVX unaligned load is fast.
1593 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
1595         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
1596         USE_AS_WMEMCHR is defined.
1597         (PCMPEQ): Likewise.
1598         (memchr): Renamed to ...
1599         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
1600         Replace pcmpeqb with PCMPEQ.
1601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1602         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
1603         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
1604         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
1605         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
1606         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
1607         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
1608         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
1609         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
1610         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
1611         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
1612         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
1613         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
1614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1615         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
1616         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
1617         __wmemchr_sse2.
1619 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1621         * malloc/Makefile (test-srcs): Remove tst-dynarray,
1622         tst-dynarray-fail.
1624 2017-06-09  Florian Weimer  <fweimer@redhat.com>
1626         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
1627         * support/support_test_verify_impl.c
1628         (support_test_verify_exit_impl): Split from
1629         support_test_verify_impl.
1630         * support/check.h (TEST_VERIFY): Drop status argument from
1631         support_test_verify_impl call.
1632         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
1633         (support_test_verify_impl): Remove status argument.
1634         (support_test_verify_exit_impl): Declare.
1636 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1638         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
1639         mention of magic numbers in comments.
1640         (_dl_procinfo): Fix undefined behavior
1642 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
1644         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
1645         [XPG4].
1646         (WEXITED): Likewise.
1647         (WSTOPPED): Likewise.
1648         (WCONTINUED): Likewise.
1649         (WNOHANG): Likewise.
1650         (WNOWAIT): Likewise.
1651         (idtype_t): Likewise.
1652         (P_ALL): Likewise.
1653         (P_PID): Likewise.
1654         (P_PGID): Likewise.
1655         (id_t): Likewise.
1656         (siginfo_t): Likewise.
1657         (wait3): Likewise.
1658         (waitid): Likewise.
1659         (signal.h): Do not allow header for [XPG4].
1660         (sys/resource.h): Likewise.
1661         (si_*): Do not allow for [XPG4].
1662         (W*): Likewise.
1663         (P_*): Likewise.
1664         (BUS_): Likewise.
1665         (CLD_): Likewise.
1666         (FPE_): Likewise.
1667         (ILL_): Likewise.
1668         (POLL_): Likewise.
1669         (SEGV_): Likewise.
1670         (SI_): Likewise.
1671         (TRAP_): Likewise.
1672         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
1673         variable.
1675 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1677         [BZ #21528]
1678         * elf/dl-minimal.c (__strtoul_internal): Removed.
1679         (strtoul): Likewise.
1680         * elf/dl-misc.c (_dl_strtoul): New function.
1681         * elf/dl-tunables.c (tunables_strtoul): Removed.
1682         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
1683         * elf/rtld.c (process_envvars): Likewise.
1684         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
1685         Likewise.
1686         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
1688 2017-06-08  Zack Weinberg  <zackw@panix.com>
1690         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
1691         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
1692         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
1693         * wctype/bits/wctype-wchar.h: New file holding declarations shared
1694         between wctype.h and wchar.h.
1696         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
1697         Install them.
1699         * include/bits/types/FILE.h, include/bits/types/__FILE.h
1700         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
1701         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
1702         New wrappers.
1703         * include/stdio.h, include/wchar.h, include/wctype.h:
1704         No need to handle __need macros.
1706         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
1707         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
1708         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
1709         * wcsmbs/wchar.h, wctype/wctype.h
1710         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
1711         Use the new files instead of __need macros.
1713 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
1715         * string/test-memrchr.c (test_main): Add tests for len == 0
1716         and tests for positions close to the beginning, which are
1717         equivalent to positions close to the end for memchr.
1719 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
1722         comments.
1723         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
1724         instead of wmemset.h.
1725         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
1726         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
1727         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
1729 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1731         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
1732         spec->info.is_binary128 to zero.
1733         * stdio-common/printf.h (printf_info): Add new member is_binary128
1734         to indicate that the number being converted to string is compatible
1735         with the IEC 60559 binary128 format.
1736         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
1737         _Float128 numbers.
1738         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
1739         ldbl-128/printf_fphex_macros.h
1740         (__printf_fphex): Add code to deal with _Float128 numbers.
1741         * stdio-common/printf_size.c (__printf_size): Likewise.
1742         * stdio-common/vfprintf.c (process_arg): Initialize member
1743         info.is_binary128 to zero.
1744         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
1745         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
1746         (strfromf128): New declaration.
1747         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
1748         to one.
1749         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
1750         * sysdeps/ieee754/float128/Versions: Likewise.
1751         * sysdeps/ieee754/float128/strfromf128.c: New file.
1753 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1755         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
1756         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
1757         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
1758         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
1759         (PRINT_FPHEX): New function-like macro that can be used for long
1760         double, as well as for _Float128
1762 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1764         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
1765         (__printf_fp_l): Use the new macro to avoid duplicating code.
1766         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
1767         (__printf_fphex): Use the new macro to avoid duplicating code.
1768         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
1769         (__printf_size): Use the new macro to avoid duplicating code.
1771 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1773         * include/gmp.h: Include bits/floatn.h
1774         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
1775         * stdlib/gmp-impl.h: Also check if alloca is not defined before
1776         including stack-alloc.h.  It could have been defined by other header
1777         which not necessarily defines HAVE_ALLOCA.
1778         * sysdeps/ieee754/float128/Makefile: New file.
1779         * sysdeps/ieee754/float128/float1282mpn.c: New file.
1780         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
1781         redefining __mpn_extract_long_double to __mpn_extract_float128, then
1782         redefine __mpn_extract_long_double to __mpn_extract_float128.
1783         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
1784         _Float128 to allow float128_private.h overrides.
1786 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1788         * stdlib/fpioconst.h: Include bits/floatn.h.
1789         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
1790         power of ten table should be.
1791         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
1792         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
1793         to include larger tables when _Float128 support is enabled.
1794         (_fpioconst_pow10): Likewise.
1796 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
1798         * include/bits/types/clock_t.h: Use #include <path> instead of
1799         #include "../../path".
1800         * include/bits/types/clockid_t.h: Likewise.
1801         * include/bits/types/struct_iovec.h: Likewise.
1802         * include/bits/types/struct_itimerspec.h: Likewise.
1803         * include/bits/types/struct_osockaddr.h: Likewise.
1804         * include/bits/types/struct_sigstack.h: Likewise.
1805         * include/bits/types/struct_timespec.h: Likewise.
1806         * include/bits/types/struct_timeval.h: Likewise.
1807         * include/bits/types/struct_tm.h: Likewise.
1808         * include/bits/types/time_t.h: Likewise.
1809         * include/bits/types/timer_t.h: Likewise.
1811         [BZ #14096]
1812         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
1813         America/New_York.
1815 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
1817         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
1818         into ...
1819         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
1820         ifunc-sse4_1.h.
1822 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1824         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
1825         Remove check for NULL 'buf'.
1826         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
1828 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
1830         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
1831         include test-skeleton.c.
1832         Include support/check.h and support/test-driver.c.
1834 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1836         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
1837         (_dl_aarch64_cap_flags): New array.
1838         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
1839         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
1840         functions.
1842         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
1843         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
1844         Likewise.
1845         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
1846         up hwcap and hwcap_mask.
1848         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
1849         (init_cpu_features): Use glibc.tune.hwcap_mask.
1850         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
1852         * elf/dl-hwcaps.h: New file.
1853         * elf/dl-hwcaps.c: Include it.
1854         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
1855         glibc.tune.hwcap_mask.
1856         * elf/dl-cache.c: Include dl-hwcaps.h.
1857         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
1858         glibc.tune.hwcap_mask.
1859         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1860         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
1861         _dl_hwcap_mask.
1862         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
1863         _dl_hwcap_mask.
1864         (process_envvars)[HAVE_TUNABLES]: Likewise.
1865         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
1866         Likewise.
1867         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
1868         initialize dl_hwcap_mask when tunables are enabled.
1870         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
1871         guard.
1872         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1874         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
1875         * scripts/gen-tunables.awk: Include dl-procinfo.h.
1876         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
1878         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
1879         * elf/dl-tunables.c: Likewise.
1880         (do_tunable_update_val): New function.
1881         (__tunable_set_val): New function.
1882         (__tunable_get_val): Call CB only if the tunable was externally
1883         initialized.
1884         (tunables_strtoul): Replace strval with initialized.
1885         * elf/dl-tunables.h (strval): Replace with a bool initialized.
1886         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
1887         prevent collision.
1888         (__tunable_set_val): New function.
1889         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
1890         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
1891         (TUNABLE_SET_VAL): Remove.
1892         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
1893         * README.tunables: Document the new macros.
1894         * malloc/arena.c (ptmalloc_init): Adjust.
1896 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
1898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1899         wcsnlen-sse4_1 and wcsnlen-c.
1900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1901         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
1902         __wcsnlen_sse2.
1903         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
1904         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
1905         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
1906         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
1907         * sysdeps/x86_64/wcsnlen.S: Removed.
1909 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1911         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
1912         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1913         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1914         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1916 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1918         * NEWS: Mention new spinlock implementation.
1919         * include/atomic.h:
1920         (__atomic_val_bysize): Cast type to omit volatile qualifier.
1921         (atomic_exchange_acq): Likewise.
1922         (atomic_load_relaxed): Likewise.
1923         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
1924         * nptl/pthread_spin_init.c (pthread_spin_init):
1925         Use atomic_store_relaxed.
1926         * nptl/pthread_spin_lock.c (pthread_spin_lock):
1927         Use C11-like atomic macros.
1928         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1929         Likewise.
1930         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1931         Use atomic_store_release.
1932         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
1933         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
1934         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
1935         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
1936         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
1937         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
1938         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
1939         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
1940         * sysdeps/alpha/atomic-machine.h: Likewise.
1941         * sysdeps/arm/atomic-machine.h: Likewise.
1942         * sysdeps/i386/atomic-machine.h: Likewise.
1943         * sysdeps/ia64/atomic-machine.h: Likewise.
1944         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
1945         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
1946         * sysdeps/microblaze/atomic-machine.h: Likewise.
1947         * sysdeps/mips/atomic-machine.h: Likewise.
1948         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
1949         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
1950         * sysdeps/s390/atomic-machine.h: Likewise.
1951         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
1952         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
1953         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
1954         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
1955         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
1956         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
1957         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
1958         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
1959         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
1960         * sysdeps/x86_64/atomic-machine.h: Likewise.
1962 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1964         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
1965         and use it instead of dl_x86_cpu_features.
1966         (handle_intel): Replace maxidx with cpu_features.  Pass
1967         cpu_features to intel_check_word.
1968         (__cache_sysconf): Pass cpu_features to handle_intel.
1969         (init_cacheinfo): Likewise.  Use cpu_features instead of
1970         dl_x86_cpu_features.
1972 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1974         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
1975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1976         memcmp-avx2 and wmemcmp-avx2.
1977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1978         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
1979         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
1980         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
1981         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
1982         2 machines if AVX unaligned load is fast and vzeroupper is
1983         preferred.
1984         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
1985         2 machines if AVX unaligned load is fast and vzeroupper is
1986         preferred.
1988 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
1990         * include/wchar.h (__wmemset_chk): New.
1991         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
1992         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
1993         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
1994         (WMEMSET_CHK_SYMBOL): Likewise.
1995         (WMEMSET_SYMBOL): Likewise.
1996         (__wmemset): Add hidden definition.
1997         (wmemset): Add weak hidden definition.
1998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1999         wmemset_chk-nonshared.
2000         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2001         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
2002         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
2003         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
2004         and __wmemset_chk_avx512_unaligned.
2005         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
2006         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2007         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2008         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2009         (WMEMSET_SYMBOL): Likewise.
2010         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
2011         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2012         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2013         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2014         (WMEMSET_SYMBOL): Likewise.
2015         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
2016         (WMEMSET_CHK_SYMBOL): New.
2017         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2018         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2019         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2020         (libc_hidden_builtin_def): Also define __GI_wmemset and
2021         __GI___wmemset.
2022         (weak_alias): New.
2023         * sysdeps/x86_64/multiarch/wmemset.c: New file.
2024         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2025         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2026         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2027         * sysdeps/x86_64/wmemset.c: Likewise.
2028         * sysdeps/x86_64/wmemset_chk.c: Likewise.
2030 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2031             H.J. Lu  <hongjiu.lu@intel.com>
2033         * sysdeps/x86/init-arch.h (PASTER1): New.
2034         (EVALUATOR1): Likewise.
2035         (PASTER2): Likewise.
2036         (EVALUATOR2): Likewise.
2037         (REDIRECT_NAME): Likewise.
2038         (OPTIMIZE): Likewise.
2039         (IFUNC_SELECTOR): Likewise.
2041 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2043         * sysdeps/x86_64/strlen.S (PMINU): New.
2044         (PCMPEQ): Likewise.
2045         (SHIFT_RETURN): Likewise.
2046         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2047         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
2048         pminub with PCMPEQ and PMINU.
2049         * sysdeps/x86_64/wcsnlen.S: New file.
2051 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2053         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2054         the lower 32 bits.  Remove redundant instructions.
2056 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2059         0 as the high part of offset.
2060         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2062 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
2064         [BZ #21538]
2065         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
2066         [__USE_UNIX98].
2067         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
2068         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
2069         Likewise.
2070         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
2071         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
2072         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
2073         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
2074         Likewise.
2076         [BZ #21517]
2077         * bits/types/stack_t.h (stack_t): Remove struct tag.
2078         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
2079         Likewise.
2080         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
2081         Likewise.
2082         * debug/segfault.c (install_handler): Use stack_t instead of
2083         struct sigaltstack.
2084         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
2085         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
2086         * include/signal.h (__sigaltstack): Likwise.
2087         * signal/sigaltstack.c (__sigaltstack): Likewise.
2088         * signal/signal.h (sigaltstack): Likewise.
2089         * sysdeps/mach/hurd/i386/signal-defines.sym
2090         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
2091         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
2092         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
2093         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2094         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
2095         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
2096         elf_prstatus): Likewise.
2097         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
2098         Likewise.
2099         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
2100         Likewise.
2101         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
2102         Likewise.
2103         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
2104         elf_prstatus): Likewise.
2105         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
2106         Likewise.
2107         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
2108         Likewise.
2110 2017-06-04  Zack Weinberg  <zackw@panix.com>
2112         * sysdeps/gnu/errlist.c: Regenerate.
2114 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
2116         * benchtests/bench-memchr.c (do_test): Print out both length
2117         and position.
2118         (test_main): Also test the position close to the beginning for
2119         memrchr.
2121 2017-06-04  Zack Weinberg  <zackw@panix.com>
2123         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
2124         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
2125         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
2126         * nis/nis_destroygroup.c, nis/nis_domain_of.c
2127         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
2128         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
2129         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
2130         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
2131         * nis/nis_print_group_entry.c, nis/nis_remove.c
2132         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
2133         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
2134         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
2135         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
2136         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
2137         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
2138         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
2139         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
2140         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
2141         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
2142         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
2143         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
2144         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
2145         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
2146         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
2147         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
2148         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
2149         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
2150         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
2151         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
2153         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
2154         abi-versions.h as well as shlib-compat.h.
2155         * sunrpc/get_myaddr.c: Remove obsolete comment.
2156         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
2157         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
2158         * resolv/res_libc.c: Include shlib-compat.h only once.
2160 2017-06-03  Florian Weimer  <fweimer@redhat.com>
2162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
2163         of strdup.
2165 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2167         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
2168         Set to the 3/4 of the total shared cache size.
2170 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
2172         * manual/errno.texi: Remove redundant error strings.
2173         * manual/macros.texi (@errno): Render the error string in every
2174         description.
2176 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
2178         [BZ #21543]
2179         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
2180         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
2181         [__USE_XOPEN_EXTENDED].
2183 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2185         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
2186         strdupa.
2187         (getcanonname): Use __strdup instead of strdup.
2189 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2191         * misc/Makefile (CFLAGS-preadv2.c): New rule.
2192         (CFLAGS-preadv64v2.c): Likewise.
2193         (CFLAGS-pwritev2.c): Likewise.
2194         (CFLAGS-pwritev64v2.c): Likewise.
2196 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2198         Test res_init with several configuration files.
2199         * resolv/Makefile [build-shared] (tests-internal): Add
2200         tst-resolv-res_init, tst-resolv-res_init-thread.
2201         (tst-resolv-res_init): Link against libdl, libresolv.
2202         (tst-resolv-res_init-thread): Link against libdl, libresolv,
2203         libpthread.
2204         * resolv/tst-resolv-res_init.c: New file.
2205         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
2206         * resolv/tst-resolv-res_init-thread.c: Likewise.
2207         * support/Makefile (libsupport-routines): Add support-xstat,
2208         support_can_chroot, support_capture_subprocess_check,
2209         support_isolate_in_subprocess, support_shared_allocate,
2210         support_write_file_string, xchroot, xmkdir, xopen.
2211         * support/capture_subprocess.h (enum support_capture_allow): Define.
2212         (support_capture_subprocess_check): Declare.
2213         * support/namespace.h (support_can_chroot)
2214         (support_isolate_in_subprocess): Declare.
2215         * support/support-xstat.c: New file.
2216         * support/support.h (support_shared_allocate, support_shared_free)
2217         (support_write_file_string): Declare.
2218         * support/support_can_chroot.c: New file.
2219         * support/support_capture_subprocess_check.c: Likewise.
2220         * support/support_isolate_in_subprocess.c: Likewise.
2221         * support/support_shared_allocate.c: Likewise.
2222         * support/support_write_file_string.c: Likewise.
2223         * support/xchroot.c: Likwise.
2224         * support/xmkdir.c: Likwise.
2225         * support/xopen.c: Likwise.
2226         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
2228 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2230         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
2231         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
2233 2017-06-02  Florian Weimer  <fweimer@redhat.com>
2235         * malloc/Makefile (routines): Add dynarray_at_failure,
2236         dynarray_emplace_enlarge, dynarray_finalize.
2237         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
2238         tst-dynarray-at-fail.
2239         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
2240         (tests-special): Add tst-dynarray-mem.out,
2241         tst-dynarray-mem-fail.out.
2242         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
2243         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
2244         mtrace.
2245         * malloc/Versions (__libc_dynarray_at_failure)
2246         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
2247         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
2248         GLIBC_PRIVATE.
2249         * malloc/dynarray.h: New file.
2250         * malloc/dynarray-skeleton.c: Likewise.
2251         * malloc/dynarray_at_failure.c: Likewise.
2252         * malloc/dynarray_emplace_enlarge.c: Likewise.
2253         * malloc/dynarray_finalize.c: Likewise.
2254         * malloc/dynarray_resize.c: Likewise.
2255         * malloc/dynarray_resize_clear.c: Likewise.
2256         * malloc/tst-dynarray.c: Likewise.
2257         * malloc/tst-dynarray-fail.c: Likewise.
2258         * malloc/tst-dynarray-at-fail.c: Likewise.
2259         * malloc/tst-dynarray-shared.h: Likewise.
2260         * support/Makefile (libsupport-routines): Add
2261         support_capture_subprocess, xdup2, xpipe.
2262         (tests): Add tst-support_capture_subprocess.
2263         * support/capture_subprocess.h: New file.
2264         * support/support_capture_subprocess.c: Likewise.
2265         * support/tst-support_capture_subprocess.c: Likewise.
2266         * support/xdup2.c: Likewise.
2267         * support/xpipe.c: Likewise.
2268         * support/xunistd.h (xdup2, xpipe): Declare.
2270 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2272         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
2273         macros MAX and MIN.
2275 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2277         * conform/data/signal.h-data (sa_sigaction): Do not expect for
2278         [XPG4].
2279         (SA_SIGINFO): Likewise.
2280         (SA_ONSTACK): Likewise.
2281         (SA_RESETHAND): Likewise.
2282         (SA_RESTART): Likewise.
2283         (SA_NOCLDWAIT): Likewise.
2284         (SA_NODEFER): Likewise.
2285         (SS_ONSTACK): Likewise.
2286         (SS_DISABLE): Likewise.
2287         (MINSIGSTKSZ): Likewise.
2288         (SIGSTKSZ): Likewise.
2289         (ucontext_t): Likewise.
2290         (stack_t): Likewise.
2291         (struct sigstack): Likewise.
2292         (SI_USER): Do not expect for [XPG4 || XPG42].
2293         (SI_QUEUE): Likewise.
2294         (SI_TIMER): Likewise.
2295         (SI_ASYNCIO): Likewise.
2296         (SI_MESGQ): Likewise.
2297         (bsd_signal): Do not expect for [XPG4].
2298         (killpg): Likewise.
2299         (sigaltstack): Likewise.
2300         (sighold): Likewise.
2301         (sigignore): Likewise.
2302         (siginterrupt): Likewise.
2303         (sigpause): Likewise.
2304         (sigrelse): Likewise.
2305         (sigset): Likewise.
2306         (sigwait): Do not expect for [XPG4 || XPG42].
2308 2017-06-01  Zack Weinberg  <zackw@panix.com>
2310         [BZ #21514]
2311         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
2312         pointing to the generated file in <builddir>/misc/bits/syscall.h.
2314 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
2316         [BZ #21457]
2317         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
2318         NGREG to __NGREG if [__USE_MISC].
2319         (gregset_t): Define using __NGREG.
2320         (__ctx): New macro.
2321         (mcontext_t): Use __ctx in defining fields.
2322         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
2323         define NGREG to __NGREG if [__USE_MISC].
2324         (gregset_t): Define using __NGREG.
2325         (__ctx): New macro.
2326         (__ctxt): Likewise.
2327         (fpregset_t): Use __ctx and __ctxt in defining fields.
2328         (mcontext_t): Likewise.
2329         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
2330         define NGREG to __NGREG if [__USE_MISC].
2331         (gregset_t): Define using __NGREG.
2332         (__ctx): New macro.
2333         (mcontext_t): Use __ctx in defining fields.
2334         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
2335         define NGREG to __NGREG if [__USE_MISC].
2336         (gregset_t): Define using __NGREG.
2337         (__ctx): New macro.
2338         (fpregset_t): Use __ctx in defining fields.
2339         (mcontext_t): Likewise.
2340         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
2341         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2342         (gregset_t): Define using __NGREG.
2343         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2344         [__USE_MISC].
2345         (fpregset_t): Define using __NFPREG.
2346         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
2347         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2348         (gregset_t): Define using __NGREG.
2349         (__ctx): New macro.
2350         (fpregset_t): Use __ctx in defining fields.
2351         (mcontext_t): Likewise.
2352         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
2353         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2354         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2355         [__USE_MISC].
2356         (gregset_t): Define using __NGREG.
2357         (__ctx): New macro.
2358         (fpregset_t): Use __ctx in defining fields.
2359         (mcontext_t): Likewise.
2360         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
2361         (mcontext_t): Use __ctx in defining fields.
2362         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
2363         macro.
2364         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
2365         __NGREG if [__USE_MISC].
2366         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
2367         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
2368         (mcontext_t): Likewise.
2369         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
2370         __NGREG if [__USE_MISC].
2371         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
2372         to __NFPREG if [__USE_MISC].
2373         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
2374         to __NVRREG if [__USE_MISC].
2375         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
2376         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
2377         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
2378         [__WORDSIZE != 32] (vrregset_t): Likewise.
2379         [__WORDSIZE != 32] (mcontext_t): Likewise.
2380         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
2381         (__psw_t): Use __ctx in defining fields.
2382         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
2383         [__USE_MISC].
2384         (gregset_t): Define using __NGREG.
2385         (fpreg_t): Use __ctx in defining fields.
2386         (fpregset_t): Likewise.
2387         (mcontext_t): Likewise.
2388         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
2389         __NGREG and define NGREG to __NGREG if [__USE_MISC].
2390         (gregset_t): Define using __NGREG.
2391         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
2392         [__USE_MISC].
2393         (fpregset_t): Define using __NFPREG.
2394         (__ctx): New macro.
2395         (mcontext_t): Use __ctx in defining fields.
2396         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
2397         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2398         __NGREG if [__USE_MISC].
2399         [__x86_64__] (gregset_t): Define using __NGREG.
2400         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
2401         [__x86_64__] (struct _libc_fpstate): Likewise.
2402         [__x86_64__] (mcontext_t): Likewise.
2403         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
2404         __NGREG if [__USE_MISC].
2405         [!__x86_64__] (gregset_t): Define using __NGREG.
2406         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
2407         [!__x86_64__] (struct _libc_fpstate): Likewise.
2408         [!__x86_64__] (mcontext_t): Likewise.
2410 2017-06-01  Zack Weinberg  <zackw@panix.com>
2412         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
2413         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
2414         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
2415         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
2416         libpthread.so no longer references __errno_location.
2418 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2420         * NEWS: Add note about pwritev2 and preadv2 inclusion.
2421         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
2422         pwritev64v2.
2423         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
2424         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
2425         pwritev64v2.
2426         * misc/preadv2.c: New file.
2427         * misc/preadv64v2.c: Likewise.
2428         * misc/pwritev2.c: Likewise.
2429         * misc/pwritev64v2.c: Likewise.
2430         * misc/tst-preadvwritev2.c: Likewise.
2431         * misc/tst-preadvwritev64v2.c: Likewise.
2432         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
2433         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
2434         prototype.
2435         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
2436         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
2437         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
2438         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
2439         (PWRITEV): Likewise.
2440         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
2441         ENOSYS.
2442         * nptl/tst-cancel4.c (tf_pwritev2): New test.
2443         (tf_preadv2): Likewise.
2444         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
2445         * sysdeps/posix/preadv2.c: Likewise.
2446         * sysdeps/posix/preadv64v2.c: Likewise.
2447         * sysdeps/posix/pwritev2.c: Likewise.
2448         * sysdeps/posix/pwritev64v2.c: Likewise.
2449         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
2450         support in kernel.
2451         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
2452         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
2453         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
2454         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
2455         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
2456         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2457         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2458         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2459         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
2460         support flags on Linux.
2461         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
2462         preadv2, preadv64v2, pwritev2, pwritev64v2.
2463         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
2464         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
2465         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
2466         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
2467         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
2468         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
2469         Likewise.
2470         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
2471         Likewise.
2472         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
2473         Likewise.
2474         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
2475         Likewise.
2476         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
2477         Likewise.
2478         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
2479         Likewise.
2480         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
2481         Likewise.
2482         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
2483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2484         (GLIBC_2.26): Likewise.
2485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2486         (GLIBC_2.26): Likewise.
2487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
2488         Likewise.
2489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2490         (GLIBC_2.26): Likewise.
2491         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
2492         Likewise.
2493         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
2494         Likewise.
2495         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
2496         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
2497         Likewise.
2498         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
2499         Likewise.
2500         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
2501         Likewise.
2502         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
2503         Likewise.
2504         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
2505         Likewise.
2506         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
2507         Likewise.
2508         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
2509         Likewise.
2511 2017-05-31  Andreas Schwab  <schwab@suse.de>
2513         * nptl/tst-fork3.c: Include <support/test-driver.c>.
2514         (main): Rename to do_test and make static.
2516 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2518         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
2519         ARCH_INIT_CPU_FEATURES.
2520         (LIBC_START_MAIN): Call it.
2521         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
2522         (__libc_start_main): Remove.
2523         (ARCH_INIT_CPU_FEATURES): New macro.
2524         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
2525         (ARCH_INIT_CPU_FEATURES): New macro.
2527 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
2528             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2530         * include/stdlib.h (__libc_reallocarray): New declaration.
2531         * malloc/Makefile (routines): Add reallocarray.
2532         (tests): Add tst-reallocarray.c.
2533         * malloc/Versions: Add reallocarray and __libc_reallocarray.
2534         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
2535         function.
2536         * malloc/malloc.h (reallocarray): New declaration.
2537         * stdlib/stdlib.h (reallocarray): Likewise.
2538         * malloc/reallocarray.c: New file.
2539         * malloc/tst-reallocarray.c: New test file.
2540         * manual/memory.texi: Document reallocarray.
2541         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
2542         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2543         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2544         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2545         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2546         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2547         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2548         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2549         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2550         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2551         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2552         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2553         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2554         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2556         Likewise.
2557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2558         Likewise.
2559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2561         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2562         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2568         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
2569         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2570         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2572 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
2574         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
2575         the lower 32 bits.
2577 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
2579         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
2580         $(build-pie-default) = yes]: Define.
2582 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2584         * string/test-memchr.c (test_main): Add tests for n == 0.
2586 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2588         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
2589         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
2590         (tests-internal): ... here.
2592 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
2593              H.J. Lu  <hongjiu.lu@intel.com>
2595         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
2596         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
2597         (__tunable_set_val): Likewise.
2599 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
2601         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
2602         dl-tunables.list in subdirectories.
2604 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2605             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2606             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2608         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
2609         (SNANF128): New macro.
2610         * math/e_sqrtf128.c: New file.
2611         * math/s_fmaxmag_template.c: Include math_private.h in order to
2612         make inline expansion of fabs128().
2613         * math/s_fminmag_template.c: Likewise.
2615         * sysdeps/ieee754/float128/e_acosf128.c: New file.
2616         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
2617         * sysdeps/ieee754/float128/e_asinf128.c: New file.
2618         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
2619         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
2620         * sysdeps/ieee754/float128/e_coshf128.c: New file.
2621         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
2622         * sysdeps/ieee754/float128/e_expf128.c: New file.
2623         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
2624         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
2625         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
2626         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
2627         * sysdeps/ieee754/float128/e_j0f128.c: New file.
2628         * sysdeps/ieee754/float128/e_j1f128.c: New file.
2629         * sysdeps/ieee754/float128/e_jnf128.c: New file.
2630         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
2631         * sysdeps/ieee754/float128/e_log10f128.c: New file.
2632         * sysdeps/ieee754/float128/e_log2f128.c: New file.
2633         * sysdeps/ieee754/float128/e_logf128.c: New file.
2634         * sysdeps/ieee754/float128/e_powf128.c: New file.
2635         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
2636         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
2637         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
2638         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
2639         * sysdeps/ieee754/float128/float128_private.h: New file.
2640         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
2641         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
2642         * sysdeps/ieee754/float128/k_cosf128.c: New file.
2643         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
2644         * sysdeps/ieee754/float128/k_sinf128.c: New file.
2645         * sysdeps/ieee754/float128/k_tanf128.c: New file.
2646         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
2647         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
2648         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
2649         * sysdeps/ieee754/float128/s_atanf128.c: New file.
2650         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
2651         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
2652         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
2653         * sysdeps/ieee754/float128/s_cosf128.c: New file.
2654         * sysdeps/ieee754/float128/s_erff128.c: New file.
2655         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
2656         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
2657         * sysdeps/ieee754/float128/s_finitef128.c: New file.
2658         * sysdeps/ieee754/float128/s_floorf128.c: New file.
2659         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
2660         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
2661         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
2662         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
2663         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
2664         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
2665         * sysdeps/ieee754/float128/s_isinff128.c: New file.
2666         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
2667         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
2668         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
2669         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
2670         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
2671         * sysdeps/ieee754/float128/s_logbf128.c: New file.
2672         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
2673         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
2674         * sysdeps/ieee754/float128/s_modff128.c: New file.
2675         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
2676         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
2677         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
2678         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
2679         * sysdeps/ieee754/float128/s_remquof128.c: New file.
2680         * sysdeps/ieee754/float128/s_rintf128.c: New file.
2681         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
2682         * sysdeps/ieee754/float128/s_roundf128.c: New file.
2683         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
2684         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
2685         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
2686         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
2687         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
2688         * sysdeps/ieee754/float128/s_significandf128.c: New file.
2689         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
2690         * sysdeps/ieee754/float128/s_sinf128.c: New file.
2691         * sysdeps/ieee754/float128/s_tanf128.c: New file.
2692         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
2693         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
2694         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
2695         * sysdeps/ieee754/float128/s_truncf128.c: New file.
2696         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
2697         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
2698         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
2699         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
2701         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
2702         (__iscanonicalf128): Define as a macro.
2704 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2706         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
2707         (memmove): Use MEMMOVE for name.
2708         (memcpy): Use MEMCPY for name.  Change internal labels
2709         to external labels.
2710         * sysdeps/aarch64/multiarch/Makefile: New file.
2711         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
2712         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
2713         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
2714         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
2715         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
2716         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
2718 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2720         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2721         (_dl_arm_cap_flags): Fix array subscript.
2722         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2723         Fix count.
2725 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2727         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
2729 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
2731         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
2732         (is_amd): Likewise.
2733         (max_cpuid): Likewise.
2734         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
2735         (init_cacheinfo): Likewise.
2737 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
2739         [BZ #21511]
2740         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
2741         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
2742         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
2743         !__USE_XOPEN2K) || __USE_MISC].
2744         * conform/data/signal.h-data (struct sigstack): Expect type only
2745         if [!XOPEN2K8 && !POSIX2008].
2746         (sigstack): Expect function only if [XPG42 || UNIX98].
2748         [BZ #21457]
2749         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
2750         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2751         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2752         <bits/types/__sigset_t.h>.
2753         (ucontext_t): Use sigset_t instead of __sigset_t.
2754         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
2755         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2756         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2757         <bits/types/__sigset_t.h>.
2758         (ucontext_t): Use sigset_t instead of __sigset_t.
2759         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
2760         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2761         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2762         <bits/types/__sigset_t.h>.
2763         (ucontext_t): Use sigset_t instead of __sigset_t.
2764         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
2765         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2766         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2767         <bits/types/__sigset_t.h>.
2768         (ucontext_t): Use sigset_t instead of __sigset_t.
2769         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
2770         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2771         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2772         <bits/types/__sigset_t.h>.
2773         (ucontext_t): Use sigset_t instead of __sigset_t.
2774         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
2775         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2776         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2777         <bits/types/__sigset_t.h>.
2778         (ucontext_t): Use sigset_t instead of __sigset_t.
2779         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
2780         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2781         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2782         <bits/types/__sigset_t.h>.
2783         (ucontext_t): Use sigset_t instead of __sigset_t.
2784         * sysdeps/unix/sysv/linux/arm/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/hppa/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/ia64/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>.
2797         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
2798         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2799         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2800         <bits/types/__sigset_t.h>.
2801         (ucontext_t): Use sigset_t instead of __sigset_t.
2802         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
2803         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2804         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2805         <bits/types/__sigset_t.h>.
2806         (ucontext_t): Use sigset_t instead of __sigset_t.
2807         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
2808         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2809         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2810         <bits/types/__sigset_t.h>.
2811         (ucontext_t): Use sigset_t instead of __sigset_t.
2812         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
2813         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2814         <bits/ss_flags.h>.
2815         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
2816         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2817         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2818         <bits/types/__sigset_t.h>.
2819         (ucontext_t): Use sigset_t instead of __sigset_t.
2820         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
2821         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2822         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2823         <bits/types/__sigset_t.h>.
2824         (ucontext_t): Use sigset_t instead of __sigset_t.
2825         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
2826         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2827         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2828         <bits/types/__sigset_t.h>.
2829         (ucontext_t): Use sigset_t instead of __sigset_t.
2830         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
2831         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2832         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2833         <bits/types/__sigset_t.h>.
2834         (ucontext_t): Use sigset_t instead of __sigset_t.
2835         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
2836         <bits/types.h>.
2837         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
2838         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
2839         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
2840         <bits/types/__sigset_t.h>.
2841         (ucontext_t): Use sigset_t instead of __sigset_t.
2843 2017-05-22  Zack Weinberg  <zackw@panix.com>
2845         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2846         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
2847         bits/siginfo-arch.h, only if not already defined.
2848         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
2849         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
2850         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
2851         Likewise.
2853         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2854         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2855         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2856         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2857         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2858         Unconditionally define __SI_* macros.
2860 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2862         [BZ #21393]
2863         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
2864         and add a check for dup3 failure.
2865         * libio/freopen64.c (freopen64): Likewise.
2866         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
2867         libsupport.
2868         (do_test_bz21398): New test.
2869         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
2871 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2873         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
2874         Remove invalid comment.
2876 2017-05-21  Zack Weinberg  <zackw@panix.com>
2878         * signal/Makefile (headers): Add bits/types/sigval_t.h.
2880 2017-05-20  Zack Weinberg  <zackw@panix.com>
2882         * bits/sigevent-consts.h
2883         * bits/siginfo-consts.h
2884         * bits/types/__sigset_t.h
2885         * bits/types/sigevent_t.h
2886         * bits/types/siginfo_t.h
2887         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
2888         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
2889         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
2890         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
2891         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
2892         New system-dependent bits headers.
2894         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
2895         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
2896         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
2897         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
2898         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
2899         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
2900         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
2901         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
2902         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
2903         New Linux-only system-dependent bits headers.
2905         * signal/bits/types/sig_atomic_t.h
2906         * signal/bits/types/sigset_t.h
2907         * signal/bits/types/sigval_t.h:
2908         New non-system-dependent bits headers.
2910         * sysdeps/generic/sigsetops.h
2911         * sysdeps/unix/sysv/linux/sigsetops.h:
2912         New internal headers.
2914         * include/bits/types/sig_atomic_t.h
2915         * include/bits/types/sigset_t.h
2916         * include/bits/types/sigval_t.h:
2917         New wrappers.
2919         * signal/sigsetops.h
2920         * bits/siginfo.h
2921         * bits/sigset.h
2922         * sysdeps/unix/sysv/linux/bits/siginfo.h
2923         * sysdeps/unix/sysv/linux/bits/sigset.h
2924         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
2925         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
2926         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
2927         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
2928         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
2929         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
2930         Deleted.
2932         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
2933         Update lists of installed headers.
2935         * posix/bits/types.h: Define __sig_atomic_t here.
2936         * signal/signal.h: Use the new bits headers; no need to handle
2937         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
2938         to define sigmask.
2939         * include/signal.h: No need to handle __need_sig_atomic_t
2940         nor __need_sigset_t.  Don't define __sigemptyset.
2942         * io/sys/poll.h, setjmp/setjmp.h
2943         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
2944         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
2945         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2946         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
2947         * sysdeps/pthread/bits/sigthread.h
2948         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2949         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2950         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2951         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2952         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2953         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2954         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2955         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2956         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2957         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2958         Use bits/types/__sigset_t.h.
2960         * misc/sys/select.h, posix/spawn.h
2961         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2962         * sysdeps/unix/sysv/linux/sys/epoll.h
2963         * sysdeps/unix/sysv/linux/sys/signalfd.h:
2964         Use bits/types/sigset_t.h.
2966         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
2967         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
2968         * socket/sys/socket.h: Don't include bits/sigset.h.
2970         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
2971         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
2972         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
2973         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
2974         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
2975         * sysdeps/unix/sysv/linux/nptl-signals.h:
2976         Include sigsetops.h.
2978         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
2979         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
2980         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
2981         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
2982         now return no value.
2984         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
2985         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
2986         "sigsetops.h".
2988         * signal/sigsetops.c: Explicitly define __sigismember,
2989         __sigaddset, and __sigdelset as compatibility symbols.
2991         * signal/Versions: Correct commentary on __sigpause,
2992         __sigaddset, __sigdelset, __sigismember.
2994         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
2995         __sigblock/__sigsetmask to use __sigprocmask and friends.
2997         * resolv/resolv.h: Remove __need_res_state logic.
2998         Move definition of res_state and related constants to ...
2999         * resolv/bits/types/res_state.h: ...this new file.
3000         * resolv/Makefile: Install bits/types/res_state.h.
3001         * include/bits/types/res_state.h: New wrapper.
3002         * include/list.h: Remove __need_list_t logic.
3003         Move definition of list_t to ...
3004         * include/list_t.h: ...this new file.
3006         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3007         instead of list.h and resolv.h.
3009         * resolv/resolv.h: Remove __need_res_state logic.
3010         Move definition of res_state and related constants to ...
3011         * resolv/bits/types/res_state.h: ...this new file.
3012         * resolv/Makefile: Install bits/types/res_state.h.
3013         * include/bits/types/res_state.h: New wrapper.
3014         * include/list.h: Remove __need_list_t logic.
3015         Move definition of list_t to ...
3016         * include/list_t.h: ...this new file.
3018         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3019         instead of list.h and resolv.h.
3021 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3023         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3025 2017-05-20  Zack Weinberg  <zackw@panix.com>
3027         * sysdeps/arm/sysdep.h
3028         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3030         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3031         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3032         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3033         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3034         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3035         * sysdeps/arm/armv6t2/strlen.S
3036         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3037         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3038         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3039         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3040         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3041         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3043 2017-05-20  Zack Weinberg  <zackw@panix.com>
3045         Remove the NaCl port.
3046         * sysdeps/arm/nacl: Remove directory and contents.
3047         * sysdeps/nacl: Remove directory and contents.
3048         * abi-tags: Remove .*-.*-nacl.* entry.
3050 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
3052         * manual/errno.texi: Convert @comment-based errno documentation to
3053         @errno.
3054         * manual/macros.texi (@errno): New macro.  Consolidate errors,
3055         their values, and messages, adding the error string to the Concept
3056         Index.  Provide a warning in the comment about external (to the
3057         manual) dependencies.
3058         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3059         * sysdeps/mach/hurd/errnos.awk: Likewise.
3061 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3063         * bits/ss_flags.h: New file.
3064         * bits/types/stack_t.h: Likewise.
3065         * include/bits/types/struct_sigstack.h: Likewise.
3066         * signal/bits/types/struct_sigstack.h: Likewise.
3067         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
3068         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
3069         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
3070         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
3071         bits/types/stack_t.h and bits/ss_flags.h.
3072         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
3073         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3074         <bits/ss_flags.h>.
3075         * bits/sigstack.h (struct sigstack): Remove.
3076         (stack_t): Likewise.
3077         (SS_ONSTACK): Likewise.
3078         (SS_DISABLE): Likewise.
3079         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3080         (struct sigstack): Likewise.
3081         (stack_t): Likewise.
3082         (SS_ONSTACK): Likewise.
3083         (SS_DISABLE): Likewise.
3084         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
3085         Likewise.
3086         (stack_t): Likewise.
3087         (SS_ONSTACK): Likewise.
3088         (SS_DISABLE): Likewise.
3089         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
3090         Likewise.
3091         (stack_t): Likewise.
3092         (SS_ONSTACK): Likewise.
3093         (SS_DISABLE): Likewise.
3094         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
3095         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
3096         Likewise.
3097         (stack_t): Likewise.
3098         (SS_ONSTACK): Likewise.
3099         (SS_DISABLE): Likewise.
3100         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3101         (struct sigstack): Likewise.
3102         (stack_t): Likewise.
3103         (SS_ONSTACK): Likewise.
3104         (SS_DISABLE): Likewise.
3105         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
3106         Likewise.
3107         (stack_t): Likewise.
3108         (SS_ONSTACK): Likewise.
3109         (SS_DISABLE): Likewise.
3110         * sysdeps/arm/sys/ucontext.h: Include
3111         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
3112         <bits/ss_flags.h>.
3113         * sysdeps/generic/sys/ucontext.h: Likewise.
3114         * sysdeps/i386/sys/ucontext.h: Likewise.
3115         * sysdeps/m68k/sys/ucontext.h: Likewise.
3116         * sysdeps/mips/sys/ucontext.h: Likewise.
3117         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
3118         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
3119         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
3120         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
3121         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
3122         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
3123         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
3124         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
3125         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
3126         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3127         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
3128         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
3129         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
3130         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
3131         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
3133 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3135         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
3136         "edx + ecx - 16" to avoid possible addition overflow.
3137         * sysdeps/x86_64/memchr.S (memchr): Likewise.
3139 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3141         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
3142         (CFLAGS-splice.c): Likewise.
3143         (CFLAGS-open_by_handle_at.c): Likewise.
3144         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
3145         (CFLAGS-splice.c): Likewise.
3146         (CFLAGS-open_by_handle_at.c): Likewise.
3148 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3150         * scripts/versions.awk: Generate ldbl-compat-choose.h.
3151         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
3152         <ldbl-compat-choose.h>.
3153         (maybe_long_double_symbol): New macro.
3154         [!declare_mgen_alias] (declare_mgen_alias): Use
3155         maybe_long_double_symbol.
3156         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
3157         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
3158         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
3159         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
3160         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3161         * Makerules [$(build-shared) = yes && !avoid-generated]
3162         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
3163         [$(build-shared) = yes && !avoid-generated]
3164         ($(common-objpfx)ldbl-compat-choose.h): New target.
3166         * scripts/versions.awk: Generate first-versions.h.
3167         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
3168         <first-versions.h>.
3169         (LDOUBLE_cabsl_libm_version): Remove macro.
3170         (LDOUBLE_cargl_libm_version): Likewise.
3171         (LDOUBLE_cimagl_libm_version): Likewise.
3172         (LDOUBLE_conjl_libm_version): Likewise.
3173         (LDOUBLE_creall_libm_version): Likewise.
3174         (LDOUBLE_cacosl_libm_version): Likewise.
3175         (LDOUBLE_cacoshl_libm_version): Likewise.
3176         (LDOUBLE_ccosl_libm_version): Likewise.
3177         (LDOUBLE_ccoshl_libm_version): Likewise.
3178         (LDOUBLE_casinl_libm_version): Likewise.
3179         (LDOUBLE_csinl_libm_version): Likewise.
3180         (LDOUBLE_casinhl_libm_version): Likewise.
3181         (LDOUBLE_csinhl_libm_version): Likewise.
3182         (LDOUBLE_catanl_libm_version): Likewise.
3183         (LDOUBLE_catanhl_libm_version): Likewise.
3184         (LDOUBLE_ctanl_libm_version): Likewise.
3185         (LDOUBLE_ctanhl_libm_version): Likewise.
3186         (LDOUBLE_cexpl_libm_version): Likewise.
3187         (LDOUBLE_clogl_libm_version): Likewise.
3188         (LDOUBLE_cprojl_libm_version): Likewise.
3189         (LDOUBLE_csqrtl_libm_version): Likewise.
3190         (LDOUBLE_cpowl_libm_version): Likewise.
3191         (LDOUBLE_clog10l_libm_version): Likewise.
3192         (LDOUBLE___clog10l_libm_version): Likewise.
3193         (LDOUBLE_fdiml_libm_version): Likewise.
3194         (LDOUBLE_fmaxl_libm_version): Likewise.
3195         (LDOUBLE_fminl_libm_version): Likewise.
3196         (LDOUBLE_ilogbl_libm_version): Likewise.
3197         (LDOUBLE_nanl_libm_version): Likewise.
3198         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
3199         FIRST_VERSION_libm_* macros.
3200         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
3201         * Makerules [$(build-shared) = yes && !avoid-generated]
3202         (before-compile): Add $(common-objpfx)first-versions.h.
3203         [$(build-shared) = yes && !avoid-generated]
3204         ($(common-objpfx)first-versions.h): New target.
3205         ($(common-objpfx)sysd-versions): Depend on and change to rule for
3206         building $(common-objpfx)versions.stmp.
3208 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3210         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
3211         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
3212         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
3213         auto-generation list.
3215         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
3216         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
3217         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
3218         from auto-generation list.
3220         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
3221         open_by_handle_at.
3222         (CFLAGS-open_by_handle_at.c): New flag.
3223         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
3224         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
3225         file.
3226         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
3228         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
3229         (CFLAGS-splice.c): New flag.
3230         * sysdeps/unix/sysv/linux/splice.c: New file.
3231         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
3232         auto-generation syscall list.
3233         * misc/Makefile (CFLAGS-splice.c): New rule.
3235         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
3236         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
3237         auto-generation syscall list.
3238         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
3239         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
3241         * misc/Makefile (CFLAGS-fsync.c): New flag.
3242         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
3243         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
3244         syscall list.
3245         * sysdeps/unix/sysv/linux/fsync.c: New file.
3246         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
3247         (__errno_location): Remove.
3249         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
3250         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
3251         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
3252         list.
3253         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
3255         * misc/Makefile (CFLAGS-msync.c): New rule.
3256         * nptl/Makefile (CFLAGS-msync.c): Likewise.
3257         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
3258         * sysdeps/unix/sysv/linux/msync.c: New file.
3260         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
3261         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
3262         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
3263         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
3264         (CFLAGS-sigsuspend.c): Remove rule.
3266         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
3267         (CFLAGS-tee.c): New rule.
3268         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
3269         auto-generated list.
3270         * sysdeps/unix/sysv/linux/tee.c: New file.
3272         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
3273         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
3274         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
3275         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
3276         auto-generated list.
3278         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
3279         auto-generated list.
3280         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
3281         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3282         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
3283         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3284         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
3286         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
3287         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
3288         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
3289         (__NR_pause): Undefine.
3290         * sysdeps/unix/sysv/linux/pause.c: New file.
3291         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
3292         auto-generation list.
3293         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
3294         Remove rule.
3295         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
3297 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3299         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
3300         comments.
3302 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3304         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
3305         LD_HWCAP_MASK.
3307 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3309         * manual/conf.texi: Convert @tables of annotated @items to
3310         @vtables.
3311         * manual/lang.texi: Likewise.
3312         * manual/pattern.texi: Likewise.
3313         * manual/resource.texi: Likewise.
3314         * manual/socket.texi: Likewise.
3316 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
3318         * manual/crypt.texi: Move a comment out of an @*x list.
3319         * manual/filesys.texi: Refactor some comments, one of which looks
3320         like a standard.  Fix incorrectly separated standards.
3321         * manual/locale.texi: Invert an annotation.
3322         * manual/resource.texi: Fix incorrectly separated standards.
3323         * manual/time.texi: Refactor a @vtable that obscures an
3324         annotation.
3325         * manual/users.texi: Refactor multiple headers to occupy a single
3326         @comment.
3328 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3330         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3331         (sysdep_routines): Add memcmp-power8.
3332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3333         (memcmp): Add __memcmp_power8 to list of memcmp functions.
3334         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
3335         (memcmp): Add __memcmp_power8 to ifunc list.
3336         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
3337         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
3339 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3340             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3342         * math/math.h (__MATH_TG): Extend the conditions to add
3343         _Float128 support.
3344         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
3346 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
3348         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3349         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
3350         s_cosf-ppc64.
3351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
3352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
3353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
3354         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
3356 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3358         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
3359         (gen-libm-calls): Add e_exp2F to use the template.
3360         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
3361         * math/e_exp2_template.c: New file, renamed from
3362         math/e_exp2l.c, and made into a template.
3363         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
3365 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3367         * elf/dl-tunable-types.h (tunable_type_code_t): New type
3368         TUNABLE_TYPE_UINT_64.
3369         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
3370         Simplify computation of overflow.
3371         (tunable_set_val_if_valid_range_signed,
3372         tunable_set_val_if_valid_range_unsigned): Remove and replace
3373         with this...
3374         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
3375         (tunable_initialize): Adjust.  Add uint64_t support.
3376         (__tunable_set_val): Add uint64_t support.
3377         * README.tunables: Document it.
3379         * scripts/gen-tunables.awk: Recognize 'default' keyword in
3380         dl-tunables.list.
3381         * README.tunables: Document it.
3383 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3385         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
3386         * sysdeps/posix/preadv64.c: Likewise.
3387         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3388         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
3389         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
3390         * sysdeps/posix/pwritev64.c: Likewise.
3391         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3392         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
3393         * sysdeps/posix/preadv_common.c: New file.
3394         * sysdeps/posix/pwritev_common.c: Likewise.
3396 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3398         * sysdeps/generic/math-type-macros-float128.h
3399         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
3400         wrapper templates.
3402 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3403             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3405         * include/complex.h (__kernel_casinhf128): New declaration.
3406         * include/float.h: New file.
3407         * include/math.h (__finitef128): Add a hidden def.
3408         (__isinff128): Likewise.
3409         (__isnanf128): Likewise.
3410         (__fpclassify): Likewise.
3411         (__issignalling): Likewise.
3412         (__expf128): Likewise.
3413         (__expm1f128): Likewise.
3415         * sysdeps/generic/fix-fp-int-convert-overflow.h:
3416         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
3417         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
3419         * sysdeps/generic/math-type-macros-float128.h: New file.
3421         * sysdeps/generic/math_private.h: Include bits/floatn.h and
3422         math_private_calls.h for _Float128.
3423         (__isinff128): New inline implementation used when GCC < 7.0,
3424         since in this case __builtin_isinf_sign is broken.
3425         (fabsf128): New inline implementation that calls the builtin.
3426         (__EXPR_FLT128): New macro.
3427         (min_of_type): Optionally include _Float128 types too.
3429         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
3430         Declare for _Float128.
3431         (__kernel_rem_pio2): Likewise.
3433         * sysdeps/ieee754/ldbl-opt/s_sin.c:
3434         (__DECL_SIMD_sincos_disablef128): New macro.
3436 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3438         * math/math.h: Include bits/math-finite.h for float128.
3439         (__MATH_DECLARING_FLOATN): Define to control declaration of
3440         float128 functions.
3441         * math/bits/math-finite.h (pow10): Do not declare for float128.
3442         (gamma): Likewise.
3443         (scalb): Likewise.
3445 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3446             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3448         * bits/floatn.h: New file.
3449         * bits/huge_val_flt128.h: Likewise.
3451         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
3452         (__DECL_SIMD_sinf128): Likewise.
3453         (__DECL_SIMD_sincosf128): Likewise.
3454         (__DECL_SIMD_logf128): Likewise.
3455         (__DECL_SIMD_expf128): Likewise.
3456         (__DECL_SIMD_powf128): Likewise.
3458         * math/Makefile (headers): Install bits/floatn.h and
3459         bits/huge_val_flt128.h.
3461         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
3462         defined.
3464         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
3465         (isnan, gamma, nexttoward, scalb): Only define if not
3466         __MATH_DECLARING_FLOATN.
3467         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
3468         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
3469         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
3470         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
3472         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
3473         Include bits/cmathcalls.h to get the declarations of _Float128
3474         versions of complex functions.
3475         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
3476         Define macro.
3478         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
3479         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
3480         get the declarations of _Float128 versions of math functions.
3481         (__MATH_DECLARING_FLOATN): New macro to control declaration of
3482         _FloatN types.
3483         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
3484         is type-generic, so use it without __MATH_TG.
3485         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
3486         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
3487         _Float128 type and GCC < 7.0, otherwise use the builtin.
3488         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
3489         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
3490         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
3491         New _GNU_SOURCE enabled macros.
3493 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3495         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
3496         (signbitf): Likewise.
3497         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
3498         Likewise.
3499         (signbitl): Likewise.
3500         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
3501         Likewise.
3502         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
3503         (signbitl): Likewise.
3504         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
3506 2017-05-12  Florian Weimer  <fweimer@redhat.com>
3508         [BZ #21386]
3509         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
3510         parent PID.  The assertion in the child is incorrect with PID
3511         namespaces.
3513 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
3515         * sysdeps/unix/sysv/linux/kernel-features.h
3516         (__ASSUME_STATFS_F_FLAGS): Remove macro.
3517         * sysdeps/unix/sysv/linux/internal_statvfs.c
3518         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
3520 2017-05-11  Zack Weinberg  <zackw@panix.com>
3522         * Makerules: New subdir configuration variables 'tests-internal'
3523         and 'test-internal-extras'.  Test files in these categories will
3524         still be compiled with MODULE_NAME=nonlib.  Test files in the
3525         existing categories (tests, xtests, test-srcs, test-extras) are
3526         now compiled with MODULE_NAME=testsuite.
3527         New subdir configuration variable 'modules-names-tests'.  Files
3528         which are in both 'modules-names' and 'modules-names-tests' will
3529         be compiled with MODULE_NAME=testsuite instead of
3530         MODULE_NAME=extramodules.
3531         (gen-as-const-headers): Move to tests-internal.
3532         (do-tests-clean, common-mostlyclean): Support tests-internal.
3533         * Makeconfig (built-modules): Add testsuite.
3534         * Makefile: Change libof-check-installed-headers-c and
3535         libof-check-installed-headers-cxx to 'testsuite'.
3536         * Rules: Likewise.  Support tests-internal.
3537         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
3538         Remove extra-modules.mk.
3540         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
3541         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
3542         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
3543         very top of the file and rationalize their order.
3544         If MODULE_NAME is not defined at all, define IS_IN to always be
3545         false, and don't define _ISOMAC.
3546         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
3547         true, define _ISOMAC and suppress everything else in this file,
3548         starting with the inclusion of config.h.
3549         Do check for inappropriate definitions of __OPTIMIZE__ and
3550         __FAST_MATH__ here, but only if _ISOMAC is not defined.
3551         Correct some out-of-date commentary.
3553         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
3554         and _Mlong_double_ before including math.h.
3555         * include/string.h: If _ISOMAC is defined, don't expose
3556         _STRING_ARCH_unaligned. Move a comment to a more appropriate
3557         location.
3559         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
3560         * include/time.h, include/unistd.h, include/wchar.h: No need to
3561         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
3563         * misc/sys/cdefs.h (__NTHNL): New macro.
3564         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
3565         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
3567         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
3568         defined, for HAVE_TUNABLES.
3569         * inet/tst-checks-posix.c: No need to define _ISOMAC.
3570         * intl/tst-gettext2.c: Provide own definition of N_.
3571         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
3572         * math/test-signgam-main.c: No need to define _ISOMAC.
3573         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
3574         * stdlib/tst-strtod1i.c: ...this new file.
3575         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
3576         Split tests of __strtod_internal to...
3577         * stdlib/tst-strtod5i.c: ...this new file.
3578         * string/test-string.h: Include stdint.h. Duplicate definition of
3579         inhibit_loop_to_libcall here (from libc-symbols.h).
3580         * string/test-strstr.c: Provide dummy definition of
3581         libc_hidden_builtin_def when including strstr.c.
3582         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
3583         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
3584         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3585         Don't include init-arch.h.
3586         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3587         Don't include init-arch.h.
3589         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
3590         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
3591         unload, unload2, circleload1, neededtest, neededtest2,
3592         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
3593         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
3594         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
3595         ifunc tests to tests-internal.
3596         Don't add $(modules-names) to test-extras.
3597         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
3598         Add tst-deadline to tests-static-internal.
3599         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
3600         tests-internal.
3601         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
3602         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
3603         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
3604         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
3605         tst-sem12-static, and tst-stackguard1-static to tests-internal.
3606         Link tests-internal with libpthread also.
3607         Don't add $(modules-names) to test-extras.
3608         * nss/Makefile: Move tst-field to tests-internal.
3609         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
3610         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
3611         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
3612         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
3613         tests-internal.
3614         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
3615         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
3616         test-get_hwcap-static to tests-internal.
3617         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
3618         tests-internal.
3619         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
3620         modules-names-tests.
3622 2017-05-11  Zack Weinberg  <zackw@panix.com>
3624         * libio/libio.h: Condition dummy definition of _IO_lock_t on
3625         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
3626         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
3627         _IO_funlockfile, and _IO_ftrylockfile.  Only define
3628         _IO_cleanup_region_start and _IO_cleanup_region_end if not
3629         already defined.
3630         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
3631         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
3632         appropriately.
3633         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
3634         Define _IO_lock_t_defined after defining _IO_lock_t.
3636 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3638         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
3639         void* for argument type and use VDSO_SYMBOL macro.
3640         (is_sigtramp_address_rt): Likewise.
3641         (__backtrace): Setup expected frame pointer address for signal
3642         handling.
3643         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
3644         void* for argumetn type and use VSDO_SYMBOL macro.
3645         (__backtrace): Setup expected frame pointer address for signal
3646         handling.
3648         * sysdeps/unix/sysv/linux/writev.c: New file.
3650         * sysdeps/unix/sysv/linux/readv.c: New file.
3652         * include/unistd.h (write): Add hidden proto.
3653         * io/Makefile (CFLAGS-write.c): New define.
3654         * nptl/Makefile (CFLAGS-write.c): Likewise.
3655         * sysdeps/unix/sysv/linux/write.c: New file.
3657         [BZ #21428]
3658         * include/unistd.h (read): Add hidden proto.
3659         * io/Makefile (CFLAGS-read.c): New define.
3660         * nptl/Makefile (CFLAGS-read.c): Likewise.
3661         * sysdeps/unix/sysv/linux/read.c: New file.
3663         * io/Makefile (CFLAGS-creat.c): New rule.
3664         (CFLAGS-creat64.c): Likewise.
3665         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
3666         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
3667         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
3668         * sysdeps/unix/sysv/linux/creat.c: New file.
3669         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
3670         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
3671         auto-generated list.
3672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3674         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
3675         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
3676         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
3677         * sysdeps/unix/sysv/linux/open.c: New file.
3678         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
3679         iff __WORDSIZE != 64 and use __NR_openat when available.
3680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
3681         from auto-generated list.
3683         * nptl/Makefile (CFLAGS-close.c): New flag.
3684         * sysdeps/unix/sysv/linux/close.c: New file.
3686 2017-05-11  DJ Delorie  <dj@redhat.com>
3688         * MAINTAINERS: New.  Points to wiki.
3690 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3692         * scripts/gen-tunables.awk: Add attribute_relro to
3693         tunable_list.
3695 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
3697         [BZ #21457]
3698         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
3699         (R1): Likewise.
3700         (R2): Likewise.
3701         (R3): Likewise.
3702         (R4): Likewise.
3703         (R5): Likewise.
3704         (R6): Likewise.
3705         (R7): Likewise.
3706         (R8): Likewise.
3707         (R9): Likewise.
3708         (R10): Likewise.
3709         (R11): Likewise.
3710         (R12): Likewise.
3711         (R13): Likewise.
3712         (R14): Likewise.
3713         (R15): Likewise.
3714         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
3715         (REG_FS): Likewise.
3716         (REG_ES): Likewise.
3717         (REG_DS): Likewise.
3718         (REG_EDI): Likewise.
3719         (REG_ESI): Likewise.
3720         (REG_EBP): Likewise.
3721         (REG_ESP): Likewise.
3722         (REG_EBX): Likewise.
3723         (REG_EDX): Likewise.
3724         (REG_ECX): Likewise.
3725         (REG_EAX): Likewise.
3726         (REG_TRAPNO): Likewise.
3727         (REG_ERR): Likewise.
3728         (REG_EIP): Likewise.
3729         (REG_CS): Likewise.
3730         (REG_EFL): Likewise.
3731         (REG_UESP): Likewise.
3732         (REG_SS): Likewise.
3733         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
3734         (R_D1): Likewise.
3735         (R_D2): Likewise.
3736         (R_D3): Likewise.
3737         (R_D4): Likewise.
3738         (R_D5): Likewise.
3739         (R_D6): Likewise.
3740         (R_D7): Likewise.
3741         (R_A0): Likewise.
3742         (R_A1): Likewise.
3743         (R_A2): Likewise.
3744         (R_A3): Likewise.
3745         (R_A4): Likewise.
3746         (R_A5): Likewise.
3747         (R_A6): Likewise.
3748         (R_A7): Likewise.
3749         (R_SP): Likewise.
3750         (R_PC): Likewise.
3751         (R_PS): Likewise.
3752         (fpregset_t): Likewise.
3753         (MCONTEXT_VERSION): Likewise.
3754         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
3755         (CTX_AT): Likewise.
3756         (CTX_V0): Likewise.
3757         (CTX_V1): Likewise.
3758         (CTX_A0): Likewise.
3759         (CTX_A1): Likewise.
3760         (CTX_A2): Likewise.
3761         (CTX_A3): Likewise.
3762         (CTX_T0): Likewise.
3763         (CTX_T1): Likewise.
3764         (CTX_T2): Likewise.
3765         (CTX_T3): Likewise.
3766         (CTX_T4): Likewise.
3767         (CTX_T5): Likewise.
3768         (CTX_T6): Likewise.
3769         (CTX_T7): Likewise.
3770         (CTX_S0): Likewise.
3771         (CTX_S1): Likewise.
3772         (CTX_S2): Likewise.
3773         (CTX_S3): Likewise.
3774         (CTX_S4): Likewise.
3775         (CTX_S5): Likewise.
3776         (CTX_S6): Likewise.
3777         (CTX_S7): Likewise.
3778         (CTX_T8): Likewise.
3779         (CTX_T9): Likewise.
3780         (CTX_K0): Likewise.
3781         (CTX_K1): Likewise.
3782         (CTX_GP): Likewise.
3783         (CTX_SP): Likewise.
3784         (CTX_S8): Likewise.
3785         (CTX_RA): Likewise.
3786         (CTX_MDLO): Likewise.
3787         (CTX_MDHI): Likewise.
3788         (CTX_CAUSE): Likewise.
3789         (CTX_EPC): Likewise.
3790         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
3791         inclusion of <sys/procfs.h> on [__USE_MISC].
3792         (greg_t): Condition on [__USE_MISC].
3793         (gregset_t): Likewise.
3794         (fpregset_t): Likewise.
3795         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
3796         (NGREG): Likewise.
3797         (gregset_t): Likewise.
3798         (REG_R0): Likewise.
3799         (REG_R1): Likewise.
3800         (REG_R2): Likewise.
3801         (REG_R3): Likewise.
3802         (REG_R4): Likewise.
3803         (REG_R5): Likewise.
3804         (REG_R6): Likewise.
3805         (REG_R7): Likewise.
3806         (REG_R8): Likewise.
3807         (REG_R9): Likewise.
3808         (REG_R10): Likewise.
3809         (REG_R11): Likewise.
3810         (REG_R12): Likewise.
3811         (REG_R13): Likewise.
3812         (REG_R14): Likewise.
3813         (REG_R15): Likewise.
3814         (struct _libc_fpstate): Likewise.
3815         (fpregset_t): Likewise.
3816         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
3817         (NFPREG): Likewise.
3818         (gregset_t): Likewise.
3819         (fpregset_t): Likewise.
3820         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
3821         (R_D1): Likewise.
3822         (R_D2): Likewise.
3823         (R_D3): Likewise.
3824         (R_D4): Likewise.
3825         (R_D5): Likewise.
3826         (R_D6): Likewise.
3827         (R_D7): Likewise.
3828         (R_A0): Likewise.
3829         (R_A1): Likewise.
3830         (R_A2): Likewise.
3831         (R_A3): Likewise.
3832         (R_A4): Likewise.
3833         (R_A5): Likewise.
3834         (R_A6): Likewise.
3835         (R_A7): Likewise.
3836         (R_SP): Likewise.
3837         (R_PC): Likewise.
3838         (R_PS): Likewise.
3839         (fpregset_t): Likewise.
3840         (MCONTEXT_VERSION): Likewise.
3841         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
3842         Likewise.
3843         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
3844         (REG_R1): Likewise.
3845         (REG_R2): Likewise.
3846         (REG_R3): Likewise.
3847         (REG_R4): Likewise.
3848         (REG_R5): Likewise.
3849         (REG_R6): Likewise.
3850         (REG_R7): Likewise.
3851         (REG_R8): Likewise.
3852         (REG_R9): Likewise.
3853         (REG_R10): Likewise.
3854         (REG_R11): Likewise.
3855         (REG_R12): Likewise.
3856         (REG_R13): Likewise.
3857         (REG_R14): Likewise.
3858         (REG_R15): Likewise.
3859         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
3860         of <arch/abi.h> on [__USE_MISC].
3861         (greg_t): Condition on [__USE_MISC].
3862         (NGREG): Likewise.
3863         (gregset_t): Likewise.
3865 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3867         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
3868         (__pthread_rwlock_arch_t): Remove __data definition.
3869         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
3870         (__pthread_rwlock_arch_t): Likewise.
3872 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3874         * resolv/inet_pton.c: Reformat in GNU style.  Remove
3875         internal_function on static functions.
3877 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3879         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
3880         from format_ai_flags.
3881         (format_ai_flags): New function.  Incorporate flag formatting code
3882         from format_ai_one.
3883         (format_ai_canonname): New function.
3884         (format_ai_one): Remove flags parameter.
3885         (format_ai_family): Likewise.
3886         (support_format_addrinfo): Call format_ai_flags,
3887         format_ai_canonname.
3888         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
3889         check_ai.
3890         (check_ai): Call check_ai_hints.
3891         (do_test): Add AI_CANONNAME tests.
3893 2017-05-11  Florian Weimer  <fweimer@redhat.com>
3895         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
3896         (gaih_inet): Likewise.
3898 2017-05-10  Andreas Schwab  <schwab@suse.de>
3900         * nptl/tst-fork1.c: Include <support/test-driver.c>.
3901         (main): Rename to do_test and make static.
3903 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
3905         * string/rawmemchr.c: Include <libc-diag.h>.
3906         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
3907         with size (size_t)-1.
3909 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3911         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
3912         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
3913         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
3915         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
3916         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
3917         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
3918         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
3919         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
3920         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
3921         * sysdeps/unix/sysv/linux/kernel-features.h
3922         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
3923         socket syscalls.
3924         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3925         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3926         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3927         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3928         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3929         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3930         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
3931         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3932         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3933         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3934         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3935         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3936         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3937         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3938         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3940 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3942         * posix/Makefile (headers): Add pthreadtypes-arch.h and
3943         thread-shared-types.h.
3944         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
3945         specific thread definition.
3946         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
3947         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
3948         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
3949         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
3950         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
3951         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
3952         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
3953         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
3954         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
3955         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
3956         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
3957         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
3958         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
3959         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
3960         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
3961         thread definition between POSIX and C11.
3962         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
3963         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
3964         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
3965         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
3966         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
3967         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
3968         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
3969         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
3970         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
3971         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
3972         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
3973         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
3974         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
3975         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
3976         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
3977         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
3978         definitions shared across all architectures.
3980 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
3982         * sysdeps/unix/sysv/linux/kernel-features.h
3983         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
3984         (__ASSUME_SENDMMSG): Likewise.
3985         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
3986         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
3987         sendmmsg syscall if that can be assumed to be present, socketcall
3988         otherwise, with no fallback for runtime failure.
3990         * sysdeps/unix/sysv/linux/kernel-features.h
3991         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
3992         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
3993         (__ASSUME_RECVMMSG): Likewise.
3994         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
3995         recvmmsg syscall if it can be assumed to be present, socketcall
3996         otherwise, with no fallback for runtime failure.
3998 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3999             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4001         * bits/libc-header-start.h:
4002         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
4003         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
4004         * manual/creature.texi: Likewise.
4006 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4007             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4009         * math/Makefile:
4010         (type-float128-suffix): New variable
4011         (type-float128-routines): Likewise
4012         (type-float128-yes): Likewise
4013         (types): Append float128 if supported
4014         (types-basic): New variable to control the use of templates for
4015         float, double, and long double, but not for float128 or newer types.
4016         (type-basic-foreach): Likewise.
4018         * sysdeps/ieee754/float128/Makeconfig: New file.
4019         * sysdeps/ieee754/float128/Versions: New file.
4021 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4023         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4024         Remove macro.
4025         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4026         prlimit64 is always available and does not give an ENOSYS error.
4027         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4028         unconditional.
4029         [!__NR_prlimit64]: Remove conditional code.
4030         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4031         prlimit64 is always available and does not give an ENOSYS error.
4032         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4034 2017-05-09  Zack Weinberg  <zackw@panix.com>
4036         * sunrpc/tst-xdrmem2.c: Include stdint.h.
4038 2017-05-09  Florian Weimer  <fweimer@redhat.com>
4040         [BZ #21474]
4041         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4042         (__res_maybe_init): Likewise.
4044 2017-05-09  Zack Weinberg  <zackw@panix.com>
4046         * extra-modules.mk: Delete file.
4047         * cppflags-iterator.mk: Rename to ...
4048         * libof-iterator.mk: ...this.  Adjust comments.
4050         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4051         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4052         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4053         Use libof-iterator.mk instead of cppflags-iterator.mk or
4054         extra-modules.mk.
4056         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4057         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4059 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4061         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4063 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
4065         * stdio-common/vfprintf.c (EXTSIZ): Define.
4066         (vfprintf): Use EXTSIZ.
4067         (printf_positional): Likewise.
4069 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4071         * sysdeps/unix/sysv/linux/kernel-features.h
4072         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
4073         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
4074         <kernel-features.h>.
4075         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
4077         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
4078         (__ASSUME_GETCPU_SYSCALL): Remove macro.
4080 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4082         Prevent multiple deletion of temporary files.
4083         * support/temp_file.c (struct temp_name_list): Add owner member.
4084         (add_temp_file): Record owner.
4085         (support_delete_temp_files): Delete file only if owner matches.
4086         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
4087         (do_prepare): Use create_temp_file instead of add_temp_file.
4088         Initialize temp_fd1, temp_fd2.
4089         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
4090         framework remove the temporary files.
4091         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
4092         (do_prepare): Use create_temp_file instead of add_temp_file.
4093         Initialize temp_fd1, temp_fd2, temp_fd3.
4094         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
4095         the test framework remove the temporary files.
4096         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
4097         deletion.
4098         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
4099         temporary directory.  It is removed by the test framework.
4100         * dirent/tst-scandir.c (do_test): Likewise.
4102 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4104         Delete temporary files in LIFO order.
4105         * support/temp_file.c (struct temp_name_list): Replace q member
4106         with next.
4107         (add_temp_file): Add new file to front of linked list.
4108         (support_delete_temp_files): Use next member.
4109         (support_print_temp_files): Likewise.
4111 2017-05-08  Florian Weimer  <fweimer@redhat.com>
4113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4114         sys/ultrasound.h.
4115         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
4117 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
4119         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
4120         Remove.
4121         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
4122         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
4123         (arch_minimum_kernel): Remove.
4124         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
4125         * README: Update statement about Linux kernel requirements.
4127 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4129         * manual/llio.texi: Add preadv and pwritev documentation.
4131 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4133         [BZ #21455]
4134         * bits/stdint-intn.h: New file.
4135         * bits/stdint-uintn.h: Likewise.
4136         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
4137         bits/stdint-uintn.h.
4138         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
4139         <stdint.h>.
4140         * posix/sys/types.h: Include <bits/stdint-intn.h>.
4141         (__int8_t_defined): Do not define here.
4142         (int8_t): Likewise.
4143         (int16_t): Likewise.
4144         (int32_t): Likewise.
4145         (int64_t): Likewise.
4146         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
4147         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
4148         <stdint.h>.
4149         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
4150         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
4151         <bits/stdint-uintn.h>.
4152         (int8_t): Do not define here.
4153         (int16_t): Likewise.
4154         (int32_t): Likewise.
4155         (int64_t): Likewise.
4156         (uint8_t): Likewise.
4157         (uint16_t): Likewise.
4158         (uint32_t): Likewise.
4159         (uint64_t): Likewise.
4160         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
4161         variable.
4162         (test-xfail-XPG42/netdb.h/conform): Likewise.
4163         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
4164         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
4165         (test-xfail-UNIX98/netdb.h/conform): Likewise.
4166         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
4168 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4170         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
4171         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
4172         the above.
4173         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4174         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4176 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
4178         [BZ #21445]
4179         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
4181         [BZ #21457]
4182         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4183         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
4184         __glibc_reserved1.
4185         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
4186         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
4187         (struct _fpxreg): Likewise.
4188         [!__x86_64__] (struct _fpstate): Rename field reserved to
4189         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
4190         [__x86_64__] (struct _fpstate): Rename field padding to
4191         __glibc_reserved1.
4192         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
4193         Rename field reserved2 to __glibc_reserved2.
4194         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
4195         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
4196         __glibc_reserved1.
4197         [__x86_64__] (struct _libc_fpstate): Rename field padding to
4198         __glibc_reserved1.
4200 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4202         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
4203         variable name.
4205 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
4207         [BZ #21391]
4208         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
4209         Only call init_cpu_features.
4210         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
4211         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4212         * sysdeps/i386/dl-procinfo.h: Removed.
4213         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
4214         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
4215         <sysdeps/x86/dl-procinfo.h>.
4216         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
4217         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
4218         Include <sysdeps/x86/dl-procinfo.h> instead of
4219          <sysdeps/generic/dl-procinfo.h>.
4220         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
4221         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
4222         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
4223         (bit_cpu_MOVBE): Likewise.
4224         (bit_cpu_BMI1): Likewise.
4225         (bit_cpu_BMI2): Likewise.
4226         (index_cpu_BMI1): Likewise.
4227         (index_cpu_BMI2): Likewise.
4228         (index_cpu_LZCNT): Likewise.
4229         (index_cpu_MOVBE): Likewise.
4230         (index_cpu_POPCNT): Likewise.
4231         (reg_BMI1): Likewise.
4232         (reg_BMI2): Likewise.
4233         (reg_LZCNT): Likewise.
4234         (reg_MOVBE): Likewise.
4235         (reg_POPCNT): Likewise.
4236         * sysdeps/x86/dl-hwcap.h: New file.
4237         * sysdeps/x86/dl-procinfo.h: Likewise.
4238         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
4239         (_dl_x86_platforms): Likewise.
4241 2017-05-03  DJ Delorie  <dj@redhat.com>
4243         [BZ #21411]
4244         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
4246 2017-05-03  Phil Blundell  <pb@pbcl.net>
4248         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
4249         comments.
4251 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
4253         [BZ #20116]
4254         * nptl/pthread_create.c: Expand comments to describe
4255         semaphore-like and mutex-like uses of PD->lock.
4257 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4259         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
4260         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
4261         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
4262         auto-generation list.
4263         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4264         epoll_wait.
4265         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
4266         Remove epoll_wait.
4268         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
4269         osf_select.
4270         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
4271         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
4272         osf_select from auto-generation list.
4273         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4274         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4275         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
4276         * sysdeps/unix/sysv/linux/select.c: New file.
4278         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
4279         * sysdeps/unix/sysv/linux/poll.c: New file.
4280         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
4281         auto-generation list.
4283 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
4285         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
4286         New macro.
4288 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
4290         [BZ #21179]
4291         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
4292         R_SPARC_REGISTER relocations.
4294 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4296         * include/unistd.h (__pread): Add libc_hidden_proto.
4297         (__pread64): Likewise.
4298         (__pwrite): Likewise.
4299         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
4300         (__pread64): Remove.
4301         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
4302         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
4303         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
4305 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4309 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4311         * nptl/tst-cancel4-common.c: Use libsupport.
4312         * nptl/tst-cancel4-common.h: Likewise.
4313         * nptl/tst-cancel4.c (tf_read): Likewise.
4314         (tf_readv): Likewise.
4315         (tf_write): Likewise.
4316         (tf_writev): Likewise.
4317         (tf_sleep): Likewise.
4318         (tf_usleep): Likewise.
4319         (tf_nanosleep): Likewise.
4320         (tf_select): Likewise.
4321         (tf_pselect): Likewise.
4322         (tf_poll): Likewise.
4323         (tf_ppoll): Likewise.
4324         (tf_wait): Likewise.
4325         (tf_waitpid): Likewise.
4326         (tf_waitid): Likewise.
4327         (tf_sigpause): Likewise.
4328         (tf_sigsuspend): Likewise.
4329         (tf_sigwait): Likewise.
4330         (tf_sigwaitinfo): Likewise.
4331         (tf_sigtimedwait): Likewise.
4332         (tf_pause): Likewise.
4333         (tf_accept): Likewise.
4334         (tf_send): Likewise.
4335         (tf_recv): Likewise.
4336         (tf_recvfrom): Likewise.
4337         (tf_recvmsg): Likewise.
4338         (tf_open): Likewise.
4339         (tf_close): Likewise.
4340         (tf_pread): Likewise.
4341         (tf_pwrite): Likewise.
4342         (tf_preadv): Likewise.
4343         (tf_pwritev): Likewise.
4344         (tf_fsync): Likewise.
4345         (tf_fdatasync): Likewise.
4346         (tf_msync): Likewise.
4347         (tf_sendto): Likewise.
4348         (tf_sendmsg): Likewise.
4349         (tf_creat): Likewise.
4350         (tf_connect): Likewise.
4351         (tf_tcdrain): Likewise.
4352         (tf_msgrcv): Likewise.
4353         (tf_msgsnd): Likewise.
4354         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
4355         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
4357         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
4358         expected arguments.
4359         (do_test): Adapt to use libsupport.
4361 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
4363         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
4365         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
4366         (PF_MAX): Set to 44.
4367         (AF_SMC): New macro.
4369         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4370         kernel version to 4.11.
4372 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4374         [BZ #21280]
4375         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
4376         signal of subnormals and adjust the exponent of power of 2 down
4377         when low part has opposite sign.
4379 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4381         * sysdeps/powerpc/powerpc64le/Implies: New file.
4382         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
4383         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
4384         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
4385         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
4386         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
4387         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
4388         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
4389         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
4390         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
4391         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
4392         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
4393         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
4394         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
4395         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
4396         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
4397         * sysdeps/powerpc/preconfigure: New file.
4398         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
4399         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
4401 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
4403         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
4404         inclusion.
4405         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
4406         Remove.
4408 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
4410         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
4411         (XPG3): Rename standard to XPG4.
4412         * conform/Makefile: Likewise.
4413         * conform/list-header-symbols.pl: Likewise.
4414         * conform/data/aio.h-data: Likewise.
4415         * conform/data/arpa/inet.h-data: Likewise.
4416         * conform/data/complex.h-data: Likewise.
4417         * conform/data/ctype.h-data: Likewise.
4418         * conform/data/dlfcn.h-data: Likewise.
4419         * conform/data/fcntl.h-data: Likewise.
4420         * conform/data/fenv.h-data: Likewise.
4421         * conform/data/float.h-data: Likewise.
4422         * conform/data/fmtmsg.h-data: Likewise.
4423         * conform/data/ftw.h-data: Likewise.
4424         * conform/data/grp.h-data: Likewise.
4425         * conform/data/inttypes.h-data: Likewise.
4426         * conform/data/iso646.h-data: Likewise.
4427         * conform/data/langinfo.h-data: Likewise.
4428         * conform/data/libgen.h-data: Likewise.
4429         * conform/data/limits.h-data: Likewise.
4430         * conform/data/locale.h-data: Likewise.
4431         * conform/data/math.h-data: Likewise.
4432         * conform/data/mqueue.h-data: Likewise.
4433         * conform/data/ndbm.h-data: Likewise.
4434         * conform/data/net/if.h-data: Likewise.
4435         * conform/data/netdb.h-data: Likewise.
4436         * conform/data/netinet/in.h-data: Likewise.
4437         * conform/data/poll.h-data: Likewise.
4438         * conform/data/pthread.h-data: Likewise.
4439         * conform/data/pwd.h-data: Likewise.
4440         * conform/data/sched.h-data: Likewise.
4441         * conform/data/search.h-data: Likewise.
4442         * conform/data/semaphore.h-data: Likewise.
4443         * conform/data/signal.h-data: Likewise.
4444         * conform/data/spawn.h-data: Likewise.
4445         * conform/data/stdbool.h-data: Likewise.
4446         * conform/data/stdint.h-data: Likewise.
4447         * conform/data/stdio.h-data: Likewise.
4448         * conform/data/stdlib.h-data: Likewise.
4449         * conform/data/string.h-data: Likewise.
4450         * conform/data/strings.h-data: Likewise.
4451         * conform/data/stropts.h-data: Likewise.
4452         * conform/data/sys/mman.h-data: Likewise.
4453         * conform/data/sys/resource.h-data: Likewise.
4454         * conform/data/sys/select.h-data: Likewise.
4455         * conform/data/sys/socket.h-data: Likewise.
4456         * conform/data/sys/stat.h-data: Likewise.
4457         * conform/data/sys/statvfs.h-data: Likewise.
4458         * conform/data/sys/time.h-data: Likewise.
4459         * conform/data/sys/timeb.h-data: Likewise.
4460         * conform/data/sys/types.h-data: Likewise.
4461         * conform/data/sys/uio.h-data: Likewise.
4462         * conform/data/sys/un.h-data: Likewise.
4463         * conform/data/sys/wait.h-data: Likewise.
4464         * conform/data/syslog.h-data: Likewise.
4465         * conform/data/termios.h-data: Likewise.
4466         * conform/data/tgmath.h-data: Likewise.
4467         * conform/data/time.h-data: Likewise.
4468         * conform/data/ucontext.h-data: Likewise.
4469         * conform/data/unistd.h-data: Likewise.
4470         * conform/data/utmpx.h-data: Likewise.
4471         * conform/data/varargs.h-data: Likewise.
4472         * conform/data/wchar.h-data: Likewise.
4473         * conform/data/wctype.h-data: Likewise.
4475 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
4477         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
4478         version to 7 branch.
4480 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
4482         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
4483         earlyclobber to output operand of sqrt insn.
4484         (__ieee754_sqrtf): Ditto.
4486 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
4488         [BZ #21426]
4489         * misc/bits/types/struct_iovec.h: New file.
4490         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
4491         * include/bits/types/struct_iovec.h: New file.
4492         * bits/uio.h (struct iovec): Replace by inclusion of
4493         <bits/types/struct_iovec.h>.
4494         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
4495         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
4496         of <sys/uio.h>.
4497         * nptl/tst-cancel4.c: Include <sys/uio.h>
4498         * posix/test-errno.c: Likewise.
4499         * support/resolv_test.c: Likewise.
4500         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
4501         Remove.
4502         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
4503         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
4504         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
4506         * conform/data/sys/socket.h-data (*_t): Allow.
4508 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4510         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
4511         assignment.
4513 2017-04-24  Daurnimator  <quae@daurnimator.com>
4514             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4516         [BZ #21340]
4517         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
4518         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
4519         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
4520         valid flags.
4521         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
4522         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
4523         POSIX_SPAWN_SETSID.
4524         * sysdeps/posix/spawni.c (__spawni): Likewise.
4525         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
4526         * NEWS: Add note about POSIX_SPAWN_SETSID support.
4528 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4530         * sysdeps/generic/math_private.h: Move the declaration of many
4531         functions to sysdeps/generic/math_private_calls.h.
4532         * sysdeps/generic/math_private_calls.h: New file with the
4533         declarations of the functions removed from math_private.h
4534         macroized by floating-point type.
4536 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4538         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
4539         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
4540         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4541         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4542         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4543         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4545 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4547         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4548         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
4549         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
4550         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
4551         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
4552         New Define.
4554 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4556         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
4557         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
4558         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
4559         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
4560         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
4561         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
4563 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4565         * sysdeps/s390/multiarch/ifunc-resolve.h
4566         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
4567         * sysdeps/s390/multiarch/8bit-generic.c
4568         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
4569         define ifunc resolvers.
4571 2017-04-21  Florian Weimer  <fweimer@redhat.com>
4573         [BZ #20424]
4574         * manual/memory.texi (Replacing malloc): New section.
4575         (Allocating Storage For Program Data): Reference it.
4576         (The GNU Allocator): Likewise.
4578 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
4580         * stdlib/Versions (__strtod_internal): List explicitly, not as
4581         wildcard.
4582         (__strtof_internal): Likewise.
4583         (__strtold_internal): Likewise.
4584         (__strtol_internal): Likewise.
4585         (__strtoll_internal): Likewise.
4586         (__strtoul_internal): Likewise.
4587         (__strtoull_internal): Likewise.
4588         (__strtoq_internal): Likewise.
4589         (__strtouq_internal): Likewise.
4590         * wcsmbs/Versions (__wcstod_internal): Likewise.
4591         (__wcstof_internal): Likewise.
4592         (__wcstold_internal): Likewise.
4593         (__wcstol_internal): Likewise.
4594         (__wcstoll_internal): Likewise.
4595         (__wcstoul_internal): Likewise.
4596         (__wcstoull_internal): Likewise.
4598 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4600         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
4601         struct timespec definition.
4603 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4605         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
4607 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4609         * inet/rcmd.c (rresvport_af): Fix typo in comment.
4610         * inet/rexec.c (rexec_af): Likewise.
4612 2017-04-19  Zack Weinberg  <zackw@panix.com>
4614         * posix/tst-mmap-offset.c: Include stdint.h.
4615         * resolv/tst-ns_name_compress.c: Include string.h.
4616         * resolv/tst-resolv-edns.c: Include resolv.h.
4618 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4620         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
4621         with __glibc_likely.
4622         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
4623         Replace __builtin_expect with __glibc_unlikely.
4624         * resolv/res_init.c (__res_vinit): Likewise.
4625         * resolv/res_query.c (__libc_res_nquery): Likewise.
4626         * resolv/res_send.c (__libc_res_nsend): Likewise.
4628 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4630         [BZ #15722]
4631         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
4632         with SOCK_CLOEXEC.
4633         * resolv/res_send.c (send_vc, reopen): Likewise.
4634         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
4635         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
4636         Likewise.
4637         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
4638         * inet/rexec.c (rexec_af): Add comment.
4639         * inet/rcmd.c (rresvport_af): Likewise.
4641 2017-04-19  Florian Weimer  <fweimer@redhat.com>
4643         * nscd/connections.c (have_accept4): Removed definition.
4644         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
4645         accept4 works.
4646         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
4647         ia64 because that was the first version with accept4 support.
4648         * support/Makefile (libsupport-routines): Add xaccept4.
4649         * support/xsocket.h (xaccept4): Declare.
4650         * support/xaccept4.c: New file.
4651         * socket/tst-accept4.c: New file.
4652         * socket/Makefile (tests): Add tst-accept4.
4653         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
4654         definition.
4655         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
4656         comment.
4657         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
4658         implementation is available.
4659         (accept4): Use the system call if available, otherwise use the
4660         socket call.
4661         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
4662         Set to 3.2.18.
4663         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4664         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
4665         accept4 is unconditionally available in later 3.2 stable kernels.
4666         (__ASSUME_ACCEPT4_SYSCALL): Define.
4667         * sysdeps/unix/sysv/linux/kernel-features.h
4668         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
4669         definitions.
4670         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4671         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
4673 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
4675         * conform/Makefile (tests-special): Do not make addition of
4676         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
4677         (generated): Do not make addition of $(conformtest-header-base)
4678         conditional on [$(cross-compiling) = no].
4680         [BZ #21267]
4681         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
4682         if defined by <asm/socket.h> and not previously defined.
4683         (IOCSIZE_SHIFT): Likewise.
4684         (IOC_IN): Likewise.
4685         (IOC_INOUT): Likewise.
4686         (IOC_OUT): Likewise.
4688 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4690         [BZ #21396]
4691         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4692         Prefer_No_AVX512 if AVX512ER isn't available.
4693         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
4694         (index_arch_Prefer_No_AVX512): Likewise.
4695         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
4696         AVX512 version if Prefer_No_AVX512 is set.
4697         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
4698         Likewise.
4699         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
4700         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
4701         Likewise.
4702         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4703         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
4704         Likewise.
4705         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
4706         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
4707         Likewise.
4709 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
4711         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4712         Prefer_No_VZEROUPPER if AVX512ER is available.
4713         * sysdeps/x86/cpu-features.h
4714         (bit_cpu_AVX512PF): New.
4715         (bit_cpu_AVX512ER): Likewise.
4716         (bit_cpu_AVX512CD): Likewise.
4717         (bit_cpu_AVX512BW): Likewise.
4718         (bit_cpu_AVX512VL): Likewise.
4719         (index_cpu_AVX512PF): Likewise.
4720         (index_cpu_AVX512ER): Likewise.
4721         (index_cpu_AVX512CD): Likewise.
4722         (index_cpu_AVX512BW): Likewise.
4723         (index_cpu_AVX512VL): Likewise.
4724         (reg_AVX512PF): Likewise.
4725         (reg_AVX512ER): Likewise.
4726         (reg_AVX512CD): Likewise.
4727         (reg_AVX512BW): Likewise.
4728         (reg_AVX512VL): Likewise.
4730 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4732         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
4733         O_CLOEXEC is defined.
4734         * include/fcntl.h (__have_o_cloexec): Remove declaration.
4735         * io/Makefile (aux): Remove.
4736         * io/have_o_cloexec.c: Remove file.
4737         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
4738         defined and works.
4739         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
4740         defined.
4741         * login/utmp_file.c (O_flags): Remove definition.
4742         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
4743         O_CLOEXEC works.
4744         (pututline_file): Likewise.
4745         * malloc/mtrace.c: Assume that O_CLOEXEC works.
4746         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
4747         definition.
4748         (internal_setgrent): Assume that O_CLOEXEC works.
4749         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
4750         Remove definition.
4751         (internal_setgrent): Assume that O_CLOEXEC works.
4752         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
4753         definition.
4754         (internal_setpwent): Assume that O_CLOEXEC works.
4755         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
4756         definition.
4757         (internal_setspent): Assume that O_CLOEXEC works.
4758         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
4759         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
4760         O_CLOEXEC is defined and works.
4761         * nss/Makefile (libnss_files-routines): Remove
4762         files-have_o_cloexec.
4763         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
4764         defined.
4765         * nss/nss_files/files-XXX.c (internal_setent): Assume that
4766         O_CLOEXEC is defined and works.
4767         * nss/nss_files/files-alias.c (internal_setent): Likewise.
4768         * nss/nss_files/files-have_o_cloexec.c: Remove.
4769         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
4770         defined.
4771         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
4772         and works.
4773         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
4774         definition.
4775         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
4776         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
4777         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
4778         (__opendirat, __opendir): Adjust opendir_oflags call.
4779         (check_have_o_cloexec): Remove.
4780         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
4781         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
4782         defined.
4783         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
4784         Remove definition.
4786 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4788         * include/unistd.h (__have_dup3): Remove declaration.
4789         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
4790         dup3 is available.
4791         * libio/freopen64.c (freopen64): Likewise.
4792         * socket/Makefile (aux): Remove have_sock_cloexec.
4793         * socket/have_sock_cloexec.c: Remove file.
4794         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
4795         definition.
4796         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
4797         Likewise.
4798         * sysdeps/nacl/kernel-features.h: Update comment.
4800 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4802         * include/unistd.h (__have_pipe2): Remove declaration.
4803         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
4804         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
4805         available.
4806         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
4807         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
4808         Remove definition.
4810 2017-04-18  Florian Weimer  <fweimer@redhat.com>
4812         * malloc/malloc.c (cfree): Turn into compat symbol.
4813         (__cfree): Remove alias.
4814         * stdlib/stdlib.h (cfree): Remove declaration.
4815         * malloc/malloc.h (cfree): Likewise.
4816         * manual/memory.texi (Freeing after Malloc): Remove cfree.
4817         * malloc/Versions (GLIBC_2.26): Add.
4819 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4821         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4822         (sysdep_routines): Add strrchr-power8.
4823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4824         (strrchr): Add __strrchr_power8 to list of strrchr functions.
4825         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
4826         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
4827         (strrchr): Add __strrchr_power8 to ifunc list.
4828         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
4830 2017-04-17  Rabin Vincent  <rabinv@axis.com>
4832         [BZ #21357]
4833         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
4834         Call free() outside of mutex.
4836 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4838         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
4839         is defined.
4840         * elf/rtld.c (process_envvars): Likewise.
4841         * sysdeps/posix/shm_open.c (shm_open): Likewise.
4842         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
4843         O_NOFOLLOW directly.
4844         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
4846 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4848         [BZ #21369]
4849         Remove EDNS fallback.
4850         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
4851         handling.
4852         * resolv/res_send.c (send_dg): Likewise.
4853         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
4854         "tcp." prefixes.
4855         (do_test): Send a "formerr."-prefixed query in an attempt to
4856         trigger EDNS fallback.
4858 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4860         [BZ #21361]
4861         Limit EDNS buffer size to 1200 bytes.
4862         * include/resolv.h (__res_nopt): Remove declaration.
4863         * resolv/Makefile (tests): tst-resolv-edns.
4864         (tst-resolv-edns): Link with -lresolv, -lpthread.
4865         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
4866         interval [512, 1200].
4867         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
4868         we can resize the buffer.
4869         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
4870         (__res_nopt): Declare.
4871         * resolv/tst-resolv-edns.c: New file.
4872         * resolv/resolv_test.h (struct resolv_edns_info): Define.
4873         (struct resolv_response_context): Add edns member.
4874         * resolv/resolv_test.c (struct query_info): Add edns member.
4875         (parse_query): Extract EDNS information from the query.
4876         (server_thread_udp_process_one): Propagate EDNS data.
4877         (server_thread_tcp_client): Likewise.
4879 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4881         [BZ #21359]
4882         * resolv/ns_name.c (ns_name_pack): Do not require an additional
4883         byte in the destination buffer.  Avoid out-of-bounds pointer
4884         arithmetic.
4885         * resolv/Makefile (tests): Add tst-ns_name_compress.
4886         (tst-ns_name_compress): Link with -lresolv.
4887         * resolv/tst-ns_name_compress.c: New file.
4888         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
4889         (response): Recognize LONG_NAME.
4890         (do_test): Add LONG_NAME tests.
4891         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
4892         for ns_name_unpack.  Add tests for ns_name_pton and
4893         ns_name_compress.
4895 2017-04-13  Florian Weimer  <fweimer@redhat.com>
4897         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
4898         (res_nisourserver): Remove definition.
4899         (p_section, res_npquery, res_nisourserver): Remove declaration.
4900         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
4901         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
4902         ... here.
4903         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
4904         <resolv.h>.
4905         * resolv/res_query.c: Likewise.
4906         * resolv/res_debug.c (p_section): Define as static.
4908 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4910         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4911         strncat-power8.
4912         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
4913         __strncat_power8 to ifunc list.
4914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4915         (strncat): Add __strncat_power8 to list of strncat functions.
4916         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
4918 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4920         [BZ #21270]
4921         * posix/tst-mmap-offset.c (do_prepare): New function.
4922         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
4923         (do_test_bz21270): New function.
4924         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
4925         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
4926         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
4927         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
4928         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
4929         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
4930         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
4931         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
4932         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
4933         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
4934         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
4935         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4936         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4937         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4938         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
4939         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
4940         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4941         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
4942         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
4943         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
4944         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
4945         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
4946         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
4947         from auto-generation list.
4948         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
4949         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4950         * sysdeps/unix/sysv/linux/mmap.c: New file.
4951         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
4952         offsets and support for mmap2 syscall.
4954         * posix/globtest.sh: Add cleanup routine on trap 0.
4956 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4958         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
4959         implementation-specific function name and remove unneeded
4960         macros definition.
4961         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
4962         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
4963         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
4964         name if not defined and pass as parameter to macros accordingly.
4965         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4966         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
4968         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
4969         implementation-specific function name and remove unneeded
4970         macros definition.
4971         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
4972         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
4973         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
4974         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
4975         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4976         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
4977         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
4978         name if not defined and pass as parameter to macros accordingly.
4979         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4980         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4981         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4982         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4983         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4984         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
4986         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
4987         implementation-specific function name and remove unneeded macros
4988         definition.
4989         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
4990         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
4991         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
4992         function name if not defined and pass as parameter to macros
4993         accordingly.
4994         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4995         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
4997         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
4998         implementation-specific function name and remove unneeded macros
4999         definition.
5000         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5001         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5002         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5003         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5004         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
5005         not defined and pass as parameter to macros accordingly.
5006         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5007         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5008         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5009         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5011         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5012         strcasestr implementation name and remove unneeded macros definition.
5013         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5014         strstr implementation name and remove unneeded macros definition.
5015         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5016         name if not defined and pass as parameter to macros accordingly.
5017         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5019         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5020         implementation-specific function name and remove unneeded macros
5021         definition.
5022         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5023         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5024         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5025         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5026         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5027         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5028         function name if not defined and pass as parameter to macros
5029         accordingly.
5030         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5031         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5032         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5033         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5035         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5036         the strlen implementation name and remove unneeded macros definition.
5037         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5038         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5039         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5040         the strnlen implementation name and remove unneeded macros definition.
5041         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5042         name if not defined and pass as parameter to macros accordingly.
5043         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5044         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5045         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5047         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5048         the implementation-specific function name and remove unneeded
5049         macros definition.
5050         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5051         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5052         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5053         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5054         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5055         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5056         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5057         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5058         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5059         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5060         name if not defined and pass as parameter to macros accordingly.
5061         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5062         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5063         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5064         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
5065         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
5066         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
5067         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
5068         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5070         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
5071         implementation-specific function name and remove unneeded macros
5072         definition.
5073         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
5074         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
5075         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
5076         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
5077         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
5078         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
5079         function name if not defined.
5080         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
5081         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
5083 2017-04-11  Paul Clarke  <pc@us.ibm.com>
5085         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
5086         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
5087         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
5088         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
5090 2017-04-11  Florian Weimer  <fweimer@redhat.com>
5091             Zack Weinberg  <zackw@panix.com>
5093         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
5094         readdir64 as thread-safe.  Update warning about readdir_r.
5096 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5098         * sysdeps/unix/sysv/linux/x86/Implies: New file.
5099         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
5100         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
5101         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
5102         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
5103         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
5104         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5106 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
5108         * sysdeps/i386/dl-procinfo.c: Include
5109         <sysdeps/x86/dl-procinfo.c>.
5110         * sysdeps/x86_64/dl-procinfo.c: Likewise.
5111         * sysdeps/x86/dl-procinfo.c: New file.
5113 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5115         * sysdeps/generic/math_private.h: Remove declarations of
5116         many functions that are already declared in math.h.
5117         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
5118         declaration for __frexpl.
5119         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
5120         the declarations for __scalbnl and fabsl.
5122 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
5124         [BZ #20831]
5125         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
5126         of __mprotect to change protection on the excess portion
5127         to disallow all access.
5129 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
5131         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
5132         HAS_CPU_FEATURE to check for SSE.
5133         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5134         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
5135         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
5136         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
5137         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
5138         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
5139         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
5140         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
5141         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5142         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
5143         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5144         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
5145         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
5146         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
5147         (index_cpu_SSE): Likewise.
5148         (reg_SSE): Likewise.
5150 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
5152         * posix/getopt1.c: Include <config.h>, not "config.h".
5154 2017-04-07  Zack Weinberg  <zackw@panix.com>
5156         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
5157         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
5158         Mention in top-of-file boilerplate that these files are shared
5159         with gnulib.
5160         * posix/getopt.h, posix/bits/getopt_posix.h:
5161         Mention in top-of-file boilerplate that these files are NOT shared
5162         with gnulib, unlike the rest of the getopt implementation.
5164         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
5165         New files, intended to be shared with gnulib.
5166         * posix/bits/getopt_posix.h:
5167         New file, not intended to be shared with gnulib.
5168         * posix/getopt.h: Now just includes features.h,
5169         bits/getopt_core.h, and bits/getopt_ext.h.  Will
5170         no longer be shared with gnulib.
5171         * include/bits/getopt_core.h, include/bits/getopt_ext.h
5172         * include/bits/getopt_posix.h: New wrappers.
5173         * posix/Makefile: Install new headers.
5174         * posix/unistd.h, libio/stdio.h:
5175         Include bits/getopt_posix.h instead of getopt.h.
5177         * include/libc-symbols.h: For gnulib compatibility, define
5178         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
5179         _GL_ATTRIBUTE_CONST.
5180         * posix/getopt.c (_getopt_initialize): Mark argc and argv
5181         parameters with _GL_UNUSED.
5183         * posix/getopt.c: When used standalone, define __libc_use_alloca
5184         as always false and alloca to abort if called.
5185         (process_long_option): Rewrite handling of ambiguous long options
5186         to use a single boolean vector, not a linked list; use
5187         __libc_use_alloca to decide whether to allocate this using alloca.
5188         * posix/tst-getopt_long1.c: Adjust text of expected error message.
5190         * posix/getopt.c (process_long_option): New function split out
5191         from _getopt_internal_r.
5192         (_getopt_internal_r): Replace both copies of the long-option
5193         processing code with calls to process_long_option.
5194         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
5195         (do_test): Differentiate argv[0] in the two subtests.
5197         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
5198         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
5199         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
5201         * posix/getopt.h: Add backup definition of __nonnull for
5202         consistency with gnulib.  Define __getopt_argv_const to const
5203         if not already defined.
5204         (getopt): Update doc comment from gnulib.  Prototype
5205         unconditionally.  Add __nonnull annotation.
5206         (__posix_getopt): Add __nonnull annotation.
5207         (getopt_long, getopt_long_only): Use __getopt_argv_const in
5208         prototypes for consistency with gnulib.  Add __nonnull
5209         annotations.
5210         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
5211         (getopt_internal): Change 'argv' argument to type 'char **'.
5212         Remove now-unnecessary casts.
5213         (getopt, __posix_getopt): Eliminate repetition with a macro.
5214         Cast 'argv' to 'char **' when calling _getopt_internal.
5215         * posix/getopt1.c (getopt_long, getopt_long_only):
5216         Use __getopt_argv_const for consistency with gnulib.
5217         Cast 'argv' to 'char **' when calling _getopt_internal.
5218         (_getopt_long_r, _getopt_long_only_r):
5219         Change 'argv' argument to type 'char **'.
5220         (main): Constify 'long_options'.
5221         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
5222         (_getopt_long_r, _getopt_long_only_r):
5223         Change 'argv' argument to type 'char **'.
5225         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
5226         (locked_vfxprintf): New helper function. Handle arbitrary
5227         multibyte strings, not just ASCII.
5228         * include/stdio.h: Declare __fxprintf_nocancel.
5229         * posix/getopt.c: When _LIBC is defined, define fprintf to
5230         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
5231         to _IO_funlockfile.  When neither _LIBC nor
5232         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
5233         funlockfile as no-ops.
5234         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
5235         the standalone error-printing code can now be used for libc as
5236         well.  Add an flockfile/funlockfile pair around one case where
5237         the error message is printed in several chunks.  Don't use fputc.
5238         * posix/tst-getopt-cancel.c: New test.
5239         * posix/Makefile: Run it.
5241         * posix/getopt.c (_getopt_internal_r): Don't increment
5242         d->optind a second time when reporting ambiguous -W options.
5244         * posix/getopt_int.h: Include getopt.h.
5245         Use impl-namespace names for all arguments to _getopt_internal and
5246         _getopt_internal_r.
5247         Declare __ordering enum outside the struct.
5248         Harmonize comments with gnulib.
5249         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
5250         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
5251         #ifdef TEST block and make unconditional.  Do not define NULL.
5252         * posix/getopt.c: Partial merge from gnulib, covering the
5253         initial includes and global declarations, commentary, and
5254         a couple of semantically-neutral code changes.
5256         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
5257         Use '...' instead of `...' for quotation marks inside
5258         comments and strings.
5260         * config.h.in (USE_NONOPTION_FLAGS): Remove.
5261         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
5262         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
5263         * posix/getopt_int.h: Likewise.
5264         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
5265         __libc_argc and __libc_argv externs, which were only used by
5266         #ifdef USE_NONOPTION_FLAGS blocks.
5267         * posix/getopt_init.c: Remove file.
5268         * posix/Makefile (routines): Remove getopt_init.
5269         * include/getopt.h: Don't declare __getopt_initialize_environment.
5270         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
5271         a comment.
5273 2017-04-07  Florian Weimer  <fweimer@redhat.com>
5275         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
5277 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5279         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
5280         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
5281         to __wrap_.udiv.
5282         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
5283         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
5285         * sysdeps/i386/symbol-hacks.h: New file.
5286         * sysdeps/m68k/symbol-hacks.h: New file.
5287         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
5288         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
5289         * sysdeps/unix/sysv/linux/i386/Makefile
5290         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
5291         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5292         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5293         * sysdeps/unix/sysv/linux/m68k/Makefile
5294         [$(subdir) = csu] (sysdep_routines): Likewise.
5295         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5296         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
5298         [$(subdir) = csu] (sysdep_routines): Likewise.
5299         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5300         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5301         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
5302         [$(subdir) = csu] (sysdep_routines): Likewise.
5303         [$(subdir) = csu] (sysdep-only-routines): Likewise.
5304         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
5305         * sysdeps/wordsize-32/Makefile: Remove file.
5306         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
5307         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
5309 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
5311         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
5312         (TEST_FUNCTION_ARGV): New.
5314 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5316         * elf/next.c: Import support/test-driver.c instead of
5317         test-skeleton.c and delete TEST_FUNCTION macro definition.
5318         * elf/nodelete.c: Likewise.
5319         * elf/order2.c: Likewise.
5320         * elf/tst-_dl_addr_inside_object.c: Likewise.
5321         * elf/tst-addr1.c: Likewise.
5322         * elf/tst-align.c: Likewise.
5323         * elf/tst-align2.c: Likewise.
5324         * elf/tst-audit11.c: Likewise.
5325         * elf/tst-audit12.c: Likewise.
5326         * elf/tst-audit2.c: Likewise.
5327         * elf/tst-audit9.c: Likewise.
5328         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
5329         * elf/tst-deep1.c: Likewise.
5330         * elf/tst-dl-iter-static.c: Likewise.
5331         * elf/tst-dlmodcount.c: Likewise.
5332         * elf/tst-dlmopen1.c: Likewise.
5333         * elf/tst-dlmopen2.c: Likewise.
5334         * elf/tst-dlmopen3.c: Likewise.
5335         * elf/tst-dlopen-aout.c: Likewise.
5336         * elf/tst-dlopenrpath.c: Likewise.
5337         * elf/tst-dlsym-error.c: Likewise.
5338         * elf/tst-execstack-needed.c: Likewise.
5339         * elf/tst-execstack-prog.c: Likewise.
5340         * elf/tst-execstack.c: Likewise.
5341         * elf/tst-global1.c: Likewise.
5342         * elf/tst-gnu2-tls1.c: Likewise.
5343         * elf/tst-latepthread.c: Likewise.
5344         * elf/tst-leaks1.c: Likewise.
5345         * elf/tst-linkall-static.c: Likewise.
5346         (do_test): New function.
5347         * elf/tst-nodelete-opened.c: Likewise.
5348         * elf/tst-nodelete.cc: Likewise.
5349         * elf/tst-nodelete2.c: Likewise.
5350         * elf/tst-noload.c: Likewise.
5351         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
5352         * elf/tst-order-main.c: Likewise.
5353         * elf/tst-pathopt.c: Likewise.
5354         * elf/tst-pie2.c: Likewise.
5355         * elf/tst-piemod1.c: Likewise.
5356         * elf/tst-prelink.c: Likewise.
5357         * elf/tst-protected1a.c: Likewise.
5358         * elf/tst-protected1b.c: Likewise.
5359         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
5360         and define _GNU_SOURCE macro.
5361         (cmdline_process_function): New function.
5362         * elf/tst-relsort1.c: Likewise.
5363         * elf/tst-stackguard1.c: Likewise, import getopt.h,
5364         and define _GNU_SOURCE macro.
5365         (cmdline_process_function): New function.
5366         * elf/tst-thrlock.c: Likewise.
5367         * elf/tst-tls-dlinfo.c: Likewise.
5368         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
5369         * elf/tst-tls1.c: Likewise.
5370         * elf/tst-tls10.c: Likewise.
5371         * elf/tst-tls11.c: Likewise.
5372         * elf/tst-tls12.c: Likewise.
5373         * elf/tst-tls13.c: Likewise.
5374         * elf/tst-tls14.c: Likewise.
5375         * elf/tst-tls15.c: Likewise.
5376         * elf/tst-tls16.c: Likewise.
5377         * elf/tst-tls17.c: Likewise.
5378         * elf/tst-tls18.c: Likewise.
5379         * elf/tst-tls19.c: Likewise.
5380         * elf/tst-tls2.c: Likewise.
5381         * elf/tst-tls3.c: Likewise.
5382         * elf/tst-tls4.c: Likewise.
5383         * elf/tst-tls5.c: Likewise.
5384         * elf/tst-tls6.c: Likewise.
5385         * elf/tst-tls7.c: Likewise.
5386         * elf/tst-tls8.c: Likewise.
5387         * elf/tst-tls9.c: Likewise.
5388         * elf/tst-tlsalign-extern.c: Likewise.
5389         * elf/tst-tlsalign.c: Likewise.
5390         * elf/tst-unique1.c: Likewise.
5391         * elf/tst-unique2.c: Likewise.
5392         * elf/vismain.c: Likewise.
5394 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5396         * string/test-strnlen.c (do_page_tests): New function
5397         to check length of strings ending at the page boundary.
5398         (test_main): Added call to the do_page_tests function.
5400 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5401             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5403         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5404         (sysdep_routines): Add strnlen-power8.
5405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5406         (strnlen): Add __strnlen_power8 to list of strnlen functions.
5407         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
5408         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
5409         (__strnlen): Add __strnlen_power8 to ifunc list.
5410         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
5412 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5414         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
5415         the TEST_FUNCTION macro definition.
5416         * wcsmbs/tst-mbrtowc2.c: Likewise.
5417         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5418         * wcsmbs/tst-wchar-h.c: Likewise.
5419         * wcsmbs/tst-wcpncpy.c: Likewise.
5420         * wcsmbs/tst-wcrtomb.c: Likewise.
5421         * wcsmbs/tst-wcsnlen.c: Likewise.
5422         * wcsmbs/tst-wcstof.c: Likewise.
5424 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5426         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
5427         CALL_THREAD_FCT macro usage.
5428         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
5429         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
5430         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
5432         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
5433         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5434         (__ASSUME_REQUEUE_PI): Likewise.
5435         * sysdeps/unix/sysv/linux/kernel-features.h
5436         (__ASSUME_REQUEUE_PI): Likewise.
5437         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5438         (__ASSUME_REQUEUE_PI): Likewise.
5439         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5440         (__ASSUME_REQUEUE_PI): Likewise.
5441         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5442         (__ASSUME_REQUEUE_PI): Likewise.
5444 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5446         * resolv/tst-resolv-canonname.c: New file.
5447         * resolv/Makefile (tests): Add tst-resolv-canonname.
5448         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
5450 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5452         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
5453         Declare.
5454         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
5455         (NS_MAXCDNAME): Remove definition.
5456         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5457         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
5458         (NS_MAXCDNAME): Remove definition.
5459         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
5461 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5463         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
5464         call whose result is not used.
5466 2017-04-04  Florian Weimer  <fweimer@redhat.com>
5468         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
5469         * resolv/Makefile (tests): Add tst-ns_name.
5470         (tst-ns_name): Link with -lresolv.
5471         (tst-ns_name.out): Depend on the input data file.
5473 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5475         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
5476         Clobber also r14.
5478 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
5480         [BZ #21253]
5481         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
5482         slack space by 32KiB.
5484 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
5486         [BZ #21338]
5487         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
5488         instead of incorrect do_set_arena_test
5490 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5492         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
5493         * math/bits/math-finite.h: Likewise.
5495 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
5497         [BZ #21289]
5498         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
5500 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5502         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
5503         non expected inotify_add_watch and quotactl return.
5505 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5507         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
5508         to int32_t.
5509         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
5510         as returning int32_t.
5512 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5514         * math/math.h: Include bits/math-finite.h once per
5515         floating-point type.
5516         * math/bits/math-finite.h: Macroize all declarations by
5517         floating-point type.
5519 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5521         [BZ #21182]
5522         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
5523         near end of a page.
5524         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
5525         overflow calculation.
5527 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
5529         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
5530         (IMPL) Call with 1 instead of 0 as argument.
5532 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5534         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5535         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5536         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5537         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5538         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5539         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5540         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5541         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5542         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5543         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5544         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5545         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5546         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5547         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5548         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5549         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5550         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5551         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5552         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5553         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5554         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5555         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5556         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5557         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5558         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5559         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5560         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5561         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5562         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5563         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5564         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5565         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5566         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5567         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5568         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5569         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5570         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5571         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5572         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5573         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5574         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5575         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5576         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5577         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5578         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5579         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5580         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5581         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5582         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5583         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5584         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5585         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5586         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5587         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5588         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5589         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5590         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5591         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5592         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5593         defined.
5594         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5595         __NR_setgroups32 if defined.
5596         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5597         if defined.
5598         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5599         __NR_setresgid32 is defined.
5600         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5601         __NR_setresuid32 if defined.
5602         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5603         __NR_setreuid32 if defined.
5604         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5605         defined.
5606         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
5607         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
5608         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
5609         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
5610         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
5611         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
5612         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
5613         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
5614         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
5615         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
5616         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
5617         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
5618         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
5619         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
5620         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
5621         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
5622         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
5623         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
5624         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
5625         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
5626         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
5627         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
5628         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
5629         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
5630         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
5631         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
5632         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
5633         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
5634         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
5635         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
5636         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
5637         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
5638         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
5639         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
5640         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
5641         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
5642         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
5643         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
5644         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
5645         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
5646         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
5647         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
5648         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
5649         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
5650         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
5651         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
5652         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
5653         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
5654         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
5655         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
5656         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
5657         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
5658         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
5659         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
5660         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
5661         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
5662         INLINE_SYSCALL_ERROR_RETURN_VALUE.
5663         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
5664         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
5665         defined.
5666         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
5667         __NR_setgroups32 if defined.
5668         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
5669         if defined.
5670         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
5671         __NR_setresgid32 is defined.
5672         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
5673         __NR_setresuid32 if defined.
5674         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
5675         __NR_setreuid32 if defined.
5676         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
5677         defined.
5679 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
5681         [BZ #21277]
5682         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
5683         unconditionally.
5684         (IMAXBEL): Likewise.
5685         (IUTF8): Likewise.
5687 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5689         * sysdeps/aarch64/libm-test-ulps: Update.
5691 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
5693         * README.tunables: Updated descriptions.
5694         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
5695         * scripts/gen-tunables.awk: Updated the code related to the
5696         commit.
5698 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
5700         * benchtests/Makefile (string-benchset): Add memcpy-random.
5701         * benchtests/bench-memcpy-random.c: New file.
5703 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5705         * stdio-common/printf.h (register_printf_modifier): Change the
5706         order of __wur and __THROW.
5707         (register_printf_type): Likewise.
5709 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5711         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
5712         test_main ().
5713         (CMDLINE_PROCESS): Use function instead of defined macro.
5714         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
5715         <suppport/support.h> to use set_fortify_handler().
5716         * string/bug-envz1.c: Import support/test-driver.c instead of
5717         test-skeleton.c.
5718         * string/bug-strcoll2.c: Likewise.
5719         * string/bug-strtok1.c: Likewise.
5720         * string/stratcliff.c: Likewise.
5721         * string/test-ffs.c: Likewise.
5722         * string/test-memccpy.c: Likewise.
5723         * string/test-memchr.c: Likewise.
5724         * string/test-memcmp.c: Likewise.
5725         * string/test-memcpy.c: Likewise.
5726         * string/test-memmem.c: Likewise.
5727         * string/test-memmove.c: Likewise.
5728         * string/test-memrchr.c: Likewise.
5729         * string/test-memset.c: Likewise.
5730         * string/test-rawmemchr.c: Likewise.
5731         * string/test-strcasecmp.c: Likewise.
5732         * string/test-strcasestr.c: Likewise.
5733         * string/test-strcat.c: Likewise.
5734         * string/test-strchr.c: Likewise.
5735         * string/test-strcmp.c: Likewise.
5736         * string/test-strcpy.c: Likewise.
5737         * string/test-string.h: Likewise.
5738         * string/test-strlen.c: Likewise.
5739         * string/test-strncasecmp.c: Likewise.
5740         * string/test-strncat.c: Likewise.
5741         * string/test-strncmp.c: Likewise.
5742         * string/test-strncpy.c: Likewise.
5743         * string/test-strnlen.c: Likewise.
5744         * string/test-strpbrk.c: Likewise.
5745         * string/test-strrchr.c: Likewise.
5746         * string/test-strspn.c: Likewise.
5747         * string/test-strstr.c: Likewise.
5748         * string/tst-bswap.c: Likewise.
5749         * string/tst-cmp.c: Likewise.
5750         * string/tst-endian.c: Likewise.
5751         * string/tst-inlcall.c: Likewise.
5752         * string/tst-strcoll-overflow.c: Likewise.
5753         * string/tst-strfry.c: Likewise.
5754         * string/tst-strlen.c: Likewise.
5755         * string/tst-strtok.c: Likewise.
5756         * string/tst-strtok_r.c: Likewise.
5757         * string/tst-strxfrm.c: Likewise.
5758         * string/tst-strxfrm2.c: Likewise.
5759         * string/tst-svc.c: Likewise.
5760         * string/tst-svc2.c: Likewise.
5762 2017-03-22  Zack Weinberg  <zackw@panix.com>
5764         * stdio-common/bug25.c: Include stdlib.h.
5765         * support/tst-support_format_dns_packet.c: Include stdio.h,
5766         stdlib.h, and string.h.
5767         * support/tst-support_record_failure.c: Include string.h.
5768         * support/tst-support_record_failure-2.sh: Adjust line number
5769         expectations and correct a typo in an error message.
5771 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5773         [BZ #21258]
5774         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
5775         Define only if _dl_runtime_resolve is defined to
5776         _dl_runtime_resolve_sse_vex.
5777         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
5778         Fallthrough to _dl_runtime_resolve_sse_vex.
5780 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
5782         * INSTALL: Regenerated.
5784 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
5786         * config.h.in: Add LINK_OBSOLETE_NSL.
5787         * config.make.in: Add build-obsolete-nsl.
5788         * configure.ac: Add obsolete-nsl option.
5789         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
5790         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
5791         * include/rpcsvc/nislib.h: Likewise.
5792         * include/rpcsvc/ypclnt.h: Likewise.
5793         * manual/install.texi: Document --enable-obsolete-nsl.
5794         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
5795         * nis/nis_add.c: Replace libnsl_hidden_def with
5796         libnsl_hidden_nolink_def.
5797         * nis/nis_addmember.c: Likewise.
5798         * nis/nis_call.c: Likewise.
5799         * nis/nis_clone_obj.c: Likewise.
5800         * nis/nis_defaults.c: Likeise.
5801         * nis/nis_domain_of_r.c: Likewise.
5802         * nis/nis_error.c: Likewise.
5803         * nis/nis_file.c: Likewise.
5804         * nis/nis_free.c: Likewise.
5805         * nis_local_names.c: Likewise.
5806         * nis/nis_lookup.c: Likewise.
5807         * nis/nis_modify.c: Likewise.
5808         * nis/nis_print.c: Likewise.
5809         * nis/nis_remove.c: Likewise.
5810         * nis/nis_table.c: Likewise.
5811         * nis/nis_util.c: Likewise.
5812         * nis/nis_xdr.c: Likewise.
5813         * nis/yp_xdr.c: Likewise.
5814         * nis/ypclnt.c: Likewise.
5815         * nis/ypupdate_xdr.c: Likewise.
5816         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
5817         * nis/nis_clone_dir.c: Likewise.
5818         * nis/nis_clone_res.c: Likewise.
5819         * nis/nis_creategroup.c: Likewise.
5820         * nis/nis_destroygroup.c: Likewise.
5821         * nis/nis_domain_of.c: Likewise.
5822         * nis/nis_getservlist.c: Likewise.
5823         * nis/nis_ismember.c: Likewise.
5824         * nis/nis_mkdir.c: Likewise.
5825         * nis/nis_ping.c: Likewise.
5826         * nis/nis_print_group_entry.c: Likewise.
5827         * nis/nis_removemember.c: Likewise.
5828         * nis/nis_rmdir.c: Likewise.
5829         * nis/nis_server.c: Likewise.
5830         * nis/nis_subr.c: Likewise.
5831         * nis/nis_verifygroup.c: Likewise.
5833 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5835         * malloc/tst-interpose-aux.c (check_for_allocations):
5836         Move compiler barrier before free.
5838 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
5840         [BZ #21279]
5841         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5842         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5843         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
5844         x86_64-x32-linux.
5845         (mq_attr.mq_maxmsg): Likewise.
5846         (mq_attr.mq_msgsize): Likewise.
5847         (mq_attr.mq_curmsgs): Likewise.
5849         [BZ #21278]
5850         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
5851         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
5852         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
5853         mips-o32-linux.
5855         [BZ #21268]
5856         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5857         if [__USE_MISC]
5858         (NL3): Likewise.
5860 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
5862         [BZ #21275]
5863         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
5864         __stack to __stackbase.
5865         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
5866         checks so we can include defined(__ia64__) first.
5868 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
5870         * sysdeps/unix/sysv/linux/ttyname.h: New file.
5871         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
5872         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
5873         Call is_pty when the link does not exist or does not match, fail
5874         with ENODEV when it returns true.
5875         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
5876         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
5877         Call is_pty when the link does not exist or does not match, fail
5878         with ENODEV when it returns true.
5880 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
5882         [BZ #16437]
5883         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
5884         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5885         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
5886         x86_64-x32-linux.
5887         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
5888         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
5889         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
5891         [BZ #21261]
5892         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
5893         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
5894         names for all fields.
5895         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
5896         for jmp_buf field renaming.
5897         (_JMPBUF_UNWINDS_ADJ): Likewise.
5899         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
5900         with allow-header.
5902 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
5904         * malloc/malloc.c (unlink): Add consistency check between size and
5905         next->prev->size, to further harden against 1-byte overflows.
5907 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
5909         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
5910         CPU_FEATURES_CPU_P.
5912 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
5914         [BZ #21259]
5915         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
5916         unconditionally, not just for [__USE_MISC].
5918         [BZ #17786]
5919         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
5920         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
5921         mips-o32-linux.
5923         [BZ #21260]
5924         * sysdeps/unix/sysv/linux/alpha/Makefile
5925         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
5926         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
5928         * conform/conformtest.pl ($cross): New variable.
5929         (--cross): New command-line option.
5930         (runtest): Skip test execution when cross-compiling.
5931         * conform/Makefile (conformtest-cross): New variable.
5932         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
5933         conformtest.pl.
5935         * conform/conformtest.pl ($xfail_str): New variable.
5936         (--xfail=): New command-line option.
5937         (top level): Handle expectations starting xfail[cond]-.
5938         * conform/Makefile (conformtest-xfail): New variable.
5939         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
5940         conformtest.pl.
5942 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5944         * conform/conformtest.pl: Use compilation instead of execution
5945         tests for testing values of constants and usability in #if.
5947 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5949         * math/auto-libm-test-in: Mark some catan and catanh as
5950         xfail-rounding:ibm128-libgcc.
5951         * math/auto-libm-test-out-catan: Regenerate.
5952         * math/auto-libm-test-out-catanh: Likewise.
5954 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
5956         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
5957         (__END_NAMESPACE_STD): Likewise.
5958         (__USING_NAMESPACE_STD): Likewise.
5959         (__BEGIN_NAMESPACE_C99): Likewise.
5960         (__END_NAMESPACE_C99): Likewise.
5961         (__USING_NAMESPACE_C99): Likewise.
5962         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
5963         undefine macro.
5964         (_Mdouble_END_NAMESPACE): Likewise.
5965         * ctype/ctype.h: Do not handle C++ namespaces.
5966         * libio/bits/stdio-ldbl.h: Likewise.
5967         * libio/stdio.h: Likewise.
5968         * locale/locale.h: Likewise.
5969         * math/bits/mathcalls.h: Likewise.
5970         * setjmp/setjmp.h: Likewise.
5971         * signal/signal.h: Likewise.
5972         * stdlib/bits/stdlib-float.h: Likewise.
5973         * stdlib/bits/stdlib-ldbl.h: Likewise.
5974         * stdlib/stdlib.h: Likewise.
5975         * string/string.h: Likewise.
5976         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
5977         * time/bits/types/clock_t.h: Likewise.
5978         * time/bits/types/struct_tm.h: Likewise.
5979         * time/bits/types/time_t.h: Likewise.
5980         * time/time.h: Likewise.
5981         * wcsmbs/bits/wchar-ldbl.h: Likewise.
5982         * wcsmbs/uchar.h: Likewise.
5983         * wcsmbs/wchar.h: Likewise.
5984         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
5985         * wctype/wctype.h: Do not handle C++ namespaces.
5986         * scripts/begin-end-check.pl: Remove.
5987         * Makefile (installed-headers): Likewise.
5988         (tests-special): Do not add $(objpfx)begin-end-check.out.
5989         ($(objpfx)begin-end-check.out): Remove.
5991 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
5992             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5994         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
5995         (DL_PLATFORM_INIT): New define.
5996         (dl_platform_init): New function.
5997         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
5998         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
5999         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
6000         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
6001         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
6003 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
6005         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
6006         instead of PIC.
6008 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6010         [BZ #21094]
6011         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6012         24+24+24-bit pi for wider range of values around pi/2.
6013         * math/auto-libm-test-in: Add more tests of cos and tan.
6014         * math/auto-libm-test-out-cos: Regenerated.
6015         * math/auto-libm-test-out-tan: Likewise.
6017 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
6019         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6020         (RTLD_START): Don't record stack end address in _dl_start_user.
6022 2017-03-15  Alexey Neyman  <stilor@att.net>
6024         [BZ #21088]
6025         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6026         around definitions match those around use.
6028 2017-03-15  Alexey Neyman  <stilor@att.net>
6030         * configure.ac: Avoid empty subexpression in grep.
6031         * configure: Regenerate.
6033 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6035         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6036         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6037         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6038         (test_wrp_rv): Fix format.
6039         (test_wrp_rv2): New macro.
6040         (do_test): Handle mlock return on 64 bits kernels with 32 bits
6041         binaries.
6043 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6045         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6046         Use a union when storing pointers.
6047         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6048         cast result when passing to INIT_VEC_PTRS_LOOP.
6049         (VECTOR_WRAPPER_fFF_3): Likewise.
6050         (VECTOR_WRAPPER_fFF_4): Likewise.
6052 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6054         * include/bits/mathcalls-helper-functions.h: New file.
6055         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6056         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6057         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6058         math/bits/mathcalls-helper-functions.h.
6059         * math/bits/mathcalls-helper-functions.h: New file.
6060         * math/math.h: Include bits/mathcalls-helper-functions.h for
6061         float, double, and long double.
6063 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6065         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
6066         instead of feraiseexcept.
6068 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6070         [BZ #21243]
6071         * support/temp_file.c (support_delete_temp_files): Add comment
6072         about ignored errors.
6074 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6076         [BZ #21244]
6077         * support/xclose.c: New file.
6078         * support/Makefile (libsupport-routines): Add xclose.
6079         * support/xunistd.h (xclose): Declare.
6080         * support/resolv_test.c (server_thread_tcp_client)
6081         (server_thread_tcp, make_server_sockets, resolv_test_start)
6082         (resolv_test_end): Call xclose instead of close.
6083         * support/support_enter_network_namespace.c
6084         (support_enter_network_namespace): Likewise.
6085         * support/support_run_diff.c (write_to_temp_file): Likewise.
6087 2017-03-15  Florian Weimer  <fweimer@redhat.com>
6089         * support/support_format_dns_packet.c (support_format_dns_packet):
6090         Handle CNAME records in the response.  Extract RDATA names from
6091         rdata, not the whole packet.  Check AAAA record length.
6092         * support/tst-support_format_dns_packet.c: New file.
6093         * support/Makefile (tests): Add tst-support_format_dns_packet.
6094         (tst-support_format_dns_packet): Link against libresolv.
6096 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6098         [BZ #21232]
6099         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
6100         posix_fadvise64 weak_alias for static build.
6102 2017-03-14  Andreas Schwab  <schwab@suse.de>
6104         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
6105         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
6106         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
6107         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
6108         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
6109         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
6110         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
6111         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
6113 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6115         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
6116         posix error code.
6117         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6119 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6121         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
6122         no_isolate usage for SH.
6124 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
6126         [BZ #15105]
6127         [BZ #19463]
6128         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
6129         * inet/rcmd.c (rcmd_af): Likewise.
6130         * inet/rexec.c   (rexec_af): Likewise.
6131         * intl/dcigettext.c (_LIBC): Likewise.
6132         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
6133         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
6134         * locale/setlocale.c (setlocale): Likewise.
6135         * posix/spawn_faction_addopen.c
6136         (posix_spawn_file_actions_addopen): Likewise.
6137         * stdlib/putenv.c (putenv): Use __strndup.
6138         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
6139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
6140         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
6141         (__Need_M_And_C) Remove define/undef.
6142         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
6143         (__malloc_and_calloc_defined): Remove define.
6144         * string/bits/string2.h (__strdup): Remove define.
6145         (strdup): Likewise.
6146         (__strndup): Likewise.
6147         (strndup): Likewise.
6149 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
6151         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
6152         macro.
6153         (IPV6_ADDR_PREFERENCES): Likewise.
6154         (IPV6_MINHOPCOUNT): Likewise.
6155         (IPV6_ORIGDSTADDR): Likewise.
6156         (IPV6_RECVORIGDSTADDR): Likewise.
6157         (IPV6_TRANSPARENT): Likewise.
6158         (IPV6_UNICAST_IF): Likewise.
6159         (IPV6_RECVFRAGSIZE): Likewise.
6161 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
6163         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
6165 2017-03-12  Alexey Neyman <stilor@att.net>
6167         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
6168         in R_SH_DIR32 case is always false when inlined from
6169         dl-conflict.c. Ifdef out to prevent GCC from insertin an
6171 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
6173         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6174         (__ASSUME_RECV_SYSCALL): Replace duplicate by
6175         __ASSUME_SEND_SYSCALL.
6177 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
6179         * sunrpc/Makefile: don't build and install rpcsvc header
6180         files, rpcgen and librpcsvc.a by default.
6182 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
6184         * math/auto-libm-test-out-catan: Regenerated.
6185         * math/auto-libm-test-out-catanh: Likewise.
6186         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6188 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
6190         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
6191         for long double with corrected test expectations.
6193 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6195         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
6196         Define.
6197         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
6198         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
6199         * sysdeps/unix/sysv/linux/nios2/sysdep.h
6200         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6201         * sysdeps/unix/sysv/linux/tile/sysdep.h
6202         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
6203         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6204         (__ASSUME_RECV_SYSCALL): Define.
6205         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6206         (__ASSUME_RECV_SYSCALL): Likewise.
6207         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6208         (__ASSUME_RECV_SYSCALL): Likewise.
6209         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6210         (__ASSUME_RECV_SYSCALL): Likewise.
6211         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6212         (__ASSUME_RECV_SYSCALL): Likewise.
6213         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6214         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
6215         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6216         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6217         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6218         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
6219         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
6220         auto-generation list.
6221         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6222         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6223         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
6224         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6225         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6226         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
6227         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
6228         __ASSUME_SENDTO_SYSCALL.
6229         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
6230         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
6231         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
6233         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
6234         auto-generation list.
6235         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6236         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6237         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6238         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6239         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6240         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6241         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6242         * sysdeps/unix/sysv/linux/kernel-features.h
6243         (__ASSUME_SENDTO_SYSCALL): Define by default.
6244         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6245         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
6246         __NR_sendto.
6247         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6248         (__ASSUME_SENDTO_SYSCALL): Likewise.
6249         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6250         (__ASSUME_SENDTO_SYSCALL): Likewise.
6251         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6252         (__ASSUME_SENDTO_SYSCALL): Remove definition.
6253         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6254         (__ASSUME_SENDTO_SYSCALL): Likewise.
6255         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
6256         (__ASSUME_SENDTO_SYSCALL): Likewise.
6257         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
6259         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
6260         auto-generation list.
6261         * sysdeps/unix/sysv/linux/arm/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/mips/syscalls.list: Likewise.
6265         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6266         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6267         (__ASSUME_RECV_SYSCALL): New define.
6268         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6269         (__ASSUME_RECV_SYSCALL): Likewise.
6270         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6271         (__ASSUME_RECV_SYSCALL): Likewise.
6272         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6273         (__ASSUME_RECV_SYSCALL): Likewise.
6274         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6275         (__ASSUME_RECV_SYSCALL): Likewise.
6276         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6277         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6278         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6279         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6280         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6281         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
6282         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
6283         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
6284         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
6285         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
6286         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
6287         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
6289         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
6290         auto-generation list.
6291         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6292         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6293         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6294         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6295         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6296         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6297         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6298         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6299         (__ASSUME_RECVFROM_SYSCALL): Define by default.
6300         * sysdeps/unix/sysv/linux/kernel-features.h
6301         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
6302         __NR_recvfrom.
6303         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6304         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6305         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6306         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6307         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6308         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
6309         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6310         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6311         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6312         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6313         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6314         (__ASSUME_RECVFROM_SYSCALL): Likewise.
6315         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
6317         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
6318         auto-generation list.
6319         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6320         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6321         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6322         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6323         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6324         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6325         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6326         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
6327         * sysdeps/unix/sysv/linux/kernel-features.h
6328         (__ASSUME_CONNECT_SYSCALL): Define.
6329         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6330         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
6331         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6332         (__ASSUME_CONNECT_SYSCALL): Likewise.
6333         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6334         (__ASSUME_CONNECT_SYSCALL): Likewise.
6335         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6336         (__ASSUME_CONNECT_SYSCALL): Likewise.
6338         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
6339         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
6340         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
6341         auto-generation list.
6342         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
6343         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
6344         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6345         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
6346         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6347         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6348         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
6349         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6350         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6351         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6352         * sysdeps/unix/sysv/linux/kernel-features.h
6353         (__ASSUME_ACCEPT_SYSCALL): New define.
6354         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6355         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6356         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
6357         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6358         (__ASSUME_ACCEPT_SYSCALL): Define.
6359         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6360         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6361         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6362         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
6363         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6364         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6365         (__ASSUME_ACCEPT_SYSCALL): Undefine.
6366         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6367         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
6369 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
6370             Zack Weinberg  <zackw@panix.com>
6372         * posix/test-errno.c: New file.
6373         * posix/Makefile (tests): Add test-errno.
6374         * sysdeps/unix/sysv/linux/test-errno.c: New file.
6375         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
6377 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
6379         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6381 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6383         * time/tzset.c (compute_offset): Open-code min macro.
6384         (min, max, sign): Remove.
6386 2017-03-07  Florian Weimer  <fweimer@redhat.com>
6388         [BZ #15576]
6389         Remove TZNAME_MAX limit from sysconf.
6390         * include/time.h (__tzname_cur_max, __tzname_max): Remove
6391         declaration.
6392         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
6393         compute_tzname_max.
6394         (compute_tzname_max): Remove.
6395         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
6396         (update_vars): Do not update __tzname_cur_max.
6397         (tzset_internal): Remove argument.
6398         (__tzset): Adjust call to tzset_internal.
6399         (__tz_convert): Likewise.
6401         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
6402         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6403         * manual/conf.texi (Sysconf Definition): Update comment.
6405 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6407         [BZ #21209]
6408         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
6409         AT_SECURE processes.
6410         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
6411         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
6412         (test_child): Likewise.
6413         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
6415 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6417         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
6419 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6421         * sysdeps/s390/atomic-machine.h
6422         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
6423         (__arch_compare_and_exchange_val_8_acq,
6424         __arch_compare_and_exchange_val_16_acq,
6425         __arch_compare_and_exchange_val_32_acq,
6426         __arch_compare_and_exchange_val_64_acq):
6427         Delete macro.
6428         (atomic_compare_and_exchange_val_acq,
6429         atomic_compare_and_exchange_val_rel,
6430         atomic_compare_and_exchange_bool_acq,
6431         catomic_compare_and_exchange_bool_acq,
6432         atomic_exchange_acq, atomic_exchange_rel,
6433         atomic_exchange_and_add_acq,
6434         atomic_exchange_and_add_rel,
6435         catomic_exchange_and_add, atomic_or_val,
6436         atomic_or, catomic_or, atomic_bit_test_set,
6437         atomic_and_val, atomic_and, catomic_and):
6438         Define macros with help of C11 atomic builtins.
6440 2017-03-03  Justus Winter <justus@gnupg.org>
6442         * sysdeps/mach/hurd/ftruncate64.c: New file.
6443         * sysdeps/mach/hurd/truncate64.c: Likewise.
6445 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6447         * time/tzfile.c (NOID): Do not define.
6448         * time/tzset.c (NOID): Likewise.
6450 2017-03-03  Florian Weimer  <fweimer@redhat.com>
6452         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
6454 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6456         * elf/get-dynamic-info.h: Remove header file inclusion guard.
6458 2017-03-02  Florian Weimer  <fweimer@redhat.com>
6460         [BZ #21015]
6461         * manual/install.texi (Configuring and compiling): Document
6462         --enable-bind-now.
6463         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
6464         (build-shlib-helper): Use $(LDFLAGS-lib.so).
6465         (format.lds): Likewise.
6466         [bind-now] (LDFLAGS-c.so): Remove.
6467         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
6468         be R_X86_64_GLOB_DAT.
6469         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
6470         relocation can be R_386_GLOB_DAT.
6471         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
6472         relocaiton can be R_ALPHA_GLOB_DAT.
6473         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
6475 2017-03-01  Zack Weinberg  <zackw@panix.com>
6477         * include/libc-pointer-arith.h: New file.  Define
6478         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
6479         PTR_ALIGN_DOWN here.
6480         * include/libc-internal.h: Definitions of above macros
6481         moved from here.  Don't include libc-diag.h anymore either.
6482         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
6483         Don't include libc-internal.h.
6485         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
6486         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
6487         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
6488         * string/strcoll_l.c, sysdeps/nacl/brk.c
6489         * sysdeps/unix/clock_settime.c
6490         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
6491         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
6492         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6493         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
6494         Don't include libc-internal.h.
6496         * elf/get-dynamic-info.h, iconv/loop.c
6497         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
6498         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
6499         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
6500         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
6501         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6502         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
6503         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6504         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
6505         * sysdeps/ieee754/ldbl-128/k_tanl.c
6506         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6507         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6508         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
6509         Include libc-diag.h instead of libc-internal.h.
6511         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
6512         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
6513         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
6514         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
6515         * sysdeps/unix/sysv/linux/spawni.c
6516         * sysdeps/x86_64/nptl/tls.h:
6517         Include libc-pointer-arith.h instead of libc-internal.h.
6519         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
6520         * sysdeps/x86_64/atomic-machine.h:
6521         Add multiple include guard.
6523         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
6524         * string/strcasestr.c: No need to include config.h.
6525         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
6526         sys/auxv.h. Don't include sysdep.h.
6527         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
6529         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
6530         DL_LOOKUP_ADDRESS.
6531         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
6532         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
6533         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
6534         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
6535         of ARTIFICIAL_LIMIT.
6536         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
6537         declaration of __clone2.
6539 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6541         * scripts/backport-support.sh (latest_commit): New file.
6543 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6545         [BZ #20257]
6546         * inet/Makefile (routines): Add deadline.
6547         (tests-static): Add tst-deadline.
6548         * inet/net-internal.h (struct deadline_current_time)
6549         (__deadline_current_time, struct deadline, __deadline_is_infinite)
6550         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
6551         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
6552         * inet/deadline.c: New file.
6553         * inet/tst-deadline.c: Likewise.
6554         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
6555         tst-udp-timeout, tst-udp-garbage.
6556         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
6557         explicitly.
6558         (tst-udp-garbage): Likewise.  Also link against thread library.
6559         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
6560         struct layout is part of the ABI.
6561         (clntudp_call): Rework timeout handling.
6562         * sunrpc/tst-udp-garbage.c: New file.
6563         * sunrpc/tst-udp-nonblocking.c: Likewise.
6564         * sunrpc/tst-udp-timeout.c: Likewise.
6566 2017-02-28  Florian Weimer  <fweimer@redhat.com>
6568         [BZ #5010]
6569         * sunrpc/svc.c (svc_is_mapped): Remove.
6570         (svc_unregister): Obtain mapped status while the service is still
6571         registered.
6572         * sunrpc/Makefile [have-thread-library] (tests): Add
6573         tst-svc_register.
6574         (tst-svc_register): Link against libc.so explicitly and the thread
6575         library.
6576         * sunrpc/tst-svc_register.c: New file.
6578 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
6580         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
6581         * sysdeps/pthread/bits/sigthread.h: Likewise.
6583 2017-02-27  Florian Weimer  <fweimer@redhat.com>
6585         [BZ #21115]
6586         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
6587         * sunrpc/Makefile (tests): Add tst-udp-error.
6588         (tst-udp-error): Link against libc.so explicitly.
6589         * sunrpc/tst-udp-error: New file.
6591 2017-02-25  Zack Weinberg  <zackw@panix.com>
6593         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
6594         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
6596         * sysdeps/generic/math_ldbl.h
6597         * sysdeps/ia64/fpu/math_ldbl.h
6598         * sysdeps/ieee754/ldbl-128/math_ldbl.h
6599         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
6600         * sysdeps/ieee754/ldbl-96/math_ldbl.h
6601         * sysdeps/powerpc/fpu/math_ldbl.h
6602         * sysdeps/x86_64/fpu/math_ldbl.h:
6603         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
6604         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
6605         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
6606         Add copyright notices.
6608         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6609         Don't use EXTRACT_WORDS64.
6611         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
6612         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
6613         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
6614         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
6615         Include math_ldbl.h, not math_private.h.
6617 2017-02-25  Zack Weinberg  <zackw@panix.com>
6619         * include/libc-diag.h: New file.  Define ignore_value,
6620         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
6621         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
6623         * include/libc-internal.h: Definitions of above macros moved from
6624         here.  Include libc-diag.h.  Add copyright notice.
6626         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
6627         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
6628         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
6629         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
6630         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
6631         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
6632         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
6633         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
6634         Include libc-diag.h instead of libc-internal.h.
6636         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
6637         call to unsetenv (NULL).
6638         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
6639         call to pthread_mutexattr_destroy (NULL).
6641 2017-02-25  Zack Weinberg  <zackw@panix.com>
6643         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
6644         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
6645         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
6646         gets was removed from C++ in C++14.
6647         * include/stdio.h: Remove redundant declaration of gets.
6648         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
6649         be declared, since we are testing it.
6650         * stdio-common/Makefile (tst-gets.c): Compile with
6651         -Wno-deprecated-declarations.
6652         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
6653         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
6654         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
6655         Compile with -Wno-deprecated-declarations.
6657 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6659         * math/libm-test-support.c (check_ulp): Use LIT() around literal
6660         numbers.
6662 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6664         * resolv/tst-resolv-qtypes.c (domain):
6665         Change type to const pointer to const char.
6667 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
6669         * math/Makefile (libm-tests-generated): Remove variable.
6670         (libm-tests-base-normal): New variable.
6671         (libm-tests-base-finite): Likewise.
6672         (libm-tests-base-inline): Likewise.
6673         (libm-tests-base): Likewise.
6674         (libm-tests-normal): Likewise.
6675         (libm-tests-finite): Likewise.
6676         (libm-tests-inline): Likewise.
6677         (libm-tests-vector): Likewise.
6678         (libm-tests): Define in terms of these new variables.
6679         (libm-tests-for-type): New variable.
6680         (libm-tests.o): Move definition.
6681         (tests): Move addition of $(libm-tests).
6682         (generated): Update for new and removed libm test files.
6683         ($(objpfx)libm-test.c): Remove target.
6684         ($(objpfx)libm-have-vector-test.h): Likewise.
6685         (CFLAGS-test-double-vlen2.c): Remove variable.
6686         (CFLAGS-test-double-vlen4.c): Likewise.
6687         (CFLAGS-test-double-vlen8.c): Likewise.
6688         (CFLAGS-test-float-vlen4.c): Likewise.
6689         (CFLAGS-test-float-vlen8.c): Likewise.
6690         (CFLAGS-test-float-vlen16.c): Likewise.
6691         (CFLAGS-test-float.c): Likewise.
6692         (CFLAGS-test-float-finite.c): Likewise.
6693         (CFLAGS-libm-test-support-float.c): Likewise.
6694         (CFLAGS-test-double.c): Likewise.
6695         (CFLAGS-test-double-finite.c): Likewise.
6696         (CFLAGS-libm-test-support-double.c): Likewise.
6697         (CFLAGS-test-ldouble.c): Likewise.
6698         (CFLAGS-test-ldouble-finite.c): Likewise.
6699         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6700         (libm-test-inline-cflags): New variable.
6701         (CFLAGS-test-ifloat.c): Remove variable.
6702         (CFLAGS-test-idouble.c): Likewise.
6703         (CFLAGS-test-ildouble.c): Likewise.
6704         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
6705         dependencies.
6706         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
6707         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
6708         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
6709         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
6710         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
6711         Likewise.
6712         (dependencies on libm-test-support-*.o): Remove.
6713         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
6714         rules using iterators.
6715         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
6716         Likewise.
6717         ($(objpfx)libm-test-support-$(o).o): Likewise.
6718         ($(addprefix $(objpfx),$(filter-out $(tests-static)
6719         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
6720         instead.
6721         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
6722         define rule instead.
6723         * math/README.libm-test: Update.
6724         * math/libm-test-acos.inc: Include libm-test-driver.c.
6725         (do_test): New function.
6726         * math/libm-test-acosh.inc: Include libm-test-driver.c.
6727         (do_test): New function.
6728         * math/libm-test-asin.inc: Include libm-test-driver.c.
6729         (do_test): New function.
6730         * math/libm-test-asinh.inc: Include libm-test-driver.c.
6731         (do_test): New function.
6732         * math/libm-test-atan.inc: Include libm-test-driver.c.
6733         (do_test): New function.
6734         * math/libm-test-atan2.inc: Include libm-test-driver.c.
6735         (do_test): New function.
6736         * math/libm-test-atanh.inc: Include libm-test-driver.c.
6737         (do_test): New function.
6738         * math/libm-test-cabs.inc: Include libm-test-driver.c.
6739         (do_test): New function.
6740         * math/libm-test-cacos.inc: Include libm-test-driver.c.
6741         (do_test): New function.
6742         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
6743         (do_test): New function.
6744         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
6745         (do_test): New function.
6746         * math/libm-test-carg.inc: Include libm-test-driver.c.
6747         (do_test): New function.
6748         * math/libm-test-casin.inc: Include libm-test-driver.c.
6749         (do_test): New function.
6750         * math/libm-test-casinh.inc: Include libm-test-driver.c.
6751         (do_test): New function.
6752         * math/libm-test-catan.inc: Include libm-test-driver.c.
6753         (do_test): New function.
6754         * math/libm-test-catanh.inc: Include libm-test-driver.c.
6755         (do_test): New function.
6756         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
6757         (do_test): New function.
6758         * math/libm-test-ccos.inc: Include libm-test-driver.c.
6759         (do_test): New function.
6760         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
6761         (do_test): New function.
6762         * math/libm-test-ceil.inc: Include libm-test-driver.c.
6763         (do_test): New function.
6764         * math/libm-test-cexp.inc: Include libm-test-driver.c.
6765         (do_test): New function.
6766         * math/libm-test-cimag.inc: Include libm-test-driver.c.
6767         (do_test): New function.
6768         * math/libm-test-clog.inc: Include libm-test-driver.c.
6769         (do_test): New function.
6770         * math/libm-test-clog10.inc: Include libm-test-driver.c.
6771         (do_test): New function.
6772         * math/libm-test-conj.inc: Include libm-test-driver.c.
6773         (do_test): New function.
6774         * math/libm-test-copysign.inc: Include libm-test-driver.c.
6775         (do_test): New function.
6776         * math/libm-test-cos.inc: Include libm-test-driver.c.
6777         (do_test): New function.
6778         * math/libm-test-cosh.inc: Include libm-test-driver.c.
6779         (do_test): New function.
6780         * math/libm-test-cpow.inc: Include libm-test-driver.c.
6781         (do_test): New function.
6782         * math/libm-test-cproj.inc: Include libm-test-driver.c.
6783         (do_test): New function.
6784         * math/libm-test-creal.inc: Include libm-test-driver.c.
6785         (do_test): New function.
6786         * math/libm-test-csin.inc: Include libm-test-driver.c.
6787         (do_test): New function.
6788         * math/libm-test-csinh.inc: Include libm-test-driver.c.
6789         (do_test): New function.
6790         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
6791         (do_test): New function.
6792         * math/libm-test-ctan.inc: Include libm-test-driver.c.
6793         (do_test): New function.
6794         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
6795         (do_test): New function.
6796         * math/libm-test-erf.inc: Include libm-test-driver.c.
6797         (do_test): New function.
6798         * math/libm-test-erfc.inc: Include libm-test-driver.c.
6799         (do_test): New function.
6800         * math/libm-test-exp.inc: Include libm-test-driver.c.
6801         (do_test): New function.
6802         * math/libm-test-exp10.inc: Include libm-test-driver.c.
6803         (do_test): New function.
6804         * math/libm-test-exp2.inc: Include libm-test-driver.c.
6805         (do_test): New function.
6806         * math/libm-test-expm1.inc: Include libm-test-driver.c.
6807         (do_test): New function.
6808         * math/libm-test-fabs.inc: Include libm-test-driver.c.
6809         (do_test): New function.
6810         * math/libm-test-fdim.inc: Include libm-test-driver.c.
6811         (do_test): New function.
6812         * math/libm-test-floor.inc: Include libm-test-driver.c.
6813         (do_test): New function.
6814         * math/libm-test-fma.inc: Include libm-test-driver.c.
6815         (do_test): New function.
6816         * math/libm-test-fmax.inc: Include libm-test-driver.c.
6817         (do_test): New function.
6818         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
6819         (do_test): New function.
6820         * math/libm-test-fmin.inc: Include libm-test-driver.c.
6821         (do_test): New function.
6822         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
6823         (do_test): New function.
6824         * math/libm-test-fmod.inc: Include libm-test-driver.c.
6825         (do_test): New function.
6826         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
6827         (do_test): New function.
6828         * math/libm-test-frexp.inc: Include libm-test-driver.c.
6829         (do_test): New function.
6830         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
6831         (do_test): New function.
6832         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
6833         (do_test): New function.
6834         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
6835         (do_test): New function.
6836         * math/libm-test-hypot.inc: Include libm-test-driver.c.
6837         (do_test): New function.
6838         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
6839         (do_test): New function.
6840         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
6841         (do_test): New function.
6842         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
6843         (do_test): New function.
6844         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
6845         (do_test): New function.
6846         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
6847         (do_test): New function.
6848         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
6849         (do_test): New function.
6850         * math/libm-test-isinf.inc: Include libm-test-driver.c.
6851         (do_test): New function.
6852         * math/libm-test-isless.inc: Include libm-test-driver.c.
6853         (do_test): New function.
6854         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
6855         (do_test): New function.
6856         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
6857         (do_test): New function.
6858         * math/libm-test-isnan.inc: Include libm-test-driver.c.
6859         (do_test): New function.
6860         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
6861         (do_test): New function.
6862         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
6863         (do_test): New function.
6864         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
6865         (do_test): New function.
6866         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
6867         (do_test): New function.
6868         * math/libm-test-iszero.inc: Include libm-test-driver.c.
6869         (do_test): New function.
6870         * math/libm-test-j0.inc: Include libm-test-driver.c.
6871         (do_test): New function.
6872         * math/libm-test-j1.inc: Include libm-test-driver.c.
6873         (do_test): New function.
6874         * math/libm-test-jn.inc: Include libm-test-driver.c.
6875         (do_test): New function.
6876         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
6877         (do_test): New function.
6878         * math/libm-test-llogb.inc: Include libm-test-driver.c.
6879         (do_test): New function.
6880         * math/libm-test-llrint.inc: Include libm-test-driver.c.
6881         (do_test): New function.
6882         * math/libm-test-llround.inc: Include libm-test-driver.c.
6883         (do_test): New function.
6884         * math/libm-test-log.inc: Include libm-test-driver.c.
6885         (do_test): New function.
6886         * math/libm-test-log10.inc: Include libm-test-driver.c.
6887         (do_test): New function.
6888         * math/libm-test-log1p.inc: Include libm-test-driver.c.
6889         (do_test): New function.
6890         * math/libm-test-log2.inc: Include libm-test-driver.c.
6891         (do_test): New function.
6892         * math/libm-test-logb.inc: Include libm-test-driver.c.
6893         (do_test): New function.
6894         * math/libm-test-lrint.inc: Include libm-test-driver.c.
6895         (do_test): New function.
6896         * math/libm-test-lround.inc: Include libm-test-driver.c.
6897         (do_test): New function.
6898         * math/libm-test-modf.inc: Include libm-test-driver.c.
6899         (do_test): New function.
6900         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
6901         (do_test): New function.
6902         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
6903         (do_test): New function.
6904         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
6905         (do_test): New function.
6906         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
6907         (do_test): New function.
6908         * math/libm-test-nextup.inc: Include libm-test-driver.c.
6909         (do_test): New function.
6910         * math/libm-test-pow.inc: Include libm-test-driver.c.
6911         (do_test): New function.
6912         * math/libm-test-remainder.inc: Include libm-test-driver.c.
6913         (do_test): New function.
6914         * math/libm-test-remquo.inc: Include libm-test-driver.c.
6915         (do_test): New function.
6916         * math/libm-test-rint.inc: Include libm-test-driver.c.
6917         (do_test): New function.
6918         * math/libm-test-round.inc: Include libm-test-driver.c.
6919         (do_test): New function.
6920         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
6921         (do_test): New function.
6922         * math/libm-test-scalb.inc: Include libm-test-driver.c.
6923         (do_test): New function.
6924         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
6925         (do_test): New function.
6926         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
6927         (do_test): New function.
6928         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
6929         (do_test): New function.
6930         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
6931         (do_test): New function.
6932         * math/libm-test-signbit.inc: Include libm-test-driver.c.
6933         (do_test): New function.
6934         * math/libm-test-significand.inc: Include libm-test-driver.c.
6935         (do_test): New function.
6936         * math/libm-test-sin.inc: Include libm-test-driver.c.
6937         (do_test): New function.
6938         * math/libm-test-sincos.inc: Include libm-test-driver.c.
6939         (do_test): New function.
6940         * math/libm-test-sinh.inc: Include libm-test-driver.c.
6941         (do_test): New function.
6942         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
6943         (do_test): New function.
6944         * math/libm-test-tan.inc: Include libm-test-driver.c.
6945         (do_test): New function.
6946         * math/libm-test-tanh.inc: Include libm-test-driver.c.
6947         (do_test): New function.
6948         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
6949         (do_test): New function.
6950         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
6951         (do_test): New function.
6952         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
6953         (do_test): New function.
6954         * math/libm-test-trunc.inc: Include libm-test-driver.c.
6955         (do_test): New function.
6956         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
6957         (do_test): New function.
6958         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
6959         (do_test): New function.
6960         * math/libm-test-y0.inc: Include libm-test-driver.c.
6961         (do_test): New function.
6962         * math/libm-test-y1.inc: Include libm-test-driver.c.
6963         (do_test): New function.
6964         * math/libm-test-yn.inc: Include libm-test-driver.c.
6965         (do_test): New function.
6966         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
6967         (HAVE_VECTOR): Remove macro.
6968         (START): Do not call HAVE_VECTOR.
6969         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
6970         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
6971         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
6972         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
6973         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
6974         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
6975         * math/test-math-vector.h (FUNC_TEST): New macro.
6976         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
6977         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
6978         (double-vlen4-funcs): Likewise.
6979         (double-vlen4-avx2-funcs): Likewise.
6980         (double-vlen8-funcs): Likewise.
6981         (float-vlen4-funcs): Likewise.
6982         (float-vlen8-funcs): Likewise.
6983         (float-vlen8-avx2-funcs): Likewise.
6984         (float-vlen16-funcs): Likewise.
6985         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
6986         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
6987         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
6988         macro.
6989         (TEST_VECTOR_sin): Likewise.
6990         (TEST_VECTOR_sincos): Likewise.
6991         (TEST_VECTOR_log): Likewise.
6992         (TEST_VECTOR_exp): Likewise.
6993         (TEST_VECTOR_pow): Likewise.
6994         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
6995         Likewise.
6996         (TEST_VECTOR_sin): Likewise.
6997         (TEST_VECTOR_sincos): Likewise.
6998         (TEST_VECTOR_log): Likewise.
6999         (TEST_VECTOR_exp): Likewise.
7000         (TEST_VECTOR_pow): Likewise.
7001         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
7002         Likewise.
7003         (TEST_VECTOR_sinf): Likewise.
7004         (TEST_VECTOR_sincosf): Likewise.
7005         (TEST_VECTOR_logf): Likewise.
7006         (TEST_VECTOR_expf): Likewise.
7007         (TEST_VECTOR_powf): Likewise.
7008         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
7009         Likewise.
7010         (TEST_VECTOR_sinf): Likewise.
7011         (TEST_VECTOR_sincosf): Likewise.
7012         (TEST_VECTOR_logf): Likewise.
7013         (TEST_VECTOR_expf): Likewise.
7014         (TEST_VECTOR_powf): Likewise.
7015         * math/gen-libm-have-vector-test.sh: Remove file.
7016         * math/libm-test.inc: Likewise.
7017         * math/libm-test-support-double.c: Likewise.
7018         * math/libm-test-support-float.c: Likewise.
7019         * math/libm-test-support-ldouble.c: Likewise.
7020         * math/test-double-finite.c: Likewise.: Likewise.
7021         * math/test-double.c: Likewise.
7022         * math/test-float-finite.c: Likewise.
7023         * math/test-float.c: Likewise.
7024         * math/test-idouble.c: Likewise.
7025         * math/test-ifloat.c: Likewise.
7026         * math/test-ildouble.c: Likewise.
7027         * math/test-ldouble-finite.c: Likewise.
7028         * math/test-ldouble.c: Likewise.
7029         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7030         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7031         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7032         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7033         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7034         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7035         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7036         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7037         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7038         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7040 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7041            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7043         * math/Makefile: Add wrappers to gen-libm-calls.
7044         * math/w_acos_template.c: New file.
7045         * math/w_acosh_template.c: Likewise.
7046         * math/w_asin_template.c: Likewise.
7047         * math/w_atan2_template.c: Likewise.
7048         * math/w_atanh_template.c: Likewise.
7049         * math/w_cosh_template.c: Likewise.
7050         * math/w_exp10_template.c: Likewise.
7051         * math/w_exp2_template.c: Likewise.
7052         * math/w_exp_template.c: Likewise.
7053         * math/w_fmod_template.c: Likewise.
7054         * math/w_hypot_template.c: Likewise.
7055         * math/w_j0_template.c: Likewise.
7056         * math/w_j1_template.c: Likewise.
7057         * math/w_jn_template.c: Likewise.
7058         * math/w_lgamma_r_template.c: Likewise.
7059         * math/w_lgamma_template.c: Likewise.
7060         * math/w_log10_template.c: Likewise.
7061         * math/w_log2_template.c: Likewise.
7062         * math/w_log_template.c: Likewise.
7063         * math/w_pow_template.c: Likewise.
7064         * math/w_remainder_template.c: Likewise.
7065         * math/w_sinh_template.c: Likewise.
7066         * math/w_sqrt_template.c: Likewise.
7067         * math/w_tgamma_template.c: Likewise.: Likewise.
7068         * sysdeps/generic/math-type-macros-double.h
7069         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
7070         the new wrappers.
7071         * sysdeps/generic/math-type-macros-float.h: Likewise.
7072         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7074 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
7076         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
7077         New enum constant and macro.
7079         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7080         kernel version to 4.10.
7082 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
7084         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
7086 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7090 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7092         * sysdeps/powerpc/tst-set_ppr.c: New file.
7093         Implement test cases for __ppc_set_ppr_* functions.
7094         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
7095         in the list of tests.
7097 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7099         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
7100         instead of test-skeleton.c.
7101         (do_test): Replaced pthread_create and pthread_join with
7102         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
7103         Removed unneeded status variable.
7104         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
7105         instead of test-skeleton.c.
7106         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
7108 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
7110         [BZ #20313]
7111         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7112         201605L, for Unicode 9.
7114 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
7116         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
7117         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7118         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7119         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7120         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7121         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7123 2017-02-19  Zack Weinberg  <zackw@panix.com>
7125         * rt/tst-mqueue4.c: Include stdint.h.
7127 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7129         * sysdeps/arm/libm-test-ulps: Update.
7130         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7131         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7132         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7134 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7136         [BZ #21029]
7137         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
7138         * sysdeps/unix/sysv/linux/i386/Makefile
7139         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
7140         (uses-6-syscall-arguments): Remove.
7141         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
7142         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
7143         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
7144         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
7145         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
7146         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
7147         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
7148         [$(subdir) = misc] (cflags-pselect.o): Likewise.
7149         [$(subdir) = misc] (cflags-pselect.os): Likewise.
7150         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
7151         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
7152         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
7153         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
7154         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
7155         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
7156         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
7157         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
7158         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
7159         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
7160         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
7161         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
7162         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
7163         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
7164         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
7165         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
7166         Likewise.
7167         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
7168         Likewise.
7169         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
7170         Likewise.
7171         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
7172         Likewise.
7173         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
7174         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
7175         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
7176         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
7177         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
7178         ebp on inline assembly.
7179         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
7180         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
7181         Set if CAN_USE_REGISTER_ASM_EBP is set.
7183 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
7185         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
7186         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
7188 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
7190         * math/auto-libm-test-in: Add tests of catan and catanh.
7191         * math/auto-libm-test-out-catan: New generated file.
7192         * math/auto-libm-test-out-catanh: Likewise.
7193         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
7194         Move tests with finite inputs, except divide-by-zero cases, to
7195         auto-libm-test-in.
7196         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
7197         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
7198         (libm-test-funcs-noauto): Remove catan and catanh.
7199         * sysdeps/i386/fpu/libm-test-ulps: Update.
7200         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7203         * math/auto-libm-test-in: Add tests of casin and casinh.
7204         * math/auto-libm-test-out-casin: New generated file.
7205         * math/auto-libm-test-out-casinh: Likewise.
7206         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
7207         Move tests with finite inputs to auto-libm-test-in.
7208         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
7209         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
7210         (libm-test-funcs-noauto): Remove casin and casinh.
7211         * sysdeps/i386/fpu/libm-test-ulps: Update.
7212         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7215         * math/auto-libm-test-in: Add tests of cacos and cacosh.
7216         * math/auto-libm-test-out-cacos: New generated file.
7217         * math/auto-libm-test-out-cacosh: Likewise.
7218         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
7219         Move tests with finite inputs to auto-libm-test-in.
7220         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
7221         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
7222         (libm-test-funcs-noauto): Remove cacos and cacosh.
7223         * sysdeps/i386/fpu/libm-test-ulps: Update.
7224         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
7225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227         Revert:
7228         2017-02-16  Zack Weinberg  <zackw@panix.com>
7230         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7231         Don't include init-arch.h.
7232         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7233         Don't include init-arch.h.
7235 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7237         [BZ #21171]
7238         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
7239         +Inf and raise divide-by-zero when x is negative.
7240         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
7241         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
7242         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
7243         -Inf and raise divide-by-zero when x = +-0.
7244         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7245         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
7246         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
7247         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
7248         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7250         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7252 2017-02-16  Zack Weinberg  <zackw@panix.com>
7254         * scripts/build-many-glibcs.py (bot_build_mail): If the
7255         bot_config does not contain all of the necessary email-
7256         related settings, just print a warning and continue.
7258 2017-02-16  Zack Weinberg  <zackw@panix.com>
7260         * crypt/md5.h: Test _LIBC with #if defined, not #if.
7261         * dirent/opendir-tst1.c: Include sys/stat.h.
7262         * dirent/tst-fdopendir.c: Include sys/stat.h.
7263         * dirent/tst-fdopendir2.c: Include stdlib.h.
7264         * dirent/tst-scandir.c: Include stdbool.h.
7265         * elf/tst-auditmod1.c: Include link.h and stddef.h.
7266         * elf/tst-tls15.c: Include stdlib.h.
7267         * elf/tst-tls16.c: Include stdlib.h.
7268         * elf/tst-tls17.c: Include stdlib.h.
7269         * elf/tst-tls18.c: Include stdlib.h.
7270         * iconv/tst-iconv6.c: Include endian.h.
7271         * iconvdata/bug-iconv11.c: Include limits.h.
7272         * io/test-utime.c: Include stdint.h.
7273         * io/tst-faccessat.c: Include sys/stat.h.
7274         * io/tst-fchmodat.c: Include sys/stat.h.
7275         * io/tst-fchownat.c: Include sys/stat.h.
7276         * io/tst-fstatat.c: Include sys/stat.h.
7277         * io/tst-futimesat.c: Include sys/stat.h.
7278         * io/tst-linkat.c: Include sys/stat.h.
7279         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
7280         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
7281         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
7282         * io/tst-openat.c: Include stdbool.h.
7283         * io/tst-readlinkat.c: Include sys/stat.h.
7284         * io/tst-renameat.c: Include sys/stat.h.
7285         * io/tst-symlinkat.c: Include sys/stat.h.
7286         * io/tst-unlinkat.c: Include stdbool.h.
7287         * libio/bug-memstream1.c: Include stdlib.h.
7288         * libio/bug-wmemstream1.c: Include stdlib.h.
7289         * libio/tst-fwrite-error.c: Include stdlib.h.
7290         * libio/tst-memstream1.c: Include stdlib.h.
7291         * libio/tst-memstream2.c: Include stdlib.h.
7292         * libio/tst-memstream3.c: Include stdlib.h.
7293         * malloc/tst-interpose-aux.c: Include stdint.h.
7294         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
7295         * nptl/tst-basic7.c: Include limits.h.
7296         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
7297         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
7298         * nptl/tst-cancel4_1.c: Include stddef.h.
7299         * nptl/tst-cancel4_2.c: Include stddef.h.
7300         * nptl/tst-cond16.c: Include limits.h.
7301         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7302         * nptl/tst-cond18.c: Include limits.h.
7303         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
7304         * nptl/tst-cond4.c: Include stdint.h.
7305         * nptl/tst-cond6.c: Include stdint.h.
7306         * nptl/tst-stack2.c: Include limits.h.
7307         * nptl/tst-stackguard1.c: Include stddef.h.
7308         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
7309         * nptl/tst-tls4moda.c: Include stddef.h.
7310         Don't include stdio.h, unistd.h, or tls.h.
7311         * nptl/tst-tls4modb.c: Include stddef.h.
7312         Don't include stdio.h, unistd.h, or tls.h.
7313         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
7314         * posix/tst-getaddrinfo2.c: Include stdio.h.
7315         * posix/tst-getaddrinfo5.c: Include stdio.h.
7316         * posix/tst-pathconf.c: Include sys/stat.h.
7317         * posix/tst-posix_fadvise-common.c: Include stdint.h.
7318         * posix/tst-preadwrite-common.c: Include sys/stat.h.
7319         * posix/tst-regex.c: Include stdint.h.
7320         Don't include spawn.h or spawn_int.h.
7321         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
7322         * posix/tst-vfork3.c: Include sys/stat.h.
7323         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
7324         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
7325         * resolv/tst-resolv-search.c: Include stdlib.h.
7326         * stdio-common/tst-fmemopen2.c: Include stdint.h.
7327         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
7328         * stdlib/test-canon.c: Include sys/stat.h.
7329         * stdlib/tst-tls-atexit.c: Include stdbool.h.
7330         * string/test-memchr.c: Include stdint.h.
7331         * string/tst-cmp.c: Include stdint.h.
7332         * sysdeps/pthread/tst-timer.c: Include stdint.h.
7333         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
7334         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
7335         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
7336         Don't include init-arch.h.
7337         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
7338         Don't include init-arch.h.
7339         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
7340         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
7341         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
7342         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
7343         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
7344         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
7345         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
7346         * time/clocktest.c: Include stdint.h.
7347         * time/tst-posixtz.c: Include stdint.h.
7348         * timezone/tst-timezone.c: Include stdint.h.
7350 2017-02-16  Zack Weinberg  <zackw@panix.com>
7352         * string/string.h [__USE_MISC]: Include strings.h.
7353         (__bzero, bcmp, bcopy, bzero, index, rindex)
7354         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
7355         (ffs, ffsl, ffsll): Don't declare.
7356         * string/strings.h: Do not suppress the file if string.h has
7357         already been included.
7358         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
7359         annotations.
7360         (index, rindex): Define inline forwarders even if
7361         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
7362         (ffs): Use __attribute_const__.
7363         (ffsl, ffsll): Declare here.
7364         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
7365         have now been standardized.
7366         * include/string.h (__bzero): Declare here.
7368         * bits/types.h: Move to posix/bits.
7369         * include/bits/types.h: New wrapper.
7371 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7373         * string/bits/string2.h (strcmp): Remove define.
7374         (__strcmp_cg): Likewise.
7375         (strncmp): Likewise.
7377 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
7379         * include/string.h: Add __cplusplus check.
7381 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7383         [BZ #21134]
7384         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
7385         "divide by zero" exception when the input is zero.
7386         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
7387         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
7388         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
7389         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
7390         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7392 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
7394         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
7395         and include ...
7396         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
7397         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
7398         to, and include ...
7399         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
7400         file.
7401         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
7402         and include ...
7403         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
7404         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
7405         and include ...
7406         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
7407         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
7408         and include ...
7409         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
7410         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
7411         and include ...
7412         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
7413         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
7414         to, and include ...
7415         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
7416         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
7417         and include ...
7418         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
7420 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
7422         * math/libm-test-support.h: Do not include <math-tests-arch.h>
7423         here.
7424         * math/libm-test-support.c (libm_test_init): Do not call
7425         INIT_ARCH_EXT here.
7426         * math/libm-test-driver.c: Include <math-tests-arch.h>.
7427         (main): Call INIT_ARCH_EXT.
7429 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7431         [BZ #21130]
7432         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
7433         with the "invalid" exception raised when x is -Inf.
7434         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
7436 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
7438         * string/bits/string2.h (strchr): Remove define.
7440 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
7442         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
7443         tst-avx512.
7444         (test-extras): Add tst-avx-aux and tst-avx512-aux.
7445         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
7446         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
7447         ($(objpfx)tst-sse): New rule.
7448         ($(objpfx)tst-avx): Likewise.
7449         ($(objpfx)tst-avx512): Likewise.
7450         (CFLAGS-tst-avx-aux.c): New.
7451         (CFLAGS-tst-avxmod.c): Likewise.
7452         (CFLAGS-tst-avx512-aux.c): Likewise.
7453         (CFLAGS-tst-avx512mod.c): Likewise.
7454         * sysdeps/x86_64/tst-avx-aux.c: New file.
7455         * sysdeps/x86_64/tst-avx.c: Likewise.
7456         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
7457         * sysdeps/x86_64/tst-avx512.c: Likewise.
7458         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
7459         * sysdeps/x86_64/tst-avxmod.c: Likewise.
7460         * sysdeps/x86_64/tst-sse.c: Likewise.
7461         * sysdeps/x86_64/tst-ssemod.c: Likewise.
7463 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7465         * math/auto-libm-test-in: Add more tests of csin and csinh.
7466         * math/auto-libm-test-out-csin: Regenerated.
7467         * math/auto-libm-test-out-csinh: Likewise.
7468         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
7469         auto-libm-test-in.
7470         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
7472 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7474         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
7475         libm-compat-calls-auto.
7476         (libm-compat-calls): Likewise.
7477         (libm-compat-calls-auto): Rename to libm-compat-calls and add
7478         w_lgamma_compatF and k_standardF (merged from the items above).
7479         (libm-routines): Use libm-compat-calls, instead of
7480         libm-compat-calls-auto, with type-foreach.
7482 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
7484         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
7485         macro.
7486         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
7487         (CFLAGS-test-ifloat.c): ... this.  Remove
7488         -U__LIBC_INTERNAL_MATH_INLINES.
7489         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
7490         (CFLAGS-test-idouble.c): ... this.  Remove
7491         -U__LIBC_INTERNAL_MATH_INLINES.
7492         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
7493         (CFLAGS-test-ildouble.c): ... this.  Remove
7494         -U__LIBC_INTERNAL_MATH_INLINES.
7496 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
7498         * math/libm-test-support.c: New file.  Content from
7499         math/libm-test-driver.c.
7500         * math/libm-test-support.h: Likewise.
7501         * math/libm-test-support-double.c: New file.
7502         * math/libm-test-support-float.c: Likewise.
7503         * math/libm-test-support-ldouble.c: Likewise.
7504         * math/libm-test-driver.c: Remove main comment and header
7505         includes.  Include libm-test-support.h.
7506         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
7507         (flag_test_errno): Remove static.
7508         (flag_test_exceptions): Likewise.
7509         (flag_test_finite): Likewise.
7510         (flag_test_inline): Likewise.
7511         (flag_test_mathvec): Likewise.
7512         (test_msg): Likewise.
7513         (NO_EXCEPTION): Remove.
7514         (INVALID_EXCEPTION): Likewise.
7515         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
7516         (OVERFLOW_EXCEPTION): Likewise.
7517         (UNDERFLOW_EXCEPTION): Likewise.
7518         (INEXACT_EXCEPTION): Likewise.
7519         (INVALID_EXCEPTION_OK): Likewise.
7520         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7521         (OVERFLOW_EXCEPTION_OK): Likewise.
7522         (UNDERFLOW_EXCEPTION_OK): Likewise.
7523         (NO_INEXACT_EXCEPTION): Likewise.
7524         (EXCEPTIONS_OK): Likewise.
7525         (IGNORE_ZERO_INF_SIGN): Likewise.
7526         (TEST_NAN_SIGN): Likewise.
7527         (TEST_NAN_PAYLOAD): Likewise.
7528         (NO_TEST_INLINE): Likewise.
7529         (XFAIL_TEST): Likewise.
7530         (ERRNO_UNCHANGED): Likewise.
7531         (ERRNO_EDOM): Likewise.
7532         (ERRNO_ERANGE): Likewise.
7533         (IGNORE_RESULT): Likewise.
7534         (NON_FINITE): Likewise.
7535         (TEST_SNAN): Likewise.
7536         (NO_TEST_MATHVEC): Likewise.
7537         (__CONCATX): Likewise.
7538         (TYPE_MIN): Likewise.
7539         (TYPE_TRUE_MIN): Likewise.
7540         (TYPE_MAX): Likewise.
7541         (MIN_EXP): Likewise.
7542         (MAX_EXP): Likewise.
7543         (MANT_DIG): Likewise.
7544         (FSTR_MAX): Likewise.
7545         (ulp_idx): Likewise.
7546         (qtype_str): Remove static.
7547         (TEST_COND_binary32): Remove.
7548         (TEST_COND_binary64): Likewise.
7549         (TEST_COND_binary128): Likewise.
7550         (TEST_COND_ibm128): Likewise.
7551         (TEST_COND_intel96): Likewise.
7552         (TEST_COND_m68k96): Likewise.
7553         (TEST_COND_ibm128_libgcc): Likewise.
7554         (XFAIL_IBM128_LIBGCC): Likewise.
7555         (PAYLOAD_DIG): Likewise.
7556         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
7557         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
7558         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
7559         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
7560         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
7561         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
7562         (TEST_COND_long32): Likewise.
7563         (TEST_COND_long64): Likewise.
7564         (TEST_COND_before_rounding): Likewise.
7565         (TEST_COND_after_rounding): Likewise.
7566         (ulps_file_name): Likewise.
7567         (ulps_file): Likewise.
7568         (output_ulps): Likewise.
7569         (output_dir): Likewise.
7570         (noErrors): Likewise.
7571         (noTests): Likewise.
7572         (noExcTests): Likewise.
7573         (noErrnoTests): Likewise.
7574         (verbose): Likewise.
7575         (output_max_error): Likewise.
7576         (output_points): Likewise.
7577         (ignore_max_ulp): Likewise.
7578         (max_error): Likewise.
7579         (real_max_error): Likewise.
7580         (imag_max_error): Likewise.
7581         (prev_max_error): Likewise.
7582         (prev_real_max_error): Likewise.
7583         (prev_imag_max_error): Likewise.
7584         (max_valid_error): Likewise.
7585         (TYPE_DECIMAL_DIG): Likewise.
7586         (TYPE_HEX_DIG): Likewise.
7587         (fmt_ftostr): Likewise.
7588         (compare_ulp_data): Likewise.
7589         (find_ulps): Likewise.
7590         (init_max_error): Likewise.
7591         (set_max_error): Likewise.
7592         (print_float): Likewise.
7593         (print_screen): Likewise.
7594         (print_screen_max_error): Likewise.
7595         (update_stats): Likewise.
7596         (print_function_ulps): Likewise.
7597         (print_complex_function_ulps): Likewise.
7598         (fpstack_test): Likewise.
7599         (print_max_error): Likewise.
7600         (print_complex_max_error): Likewise.
7601         (test_single_exception): Likewise.
7602         (test_exceptions): Likewise.
7603         (test_single_errno): Likewise.
7604         (test_errno): Likewise.
7605         (ULPDIFF): Likewise.
7606         (ulp): Likewise.
7607         (check_float_internal): Likewise.
7608         (check_float): Likewise.
7609         (check_complex): Likewise.
7610         (check_int): Likewise.
7611         (check_long): Likewise.
7612         (check_bool): Likewise.
7613         (check_longlong): Likewise.
7614         (check_intmax_t): Likewise.
7615         (check_uintmax_t): Likewise.
7616         (enable_test): Likewise.
7617         (matherr): Likewise.
7618         (initialize): Likewise.
7619         (options): Likewise.
7620         (doc): Remove static.
7621         (argp): Likewise.
7622         (parse_opt): Remove.
7623         (check_ulp): Likewise.
7624         (libm_test_init): Likewise.
7625         (libm_test_finish): Likewise.
7626         * math/Makefile (libm-test-support): New variable.
7627         (test-extras): Add libm-test-support files.
7628         (extra-test-objs): Likewise.
7629         (CFLAGS-libm-test-support-float.c): New variable.
7630         (CFLAGS-libm-test-support-double.c): Likewise.
7631         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7632         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
7633         libm-test-support objects.
7635 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7637         * math/Makefile (libm-calls): Move w_exp...
7638         (libm-compat-calls-auto): Here.
7640         * math/w_expl.c: Add suffix "_compat" to filename.
7641         * sysdeps/ia64/fpu/w_expl.c: Likewise.
7642         * sysdeps/ia64/fpu/w_expf.c: Likewise.
7643         * sysdeps/ia64/fpu/w_exp.c: Likewise.
7644         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7645         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7646         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7647         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7648         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7650         * math/w_expl_compat.c: New file, copied from above.
7651         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
7652         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
7653         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
7654         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
7655         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
7656         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
7657         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
7658         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
7660         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
7661         to filename.
7662         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
7664         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
7665         copied from above and adjusted for the new filenames.
7666         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
7668 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7670         * math/Makefile (libm-calls): Move w_lgammaF...
7671         (libm-compat-calls-auto): Here.
7673         * math/w_lgamma.c: Add suffix "_compat2" to filename.
7674         * math/w_lgammaf.c: Likewise.
7675         * math/w_lgammal.c: Likewise.
7677         * math/w_lgamma_compat2.c: New file, copied from above.
7678         * math/w_lgammaf_compat2.c: Likewise.
7679         * math/w_lgammal_compat2.c: Likewise.
7681 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7683         * math/Makefile (libm-calls): Move w_lgammaF_r...
7684         (libm-compat-calls-auto): Here.
7686         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
7687         * math/w_lgammaf_r.c: Likewise.
7688         * math/w_lgammal_r.c: Likewise.
7689         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
7690         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
7691         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
7693         * math/w_lgamma_r_compat.c: New file, copied from above.
7694         * math/w_lgammaf_r_compat.c: Likewise.
7695         * math/w_lgammal_r_compat.c: Likewise.
7696         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
7697         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
7698         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
7700         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
7701         to filename.
7702         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
7704         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
7705         copied from above and adjusted for the new filenames.
7706         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
7708 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
7710         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
7711         calculation in SYSCALL_ERROR_HANDLER().
7713 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
7715         * manual/contrib.texi: Fix typo.
7717 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7719         [BZ #21109]
7720         * elf/dl-tunable-types.h (tunable_callback_t): Accept
7721         tunable_val_t as argument.
7722         * elf/dl-tunables.c (__tunable_set_val): Add comment.
7723         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
7724         argument.
7725         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
7727 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
7729         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
7730         Add PTRACE_EVENT_STOP.
7731         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7732         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7733         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7734         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7735         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
7736         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
7738 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
7740         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
7741         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
7742         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
7743         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
7744         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
7745         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
7746         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
7747         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
7748         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
7749         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
7751         [BZ #21112]
7752         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
7753         12 bits zero.
7754         (cp_l): Update for new value of cp_h.
7755         * math/auto-libm-test-in: Add another test of pow.
7756         * math/auto-libm-test-out-pow: Regenerated.
7758 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7760         * manual/contrib.texi: Fix typo.
7762 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7764         [BZ #15998]
7765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7766         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7769 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7771         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
7772         STRCHR as __strchr_power8.
7773         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
7774         strlen as __strlen_power8.
7776 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7778         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
7779         unaligned load for shorter strings.
7780         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
7782 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7784         * math/libm-test-driver.c (flag_test_errno): New variable.
7785         (flag_test_exceptions): Likewise.
7786         (flag_test_finite): Likewise.
7787         (flag_test_inline): Likewise.
7788         (flag_test_mathvec): Likewise.
7789         (test_msg): Likewise.
7790         (ulp_idx): Likewise.
7791         (qtype_str): Likewise.
7792         (ULP_IDX): Remove macro.
7793         (QTYPE_STR): Likewise.
7794         (find_ulps): Use ulp_idx not ULP_IDX.
7795         (print_function_ulps): Use qtype_str, printed with %s, not
7796         QTYPE_STR, printed with concatentation to format string.
7797         (print_complex_function_ulps): Likewise.
7798         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
7799         (test_errno): Use flag_test_errno not TEST_ERRNO.
7800         (enable_test): Use flag_test_inline, flag_test_finite and
7801         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
7802         TEST_MATHVEC.
7803         (libm_test_init): New function.  Factored out of main.
7804         (libm_test_finish): Likewise.
7805         (main): Call libm_test_init and libm_test_finish and move most
7806         code to those functions.
7808         * math/libm-test-driver.c (STRX): New macro.
7809         (STR): Likewise.
7810         (STR_FLOAT): Likewise.
7811         (STR_VEC_LEN): Likewise.
7812         (TEST_MSG): Likewise.  Define here instead of expecting to be
7813         defined by including file.
7814         * math/test-double-finite.c (TEST_MSG): Remove macro.
7815         * math/test-double-vlen2.h (TEST_MSG): Likewise.
7816         * math/test-double-vlen4.h (TEST_MSG): Likewise.
7817         * math/test-double-vlen8.h (TEST_MSG): Likewise.
7818         * math/test-double.c (TEST_MSG): Likewise.
7819         * math/test-float-finite.c (TEST_MSG): Likewise.
7820         * math/test-float-vlen16.h (TEST_MSG): Likewise.
7821         * math/test-float-vlen4.h (TEST_MSG): Likewise.
7822         * math/test-float-vlen8.h (TEST_MSG): Likewise.
7823         * math/test-float.c (TEST_MSG): Likewise.
7824         * math/test-idouble.c (TEST_MSG): Likewise.
7825         * math/test-ifloat.c (TEST_MSG): Likewise.
7826         * math/test-ildouble.c (TEST_MSG): Likewise.
7827         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
7828         * math/test-ldouble.c (TEST_MSG): Likewise.
7830         * math/libm-test.inc: Move all tests of individual functions to
7831         libm-test-*.inc and #include libm-test-*.c files.
7832         (acos_test_data): Remove.
7833         (acos_test): Likewise.
7834         (acosh_test_data): Likewise.
7835         (acosh_test): Likewise.
7836         (asin_test_data): Likewise.
7837         (asin_test): Likewise.
7838         (asinh_test_data): Likewise.
7839         (asinh_test): Likewise.
7840         (atan_test_data): Likewise.
7841         (atan_test): Likewise.
7842         (atanh_test_data): Likewise.
7843         (atanh_test): Likewise.
7844         (atan2_test_data): Likewise.
7845         (atan2_test): Likewise.
7846         (cabs_test_data): Likewise.
7847         (cabs_test): Likewise.
7848         (cacos_test_data): Likewise.
7849         (cacos_test): Likewise.
7850         (cacosh_test_data): Likewise.
7851         (cacosh_test): Likewise.
7852         (canonicalize_test_data): Likewise.
7853         (canonicalize_test): Likewise.
7854         (carg_test_data): Likewise.
7855         (carg_test): Likewise.
7856         (casin_test_data): Likewise.
7857         (casin_test): Likewise.
7858         (casinh_test_data): Likewise.
7859         (casinh_test): Likewise.
7860         (catan_test_data): Likewise.
7861         (catan_test): Likewise.
7862         (catanh_test_data): Likewise.
7863         (catanh_test): Likewise.
7864         (cbrt_test_data): Likewise.
7865         (cbrt_test): Likewise.
7866         (ccos_test_data): Likewise.
7867         (ccos_test): Likewise.
7868         (ccosh_test_data): Likewise.
7869         (ccosh_test): Likewise.
7870         (ceil_test_data): Likewise.
7871         (ceil_test): Likewise.
7872         (cexp_test_data): Likewise.
7873         (cexp_test): Likewise.
7874         (cimag_test_data): Likewise.
7875         (cimag_test): Likewise.
7876         (clog_test_data): Likewise.
7877         (clog_test): Likewise.
7878         (clog10_test_data): Likewise.
7879         (clog10_test): Likewise.
7880         (conj_test_data): Likewise.
7881         (conj_test): Likewise.
7882         (copysign_test_data): Likewise.
7883         (copysign_test): Likewise.
7884         (cos_test_data): Likewise.
7885         (cos_test): Likewise.
7886         (cosh_test_data): Likewise.
7887         (cosh_test): Likewise.
7888         (cpow_test_data): Likewise.
7889         (cpow_test): Likewise.
7890         (cproj_test_data): Likewise.
7891         (cproj_test): Likewise.
7892         (creal_test_data): Likewise.
7893         (creal_test): Likewise.
7894         (csin_test_data): Likewise.
7895         (csin_test): Likewise.
7896         (csinh_test_data): Likewise.
7897         (csinh_test): Likewise.
7898         (csqrt_test_data): Likewise.
7899         (csqrt_test): Likewise.
7900         (ctan_test_data): Likewise.
7901         (ctan_test): Likewise.
7902         (ctanh_test_data): Likewise.
7903         (ctanh_test): Likewise.
7904         (erf_test_data): Likewise.
7905         (erf_test): Likewise.
7906         (erfc_test_data): Likewise.
7907         (erfc_test): Likewise.
7908         (exp_test_data): Likewise.
7909         (exp_test): Likewise.
7910         (exp10_test_data): Likewise.
7911         (exp10_test): Likewise.
7912         (pow10_test): Likewise.
7913         (exp2_test_data): Likewise.
7914         (exp2_test): Likewise.
7915         (expm1_test_data): Likewise.
7916         (expm1_test): Likewise.
7917         (fabs_test_data): Likewise.
7918         (fabs_test): Likewise.
7919         (fdim_test_data): Likewise.
7920         (fdim_test): Likewise.
7921         (floor_test_data): Likewise.
7922         (floor_test): Likewise.
7923         (fma_test_data): Likewise.
7924         (fma_test): Likewise.
7925         (fmax_test_data): Likewise.
7926         (fmax_test): Likewise.
7927         (fmaxmag_test_data): Likewise.
7928         (fmaxmag_test): Likewise.
7929         (fmin_test_data): Likewise.
7930         (fmin_test): Likewise.
7931         (fminmag_test_data): Likewise.
7932         (fminmag_test): Likewise.
7933         (fmod_test_data): Likewise.
7934         (fmod_test): Likewise.
7935         (fpclassify_test_data): Likewise.
7936         (fpclassify_test): Likewise.
7937         (frexp_test_data): Likewise.
7938         (frexp_test): Likewise.
7939         (fromfp_test_data): Likewise.
7940         (fromfp_test): Likewise.
7941         (fromfpx_test_data): Likewise.
7942         (fromfpx_test): Likewise.
7943         (getpayload_test_data): Likewise.
7944         (getpayload_test): Likewise.
7945         (hypot_test_data): Likewise.
7946         (hypot_test): Likewise.
7947         (ilogb_test_data): Likewise.
7948         (ilogb_test): Likewise.
7949         (iscanonical_test_data): Likewise.
7950         (iscanonical_test): Likewise.
7951         (iseqsig_test_data): Likewise.
7952         (iseqsig_test): Likewise.
7953         (isfinite_test_data): Likewise.
7954         (isfinite_test): Likewise.
7955         (finite_test): Likewise.
7956         (isgreater_test_data): Likewise.
7957         (isgreater_test): Likewise.
7958         (isgreaterequal_test_data): Likewise.
7959         (isgreaterequal_test): Likewise.
7960         (isinf_test_data): Likewise.
7961         (isinf_test): Likewise.
7962         (isless_test_data): Likewise.
7963         (isless_test): Likewise.
7964         (islessequal_test_data): Likewise.
7965         (islessequal_test): Likewise.
7966         (islessgreater_test_data): Likewise.
7967         (islessgreater_test): Likewise.
7968         (isnan_test_data): Likewise.
7969         (isnan_test): Likewise.
7970         (isnormal_test_data): Likewise.
7971         (isnormal_test): Likewise.
7972         (issignaling_test_data): Likewise.
7973         (issignaling_test): Likewise.
7974         (issubnormal_test_data): Likewise.
7975         (issubnormal_test): Likewise.
7976         (isunordered_test_data): Likewise.
7977         (isunordered_test): Likewise.
7978         (iszero_test_data): Likewise.
7979         (iszero_test): Likewise.
7980         (j0_test_data): Likewise.
7981         (j0_test): Likewise.
7982         (j1_test_data): Likewise.
7983         (j1_test): Likewise.
7984         (jn_test_data): Likewise.
7985         (jn_test): Likewise.
7986         (lgamma_test_data): Likewise.
7987         (lgamma_test): Likewise.
7988         (gamma_test): Likewise.
7989         (llogb_test_data): Likewise.
7990         (llogb_test): Likewise.
7991         (lrint_test_data): Likewise.
7992         (lrint_test): Likewise.
7993         (llrint_test_data): Likewise.
7994         (llrint_test): Likewise.
7995         (log_test_data): Likewise.
7996         (log_test): Likewise.
7997         (log10_test_data): Likewise.
7998         (log10_test): Likewise.
7999         (log1p_test_data): Likewise.
8000         (log1p_test): Likewise.
8001         (log2_test_data): Likewise.
8002         (log2_test): Likewise.
8003         (logb_test_data): Likewise.
8004         (logb_test): Likewise.
8005         (lround_test_data): Likewise.
8006         (lround_test): Likewise.
8007         (llround_test_data): Likewise.
8008         (llround_test): Likewise.
8009         (modf_test_data): Likewise.
8010         (modf_test): Likewise.
8011         (nearbyint_test_data): Likewise.
8012         (nearbyint_test): Likewise.
8013         (nextafter_test_data): Likewise.
8014         (nextafter_test): Likewise.
8015         (nextup_test_data): Likewise.
8016         (nextup_test): Likewise.
8017         (nextdown_test_data): Likewise.
8018         (nextdown_test): Likewise.
8019         (nexttoward_test_data): Likewise.
8020         (nexttoward_test): Likewise.
8021         (pow_test_data): Likewise.
8022         (pow_test): Likewise.
8023         (remainder_test_data): Likewise.
8024         (remainder_test): Likewise.
8025         (drem_test): Likewise.
8026         (remquo_test_data): Likewise.
8027         (remquo_test): Likewise.
8028         (rint_test_data): Likewise.
8029         (rint_test): Likewise.
8030         (round_test_data): Likewise.
8031         (round_test): Likewise.
8032         (roundeven_test_data): Likewise.
8033         (roundeven_test): Likewise.
8034         (scalb_test_data): Likewise.
8035         (scalb_test): Likewise.
8036         (scalbn_test_data): Likewise.
8037         (scalbn_test): Likewise.
8038         (ldexp_test): Likewise.
8039         (scalbln_test_data): Likewise.
8040         (scalbln_test): Likewise.
8041         (setpayload_test_data): Likewise.
8042         (setpayload_test): Likewise.
8043         (setpayloadsig_test_data): Likewise.
8044         (setpayloadsig_test): Likewise.
8045         (signbit_test_data): Likewise.
8046         (signbit_test): Likewise.
8047         (sin_test_data): Likewise.
8048         (sin_test): Likewise.
8049         (sincos_test_data): Likewise.
8050         (sincos_test): Likewise.
8051         (sinh_test_data): Likewise.
8052         (sinh_test): Likewise.
8053         (sqrt_test_data): Likewise.
8054         (sqrt_test): Likewise.
8055         (tan_test_data): Likewise.
8056         (tan_test): Likewise.
8057         (tanh_test_data): Likewise.
8058         (tanh_test): Likewise.
8059         (tgamma_test_data): Likewise.
8060         (tgamma_test): Likewise.
8061         (totalorder_test_data): Likewise.
8062         (totalorder_test): Likewise.
8063         (totalordermag_test_data): Likewise.
8064         (totalordermag_test): Likewise.
8065         (trunc_test_data): Likewise.
8066         (trunc_test): Likewise.
8067         (ufromfp_test_data): Likewise.
8068         (ufromfp_test): Likewise.
8069         (ufromfpx_test_data): Likewise.
8070         (ufromfpx_test): Likewise.
8071         (y0_test_data): Likewise.
8072         (y0_test): Likewise.
8073         (y1_test_data): Likewise.
8074         (y1_test): Likewise.
8075         (yn_test_data): Likewise.
8076         (yn_test): Likewise.
8077         (significand_test_data): Likewise.
8078         (significand_test): Likewise.
8079         * math/Makefile (auto-libm-test-out-files): Remove variable.
8080         (libm-test-funcs-noauto): New variable.
8081         (libm-test-funcs-all): Likewise.
8082         (libm-test-c-auto): Likewise.
8083         (libm-test-c-noauto): Likewise.
8084         (libm-tests-generated): Add $(libm-test-c-auto) and
8085         $(libm-test-c-noauto).
8086         (generated): Do not add auto-libm-test-out.
8087         (libm-test-c-auto-obj): New variable.
8088         (libm-test-c-noauto-obj): Likewise.
8089         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
8090         ($(libm-test-c-noauto-obj)): New static pattern rule.
8091         ($(libm-test-c-auto-obj)): Likewise.
8092         (libm-test-incs): New variable.
8093         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
8094         and pass it to gen-libm-have-vector-test.sh.
8095         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
8096         be passed on command line.
8097         * math/libm-test-acos.inc: New file.  Content from
8098         math/libm-test.inc.
8099         * math/libm-test-acosh.inc: Likewise.
8100         * math/libm-test-asin.inc: Likewise.
8101         * math/libm-test-asinh.inc: Likewise.
8102         * math/libm-test-atan.inc: Likewise.
8103         * math/libm-test-atan2.inc: Likewise.
8104         * math/libm-test-atanh.inc: Likewise.
8105         * math/libm-test-cabs.inc: Likewise.
8106         * math/libm-test-cacos.inc: Likewise.
8107         * math/libm-test-cacosh.inc: Likewise.
8108         * math/libm-test-canonicalize.inc: Likewise.
8109         * math/libm-test-carg.inc: Likewise.
8110         * math/libm-test-casin.inc: Likewise.
8111         * math/libm-test-casinh.inc: Likewise.
8112         * math/libm-test-catan.inc: Likewise.
8113         * math/libm-test-catanh.inc: Likewise.
8114         * math/libm-test-cbrt.inc: Likewise.
8115         * math/libm-test-ccos.inc: Likewise.
8116         * math/libm-test-ccosh.inc: Likewise.
8117         * math/libm-test-ceil.inc: Likewise.
8118         * math/libm-test-cexp.inc: Likewise.
8119         * math/libm-test-cimag.inc: Likewise.
8120         * math/libm-test-clog.inc: Likewise.
8121         * math/libm-test-clog10.inc: Likewise.
8122         * math/libm-test-conj.inc: Likewise.
8123         * math/libm-test-copysign.inc: Likewise.
8124         * math/libm-test-cos.inc: Likewise.
8125         * math/libm-test-cosh.inc: Likewise.
8126         * math/libm-test-cpow.inc: Likewise.
8127         * math/libm-test-cproj.inc: Likewise.
8128         * math/libm-test-creal.inc: Likewise.
8129         * math/libm-test-csin.inc: Likewise.
8130         * math/libm-test-csinh.inc: Likewise.
8131         * math/libm-test-csqrt.inc: Likewise.
8132         * math/libm-test-ctan.inc: Likewise.
8133         * math/libm-test-ctanh.inc: Likewise.
8134         * math/libm-test-erf.inc: Likewise.
8135         * math/libm-test-erfc.inc: Likewise.
8136         * math/libm-test-exp.inc: Likewise.
8137         * math/libm-test-exp10.inc: Likewise.
8138         * math/libm-test-exp2.inc: Likewise.
8139         * math/libm-test-expm1.inc: Likewise.
8140         * math/libm-test-fabs.inc: Likewise.
8141         * math/libm-test-fdim.inc: Likewise.
8142         * math/libm-test-floor.inc: Likewise.
8143         * math/libm-test-fma.inc: Likewise.
8144         * math/libm-test-fmax.inc: Likewise.
8145         * math/libm-test-fmaxmag.inc: Likewise.
8146         * math/libm-test-fmin.inc: Likewise.
8147         * math/libm-test-fminmag.inc: Likewise.
8148         * math/libm-test-fmod.inc: Likewise.
8149         * math/libm-test-fpclassify.inc: Likewise.
8150         * math/libm-test-frexp.inc: Likewise.
8151         * math/libm-test-fromfp.inc: Likewise.
8152         * math/libm-test-fromfpx.inc: Likewise.
8153         * math/libm-test-getpayload.inc: Likewise.
8154         * math/libm-test-hypot.inc: Likewise.
8155         * math/libm-test-ilogb.inc: Likewise.
8156         * math/libm-test-iscanonical.inc: Likewise.
8157         * math/libm-test-iseqsig.inc: Likewise.
8158         * math/libm-test-isfinite.inc: Likewise.
8159         * math/libm-test-isgreater.inc: Likewise.
8160         * math/libm-test-isgreaterequal.inc: Likewise.
8161         * math/libm-test-isinf.inc: Likewise.
8162         * math/libm-test-isless.inc: Likewise.
8163         * math/libm-test-islessequal.inc: Likewise.
8164         * math/libm-test-islessgreater.inc: Likewise.
8165         * math/libm-test-isnan.inc: Likewise.
8166         * math/libm-test-isnormal.inc: Likewise.
8167         * math/libm-test-issignaling.inc: Likewise.
8168         * math/libm-test-issubnormal.inc: Likewise.
8169         * math/libm-test-isunordered.inc: Likewise.
8170         * math/libm-test-iszero.inc: Likewise.
8171         * math/libm-test-j0.inc: Likewise.
8172         * math/libm-test-j1.inc: Likewise.
8173         * math/libm-test-jn.inc: Likewise.
8174         * math/libm-test-lgamma.inc: Likewise.
8175         * math/libm-test-llogb.inc: Likewise.
8176         * math/libm-test-llrint.inc: Likewise.
8177         * math/libm-test-llround.inc: Likewise.
8178         * math/libm-test-log.inc: Likewise.
8179         * math/libm-test-log10.inc: Likewise.
8180         * math/libm-test-log1p.inc: Likewise.
8181         * math/libm-test-log2.inc: Likewise.
8182         * math/libm-test-logb.inc: Likewise.
8183         * math/libm-test-lrint.inc: Likewise.
8184         * math/libm-test-lround.inc: Likewise.
8185         * math/libm-test-modf.inc: Likewise.
8186         * math/libm-test-nearbyint.inc: Likewise.
8187         * math/libm-test-nextafter.inc: Likewise.
8188         * math/libm-test-nextdown.inc: Likewise.
8189         * math/libm-test-nexttoward.inc: Likewise.
8190         * math/libm-test-nextup.inc: Likewise.
8191         * math/libm-test-pow.inc: Likewise.
8192         * math/libm-test-remainder.inc: Likewise.
8193         * math/libm-test-remquo.inc: Likewise.
8194         * math/libm-test-rint.inc: Likewise.
8195         * math/libm-test-round.inc: Likewise.
8196         * math/libm-test-roundeven.inc: Likewise.
8197         * math/libm-test-scalb.inc: Likewise.
8198         * math/libm-test-scalbln.inc: Likewise.
8199         * math/libm-test-scalbn.inc: Likewise.
8200         * math/libm-test-setpayload.inc: Likewise.
8201         * math/libm-test-setpayloadsig.inc: Likewise.
8202         * math/libm-test-signbit.inc: Likewise.
8203         * math/libm-test-significand.inc: Likewise.
8204         * math/libm-test-sin.inc: Likewise.
8205         * math/libm-test-sincos.inc: Likewise.
8206         * math/libm-test-sinh.inc: Likewise.
8207         * math/libm-test-sqrt.inc: Likewise.
8208         * math/libm-test-tan.inc: Likewise.
8209         * math/libm-test-tanh.inc: Likewise.
8210         * math/libm-test-tgamma.inc: Likewise.
8211         * math/libm-test-totalorder.inc: Likewise.
8212         * math/libm-test-totalordermag.inc: Likewise.
8213         * math/libm-test-trunc.inc: Likewise.
8214         * math/libm-test-ufromfp.inc: Likewise.
8215         * math/libm-test-ufromfpx.inc: Likewise.
8216         * math/libm-test-y0.inc: Likewise.
8217         * math/libm-test-y1.inc: Likewise.
8218         * math/libm-test-yn.inc: Likewise.
8219         * math/README.libm-test: Update.
8221         * math/gen-auto-libm-tests.c: Update comment about use of program.
8222         (generate_output): Add argument FUNCTION.
8223         (main): Require extra argument.  Pass function name to
8224         generate_output.
8225         * math/Makefile (generated): Add auto-libm-test-out.
8226         (libm-test-funcs-auto): New variable.
8227         (auto-libm-test-out-files): New variable.
8228         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
8229         Concatenate those files to form $(objpfx)auto-libm-test-out and
8230         use it as input to gen-libm-test.pl.
8231         * math/README.libm-test: Update.
8232         * math/auto-libm-test-out: Remove.
8233         * math/auto-libm-test-out-acos: New generated file.
8234         * math/auto-libm-test-out-acosh: Likewise.
8235         * math/auto-libm-test-out-asin: Likewise.
8236         * math/auto-libm-test-out-asinh: Likewise.
8237         * math/auto-libm-test-out-atan: Likewise.
8238         * math/auto-libm-test-out-atan2: Likewise.
8239         * math/auto-libm-test-out-atanh: Likewise.
8240         * math/auto-libm-test-out-cabs: Likewise.
8241         * math/auto-libm-test-out-carg: Likewise.
8242         * math/auto-libm-test-out-cbrt: Likewise.
8243         * math/auto-libm-test-out-ccos: Likewise.
8244         * math/auto-libm-test-out-ccosh: Likewise.
8245         * math/auto-libm-test-out-cexp: Likewise.
8246         * math/auto-libm-test-out-clog: Likewise.
8247         * math/auto-libm-test-out-clog10: Likewise.
8248         * math/auto-libm-test-out-cos: Likewise.
8249         * math/auto-libm-test-out-cosh: Likewise.
8250         * math/auto-libm-test-out-cpow: Likewise.
8251         * math/auto-libm-test-out-csin: Likewise.
8252         * math/auto-libm-test-out-csinh: Likewise.
8253         * math/auto-libm-test-out-csqrt: Likewise.
8254         * math/auto-libm-test-out-ctan: Likewise.
8255         * math/auto-libm-test-out-ctanh: Likewise.
8256         * math/auto-libm-test-out-erf: Likewise.
8257         * math/auto-libm-test-out-erfc: Likewise.
8258         * math/auto-libm-test-out-exp: Likewise.
8259         * math/auto-libm-test-out-exp10: Likewise.
8260         * math/auto-libm-test-out-exp2: Likewise.
8261         * math/auto-libm-test-out-expm1: Likewise.
8262         * math/auto-libm-test-out-fma: Likewise.
8263         * math/auto-libm-test-out-hypot: Likewise.
8264         * math/auto-libm-test-out-j0: Likewise.
8265         * math/auto-libm-test-out-j1: Likewise.
8266         * math/auto-libm-test-out-jn: Likewise.
8267         * math/auto-libm-test-out-lgamma: Likewise.
8268         * math/auto-libm-test-out-log: Likewise.
8269         * math/auto-libm-test-out-log10: Likewise.
8270         * math/auto-libm-test-out-log1p: Likewise.
8271         * math/auto-libm-test-out-log2: Likewise.
8272         * math/auto-libm-test-out-pow: Likewise.
8273         * math/auto-libm-test-out-sin: Likewise.
8274         * math/auto-libm-test-out-sincos: Likewise.
8275         * math/auto-libm-test-out-sinh: Likewise.
8276         * math/auto-libm-test-out-sqrt: Likewise.
8277         * math/auto-libm-test-out-tan: Likewise.
8278         * math/auto-libm-test-out-tanh: Likewise.
8279         * math/auto-libm-test-out-tgamma: Likewise.
8280         * math/auto-libm-test-out-y0: Likewise.
8281         * math/auto-libm-test-out-y1: Likewise.
8282         * math/auto-libm-test-out-yn: Likewise.
8284         * math/Makefile (generated): Do not include libm-test.stmp.
8285         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
8286         on $(objpfx)libm-test.stmp.
8287         ($(objpfx)libm-test.stmp): Remove rule.
8288         ($(objpfx)libm-test-ulps.h): New rule.
8289         ($(objpfx)libm-test.c): Likewise.
8290         ($(objpfx)libm-have-vector-test.h): Likewise.
8291         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
8292         individual generated files, not libm-test.stmp.
8294         * math/gen-libm-test.pl ($output_dir): Remove variable.
8295         ($srcdir): Likewise.
8296         ($opt_a): New variable.
8297         ($opt_c): Likewise.
8298         ($opt_C): Likewise.
8299         ($opt_H): Likewise.
8300         (-n): Make option take argument and use it as NewUlps output.
8301         (-a): New option.  Use its argument for auto-libm-test-out input.
8302         (-c): New option.  Use its argument for libm-test.inc input.
8303         (-C): New option.  Use its argument for libm-test.c output.
8304         (-H): New option.  Use its argument for libm-test-ulps.h output.
8305         (top level): Only process inputs needed to generate outputs
8306         specified by command-line options.  Only generate outputs
8307         specified by command-line options.
8308         * math/README.libm-test: Update example gen-libm-test.pl command.
8309         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
8310         commands.
8311         (regen-ulps): Likewise.
8313 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
8315         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
8316         * include/string.h (index): Remove define.
8317         (rindex): Likewise.
8318         * misc/getttyent.c (__getttyent): Rename index to strchr.
8319         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
8320         * sunrpc/rpc_main.c (mkfile_output): Likewise.
8322 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8324         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
8325         * math/libm-test.inc: Move all contents, other than tests of
8326         individual functions, to libm-test-driver.c.
8327         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
8328         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
8329         [!FE_UPWARD] (FE_UPWARD): Likewise.
8330         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
8331         (NO_EXCEPTION): Likewise.
8332         (INVALID_EXCEPTION): Likewise.
8333         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8334         (OVERFLOW_EXCEPTION): Likewise.
8335         (UNDERFLOW_EXCEPTION): Likewise.
8336         (INEXACT_EXCEPTION): Likewise.
8337         (INVALID_EXCEPTION_OK): Likewise.
8338         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8339         (OVERFLOW_EXCEPTION_OK): Likewise.
8340         (UNDERFLOW_EXCEPTION_OK): Likewise.
8341         (NO_INEXACT_EXCEPTION): Likewise.
8342         (EXCEPTIONS_OK): Likewise.
8343         (IGNORE_ZERO_INF_SIGN): Likewise.
8344         (TEST_NAN_SIGN): Likewise.
8345         (TEST_NAN_PAYLOAD): Likewise.
8346         (NO_TEST_INLINE): Likewise.
8347         (XFAIL_TEST): Likewise.
8348         (ERRNO_UNCHANGED): Likewise.
8349         (ERRNO_EDOM): Likewise.
8350         (ERRNO_ERANGE): Likewise.
8351         (IGNORE_RESULT): Likewise.
8352         (NON_FINITE): Likewise.
8353         (TEST_SNAN): Likewise.
8354         (NO_TEST_MATHVEC): Likewise.
8355         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
8356         (__CONCATX): Likewise.
8357         (TYPE_MIN): Likewise.
8358         (TYPE_TRUE_MIN): Likewise.
8359         (TYPE_MAX): Likewise.
8360         (MIN_EXP): Likewise.
8361         (MAX_EXP): Likewise.
8362         (MANT_DIG): Likewise.
8363         (FSTR_MAX): Likewise.
8364         (ULP_IDX): Likewise.
8365         (QTYPE_STR): Likewise.
8366         (TEST_COND_binary32): Likewise.
8367         (TEST_COND_binary64): Likewise.
8368         (TEST_COND_binary128): Likewise.
8369         (TEST_COND_ibm128): Likewise.
8370         (TEST_COND_intel96): Likewise.
8371         (TEST_COND_m68k96): Likewise.
8372         (TEST_COND_ibm128_libgcc): Likewise.
8373         (XFAIL_IBM128_LIBGCC): Likewise.
8374         (PAYLOAD_DIG): Likewise.
8375         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8376         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8377         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8378         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8379         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8380         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8381         (TEST_COND_long32): Likewise.
8382         (TEST_COND_long64): Likewise.
8383         (TEST_COND_before_rounding): Likewise.
8384         (TEST_COND_after_rounding): Likewise.
8385         (lit_pi_3_m_4_d): Likewise.
8386         (lit_pi_3_m_4_ln10_m_d): Likewise.
8387         (lit_pi_2_ln10_m_d): Likewise.
8388         (lit_pi_4_ln10_m_d): Likewise.
8389         (lit_pi_ln10_d): Likewise.
8390         (lit_pi_2_d): Likewise.
8391         (lit_pi_4_d): Likewise.
8392         (lit_pi): Likewise.
8393         (lit_e): Likewise.
8394         (ulps_file_name): Likewise.
8395         (ulps_file): Likewise.
8396         (output_ulps): Likewise.
8397         (output_dir): Likewise.
8398         (noErrors): Likewise.
8399         (noTests): Likewise.
8400         (noExcTests): Likewise.
8401         (noErrnoTests): Likewise.
8402         (verbose): Likewise.
8403         (output_max_error): Likewise.
8404         (output_points): Likewise.
8405         (ignore_max_ulp): Likewise.
8406         (plus_zero): Likewise.
8407         (minus_zero): Likewise.
8408         (plus_infty): Likewise.
8409         (minus_infty): Likewise.
8410         (qnan_value_pl): Likewise.
8411         (qnan_value): Likewise.
8412         (snan_value_pl): Likewise.
8413         (snan_value): Likewise.
8414         (max_value): Likewise.
8415         (min_value): Likewise.
8416         (min_subnorm_value): Likewise.
8417         (snan_value_ld): Likewise.
8418         (max_error): Likewise.
8419         (real_max_error): Likewise.
8420         (imag_max_error): Likewise.
8421         (prev_max_error): Likewise.
8422         (prev_real_max_error): Likewise.
8423         (prev_imag_max_error): Likewise.
8424         (max_valid_error): Likewise.
8425         (TYPE_DECIMAL_DIG): Likewise.
8426         (TYPE_HEX_DIG): Likewise.
8427         (fmt_ftostr): Likewise.
8428         (compare_ulp_data): Likewise.
8429         (find_ulps): Likewise.
8430         (init_max_error): Likewise.
8431         (set_max_error): Likewise.
8432         (print_float): Likewise.
8433         (print_screen): Likewise.
8434         (print_screen_max_error): Likewise.
8435         (update_stats): Likewise.
8436         (print_function_ulps): Likewise.
8437         (print_complex_function_ulps): Likewise.
8438         (fpstack_test): Likewise.
8439         (print_max_error): Likewise.
8440         (print_complex_max_error): Likewise.
8441         (test_single_exception): Likewise.
8442         (test_exceptions): Likewise.
8443         (test_single_errno): Likewise.
8444         (test_errno): Likewise.
8445         (ULPDIFF): Likewise.
8446         (ulp): Likewise.
8447         (check_float_internal): Likewise.
8448         (check_float): Likewise.
8449         (check_complex): Likewise.
8450         (check_int): Likewise.
8451         (check_long): Likewise.
8452         (check_bool): Likewise.
8453         (check_longlong): Likewise.
8454         (check_intmax_t): Likewise.
8455         (check_uintmax_t): Likewise.
8456         (enable_test): Likewise.
8457         (struct test_f_f_data): Likewise.
8458         (struct test_ff_f_data): Likewise.
8459         (struct test_fj_f_data): Likewise.
8460         (struct test_fi_f_data): Likewise.
8461         (struct test_fl_f_data): Likewise.
8462         (struct test_if_f_data): Likewise.
8463         (struct test_fff_f_data): Likewise.
8464         (struct test_fiu_M_data): Likewise.
8465         (struct test_fiu_U_data): Likewise.
8466         (struct test_c_f_data): Likewise.
8467         (struct test_f_f1_data): Likewise.
8468         (struct test_fF_f1_data): Likewise.
8469         (struct test_ffI_f1_data): Likewise.
8470         (struct test_c_c_data): Likewise.
8471         (struct test_cc_c_data): Likewise.
8472         (struct test_f_i_data): Likewise.
8473         (struct test_ff_i_data): Likewise.
8474         (struct test_f_l_data): Likewise.
8475         (struct test_f_L_data): Likewise.
8476         (struct test_fFF_11_data): Likewise.
8477         (struct test_Ff_b1_data): Likewise.
8478         (IF_ROUND_INIT_): Likewise.
8479         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8480         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8481         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8482         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8483         (ROUND_RESTORE_): Likewise.
8484         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8485         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8486         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8487         (ROUND_RESTORE_FE_UPWARD): Likewise.
8488         (RM_): Likewise.
8489         (RM_FE_DOWNWARD): Likewise.
8490         (RM_FE_TONEAREST): Likewise.
8491         (RM_FE_TOWARDZERO): Likewise.
8492         (RM_FE_UPWARD): Likewise.
8493         (COMMON_TEST_SETUP): Likewise.
8494         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8495         (COMMON_TEST_CLEANUP): Likewise.
8496         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8497         (RUN_TEST_f_f): Likewise.
8498         (RUN_TEST_LOOP_f_f): Likewise.
8499         (RUN_TEST_fp_f): Likewise.
8500         (RUN_TEST_LOOP_fp_f): Likewise.
8501         (RUN_TEST_2_f): Likewise.
8502         (RUN_TEST_LOOP_2_f): Likewise.
8503         (RUN_TEST_ff_f): Likewise.
8504         (RUN_TEST_LOOP_ff_f): Likewise.
8505         (RUN_TEST_LOOP_fj_f): Likewise.
8506         (RUN_TEST_fi_f): Likewise.
8507         (RUN_TEST_LOOP_fi_f): Likewise.
8508         (RUN_TEST_fl_f): Likewise.
8509         (RUN_TEST_LOOP_fl_f): Likewise.
8510         (RUN_TEST_if_f): Likewise.
8511         (RUN_TEST_LOOP_if_f): Likewise.
8512         (RUN_TEST_fff_f): Likewise.
8513         (RUN_TEST_LOOP_fff_f): Likewise.
8514         (RUN_TEST_fiu_M): Likewise.
8515         (RUN_TEST_LOOP_fiu_M): Likewise.
8516         (RUN_TEST_fiu_U): Likewise.
8517         (RUN_TEST_LOOP_fiu_U): Likewise.
8518         (RUN_TEST_c_f): Likewise.
8519         (RUN_TEST_LOOP_c_f): Likewise.
8520         (RUN_TEST_f_f1): Likewise.
8521         (RUN_TEST_LOOP_f_f1): Likewise.
8522         (RUN_TEST_fF_f1): Likewise.
8523         (RUN_TEST_LOOP_fF_f1): Likewise.
8524         (RUN_TEST_fI_f1): Likewise.
8525         (RUN_TEST_LOOP_fI_f1): Likewise.
8526         (RUN_TEST_ffI_f1_mod8): Likewise.
8527         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
8528         (RUN_TEST_Ff_b1): Likewise.
8529         (RUN_TEST_LOOP_Ff_b1): Likewise.
8530         (RUN_TEST_Ffp_b1): Likewise.
8531         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8532         (RUN_TEST_c_c): Likewise.
8533         (RUN_TEST_LOOP_c_c): Likewise.
8534         (RUN_TEST_cc_c): Likewise.
8535         (RUN_TEST_LOOP_cc_c): Likewise.
8536         (RUN_TEST_f_i): Likewise.
8537         (RUN_TEST_LOOP_f_i): Likewise.
8538         (RUN_TEST_f_i_tg): Likewise.
8539         (RUN_TEST_LOOP_f_i_tg): Likewise.
8540         (RUN_TEST_ff_b): Likewise.
8541         (RUN_TEST_LOOP_ff_b): Likewise.
8542         (RUN_TEST_ff_i_tg): Likewise.
8543         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8544         (RUN_TEST_f_b): Likewise.
8545         (RUN_TEST_LOOP_f_b): Likewise.
8546         (RUN_TEST_f_b_tg): Likewise.
8547         (RUN_TEST_LOOP_f_b_tg): Likewise.
8548         (RUN_TEST_f_l): Likewise.
8549         (RUN_TEST_LOOP_f_l): Likewise.
8550         (RUN_TEST_f_L): Likewise.
8551         (RUN_TEST_LOOP_f_L): Likewise.
8552         (RUN_TEST_fFF_11): Likewise.
8553         (RUN_TEST_LOOP_fFF_11): Likewise.
8554         (VEC_SUFF): Likewise.
8555         (STR_CONCAT): Likewise.
8556         (STR_CON3): Likewise.
8557         (HAVE_VECTOR): Likewise.
8558         (START): Likewise.
8559         (END): Likewise.
8560         (END_COMPLEX): Likewise.
8561         (ALL_RM_TEST): Likewise.
8562         (matherr): Likewise.
8563         (initialize): Likewise.
8564         (options): Likewise.
8565         (doc): Likewise.
8566         (parse_opt): Likewise.
8567         (argp): Likewise.
8568         (check_ulp): Likewise.
8569         (main): Likewise.
8570         (do_test): New function.  Call tests of individual functions
8571         previously called from main.
8573         * math/libm-test.inc: Remove comment listing functions tested and
8574         not tested.
8576 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8578         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
8579         (allocate_stack): Remove COLORING_INCREMENT usage.
8580         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
8581         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
8583 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8585         * manual/libm-err-tab.pl (@all_functions): Change to
8586         %all_functions.  Initialize as empty.
8587         (parse_ulps): Add to %all_functions based on functions found in
8588         ulps files.  Ignore results for non-default rounding modes and
8589         vector functions.
8590         (print_platforms): Use %all_platforms.
8591         * manual/math.texi (Errors in Math Functions): Document omissions
8592         from the table.
8594         * math/Makefile (before-compile): Remove.
8596 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
8598         [BZ #21075]
8599         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
8600         unused assignment.
8601         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8603 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8605         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
8606         Add __glibc_unlikely hint.
8608 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8610         [BZ #16640]
8611         * sysdeps/i386/i686/strtok.S: Remove file.
8612         * sysdeps/i386/i686/strtok_r.S: Likewise.
8613         * sysdeps/i386/strtok.S: Likewise.
8614         * sysdeps/i386/strtok_r.S: Likewise.
8615         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
8616         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
8617         * sysdeps/x86_64/strtok.S: Likewise.
8618         * sysdeps/x86_64/strtok_r.S: Likewise.
8620         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
8621         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8622         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8623         (__ASSUME_FADVISE64_AS_64_64): Define.
8624         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
8625         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
8626         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
8627         __ALIGNMENT_ARG usage.
8628         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
8629         __NR_fadvise64_64 if it is not defined.
8631 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8633         * version.h (RELEASE): Set to "development"
8634         (VERSION): Set to 2.25.90.
8635         * NEWS: Add 2.26 section.
8637         * version.h (RELEASE): Set to "stable"
8638         (VERSION): Set to 2.25.
8639         * include/features.h (__GLIBC_MINOR__): Set to 25.
8641         * manual/contrib.texi: Add more contributors from this release
8642         and past releases.
8644         * NEWS (2.25): Add list of bugs fixed.
8646         * NEWS: Add missing news items.
8648 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8650         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
8651         parent if child exited in that manner.  Print WEXITSTATUS
8652         instead of the raw status.
8653         (do_test_prep): Rename to do_test.
8654         (do_test): Return the result of run_executable_sgid.
8655         (TEST_FUNCTION_ARGV): Adjust.
8657 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
8658             Florian Weimer  <fweimer@redhat.com>
8659             Carlos O'Donell  <carlos@redhat.com>
8661         [BZ #20915]
8662         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
8663         Do not initialize DTV.
8664         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8666 2017-02-03  David S. Miller  <davem@davemloft.net>
8668         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
8669         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8670         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
8671         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8672         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
8673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
8675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8676         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8677         (libm-sysdep_routines): Update.
8678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
8679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
8680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
8681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
8682         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
8683         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
8684         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
8685         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
8686         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
8687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
8688         Likewise.
8689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
8691         Likewise.
8692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
8694         Likewise.
8695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
8697         Likewise.
8698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8700         (libm-sysdep_routines): Update.
8702 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
8704         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
8705         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
8706         against unrelocated shared library.
8707         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8709 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8711         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
8712         * elf/tst-env-setuid-tunables.c
8713         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
8714         GLIBC_TUNABLES is removed in a setgid process.
8716         [BZ #21073]
8717         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
8718         * elf/dl-tunables.c (tunables_strdup): Remove.
8719         (get_next_env): Also return the previous envp.
8720         (parse_tunables): Erase tunables of category
8721         TUNABLES_SECLEVEL_SXID_ERASE.
8722         (maybe_enable_malloc_check): Make MALLOC_CHECK_
8723         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
8724         (__tunables_init)[TUNABLES_FRONTEND ==
8725         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
8726         after parsing.
8727         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
8728         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
8729         * elf/dl-tunables.h (struct _tunable): Change member is_secure
8730         to security_level.
8731         * elf/dl-tunables.list: Add security_level annotations for all
8732         tunables.
8733         * scripts/gen-tunables.awk: Recognize and generate enum values
8734         for security_level.
8735         * elf/tst-env-setuid.c: New test case.
8736         * elf/tst-env-setuid-tunables: new test case.
8737         * elf/Makefile (tests-static): Add them.
8739 2017-02-01  Richard Henderson  <rth@twiddle.net>
8741         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
8742         adjusting the byte count.
8744 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
8746         * conform/Makefile (linknamespace-libs): Define.
8748         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
8749         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
8750         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
8751         operands.
8753 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
8755         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
8757 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
8759         [BZ #21081]
8760         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8761         (L(stosb)): Add VZEROUPPER before ret.
8763 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
8764             Alexey Makhalov <amakhalov@vmware.com>
8765             Florian Weimer <fweimer@redhat.com>
8767         [BZ #20116]
8768         * nptl/pthread_create.c: Document concurrency notes.
8769         Enhance thread creation notes.
8770         (create_thread): Use bool *stopped_start.
8771         (START_THREAD_DEFN): Comment ownership of PD.
8772         (__pthread_create_2_1): Add local bool stopped_start and use
8773         that instead of pd->stopped_start where appropriate.
8774         * nptl/createthread.c (create_thread): Use bool *stopped_start.
8775         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
8776         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8777         * nptl/tst-create-detached.c: New file.
8778         * nptl/Makefile (tests): Add tst-create-detached.
8779         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
8780         Reference the enhanced thread creation notes.
8781         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
8782         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8783         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
8784         (__pthread_current_priority): Likewise.
8785         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
8786         xpthread_attr_init, xpthread_attr_setdetachstate, and
8787         xpthread_attr_setstacksize.
8788         * support/xpthread_attr_destroy.c: New file.
8789         * support/xpthread_attr_init.c: New file.
8790         * support/xpthread_attr_setdetachstate.c: New file.
8791         * support/xpthread_attr_setstacksize.c: New file.
8792         * support/xthread.h: Define prototypes for xpthread_attr_destroy
8793         xpthread_attr_init, xpthread_attr_setdetachstate, and
8794         xpthread_attr_setstacksize.
8796 2017-01-27  Florian Weimer  <fweimer@redhat.com>
8798         * nptl/Makefile (tests): Add tst-robust-fork.
8799         * nptl/tst-robust-fork.c: New file.
8800         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
8801         xpthread_mutex_consistent, xpthread_mutex_destroy,
8802         xpthread_mutex_init, xpthread_mutexattr_destroy,
8803         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
8804         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
8805         xpthread_mutexattr_settype.
8806         * support/xmmap.c: New file.
8807         * support/xmunmap.c: Likewise.
8808         * support/xpthread_mutex_consistent.c: Likewise.
8809         * support/xpthread_mutex_destroy.c: Likewise.
8810         * support/xpthread_mutex_init.c: Likewise.
8811         * support/xpthread_mutexattr_destroy.c: Likewise.
8812         * support/xpthread_mutexattr_init.c: Likewise.
8813         * support/xpthread_mutexattr_setprotocol.c: Likewise.
8814         * support/xpthread_mutexattr_setpshared.c: Likewise.
8815         * support/xpthread_mutexattr_setrobust.c: Likewise.
8816         * support/xpthread_mutexattr_settype.c: Likewise.
8817         * support/xthread.h (xpthread_mutexattr_destroy)
8818         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
8819         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
8820         (xpthread_mutexattr_settype, xpthread_mutex_init)
8821         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
8822         * support/xunistd.h (xmmap, xmunmap): Likewise.
8824 2017-01-25  Florian Weimer  <fweimer@redhat.com>
8826         * string/Makefile (xtests): Add comment.
8827         (LOCALES): Add en_GB.UTF-8.
8828         (tst-strcoll-overflow.out): Depend on generated locales.
8829         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
8830         (SIZE, TIMEOUT): Update comments.
8831         (do_test): Define as static.  Fail test if setlocale fails.
8832         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
8833         messages.
8834         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
8835         TIMEOUT at 300 seconds should be enough to run this test
8836         successfully.
8838 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
8840         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
8841         /* FALLTHRU */ comments.
8843 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
8845         [BZ #21053]
8846         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
8847         constants instead of the old R* ones.
8848         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
8849         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
8850         (NGREG): ... to this, to fit in with other architectures.
8851         (gpregset_t): Use new NGREG macro.
8852         [__USE_GNU]: Remove condition; all architectures other than tile
8853         are unconditional.
8854         (R*): Rename to REG_R*.
8856 2017-01-20  DJ Delorie  <dj@redhat.com>
8858         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
8859         (tunable_set_val_if_valid_range_signed) ... this, and ...
8860         (tunable_set_val_if_valid_range_unsigned) ... this.
8861         (tunable_initialize): Call the correct one of the above based on type.
8863 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
8865         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
8866         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8867         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8868         * sysdeps/microblaze/libm-test-ulps: Likewise.
8869         * sysdeps/sh/libm-test-ulps: Likewise.
8871         * math/README.libm-test: Update list of characters for input and
8872         output types.
8874 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8876         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8877         (__lll_unlock_elision): Fix adapt_count decrement.
8879 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
8881         * README.pretty-printers (Known issues): Warn about printers not
8882         always covering everything.
8883         * nptl/nptl-printers.py (MutexPrinter): Change output.
8884         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8886 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8888         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
8889         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8890         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
8891         (__lll_lock_elision): Do not test futex before starting a
8892         transaction.  Use __glibc_likely instead of __builtin_expect.
8893         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
8894         (__lll_trylock_elision): Do not test futex before starting a
8895         transaction.  Use __glibc_likely instead of __builtin_expect.
8897 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8899         * po/Makefile (update-translations): New target.
8901 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8903         [BZ #21061]
8904         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
8906 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8908         * elf/dl-tunables (get_next_env): Always advance envp.
8909         * stdlib/tst-empty-env.c: New test case.
8910         * stdlib/Makefile (tests): Use it.
8912 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
8914         [BZ #21047]
8915         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
8916         name for instruction.
8917         [!__SOFTFP__] (_FPU_SETCW): Likewise.
8919 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8921         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
8922         for make install.
8924 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8926         * po/bg.po: Merge from Translation Project.
8927         * po/fr.po: Likewise.
8928         * po/ko.po: Likewise.
8929         * po/nl.po: Likewise.
8930         * po/sv.po: Likewise.
8932 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
8934         * manual/install.texi (Tools for Compilation): Update GCC version
8935         known to work to build glibc.
8936         * INSTALL: Regenerated.
8938 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8940         [BZ #21006]
8941         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
8943 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
8945         [BZ #21045]
8946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8947         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
8948         to __sigprocmask.
8950 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
8952         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
8953         wrap-around.
8954         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
8956         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
8958 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8960         * NEWS: Fix typo.
8962 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8964         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
8965         barriers and comments.
8966         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
8967         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8968         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8970 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8972         [BZ #19402]
8973         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
8974         mutexes.
8976 2016-01-13  Torvald Riegel  <triegel@redhat.com>
8978         [BZ #20985]
8979         * nptl/Makefile: Adapt.
8980         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8981         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8982         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
8983         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
8984         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
8985         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
8986         lll_robust* functions and adapt.
8987         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8988         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
8989         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8990         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8991         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
8992         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8993         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
8994         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
8995         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
8996         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
8997         __lll_robust_timedlock, __lll_robust_unlock): Remove.
8998         * nptl/lowlevelrobustlock.c: Remove file.
8999         * nptl/lowlevelrobustlock.sym: Likewise.
9000         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
9001         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
9003 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9005         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9007 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9009         * po/cs.po: Merge translations from the Translation Project.
9010         * po/de.po: Likewise.
9011         * po/pl.po: Likewise.
9012         * po/ru.po: Likewise.
9013         * po/tr.po: Likewise.
9014         * po/uk.po: Likewise.
9015         * po/vi.po: Likewise.
9016         * po/zh_CN.po: Likewise.
9018 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
9020         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9022         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9023         object.
9025 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9027         [BZ #16458]
9028         * bits/uintn-identity.h: New file.
9029         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9030         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9031         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9032         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9033         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9034         * string/endian.h: Include <bits/uintn-identity.h>.
9035         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9036         __uint16_identity.
9037         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9038         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9039         __uint32_identity.
9040         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9041         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9042         __uint64_identity.
9043         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9044         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9045         __uint16_identity.
9046         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9047         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9048         __uint32_identity.
9049         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9050         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9051         __uint64_identity.
9052         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9053         * string/Makefile (headers): Add bits/uintn-identity.h.
9054         (tests): Add test-endian-types.
9055         * string/test-endian-types.c: New file.
9056         * inet/Makefile (tests): Add test-hnto-types.
9057         * inet/test-hnto-types.c: New file.
9059 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9061         * po/be.po: Update from Translation Project.
9062         * po/bg.po: Likewise.
9063         * po/ca.po: Likewise.
9064         * po/cs.po: Likewise.
9065         * po/da.po: Likewise.
9066         * po/de.po: Likewise.
9067         * po/el.po: Likewise.
9068         * po/eo.po: Likewise.
9069         * po/es.po: Likewise.
9070         * po/fi.po: Likewise.
9071         * po/fr.po: Likewise.
9072         * po/gl.po: Likewise.
9073         * po/hr.po: Likewise.
9074         * po/hu.po: Likewise.
9075         * po/ia.po: Likewise.
9076         * po/id.po: Likewise.
9077         * po/it.po: Likewise.
9078         * po/ja.po: Likewise.
9079         * po/ko.po: Likewise.
9080         * po/lt.po: Likewise.
9081         * po/nb.po: Likewise.
9082         * po/nl.po: Likewise.
9083         * po/pl.po: Likewise.
9084         * po/pt_BR.po: Likewise.
9085         * po/ru.po: Likewise.
9086         * po/rw.po: Likewise.
9087         * po/sk.po: Likewise.
9088         * po/sl.po: Likewise.
9089         * po/sv.po: Likewise.
9090         * po/tr.po: Likewise.
9091         * po/uk.po: Likewise.
9092         * po/vi.po: Likewise.
9093         * po/zh_CN.po: Likewise.
9094         * po/zh_TW.po: Likewise.
9096 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9098         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
9099         -Wformat-truncation instead of -Wformat-length.
9100         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
9101         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
9102         GCC 7.
9103         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
9104         (do_test): Ignore -Wformat-truncation for GCC 7.
9106         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
9107         buffer used to print long int value.
9109         * elf/sotruss-lib.c (init): Increase space allocated for pid by
9110         one byte.  Print it with %ld, cast to long int.
9112 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9114         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
9115         (re.fullmatch, subprocess.run): Likewise.
9117 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9119         * po/libc.pot: Regenerate.
9121 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9123         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
9124         (min_strlen): Likewise.
9125         (disable_tunable): Likewise.
9126         (maybe_disable_malloc_check): Rename to
9127         maybe_enable_malloc_check.
9128         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
9129         if /etc/suid-debug file exists.
9130         (__tunables_init): Update caller.
9131         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
9132         secure.
9134 2016-01-10  Torvald Riegel  <triegel@redhat.com>
9136         * nptl/DESIGN-rwlock.txt: Remove.
9137         * nptl/lowlevelrwlock.sym: Remove.
9138         * nptl/Makefile: Add new tests.
9139         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
9140         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
9141         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
9142         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
9143         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
9144         PTHREAD_RWLOCK_FUTEX_USED): New.
9145         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
9146         implementation.
9147         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
9148         (__pthread_rwlock_rdlock): Adapt.
9149         * nptl/pthread_rwlock_timedrdlock.c
9150         (pthread_rwlock_timedrdlock): Adapt.
9151         * nptl/pthread_rwlock_timedwrlock.c
9152         (pthread_rwlock_timedwrlock): Adapt.
9153         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
9154         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
9155         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
9156         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
9157         (__pthread_rwlock_wrlock): Adapt.
9158         * nptl/tst-rwlock10.c: Adapt.
9159         * nptl/tst-rwlock11.c: Adapt.
9160         * nptl/tst-rwlock17.c: New file.
9161         * nptl/tst-rwlock18.c: New file.
9162         * nptl/tst-rwlock19.c: New file.
9163         * nptl/tst-rwlock2b.c: New file.
9164         * nptl/tst-rwlock8.c: Adapt.
9165         * nptl/tst-rwlock9.c: Adapt.
9166         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9167         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9168         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9169         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9170         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9171         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9172         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9173         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9174         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9175         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9176         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9177         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9178         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9179         (pthread_rwlock_t): Adapt.
9180         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9181         (pthread_rwlock_t): Adapt.
9182         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
9183         * nptl/nptl-printers.py (): Adapt.
9184         * nptl/nptl_lock_constants.pysym: Adapt.
9185         * nptl/test-rwlock-printers.py: Adapt.
9186         * nptl/test-rwlockattr-printers.c: Adapt.
9187         * nptl/test-rwlockattr-printers.py: Adapt.
9189 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
9191         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
9192         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
9193         (fma_test_data): Likewise.
9194         (hypot_test_data): Likewise.
9195         (log1p_test_data): Likewise.
9196         (modf_test_data): Likewise.
9197         (pow_test_data): Likewise.
9198         (remainder_test_data): Likewise.
9199         (remquo_test_data): Likewise.
9200         (scalb_test_data): Likewise.
9201         (scalbn_test_data): Likewise.
9202         (scalbln_test_data): Likewise.
9203         * math/gen-libm-test.pl (parse_args): Transform
9204         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
9205         on the rounding mode.
9207 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
9209         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
9210         xfail-rounding:ibm128-libgcc automatically to tests overflowing
9211         and those that can underflow to zero.
9212         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
9213         add others.
9214         * math/auto-libm-test-out: Regenerated.
9216         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
9217         supported.
9218         (feholdexcept_tests): Skip tests requiring exceptions or rounding
9219         modes support if not supported.
9221         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
9222         Add libc.so PLT entry.
9223         (__tls_get_addr): Make ld.so PLT entry optional.
9225 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9227         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
9228         * string/bits/string3.h: ... here.
9230 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9232         [BZ #21028]
9233         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
9234         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
9235         if EXCEPTION_TESTS returns false.
9237 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9239         [BZ #20558]
9240         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
9241         strings_fortified.h.
9242         [__USE_MISC] (bzero): Likewise.
9243         [__USE_MISC] (explicit_bzero): Likewise.
9244         * string/strings.h: Include strings_fortified.h.
9245         * string/Makefile (headers): Add strings_fortified.h.
9246         * string/bits/strings_fortified.h: New file.
9247         * include/bits/strings_fortified.h: Likewise.
9249 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
9251         * elf/tst-tls13.c (TIMEOUT): Remove.
9252         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
9253         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
9254         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
9255         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
9256         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
9258         [BZ #21026]
9259         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
9260         (readahead): New syscall entry.
9262 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9264         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
9265         around tests of strncat with large sizes.
9267         * malloc/tst-malloc.c: Include <libc-internal.h>.
9268         (do_test): Disable -Walloc-size-larger-than= around tests of
9269         malloc with negative sizes.
9270         * malloc/tst-mcheck.c: Include <libc-internal.h>.
9271         (do_test): Disable -Walloc-size-larger-than= around tests of
9272         malloc and realloc with negative sizes.
9273         * malloc/tst-realloc.c: Include <libc-internal.h>.
9274         (do_test): Disable -Walloc-size-larger-than= around tests of
9275         realloc with negative sizes.
9277         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
9278         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
9279         allowed to 16 ulps.
9280         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
9281         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
9282         * math/auto-libm-test-out: Regenerated.
9284 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9286         * math/Makefile (libm-calls): Move wrappers...
9287         (libm-compat-call-auto): Here.
9288         (libm-routines): Add items in libm-compat-calls-auto.
9289         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
9290         the filenames of the wrappers that have been renamed.
9291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
9292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9294         * math/w_acos.c: Add _compat suffix to filename.
9295         * math/w_acosf.c: Likewise.
9296         * math/w_acosh.c: Likewise.
9297         * math/w_acoshf.c: Likewise.
9298         * math/w_acoshl.c: Likewise.
9299         * math/w_acosl.c: Likewise.
9300         * math/w_asin.c: Likewise.
9301         * math/w_asinf.c: Likewise.
9302         * math/w_asinl.c: Likewise.
9303         * math/w_atan2.c: Likewise.
9304         * math/w_atan2f.c: Likewise.
9305         * math/w_atan2l.c: Likewise.
9306         * math/w_atanh.c: Likewise.
9307         * math/w_atanhf.c: Likewise.
9308         * math/w_atanhl.c: Likewise.
9309         * math/w_cosh.c: Likewise.
9310         * math/w_coshf.c: Likewise.
9311         * math/w_coshl.c: Likewise.
9312         * math/w_exp10.c: Likewise.
9313         * math/w_exp10f.c: Likewise.
9314         * math/w_exp10l.c: Likewise.
9315         * math/w_exp2.c: Likewise.
9316         * math/w_exp2f.c: Likewise.
9317         * math/w_exp2l.c: Likewise.
9318         * math/w_fmod.c: Likewise.
9319         * math/w_fmodf.c: Likewise.
9320         * math/w_fmodl.c: Likewise.
9321         * math/w_hypot.c: Likewise.
9322         * math/w_hypotf.c: Likewise.
9323         * math/w_hypotl.c: Likewise.
9324         * math/w_j0.c: Likewise.
9325         * math/w_j0f.c: Likewise.
9326         * math/w_j0l.c: Likewise.
9327         * math/w_j1.c: Likewise.
9328         * math/w_j1f.c: Likewise.
9329         * math/w_j1l.c: Likewise.
9330         * math/w_jn.c: Likewise.
9331         * math/w_jnf.c: Likewise.
9332         * math/w_jnl.c: Likewise.
9333         * math/w_log10.c: Likewise.
9334         * math/w_log10f.c: Likewise.
9335         * math/w_log10l.c: Likewise.
9336         * math/w_log2.c: Likewise.
9337         * math/w_log2f.c: Likewise.
9338         * math/w_log2l.c: Likewise.
9339         * math/w_log.c: Likewise.
9340         * math/w_logf.c: Likewise.
9341         * math/w_logl.c: Likewise.
9342         * math/w_pow.c: Likewise.
9343         * math/w_powf.c: Likewise.
9344         * math/w_powl.c: Likewise.
9345         * math/w_remainder.c: Likewise.
9346         * math/w_remainderf.c: Likewise.
9347         * math/w_remainderl.c: Likewise.
9348         * math/w_scalb.c: Likewise.
9349         * math/w_scalbf.c: Likewise.
9350         * math/w_scalbl.c: Likewise.
9351         * math/w_sinh.c: Likewise.
9352         * math/w_sinhf.c: Likewise.
9353         * math/w_sinhl.c: Likewise.
9354         * math/w_sqrt.c: Likewise.
9355         * math/w_sqrtf.c: Likewise.
9356         * math/w_sqrtl.c: Likewise.
9357         * math/w_tgamma.c: Likewise.
9358         * math/w_tgammaf.c: Likewise.
9359         * math/w_tgammal.c: Likewise.
9361         * math/w_acos_compat.c: New file copied from above and
9362         adjusted for new #includes path
9363         * math/w_acosf_compat.c: Likewise.
9364         * math/w_acosh_compat.c: Likewise.
9365         * math/w_acoshf_compat.c: Likewise.
9366         * math/w_acoshl_compat.c: Likewise.
9367         * math/w_acosl_compat.c: Likewise.
9368         * math/w_asin_compat.c: Likewise.
9369         * math/w_asinf_compat.c: Likewise.
9370         * math/w_asinl_compat.c: Likewise.
9371         * math/w_atan2_compat.c: Likewise.
9372         * math/w_atan2f_compat.c: Likewise.
9373         * math/w_atan2l_compat.c: Likewise.
9374         * math/w_atanh_compat.c: Likewise.
9375         * math/w_atanhf_compat.c: Likewise.
9376         * math/w_atanhl_compat.c: Likewise.
9377         * math/w_cosh_compat.c: Likewise.
9378         * math/w_coshf_compat.c: Likewise.
9379         * math/w_coshl_compat.c: Likewise.
9380         * math/w_exp10_compat.c: Likewise.
9381         * math/w_exp10f_compat.c: Likewise.
9382         * math/w_exp10l_compat.c: Likewise.
9383         * math/w_exp2_compat.c: Likewise.
9384         * math/w_exp2f_compat.c: Likewise.
9385         * math/w_exp2l_compat.c: Likewise.
9386         * math/w_fmod_compat.c: Likewise.
9387         * math/w_fmodf_compat.c: Likewise.
9388         * math/w_fmodl_compat.c: Likewise.
9389         * math/w_hypot_compat.c: Likewise.
9390         * math/w_hypotf_compat.c: Likewise.
9391         * math/w_hypotl_compat.c: Likewise.
9392         * math/w_j0_compat.c: Likewise.
9393         * math/w_j0f_compat.c: Likewise.
9394         * math/w_j0l_compat.c: Likewise.
9395         * math/w_j1_compat.c: Likewise.
9396         * math/w_j1f_compat.c: Likewise.
9397         * math/w_j1l_compat.c: Likewise.
9398         * math/w_jn_compat.c: Likewise.
9399         * math/w_jnf_compat.c: Likewise.
9400         * math/w_jnl_compat.c: Likewise.
9401         * math/w_log10_compat.c: Likewise.
9402         * math/w_log10f_compat.c: Likewise.
9403         * math/w_log10l_compat.c: Likewise.
9404         * math/w_log2_compat.c: Likewise.
9405         * math/w_log2f_compat.c: Likewise.
9406         * math/w_log2l_compat.c: Likewise.
9407         * math/w_log_compat.c: Likewise.
9408         * math/w_logf_compat.c: Likewise.
9409         * math/w_logl_compat.c: Likewise.
9410         * math/w_pow_compat.c: Likewise.
9411         * math/w_powf_compat.c: Likewise.
9412         * math/w_powl_compat.c: Likewise.
9413         * math/w_remainder_compat.c: Likewise.
9414         * math/w_remainderf_compat.c: Likewise.
9415         * math/w_remainderl_compat.c: Likewise.
9416         * math/w_scalb_compat.c: Likewise.
9417         * math/w_scalbf_compat.c: Likewise.
9418         * math/w_scalbl_compat.c: Likewise.
9419         * math/w_sinh_compat.c: Likewise.
9420         * math/w_sinhf_compat.c: Likewise.
9421         * math/w_sinhl_compat.c: Likewise.
9422         * math/w_sqrt_compat.c: Likewise.
9423         * math/w_sqrtf_compat.c: Likewise.
9424         * math/w_sqrtl_compat.c: Likewise.
9425         * math/w_tgamma_compat.c: Likewise.
9426         * math/w_tgammaf_compat.c: Likewise.
9427         * math/w_tgammal_compat.c: Likewise.
9429         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
9430         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
9431         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
9432         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
9433         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
9434         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
9435         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
9436         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
9437         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
9438         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
9439         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
9440         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
9441         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
9442         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
9443         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
9444         * sysdeps/ia64/fpu/w_powl.c: Likewise.
9445         * sysdeps/ia64/fpu/w_powf.c: Likewise.
9446         * sysdeps/ia64/fpu/w_pow.c: Likewise.
9447         * sysdeps/ia64/fpu/w_logl.c: Likewise.
9448         * sysdeps/ia64/fpu/w_logf.c: Likewise.
9449         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
9450         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
9451         * sysdeps/ia64/fpu/w_log2.c: Likewise.
9452         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
9453         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
9454         * sysdeps/ia64/fpu/w_log10.c: Likewise.
9455         * sysdeps/ia64/fpu/w_log.c: Likewise.
9456         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
9457         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
9458         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
9459         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
9460         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
9461         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
9462         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
9463         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
9464         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
9465         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
9466         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
9467         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
9468         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
9469         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
9470         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
9471         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
9472         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
9473         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
9474         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
9475         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
9476         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
9477         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
9478         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
9479         * sysdeps/ia64/fpu/w_asin.c: Likewise.
9480         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
9481         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
9482         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
9483         * sysdeps/ia64/fpu/w_acos.c: Likewise.
9484         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
9485         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
9486         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
9487         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
9488         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
9489         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
9490         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
9491         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
9492         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
9493         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
9494         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
9495         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
9496         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
9497         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
9498         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
9499         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
9500         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
9501         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
9502         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
9503         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
9504         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
9505         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
9506         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
9507         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
9508         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
9509         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
9510         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
9511         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
9512         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
9513         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
9514         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
9515         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
9516         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
9517         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
9518         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
9519         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
9520         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
9521         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
9522         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
9523         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
9524         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
9525         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
9526         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
9527         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
9528         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
9529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
9530         Likewise.
9531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
9532         Likewise.
9533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
9534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
9535         Likewise.
9536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
9537         Likewise.
9538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
9539         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9540         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9541         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9542         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9543         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
9544         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
9545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
9546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
9547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
9548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
9549         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
9550         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
9551         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
9552         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
9554         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
9555         and adjusted for new #includes path
9556         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
9557         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
9558         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
9559         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
9560         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
9561         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
9562         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
9563         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
9564         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
9565         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
9566         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
9567         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
9568         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
9569         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
9570         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
9571         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
9572         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
9573         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
9574         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
9575         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
9576         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
9577         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
9578         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
9579         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
9580         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
9581         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
9582         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
9583         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
9584         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
9585         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
9586         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
9587         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
9588         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
9589         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
9590         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
9591         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
9592         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
9593         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
9594         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
9595         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
9596         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
9597         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
9598         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
9599         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
9600         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
9601         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
9602         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
9603         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
9604         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
9605         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
9606         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
9607         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
9608         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
9609         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
9610         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
9611         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
9612         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
9613         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
9614         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
9615         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
9616         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
9617         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
9618         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
9619         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
9620         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
9621         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
9622         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
9623         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
9624         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
9625         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
9626         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
9627         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
9628         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
9629         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
9630         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
9631         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
9632         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
9633         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
9634         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
9635         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
9636         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
9637         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
9638         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
9639         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
9640         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
9641         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
9642         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
9643         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
9644         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
9645         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
9646         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
9647         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
9648         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
9649         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
9650         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
9651         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
9652         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
9653         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
9654         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
9655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
9656         Likewise.
9657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
9658         Likewise.
9659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
9660         Likewise.
9661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
9662         Likewise.
9663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
9664         Likewise.
9665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
9666         Likewise.
9667         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
9668         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
9669         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
9670         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
9671         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
9672         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
9673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
9674         Likewise.
9675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
9676         Likewise.
9677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
9678         Likewise.
9679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
9680         Likewise.
9681         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
9682         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
9683         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
9684         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
9686 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
9688         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
9689         __jmp_buf_internal_tag.
9691         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
9692         preserve NaN payload if [__mips_nan2008].
9693         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
9695         [BZ #21022]
9696         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
9698 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9700         * sysdeps/i386/fpu/libm-test-ulps: Update.
9702 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9704         * sysdeps/ia64/strcat.c: Remove file.
9705         * sysdeps/powerpc/strcat.c: Likewise.
9706         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
9707         C implementation.
9708         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
9709         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9711 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9712             Steven Munroe  <sjmunroe@us.ibm.com>
9713             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9715         [BZ #20822]
9716         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9717         (__lll_lock_elision): Access adapt_count via C11 atomics.
9718         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9719         (__lll_trylock_elision): Likewise.
9720         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9721         (__lll_unlock_elision):  Update adapt_count variable inside the
9722         critical section using C11 atomics.
9724 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9726         * math/test-fenvinline.c (do_test): Disable tests of raised
9727         exceptions if !EXCEPTION_TESTS (FLOAT).
9729 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9731         [BZ #19390]
9732         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
9733         maximum string size.
9734         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
9735         in pointer addition.
9736         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
9737         Likewise.
9739 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
9741         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
9742         passed to tst-ldconfig-X.sh.
9744 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
9746         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
9748 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9750         [BZ #21019]
9751         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9752         New syscall entry.
9753         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
9754         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
9755         lseek.
9757         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9758         power4 glibc for powerpc-linux-gnu.
9760 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9762         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
9763         semctl.
9765 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9767         * math/test-nearbyint-except.c: Include <stdbool.h>.
9768         (any_supported): New variable.
9769         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
9770         set any_supported.
9771         (do_test): Return 77 if no floating-point type supported
9772         exceptions.
9774         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
9775         condition on [__mips_hard_float].
9777 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9779         [BZ #21014]
9780         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
9781         in pointer addition.
9782         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
9784 2017-01-02  Torvald Riegel  <triegel@redhat.com>
9786         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
9787         new condvar.
9789 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
9791         * scripts/build-many-glibcs.py (Context.checkout): Default
9792         binutils version to 2.28 branch.
9794 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9796         * support/support_format_netent.c (support_format_netent): Work
9797         around alpha struct netent definition difference.
9799 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9801         * support/xwrite.c (xwrite): Use %td for pointer difference.
9803 2017-01-01  Florian Weimer  <fweimer@redhat.com>
9805         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
9806         have-tunables only.
9807         (tests-static): Add tst-malloc-usable-static-tunables for
9808         have-tunables only.
9810 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
9812         * scripts/config.guess: Update to version 2017-01-01.
9813         * scripts/config.sub: Update to version 2017-01-01.
9815         * NEWS: Update copyright dates.
9816         * catgets/gencat.c (print_version): Likewise.
9817         * csu/version.c (banner): Likewise.
9818         * debug/catchsegv.sh: Likewise.
9819         * debug/pcprofiledump.c (print_version): Likewise.
9820         * debug/xtrace.sh (do_version): Likewise.
9821         * elf/ldconfig.c (print_version): Likewise.
9822         * elf/ldd.bash.in: Likewise.
9823         * elf/pldd.c (print_version): Likewise.
9824         * elf/sotruss.sh: Likewise.
9825         * elf/sprof.c (print_version): Likewise.
9826         * iconv/iconv_prog.c (print_version): Likewise.
9827         * iconv/iconvconfig.c (print_version): Likewise.
9828         * locale/programs/locale.c (print_version): Likewise.
9829         * locale/programs/localedef.c (print_version): Likewise.
9830         * login/programs/pt_chown.c (print_version): Likewise.
9831         * malloc/memusage.sh (do_version): Likewise.
9832         * malloc/memusagestat.c (print_version): Likewise.
9833         * malloc/mtrace.pl: Likewise.
9834         * manual/libc.texinfo: Likewise.
9835         * nptl/version.c (banner): Likewise.
9836         * nscd/nscd.c (print_version): Likewise.
9837         * nss/getent.c (print_version): Likewise.
9838         * nss/makedb.c (print_version): Likewise.
9839         * posix/getconf.c (main): Likewise.
9840         * scripts/test-installation.pl: Likewise.
9841         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9843         * All files with FSF copyright notices: Update copyright dates
9844         using scripts/update-copyrights.
9845         * intl/plural.c: Regenerated.
9846         * locale/programs/charmap-kw.h: Likewise.
9847         * locale/programs/locfile-kw.h: Likewise.
9849 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9851         [BZ #20593]
9852         Update DNS RR type definitions.
9853         * scripts/gen-rrtypes.py: New file.
9854         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
9855         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
9856         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
9857         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
9858         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
9859         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
9860         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
9861         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
9862         ns_t_ta, ns_t_dlv.
9863         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
9864         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
9865         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
9866         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
9867         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
9868         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
9869         Define.
9870         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
9871         entry for ns_t_zxfr.
9873 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9875         [BZ #18784]
9876         CVE-2015-5180
9877         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
9878         T_UNSPEC.  Adjust value.
9879         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
9880         * resolv/res_query.c (__libc_res_nquery): Likewise.
9881         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
9882         QTYPEs.
9883         * resolv/tst-resolv-qtypes.c: New file.
9884         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
9885         (tst-resolv-qtypes): Link against libresolv and libpthread.
9887 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9889         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
9891 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9893         * manual/tunables.texi: New chapter.
9894         * manual/Makefile (chapters): Add it.
9895         * manual/probes.texi (@node): Point to the Tunables chapter.
9897         * Makeconfig (have-tunables): Check for non-negative instead
9898         of positive.
9899         * configure.ac: Add 'valstring' as a valid value for
9900         --enable-tunables.
9901         * configure: Regenerate.
9902         * elf/Makefile (have-tunables): Check for non-negative instead
9903         of positive.
9904         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
9905         dl-tunables.c.
9906         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
9907         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9908         (tunables_strdup): Likewise.
9909         (disable_tunables): Likewise.
9910         (parse_tunables): Likewise.
9911         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
9912         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
9913         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
9914         (TUNABLES_FRONTEND_yes): New macro, define as
9915         TUNABLES_FRONTEND_valstring by default.
9916         * manual/install.texi: Document new acceptable values for
9917         --enable-tunables.
9918         * INSTALL: Regenerate.
9920         * config.make.in (have-loop-to-function): Define.
9921         * elf/Makefile (CFLAGS-dl-tunables.c): Add
9922         -fno-tree-loop-distribute-patterns.
9923         * elf/dl-tunables.c: Include libc-internals.h.
9924         (GLIBC_TUNABLES): New macro.
9925         (tunables_strdup): New function.
9926         (parse_tunables): New function.
9927         (min_strlen): New function.
9928         (__tunables_init): Use the new functions and macro.
9929         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
9930         * malloc/tst-malloc-usable-tunables.c: New test case.
9931         * malloc/tst-malloc-usable-static-tunables.c: New test case.
9932         * malloc/Makefile (tests, tests-static): Add tests.
9934         * manual/install.texi: Add --enable-tunables option.
9935         * INSTALL: Regenerate.
9936         * README.tunables: New file.
9937         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
9938         (before-compile): Generate dl-tunable-list.h early.
9939         * config.h.in: Add HAVE_TUNABLES.
9940         * config.make.in: Add have-tunables.
9941         * configure.ac: Add --enable-tunables option.
9942         * configure: Regenerate.
9943         * csu/init-first.c (__libc_init_first): Move
9944         __libc_init_secure earlier...
9945         * csu/init-first.c (LIBC_START_MAIN):... to here.
9946         Include dl-tunables.h, libc-internal.h.
9947         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
9948         binaries.
9949         * elf/Makefile (dl-routines): Add dl-tunables.
9950         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
9951         namespace.
9952         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
9953         only when !HAVE_TUNABLES.
9954         * elf/rtld.c (process_envvars): Likewise.
9955         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
9956         (_dl_sysdep_start): Call __tunables_init.
9957         * elf/dl-tunable-types.h: New file.
9958         * elf/dl-tunables.c: New file.
9959         * elf/dl-tunables.h: New file.
9960         * elf/dl-tunables.list: New file.
9961         * malloc/tst-malloc-usable-static.c: New test case.
9962         * malloc/Makefile (tests-static): Add it.
9963         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
9964         Define TUNABLE_NAMESPACE.
9965         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
9966         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
9967         callback functions.
9968         (ptmalloc_init): Set tunable values.
9969         * scripts/gen-tunables.awk: New file.
9970         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
9971         (_dl_sysdep_start): Call __tunables_init.
9973 2016-12-31  Florian Weimer  <fweimer@redhat.com>
9975         * resolv/resolv.h (RES_BLAST): Deprecate.
9976         * resolv/res_debug.c (p_option): Remove RES_BLAST.
9977         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
9978         to RES_BLAST.
9980 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9982         [BZ #19582]
9983         Deprecate RES_USE_INET6.
9984         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
9985         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
9986         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
9987         RES_USE_INET6.
9988         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
9989         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
9990         (_nss_nisplus_gethostbyaddr_r): Likewise.
9991         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
9992         of res_use_inet6.
9993         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
9994         instead of RES_USE_INET6.
9995         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
9996         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
9997         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
9998         Likewise.
9999         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
10000         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
10001         Likewise.
10002         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
10003         (_nss_dns_gethostbyname_r): Likewise.
10004         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
10005         alternate RES_USE_INET6 handling.
10006         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
10007         instead of RES_USE_INET6.
10008         * resolv/res_init.c (res_setoptions): Likewise.
10009         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10010         * resolv/resolv-internal.h: New file.
10011         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10012         make the deprecation warning non-fatal.
10013         * resolv/README (Using the resolver in multi-threaded code): Drop
10014         reference to RES_USE_INET6.
10015         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10016         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10018 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10020         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10021         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10022         tst-resolv-search.
10023         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10024         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10025         with libresolv and libpthread.
10026         * resolv/tst-bug18665.c: New file.
10027         * resolv/tst-bug18665-tcp: Likewise.
10028         * resolv/tst-res_use_inet6: Likewise.
10029         * resolv/tst-resolv-basic: Likewise.
10030         * resolv/tst-resolv-network: Likewise.
10031         * resolv/tst-resolv-search: Likewise.
10032         * support/Makefile (libsupport-routines): Add check_addrinfo,
10033         check_dns_packet, check_hostent, check_netent, resolv_test,
10034         support_format_address_family, support_format_addrinfo,
10035         support_format_dns_packet, support_format_herrno,
10036         support_format_hostent, support_format_netent, support_run_diff,
10037         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10038         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10039         xstrdup, xwrite.
10040         * support/check_addrinfo.c: New file.
10041         * support/check_dns_packet.c: Likewise.
10042         * support/check_hostent.c: Likewise.
10043         * support/check_netent.c: Likewise.
10044         * support/check_nss.h: Likewise.
10045         * support/format_nss.h: Likewise.
10046         * support/resolv_test.c: Likewise.
10047         * support/resolv_test.h: Likewise.
10048         * support/run_diff.h: Likewise.
10049         * support/support_format_address_family.c: Likewise.
10050         * support/support_format_addrinfo.c: Likewise.
10051         * support/support_format_dns_packet.c: Likewise.
10052         * support/support_format_herrno.c: Likewise.
10053         * support/support_format_hostent.c: Likewise.
10054         * support/support_format_netent.c: Likewise.
10055         * support/support_run_diff.c: Likewise.
10056         * support/xaccept.c: Likewise.
10057         * support/xbind.c: Likewise.
10058         * support/xconnect.c: Likewise.
10059         * support/xfclose.c: Likewise.
10060         * support/xfopen.c: Likewise.
10061         * support/xgetsockname.c: Likewise.
10062         * support/xlisten.c: Likewise.
10063         * support/xmemstream.c: Likewise.
10064         * support/xmemstream.h: Likewise.
10065         * support/xpoll.c: Likewise.
10066         * support/xpthread_once.c: Likewise.
10067         * support/xrecvfrom.c: Likewise.
10068         * support/xsendto.c: Likewise.
10069         * support/xsetsockopt.c: Likewise.
10070         * support/xstdio.h: Likewise.
10071         * support/xstrdup.c: Likewise.
10072         * support/support.h (xstrdup): Declare.
10073         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
10074         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
10075         * support/xthread.h (xpthread_once): Likwise.
10076         * support/xunistd.h (xwrite): Declare.
10078 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10080         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
10081         (test_verbose): Declare.
10082         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
10083         * support/support_test_main.c (default_options): Likewise.
10084         (usage, support_test_main): Handle 'v'.
10085         (test_verbose): Define.
10086         * support/tst-support_record_failure.c (do_test): Use
10087         test_verbose.
10088         * support/tst-support_record_failure-2.sh (different_status): Add
10089         --verbose test.
10091 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10093         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
10094         test failures are recorded.
10095         * support/check.c (support_print_failure_impl): Call
10096         support_record_failure.
10097         (support_exit_failure_impl): Call support_record_failure if status
10098         indicates failure.
10099         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
10100         * support/xasprintf.c (xasprintf): Likewise.
10101         * support/xfork.c (xfork): Likewise.
10102         * support/xpthread_check_return.c (xpthread_check_return):
10103         Likewise.
10104         * support/xsocket.c (xsocket): Likeweise.
10105         * support/xwaitpid.c (xwaitpid): Likewise.
10106         * support/support_record_failure.c (struct test_failures): Adjust
10107         to coding style.
10108         * support/support_test_verify_impl.c (support_test_verify_impl):
10109         Adjust error messages.
10110         * support/tst-support_record_failure-2.sh (different_status):
10111         Adjust error messages.
10113 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10115         * support/namespace.h: New file.
10116         * support/support_become_root.c: Likewise.
10117         * support/support_enter_network_namespace.c: Likewise.
10118         * support/tst-support-namespace.c: Likewise.
10119         * support/xsocket.c: Likewise.
10120         * support/xsocket.h: Likewise.
10121         * support/Makefile (libsupport-routines): Add support_become_root,
10122         support_enter_network_namespace, xsocket.
10123         (tests): Add tst-support-namespace.
10125 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10127         [BZ #17252]
10128         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
10129         __USE_GNU.
10131 2016-12-31  Torvald Riegel  <triegel@redhat.com>
10133         [BZ #13165]
10134         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
10135         use new algorithm.
10136         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10137         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10138         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10139         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10140         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
10141         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
10142         __condvar_cleanup_waiting, __condvar_dec_grefs,
10143         __pthread_cond_wait_common): New.
10144         (__condvar_cleanup): Remove.
10145         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
10146         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
10147         Likewise.
10148         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
10149         Likewise.
10150         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
10151         * nptl/tst-cond1.c: Add comment.
10152         * nptl/tst-cond20.c (do_test): Adapt.
10153         * nptl/tst-cond22.c (do_test): Likewise.
10154         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
10155         structure.
10156         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10157         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10158         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10159         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
10160         Likewise.
10161         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10162         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10163         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10164         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10165         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10166         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
10167         Likewise.
10168         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
10169         Likewise.
10170         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
10171         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
10172         (COND_CLOCK_BITS): Adapt.
10173         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
10174         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
10175         __PTHREAD_COND_SHARED_MASK): New.
10176         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
10177         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
10178         * nptl/nptl_lock_constants.pysym: Adapt.
10179         * nptl/test-cond-printers.py: Adapt.
10180         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
10181         cond_compat_check_and_clear): Adapt.
10182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
10183         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10184         (__pthread_cond_timedwait): ... and move here.
10185         * nptl/DESIGN-condvar.txt: Remove file.
10186         * nptl/lowlevelcond.sym: Likewise.
10187         * nptl/pthread_cond_timedwait.c: Likewise.
10188         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
10189         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
10190         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
10191         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
10192         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
10193         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
10194         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
10195         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
10196         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
10197         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
10198         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
10199         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
10200         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
10201         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
10202         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
10203         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
10205 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
10207         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10208         (fromfp): New declaration.
10209         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10212         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
10213         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
10214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
10215         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
10216         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
10217         * math/math.h: Include <bits/types.h>.
10218         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
10219         constant and macro.
10220         (FP_INT_DOWNWARD): Likewise.
10221         (FP_INT_TOWARDZERO): Likewise.
10222         (FP_INT_TONEARESTFROMZERO): Likewise.
10223         (FP_INT_TONEAREST): Likewise.
10224         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
10225         (fromfpf): Likewise.
10226         (fromfpl): Likewise.
10227         (ufromfp): Likewise.
10228         (ufromfpf): Likewise.
10229         (ufromfpl): Likewise.
10230         (fromfpx): Likewise.
10231         (fromfpxf): Likewise.
10232         (fromfpxl): Likewise.
10233         (ufromfpx): Likewise.
10234         (ufromfpxf): Likewise.
10235         (ufromfpxl): Likewise.
10236         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
10237         s_fromfpxF and s_ufromfpxF.
10238         * math/gen-fromfp-tests.py: New file.
10239         * math/gen-fromfp-tests-inputs: Likewise.
10240         * math/libm-test.inc: Include <stdint.h>
10241         (check_intmax_t): New function.
10242         (check_uintmax_t): Likewise.
10243         (struct test_fiu_M_data): New type.
10244         (struct test_fiu_U_data): Likewise.
10245         (RUN_TEST_fiu_M): New macro.
10246         (RUN_TEST_LOOP_fiu_M): Likewise.
10247         (RUN_TEST_fiu_U): Likewise.
10248         (RUN_TEST_LOOP_fiu_U): Likewise.
10249         (fromfp_test_data): New array.
10250         (fromfp_test): New function.
10251         (fromfpx_test_data): New array.
10252         (fromfpx_test): New function.
10253         (ufromfp_test_data): New array.
10254         (ufromfp_test): New function.
10255         (ufromfpx_test_data): New array.
10256         (ufromfpx_test): New function.
10257         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
10258         ufromfpx_test.
10259         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
10260         characters.
10261         * math/test-tgmath-ret.c: Include <stdint.h>.
10262         (rm): New variable.
10263         (width): Likewise.
10264         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
10265         called function.
10266         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
10267         CHECK_RET_CONST_TYPE.
10268         (CHECK_RET_CONST_DOUBLE): Likewise.
10269         (CHECK_RET_CONST_LDOUBLE): Likewise.
10270         (CHECK_RET_CONST): Take extra arguments and pass them to calls
10271         macros.
10272         (fromfp): New CHECK_RET_CONST call.
10273         (ufromfp): Likewise.
10274         (fromfpx): Likewise.
10275         (ufromfpx): Likewise.
10276         (do_test): Call check_return_fromfp, check_return_ufromfp,
10277         check_return_fromfpx and check_return_ufromfpx.
10278         * math/test-tgmath.c: Include <stdint.h>
10279         (NCALLS): Increase to 138.
10280         (F(compile_test)): Initialize i.  Call fromfp functions.
10281         (F(fromfp)): New function.
10282         (F(fromfpx)): Likewise.
10283         (F(ufromfp)): Likewise.
10284         (F(ufromfpx)): Likewise.
10285         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
10286         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
10287         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
10288         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
10289         ufromfpxl.
10290         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
10291         ufromfp and ufromfpx.
10292         * math/fromfp.h: New file.
10293         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
10294         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
10295         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
10296         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
10297         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
10298         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
10299         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
10300         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
10301         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
10302         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
10303         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
10304         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
10305         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
10306         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
10307         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
10308         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
10309         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
10310         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
10311         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
10312         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
10313         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
10314         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
10315         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
10316         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
10317         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
10318         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
10319         ufromfp, fromfpx and ufromfpx.
10320         (CFLAGS-nldbl-fromfp.c): New variable.
10321         (CFLAGS-nldbl-fromfpx.c): Likewise.
10322         (CFLAGS-nldbl-ufromfp.c): Likewise.
10323         (CFLAGS-nldbl-ufromfpx.c): Likewise.
10324         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
10325         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
10326         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
10327         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
10328         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
10329         * sysdeps/nacl/libm.abilist: Update.
10330         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10332         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10333         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10334         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10335         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10336         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10337         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10338         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10339         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10340         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10341         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10343         Likewise.
10344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10345         Likewise.
10346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10347         Likewise.
10348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10349         Likewise.
10350         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10351         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10352         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10353         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10354         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10356         Likewise.
10357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10358         Likewise.
10359         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10360         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10361         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10363 2016-12-30  Florian Weimer  <fweimer@redhat.com>
10365         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
10366         compat-gethnamaddr.
10367         (CPPFLAGS): Remove.
10368         * resolv/gethnamaddr.c: Rename ...
10369         * resolv/compat-gethnamaddr.c: ... to this file.
10370         (_endhtent): Make static.
10371         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
10372         symbol.
10373         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
10374         compat symbol.
10375         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
10376         symbol.
10377         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
10378         Turn into compat symbol.
10379         * include/resolv.h (_endhtent): Remove declaration.
10381 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
10383         * bits/types.h (__intmax_t): New typedef.
10384         (__uintmax_t): Likewise.
10385         * sysdeps/generic/stdint.h: Include <bits/types.h>.
10386         (intmax_t): Define using __intmax_t.
10387         (uintmax_t): Define using __uintmax_t.
10389         * support/Makefile (tests-special): Make definition conditional on
10390         [$(run-built-tests) = yes].
10391         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
10392         on [$(run-built-tests) = yes].
10394 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10396         * Rules (tests): Add tests-printers-programs to tests to be
10397         built.
10399 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10401         * sysvipc/Makefile (tests): Add test-sysvshm.
10402         * sysvipc/test-sysvshm.c: New file.
10404         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
10405         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
10406         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
10407         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
10408         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
10409         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
10410         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
10411         Likewise.
10412         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
10413         Likewise.
10414         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
10415         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
10416         is defined.
10418         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
10419         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
10420         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
10421         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
10422         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
10423         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
10424         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
10425         Likewise.
10426         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
10427         Likewise.
10428         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
10429         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
10430         defined.
10432         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10433         oldshmctl.
10434         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
10435         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
10436         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
10437         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
10438         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
10439         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
10440         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
10441         Likewise.
10442         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
10443         Likewise.
10444         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
10445         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
10446         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
10447         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
10448         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
10449         implementation.
10450         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
10451         if it is defined.
10453         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
10454         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
10455         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
10456         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
10457         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
10458         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
10459         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
10460         Likewise.
10461         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
10462         Likewise.
10463         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
10464         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
10465         Define to __NR_osf_shmat.
10466         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
10467         defined.
10469         * sysvipc/Makefile (tests): Add test-sysvsem.
10470         * sysvipc/test-sysvsem.c: New file.
10472         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
10473         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
10474         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
10475         Likewise.
10476         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
10477         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
10478         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
10479         Likewise.
10480         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
10481         Likewise.
10482         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
10483         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
10484         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
10485         add a comment about s390 syscall difference from default one.
10486         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
10487         syscall if it is defined.
10489         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
10490         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
10491         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
10492         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
10493         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
10494         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
10495         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
10496         Likewise.
10497         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
10498         Likewise.
10499         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
10500         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
10501         defined.
10503         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
10504         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
10505         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
10506         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
10507         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
10508         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
10509         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
10510         Likewise.
10511         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
10512         Likewise.
10513         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
10514         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
10515         if it is defined.
10517         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10518         oldsemctl.
10519         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
10520         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
10521         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
10522         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
10523         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
10524         implementation.
10525         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
10526         syscall if it is defined.
10527         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
10528         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
10529         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
10530         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
10531         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
10532         Likewise.
10533         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
10535         * sysvipc/Makefile (tests): Add test-sysvmsg.
10536         * sysvipc/test-sysvmsg.c: New file.
10537         * support/check.h (FAIL_UNSUPPORTED): New define.
10539         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
10540         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
10541         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
10542         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
10543         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
10544         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
10545         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
10546         Likewise.
10547         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
10548         Likewise.
10549         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
10550         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
10551         define.
10553         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
10554         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
10555         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
10556         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
10557         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
10558         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
10559         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
10560         Likewise.
10561         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
10562         Likewise.
10563         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
10564         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
10565         if defined.
10567         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
10568         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
10569         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10570         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10571         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10572         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
10573         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10574         Likewise.
10575         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
10576         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
10577         Likewise.
10578         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
10579         if defined.
10580         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
10582         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
10583         oldmsgctl.
10584         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
10585         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
10586         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
10587         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
10588         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
10589         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
10590         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
10591         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
10592         Likewise.
10593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
10594         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
10595         implementation.
10596         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
10597         if defined.
10599         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
10600         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
10601         definition and define its own.
10602         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
10603         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
10604         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
10605         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
10606         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
10607         definitions to common header.
10608         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
10609         operation from ipc_ops.h.
10611         * sysdeps/unix/sysv/linux/kernel-features.h
10612         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
10613         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10614         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
10615         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10616         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10617         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10618         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10619         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10620         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10621         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10622         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10623         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10624         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10625         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10626         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
10628 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10630         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
10631         overflow in pointer addition.
10633 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10635         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10636         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
10637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10638         (strchr): Add __strchr_power8 to list of strchr functions.
10639         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
10640         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
10641         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
10642         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
10643         (strchr): Add __strchr_power8 to ifunc list.
10644         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
10645         (__strchrnul): Add __strchrnul_power8 to ifunc list.
10646         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
10647         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
10649 2016-12-28  Florian Weimer  <fweimer@redhat.com>
10651         * support/Makefile (libsupport-routines): Add
10652         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
10653         (tests): Add tst-support_record_failure.
10654         (tests-special): tst-support_record_failure-2.
10655         (tst-support_record_failure-2.out): Depend on
10656         tst-support_record_failure-2.sh and tst-support_record_failure.
10657         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
10658         (support_test_verify_impl, support_record_failure)
10659         (support_report_failure, support_report_failure_reset): Declare.
10660         * support/support_test_main.c (adjust_exit_status): New function.
10661         (support_test_main): Call it to incorporate record test failures.
10662         * support/support_test_verify_impl.c: New file.
10663         * support/support_record_failure.c: Likewise.
10664         * support/tst-support_record_failure.c: Likewise.
10665         * support/tst-support_record_failure-2.sh: Likewise.
10666         * support/xunistd.h: Likewise.
10667         * support/xfork.c: Likewise.
10668         * support/xwaitpid.c: Likewise.
10670 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
10672         * scripts/check-c++-types.sh: Add comments.
10674 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
10676         [BZ #19514]
10677         * resolv/res_send.c: Fix typo in comment.
10678         * sysdeps/i386/i386-mcount.S: Likewise.
10679         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10680         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10681         * sysdeps/sparc/sparc-mcount.S: Likewise.
10683 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10685         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
10686         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
10687         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
10688         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
10689         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
10690         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
10691         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
10692         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
10694 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10696         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
10698 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10700         [BZ #17252]
10701         * posix/unistd.h (getentropy): Declare.
10703 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10705         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
10706         Remove.
10707         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
10708         (cmd): Remove spoof, nospoof, spoofalert.
10709         (parse_line): Ignore spoof-related lines.
10710         (do_init): Do not process RESOLV_SPOOF_CHECK.
10712 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10714         [BZ #20964]
10715         sunrpc: Always obtain AF_INET addresses from NSS.
10716         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
10717         * sunrpc/rpc_gethostbyname.c: New file.
10718         * sunrpc/Makefile (routines): Add it.
10719         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
10720         * sunrpc/clnt_simp.c (callrpc): Likewise.
10721         * sunrpc/getrpcport.c (getrpcport): Likewise.
10723 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10725         * sunrpc/rpcinfo.c: Remove.
10726         * sunrpc/Makefile: Remove comments referring to rpcinfo.
10728 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10730         [BZ #19387]
10731         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
10732         addition.
10733         * string/test-memchr.c (do_test): Remove alignment limitation.
10734         (test_main): Add test that trigger BZ #19387.
10736 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10738         [BZ #7065]
10739         Enable stack protectore if requested by ./configure.
10740         * Makeconfig (+stack-protector): New variable.
10741         (+cflags): Use it.
10743 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10745         [BZ #7065]
10746         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
10747         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
10748         (__rt_sigreturn_stub): Use inhibit_stack_protector.
10749         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10750         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
10752 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10754         [BZ #7065]
10755         * login/Makefile (pt_chown-cflags): Remove.
10756         * nscd/Makefile (CFLAGS-nscd): Likewise.
10757         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10759 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10761         [BZ #7065]
10762         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
10763         non-libc-linking testcase.
10765 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10766             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10767             Florian Weimer  <fweimer@redhat.com>
10769         [BZ #7065]
10770         PLT avoidance for __stack_chk_fail*.
10771         * debug/Makefile (CFLAGS-stack_chk_fail.c)
10772         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
10773         * debug/stack_chk_fail.c (__stack_chk_fail): Add
10774         __stack_chk_fail_local alias.
10775         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
10776         (__stack_chk_fail): Turn into hidden reference to
10777         __stack_chk_fail_local.
10779 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10781         [BZ #7065]
10782         * configure.ac: Add check for unsupported stack-protection level.
10783         (libc_cv_predef_stack_protector): Remove.
10784         (no_ssp): New variable.
10785         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
10786         (stack_protector): Set to -fno-stack-protector similarly.
10787         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
10788         (libc_cv_asm_set_directive): Likewise.
10789         (libc_cv_protected_data): Likewise.
10790         (libc_cv_z_combreloc): Likewise.
10791         (libc_cv_hashstyle): Likewise.
10792         (libc_cv_has_glob_dat): Likewise.
10793         (libc_cv_output_format): Likewise.
10794         (libc_cv_output_format): Likewise.
10795         (libc_cv_ehdr_start): Likewise.
10796         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
10797         (LIBC_LINKER_FEATURE): Likewise.
10798         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
10800 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10802         [BZ #7065]
10803         * elf/Makefile (dummy-stack-chk-fail): New.
10804         (librtld.map): Use it.
10806 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10808         [BZ #7065]
10809         Compile the dynamic linker without stack protection.
10810         * elf/Makefile (elide-stack-protector): New.
10811         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
10812         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
10813         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
10814         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
10816 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10818         [BZ #7065]
10819         * config.make.in (have-ssp, no-stack-protector): New.
10820         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
10821         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
10822         (CFLAGS-sbrk.op): Likewise.
10823         (CFLAGS-brk.o): Likewise.
10824         (CFLAGS-brk.op): Likewise.
10825         * string/Makefile (CFLAGS-memcpy.c): Likewise.
10826         (CFLAGS-wordcopy.c): Likewise.
10828 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10830         [BZ #7065]
10831         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
10832         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
10833         * include/libc-symbols.h (inhibit_stack_protector): New macro.
10834         (__ifunc_resolver): Use it.
10835         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
10836         inhibit_stack_protector.
10837         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
10838         * elf/ifuncmain7.c (foo_ifunc): Likewise.
10839         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
10840         (foo_protected_ifunc): Likewise.
10841         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
10842         (foo_protected_ifunc): Likewise.
10843         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10844         * sysdeps/nacl/nacl_interface_query.c
10845         (nacl_interface_query_ifunc): Likewise.
10846         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
10847         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
10848         Likewise.
10849         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
10850         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
10851         the generated vDSO syscall resolver.
10853 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10854             Florian Weimer  <fweimer@redhat.com>
10856         [BZ #7065]
10857         Initialize the stack guard earlier when linking statically.
10858         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
10859         (__pthread_initialize_minimal): Declare.
10860         * csu/libc-start.c (__pthread_initialize_minimal): Remove
10861         declaration.
10862         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
10863         stack canary and apply_irel initialization up.  Call
10864         __pthread_initialize_minimal only if linked in.
10865         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
10866         constant values.
10867         (__pthread_initialize_minimal): Remove.
10868         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
10869         (__pthread_initialize_minimal_internal): Do not call
10870         __libc_setup_tls.
10872 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
10874         [BZ #7065]
10875         * configure.ac (libc_cv_ssp): Move up.
10876         (libc_cv_ssp_strong): Likewise.
10877         (libc_cv_ssp_all): New.
10878         (stack_protector): Augment, adding -fstack-protector-all.
10879         (no_stack_protector): New.
10880         (STACK_PROTECTOR_LEVEL): New.
10881         (AC_ARG_ENABLE(stack-protector)): New configure flag.
10882         * manual/install.texi (--enable-stack-protector): Document it.
10883         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
10885 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
10887         * README.pretty-printers: Must specify CPPFLAGS-* also.
10888         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
10889         (CPPFLAGS-test-mutex-printers.c): Define.
10890         (CPPFLAGS-test-condattr-printers.c): Define.
10891         (CPPFLAGS-test-cond-printers.c): Define.
10892         (CPPFLAGS-test-rwlockattr-printers.c): Define.
10893         (CPPFLAGS-test-rwlock-printers.c): Define.
10895         * nss/Makefile [ifeq (yes,$(have-thread-library))]
10896         (tests): Add tst-cancel-getpwuid_r.
10897         * nss/tst-cancel-getpwuid_r.c: New file.
10899         [BZ #11941]
10900         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
10901         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
10902         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
10903         tst-nodelete-dlclose.
10904         (modules-names): Add tst-nodelete-dlclose-dso and
10905         tst-nodelete-dlclose-plugin.
10906         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
10907         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
10908         ($(objpfx)tst-nodelete-dlclose): Define.
10909         ($(objpfx)tst-nodelete-dlclose.out): Define.
10911 2016-12-23  Florian Weimer  <fweimer@redhat.com>
10913         * scripts/test_printers_common.py: Log GDB output in case of
10914         Python detection failure.
10916 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10918         * configure.ac: Check for python3 or python.
10919         * configure: Regenerated.
10920         * config.make.in (PYTHON): New variable.
10921         * benchtests/Makefile: Don't define PYTHON.
10922         (bench): Define target only if PYTHON was defined.
10923         * Rules: Don't define PYTHON.
10924         Define pretty printer targets only if PYTHON was defined.
10925         (tests-printers): Add to tests-unsupported if PYTHON is not
10926         found.
10927         (python-flags, python-invoke): Remove.
10928         (tests-printers-out): Use PYTHON instead of python-invoke.
10930 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
10932         [BZ #20978]
10933         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10934         Compare name == NULL, not name != NULL.
10936         * manual/texinfo.tex: Update to version 2016-09-18.18 with
10937         trailing whitespace removed.
10938         * scripts/config.guess: Update to version 2016-10-02.
10939         * scripts/config.sub: Update to version 2016-11-19.
10940         * scripts/install-sh: Update to version 2016-01-11.22.
10941         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
10942         * scripts/move-if-change: Update to version 2016-01-11 22:04.
10944 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
10946         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
10947         (do_one_test) Restore original string so iteration works.
10948         * string/string-inlines.c (do_test): Create better input strings.
10949         (test_main) Reduce number of testruns.
10950         * string/string-inlines.c (__old_strsep_1c): New function.
10951         (__old_strsep_2c): Likewise.
10952         (__old_strsep_3c): Likewise.
10953         * string/strsep.c (__strsep): Remove case of small delim string.
10954         Call strcspn directly rather than strpbrk.
10955         * string/bits/string2.h (__strsep): Remove define.
10956         (__strsep_1c): Remove.
10957         (__strsep_2c): Remove.
10958         (__strsep_3c): Remove.
10959         (strsep): Remove.
10960         * sysdeps/unix/sysv/linux/internal_statvfs.c
10961         (__statvfs_getflags): Rename to __strsep.
10963 2016-12-21  Florian Weimer  <fweimer@redhat.com>
10965         * csu/libc-tls.c (_dl_tls_setup): Remove.
10966         * elf/dl-tls.c (_dl_tls_setup): Likewise.
10967         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
10968         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
10970 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10972         [BZ #7065]
10973         * sysdeps/x86_64/Makefile [$(subdir) = elf]
10974         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
10976 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
10977             Florian Weimer  <fweimer@redhat.com>
10979         [BZ #7065]
10980         * csu/Makefile (tests): Empty assignment and document it.
10981         (tests-static): Remove.
10982         * csu/tst-empty.c: Move to...
10983         * misc/tst-empty.c: ... here.  Switch to new test driver.
10984         * csu/tst-atomic.c: Move to...
10985         * misc/tst-atomic.c: ... here.  Switch to new test driver.
10986         * csu/tst-atomic-long.c: Move to...
10987         * misc/tst-atomic-long.c: ... here.
10988         * misc/Makefile (tests): Add tst-empty, tst-atomic,
10989         tst-atomic-long.
10990         (tests-static): Add tst-empty.
10992 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
10994         * manual/nss.texi: Change incorrect @vtable to @table.
10995         * manual/arith.texi: Convert @tables of variables to @vtables
10996         and remove unnecessary indexing.
10997         * manual/filesys.texi: Likewise.
10998         * manual/llio.texi: Likewise.
10999         * manual/memory.texi: Likewise.
11000         * manual/process.texi: Likewise.
11001         * manual/resource.texi: Likewise.
11002         * manual/search.texi: Likewise.
11003         * manual/signal.texi: Likewise.
11004         * manual/socket.texi: Likewise.
11005         * manual/stdio.texi: Likewise.
11006         * manual/sysinfo.texi: Likewise.
11007         * manual/syslog.texi: Likewise.
11008         * manual/terminal.texi: Likewise.
11009         * manual/time.texi: Likewise.
11010         * manual/users.texi: Likewise.
11012 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11014         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11015         (roundeven): New declaration.
11016         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11017         macro.
11018         * math/Versions (roundeven): New libm symbol at version
11019         GLIBC_2.25.
11020         (roundevenf): Likewise.
11021         (roundevenl): Likewise.
11022         * math/Makefile (libm-calls): Add s_roundevenF.
11023         * math/libm-test.inc (roundeven_test_data): New array.
11024         (roundeven_test): New function.
11025         (main): Call roundeven_test.
11026         * math/test-tgmath.c (NCALLS): Increase to 134.
11027         (F(compile_test)): Call roundeven.
11028         (F(roundeven)): New function.
11029         * manual/arith.texi (Rounding Functions): Document roundeven,
11030         roundevenf and roundevenl.
11031         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11032         * include/math.h (roundeven): Use libm_hidden_proto.
11033         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11034         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11035         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11036         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11037         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11038         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11039         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11040         roundeven.
11041         (CFLAGS-nldbl-roundeven.c): New variable.
11042         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11043         * sysdeps/nacl/libm.abilist: Update.
11044         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11045         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11046         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11047         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11048         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11049         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11050         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11051         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11052         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11053         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11054         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11055         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11057         Likewise.
11058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11059         Likewise.
11060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11061         Likewise.
11062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11063         Likewise.
11064         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11065         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11066         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11067         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11068         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11070         Likewise.
11071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11072         Likewise.
11073         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11074         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11075         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11077 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11079         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
11080         preprocessor indentation inside #if.
11082 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11084         * math/libm-test.inc (fmt_ftostr): New function.
11085         (print_float, check_float_internal): Replace some uses of
11086         FTOSTR with uses of fmt_ftostr.
11087         (print_max_error, print_complex_max_error, print_function_ulps)
11088         (print_complex_function_ulps): Remove uses of the macros
11089         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
11090         * math/test-double.h (FTOSTR): Define to strfromd.
11091         (PRINTF_EXPR): Delete.
11092         (PRINTF_XEXPR): Likewise.
11093         (PRINTF_NEXPR): Likewise.
11094         * math/test-float.h (FTOSTR): Define to strfromf.
11095         (PRINTF_EXPR): Delete.
11096         (PRINTF_XEXPR): Likewise.
11097         (PRINTF_NEXPR): Likewise.
11098         * math/test-ldouble.h (FTOSTR): Define to strfroml.
11099         (PRINTF_EXPR): Delete.
11100         (PRINTF_XEXPR): Likewise.
11101         (PRINTF_NEXPR): Likewise.
11103 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11105         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11106         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
11107         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11108         (__lll_lock_elision): Decrement adapt_count while unlocking
11109         instead of before locking.
11110         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11111         (__lll_trylock_elision): Likewise.
11112         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
11113         (__lll_unlock_elision): Likewise.
11115 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11117         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
11118         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
11119         Use __libc_tbegin_retry macro.
11121 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11123         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
11124         Add -msoft-float.
11125         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
11126         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
11127         Use __libc_t* transaction macros instead of __builtin_t*.
11128         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11129         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11131 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11133         * sysdeps/unix/sysv/linux/s390/elision-lock.c
11134         (__lll_lock_elision): Use atomics to load / store adapt_count.
11135         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
11136         (__lll_trylock_elision): Likewise.
11138 2016-12-20  Florian Weimer  <fweimer@redhat.com>
11140         Do not require memset elimination in explicit_bzero test.
11141         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
11142         (enum test_expectation): Add NO_EXPECTATIONS.
11143         (subtests): NO_EXPECTATIONS for ordinary clear.
11144         (check_test_buffer): Handle NO_EXPECTATIONS.
11145         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
11147 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
11149         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11150         (fmaxmag): New declaration.
11151         (fminmag): Likewise.
11152         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
11153         macro.
11154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
11155         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
11156         (fmaxmagf): Likewise.
11157         (fmaxmagl): Likewise.
11158         (fminmag): Likewise.
11159         (fminmagf): Likewise.
11160         (fminmagl): Likewise.
11161         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
11162         * math/s_fmaxmag_template.c: New file.
11163         * math/s_fminmag_template.c: Likewise.
11164         * math/libm-test.inc (fmaxmag_test_data): New array.
11165         (fmaxmag_test): New function.
11166         (fminmag_test_data): New array.
11167         (fminmag_test): New function.
11168         (main): Call fmaxmag_test and fminmag_test.
11169         * math/test-tgmath.c (NCALLS): Increase to 132.
11170         (F(compile_test)): Call fmaxmag and fminmag.
11171         (F(fminmag)): New function.
11172         (F(fmaxmag)): Likewise.
11173         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
11174         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
11175         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
11176         fminmag.
11177         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
11178         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
11179         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
11180         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
11181         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
11182         and fminmag.
11183         (CFLAGS-nldbl-fmaxmag.c): New variable.
11184         (CFLAGS-nldbl-fminmag.c): Likewise.
11185         * sysdeps/nacl/libm.abilist: Update.
11186         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11187         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11188         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11189         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11190         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11191         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11192         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11193         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11194         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11195         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11196         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11197         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11199         Likewise.
11200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11201         Likewise.
11202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11203         Likewise.
11204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11205         Likewise.
11206         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11207         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11208         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11209         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11210         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11212         Likewise.
11213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11214         Likewise.
11215         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11216         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11217         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11219 2016-12-19  Torvald Riegel  <triegel@redhat.com>
11221         [BZ #20973]
11222         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
11223         wake-up in robust mutexes.
11224         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11226 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11228         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
11229         (CFLAGS-bench-fmaxf.c): New rule.
11230         (CFLAGS-bench-fminf.c): Likewise.
11231         * benchtests/fmaxf-inputs: New file.
11232         * benchtests/fminf-inputs: Likewise.
11234         * benchtests/Makefile (bench-math): Add fmin and fmax.
11235         (CFLAGS-bench-fmax.c): New rule.
11236         (CFLAGS-bench-fmin.c): Likewise.
11237         * benchtests/fmax-inputs: New file.
11238         * benchtests/fmin-inputs: Likewise.
11240         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
11241         parenthesis.
11242         (CMDLINE_PROCESS): Define using function instead of macro.
11243         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
11244         of test-skeleton.
11245         * benchtests/bench-memchr.c: Likewise.
11246         * benchtests/bench-memcmp.c: Likewise.
11247         * benchtests/bench-memcpy-large.c: Likewise.
11248         * benchtests/bench-memcpy.c: Likewise.
11249         * benchtests/bench-memmem.c: Likewise.
11250         * benchtests/bench-memmove-large.c: Likewise.
11251         * benchtests/bench-memmove.c: Likewise.
11252         * benchtests/bench-memset-large.c: Likewise.
11253         * benchtests/bench-memset.c: Likewise.
11254         * benchtests/bench-rawmemchr.c: Likewise.
11255         * benchtests/bench-strcasecmp.c: Likewise.
11256         * benchtests/bench-strcasestr.c: Likewise.
11257         * benchtests/bench-strcat.c: Likewise.
11258         * benchtests/bench-strchr.c: Likewise.
11259         * benchtests/bench-strcmp.c: Likewise.
11260         * benchtests/bench-strcpy.c: Likewise.
11261         * benchtests/bench-strcpy_chk.c: Likewise.
11262         * benchtests/bench-strlen.c: Likewise.
11263         * benchtests/bench-strncasecmp.c: Likewise.
11264         * benchtests/bench-strncmp.c: Likewise.
11265         * benchtests/bench-strncpy.c: Likewise.
11266         * benchtests/bench-strnlen.c: Likewise.
11267         * benchtests/bench-strpbrk.c: Likewise.
11268         * benchtests/bench-strrchr.c: Likewise.
11269         * benchtests/bench-strsep.c: Likewise.
11270         * benchtests/bench-strspn.c: Likewise.
11271         * benchtests/bench-strstr.c: Likewise.
11272         * benchtests/bench-strtok.c: Likewise.
11274 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11276         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
11277         stepping identification.
11278         (init_cpu_features): Add handle of Haswell.
11280 2016-11-25  Jim Meyering  <meyering@fb.com>
11282         [BZ #20386]
11283         Let gcc detect assert(a = 1) errors.
11284         * assert/assert.h (assert): Rewrite, retaining the old definintion
11285         when required, but otherwise putting the expression as-is in an "if"
11286         expression (hence, with no added parentheses) within a statement
11287         expression.
11289 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11291         * benchtests/Makefile (binaries-benchset): Depend on libsupport
11292         DSO.
11294 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
11296         * Rules (python-flags, python-invoke): New.
11297         ($(test-printers-out)): Use $(python-flags).
11299 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11301         * manual/arith.texi (Math Error Reporting): Document that sNaN
11302         arguments are not considered domain errors.
11304 2016-12-16  Zack Weinberg <zackw@panix.com>
11305             Florian Weimer <fweimer@redhat.com>
11306             Nick Mathewson <nickm@torproject.org>
11308         * string/explicit_bzero.c: New routine.
11309         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
11310         * string/Makefile (routines, strop-tests, tests): Add them.
11311         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
11312         * string/string.h [__USE_MISC]: Declare explicit_bzero.
11314         * debug/explicit_bzero_chk.c: New routine.
11315         * debug/Makefile (routines): Add it.
11316         * debug/tst-chk1.c: Test fortification of explicit_bzero.
11317         * string/bits/string3.h: Fortify explicit_bzero.
11319         * manual/string.texi: Document explicit_bzero.
11320         * NEWS: Mention addition of explicit_bzero.
11322         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
11323         data before returning, using explicit_bzero.
11324         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
11325         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11326         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11328         * include/string.h: Redirect internal uses of explicit_bzero
11329         to __explicit_bzero_chk[_internal].
11330         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
11331         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
11332         * sysdeps/arm/nacl/libc.abilist
11333         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11334         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11335         * sysdeps/unix/sysv/linux/arm/libc.abilist
11336         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11337         * sysdeps/unix/sysv/linux/i386/libc.abilist
11338         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11339         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11340         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11341         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11342         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11346         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11351         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11352         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11353         * sysdeps/unix/sysv/linux/sh/libc.abilist
11354         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11355         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11358         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11359         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11360         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11361         Add entries for explicit_bzero and __explicit_bzero_chk.
11363 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11365         * math/fenv.h
11366         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
11367         (FE_SNANS_ALWAYS_SIGNAL): New macro.
11368         * math/test-fe-snans-always-signal.c: New file.
11369         * math/Makefile (tests): Add test-fe-snans-always-signal.
11370         (CFLAGS-test-fe-snans-always-signal.c): New variable.
11371         * manual/arith.texi (Infinity and NaN): Document
11372         FE_SNANS_ALWAYS_SIGNAL.
11374 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11376         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
11377         bracket.
11379 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
11381         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
11382         before calling execv.
11384 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11386         [BZ #20971]
11387         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
11388         overflow in pointer addition.
11389         * string/test-memchr.c (do_test): Add an argument to pass as
11390         the size on memchr.
11391         (test_main): Add check for SIZE_MAX.
11393 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11395         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
11396         (libm-calls): Add w_scalblnF.
11397         * math/w_scalbln.c: Remove.
11398         * math/w_scalblnf.c: Likewise.
11399         * math/w_scalblnl.c: Likewise.
11400         * math/w_scalbln_template.c: New file with type-generic
11401         implementation based on math/w_scalbln.c.
11402         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
11403         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
11405 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11407         [BZ #20947]
11408         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
11409         either is a signaling NaN.
11410         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
11411         follow fmaxl more closely.
11412         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
11413         when either is a signaling NaN.
11414         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
11415         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
11416         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
11417         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
11418         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
11419         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
11420         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
11421         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
11422         (fmin_test_data): Likewise.
11424 2016-12-15  Andreas Schwab  <schwab@suse.de>
11426         * support/support_test_main.c (support_test_main): Don't shadow
11427         file-local variable test_pid.
11429 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
11431         [BZ #20947]
11432         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
11433         either is a signaling NaN.
11434         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
11436 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11438         [BZ #20947]
11439         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
11440         when either is a signaling NaN.
11441         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
11443         * bits/long-double.h: New file.
11444         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
11445         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
11446         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
11447         * sysdeps/mips/bits/long-double.h: Likewise.
11448         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
11449         * math/Makefile (headers): Add bits/long-double.h.
11450         * misc/sys/cdefs.h: Include <bits/long-double.h>.
11451         * stdlib/strtold.c: Include <bits/long-double.h> instead of
11452         <bits/wordsize.h>.
11453         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
11454         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
11455         * math/math.h: Do not include <bits/mathdef.h>.
11456         * sysdeps/aarch64/bits/mathdef.h: Remove file.
11457         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
11458         inclusion.
11459         * sysdeps/ia64/bits/mathdef.h: Remove file.
11460         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
11461         * sysdeps/mips/bits/mathdef.h: Likewise.
11462         * sysdeps/powerpc/bits/mathdef.h: Likewise.
11463         * sysdeps/s390/bits/mathdef.h: Likewise.
11464         * sysdeps/sparc/bits/mathdef.h: Likewise.
11465         * sysdeps/x86/bits/mathdef.h: Likewise.
11466         * sysdeps/s390/s390-32/bits/wordsize.h
11467         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
11468         conditional code.
11469         * sysdeps/s390/s390-64/bits/wordsize.h
11470         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11471         Likewise.
11472         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
11473         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11474         Likewise.
11475         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
11476         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11477         Likewise.
11478         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11479         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
11480         Likewise.
11482         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
11483         <linux/falloc.h>.
11484         (FALLOC_FL_KEEP_SIZE): Remove.
11485         (FALLOC_FL_PUNCH_HOLE): Likewise.
11486         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
11487         (FALLOC_FL_ZERO_RANGE): Likewise.
11489 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11491         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
11493 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11495         * sysdeps/unix/sysv/linux/renameat.c: New file.
11496         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
11498         * sysdeps/unix/sysv/linux/rename.c: New file.
11499         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
11501 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11503         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
11504         * string/strtok.c (strtok): Change to tailcall __strtok_r.
11505         * string/strtok_r.c (__strtok_r): Optimize for performance.
11506         * string/string-inlines.c (__old_strtok_r_1c): New function.
11507         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
11509 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11511         * math/Makefile (gen-libm-calls): Add w_log1pF.
11512         (libm-calls): Remove w_log1pF.
11513         * math/w_log1p.c: Remove.
11514         * math/w_log1pf.c: Likewise.
11515         * math/w_log1pl.c: Likewise.
11516         * math/w_log1p_template.c: New file with type-generic
11517         implementation based on math/w_log1p.c.
11518         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
11519         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
11521 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
11523         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
11525 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
11527         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
11528         kernel version to 4.9.
11530 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
11532         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
11533         ($(inst_libdir)/libm.a): Fix rule to create the target only.
11535 2016-12-13  Andreas Schwab  <schwab@suse.de>
11537         * sysdeps/powerpc/dl-procinfo.c: Don't define
11538         _dl_powerpc_platforms.
11539         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
11540         constants instead of referencing _dl_powerpc_platforms.
11541         (_dl_platform_string): Remove.
11543 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11545         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
11547 2016-12-13  Florian Weimer  <fweimer@redhat.com>
11549         * Rules (binaries-shared-tests, binaries-pie-tests)
11550         (binaries-static-tests): Link with $(link-extra-libs-tests).
11551         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
11552         Remove $(link-extra-libs-tests).
11554 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11556         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11557         (sysdep_routines): Add strncmp_power9.
11558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11559         (strncmp): Add __strncmp_power9 to list of strncmp functions.
11560         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
11561         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
11562         (strncmp): Add __strncmp_power9 to ifunc list.
11563         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
11565 2016-12-12  Florian Weimer  <fweimer@redhat.com>
11567         [BZ #17252]
11568         Add getentropy, getrandom.
11569         * stdlib/sys/random.h: New file.
11570         (headers): Add it.
11571         * stdlib/Makefile (routines): Add getentropy, getrandom.
11572         (tests): Add tst-getrandom.
11573         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
11574         * stdlib/getentropy.c: New file.
11575         * stdlib/getrandom.c: Likewise.
11576         * stdlib/tst-getrandom.c: Likewise.
11577         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
11578         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
11579         * manual/crypt.texi (Unpredictable Bytes): New section.
11580         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
11581         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
11582         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
11583         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11584         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11585         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11586         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11587         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11588         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11589         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11590         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11591         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11592         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11593         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11594         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11595         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11597         Likewise.
11598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11599         Likewise.
11600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11602         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11603         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11604         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11605         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11606         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11609         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11610         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11611         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11613 2016-12-10  Florian Weimer  <fweimer@redhat.com>
11615         [BZ #20956]
11616         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
11617         as additional compiler barriers.
11618         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
11619         (fn2, do_test): Declare with external linkage.
11620         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
11621         (do_test): Declare with external linkage.
11622         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
11623         (do_test): Declare with external linkage.
11624         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
11625         (do_test): Declare with external linkage.
11627 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
11629         * support/support_test_main.c (support_test_main): Use correct
11630         timeout.
11632 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
11633             Florian Weimer  <fweimer@redhat.com>
11635         [BZ #16421]
11636         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11637         and __u6_addr32 members.
11638         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
11639         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
11640         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
11641         Use __u6_addr32.
11642         * inet/tst-checks.c: Use <support/test-driver.c>
11643         * inet/tst-checks-posix.c: New file.
11644         * inet/Makefile (tests): Add it.
11645         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
11647 2016-12-09  Florian Weimer  <fweimer@redhat.com>
11649         New subdirectory support for build and test infrastructure.
11650         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
11651         setting install-lib.
11652         * Makeconfig (link-extra-libs-tests): Define.
11653         (+link-pie-tests, +link-static-tests, +link-tests): Use
11654         link-extra-libs-tests.
11655         (rpath-dirs, all-subdirs): Add support.
11656         (built-modules): Add libsupport.
11657         (libsupport): Define.
11658         * support: New directory.
11659         * support/Makefile: New file.
11660         * support/check.c: Likewise.
11661         * support/check.h: Likewise.
11662         * support/delayed_exit.c: Likewise.
11663         * support/ignore_stderr.c: Likewise.
11664         * support/oom_error.c: Likewise.
11665         * support/set_fortify_handler.c: Likewise.
11666         * support/support.h: Likewise.
11667         * support/temp_file-internal.h: Likewise.
11668         * support/temp_file.c: Likewise.
11669         * support/test-driver.c: Likewise.
11670         * support/test-driver.h: Likewise.
11671         * support/test_main.c: Likewise.
11672         * support/write_message.c: Likewise.
11673         * support/xasprintf.c: Likewise.
11674         * support/xcalloc.c: Likewise.
11675         * support/xmalloc.c: Likewise.
11676         * support/xpthread_barrier_destroy.c: Likewise.
11677         * support/xpthread_barrier_init.c: Likewise.
11678         * support/xpthread_barrier_wait.c: Likewise.
11679         * support/xpthread_cancel.c: Likewise.
11680         * support/xpthread_check_return.c: Likewise.
11681         * support/xpthread_cond_wait.c: Likewise.
11682         * support/xpthread_create.c: Likewise.
11683         * support/xpthread_detach.c: Likewise.
11684         * support/xpthread_join.c: Likewise.
11685         * support/xpthread_mutex_lock.c: Likewise.
11686         * support/xpthread_mutex_unlock.c: Likewise.
11687         * support/xpthread_sigmask.c: Likewise.
11688         * support/xpthread_spin_lock.c: Likewise.
11689         * support/xpthread_spin_unlock.c: Likewise.
11690         * support/xrealloc.c: Likewise.
11691         * support/xsignal.h: Likewise.
11692         * support/xthread.h: Likewise.
11693         * support_tempfile.h: Likewise.
11694         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
11695         (TEST_DATA_LIMIT): Remove unused macro.
11696         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
11697         <support/check.h>.
11698         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
11699         (ignore_stderr, set_fortify_handler): Remove.  Now in
11700         <support/support.h>.
11701         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
11702         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
11703         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
11704         (xpthread_join): Remove.  Now in <support/xthread.h>.
11705         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
11706         Introduce legacy wrappers.
11707         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
11708         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
11709         (write_message): Remove.
11710         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
11711         test-skeleton.c.
11712         * io/test-open-tmpfile: Likewise.
11713         * io/tst-posix_fallocate-common.c: Likewise.
11714         * libio/tst-fseek.c: Likewise.
11715         * malloc/tst-malloc-backtrace.c: Likewise.
11716         * malloc/tst-malloc-fork-deadlock.c: Likewise.
11717         * malloc/tst-malloc-thread-exit.c: Likewise.
11718         * nptl/tst-cancel7.c: Likewise.
11719         * nptl/tst-cleanup0.c: Likewise.
11720         * posix/tst-posix_fadvise-common.c: Likewise.
11721         * rt/tst-shm.c: Likewise.
11722         * time/bug-getdate1.c: Likewise.
11723         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
11724         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
11725         * elf/Makefile (tst-piemod1.so): Link against libsupport.
11727 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
11729         * Rules [$(run-built-tests) != no] (tests-expected): Add
11730         $(tests-printers).
11731         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
11733 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11735         [BZ #20539]
11736         * math/Makefile (install-lib-ldscripts): Add libm.a.
11737         (install_subdir): Remove.
11738         (install-others): Add.
11739         ($(inst_libdir)/libm.a): Add rule for installation as
11740         linker script.
11741         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
11743 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
11745         * INSTALL: Regenerated.
11746         * Makeconfig: Add comments and whitespace to make the control flow
11747         clearer.
11748         (+link-printers-tests, +link-pie-printers-tests,
11749         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
11750         built-rtld-LDFLAGS, link-libc-rpath,
11751         link-libc-tests-after-rpath-link,
11752         link-libc-printers-tests): New.
11753         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
11754         link-libc-tests): Use the new variables as required.
11755         * Makerules ($(py-const)): New rule.
11756         generated: Add $(py-const).
11757         * README.pretty-printers: New file.
11758         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
11759         (others): Depend on $(py-const).
11760         (tests): Depend on $(tests-printers-programs) or
11761         $(tests-printers-out),
11762         as required.  Pass $(tests-printers) to merge-test-results.sh.
11763         * manual/install.texi: Add requirements for testing the pretty
11764         printers.
11765         * nptl/Makefile (gen-py-const-headers, pretty-printers,
11766         tests-printers, CFLAGS-test-mutexattr-printers.c
11767         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
11768         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
11769         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
11770         * nptl/nptl-printers.py: New file.
11771         * nptl/nptl_lock_constants.pysym: Likewise.
11772         * nptl/test-cond-printers.c: Likewise.
11773         * nptl/test-cond-printers.py: Likewise.
11774         * nptl/test-condattr-printers.c: Likewise.
11775         * nptl/test-condattr-printers.py: Likewise.
11776         * nptl/test-mutex-printers.c: Likewise.
11777         * nptl/test-mutex-printers.py: Likewise.
11778         * nptl/test-mutexattr-printers.c: Likewise.
11779         * nptl/test-mutexattr-printers.py: Likewise.
11780         * nptl/test-rwlock-printers.c: Likewise.
11781         * nptl/test-rwlock-printers.py: Likewise.
11782         * nptl/test-rwlockattr-printers.c: Likewise.
11783         * nptl/test-rwlockattr-printers.py: Likewise.
11784         * scripts/gen-py-const.awk: Likewise.
11785         * scripts/test_printers_common.py: Likewise.
11786         * scripts/test_printers_exceptions.py: Likewise.
11788 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11790         * scripts/build-many-glibcs.py (Context.__init__): Take strip
11791         argument.
11792         (Glibc.build_glibc): Strip installed shared libraries if
11793         requested.
11794         (get_parser): Add --strip option.
11795         (main): Update Context call.
11797 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11798             Dominik Vogt  <vogt@linux.vnet.ibm.com>
11800         [BZ #20847]
11801         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11802         array bounds for else branch.
11803         (__execvpe): Style fixes.
11804         * posix/tst-vfork3.c (run_script): New function.
11805         (create_script): Likewise.
11806         (do_test): Use run_script internal function.
11807         (do_prepare): Use create_script internal function.
11809 2016-12-07  Andreas Schwab  <schwab@suse.de>
11811         * sysdeps/unix/sysv/linux/x86/elision-conf.h
11812         (__elision_available): Don't declare.
11813         * sysdeps/unix/sysv/linux/x86/elision-conf.c
11814         (__elision_available): Don't define.
11815         (elision_init): Don't set __elision_available.
11817 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11819         [BZ #20940]
11820         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
11821         return Inf for arguments Inf and sNaN.
11822         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
11823         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11824         Likewise.
11825         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11826         Likewise.
11827         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
11828         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
11829         for arguments Inf and sNaN.  When returning a NaN, compute it by
11830         arithmetic on the arguments.
11831         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
11832         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
11833         arguments.
11835 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
11837         [BZ #20916]
11838         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
11839         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
11840         to compute result.
11841         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11842         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
11844 2016-12-05  Torvald Riegel  <triegel@redhat.com>
11846         * include/atomic.h (__atomic_check_size_ls): New.
11847         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
11848         atomic_store_release): Use it.
11849         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
11850         (elision_adapt, ELIDE_LOCK): Use atomics.
11851         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
11852         atomics and improve code comments.
11853         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
11854         (__lll_trylock_elision): Likewise.
11856 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11858         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
11859         programs.
11861 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11863         [BZ #20916]
11864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
11865         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
11866         arguments to compute result.
11867         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
11868         1 for arguments (sNaN, 0) or (1, sNaN).
11869         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
11870         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11872         [BZ #20919]
11873         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
11874         NaN first argument when raised to power 0.
11875         * math/w_pow.c (__pow): Do not check for NaN or zero results from
11876         raising to power zero.
11877         * math/w_powf.c (__powf): Likewise.
11878         * math/w_powl.c (__powl): Likewise.
11879         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
11880         pow (0, 0) or pow (NaN, 0).
11882 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
11884         [BZ #20918]
11885         * configure.ac: Test for static NSS cryptographic libraries and set
11886         libc_cv_static_nss_crypt.
11887         * configure: Regenerate.
11888         * config.make.in (static-nss-crypt): Define.
11889         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
11890         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
11891         (CFLAGS-tst-linkall-static.c): Define.
11892         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
11893         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
11894         ($(objpfx)tst-linkall-static): Define.
11895         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
11896         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
11898 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11900         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
11901         (one-hundred, tst-tls-many-dynamic-modules): Define.
11902         (modules-names): Add $(tst-tls-many-dynamic-modules).
11903         (tst-tls-manydynamic%mod.os): Build with special preprocessor
11904         macros.
11905         (tst-tls-manydynamic): Link against libdl, libpthread.
11906         (tst-tls-manydynamic.out): The test needs the test modules at run
11907         time.
11908         * elf/tst-tls-manydynamic.c: New file.
11909         * elf/tst-tls-manydynamic.h: Likewise.
11910         * elf/tst-tls-manydynamicmod.c: Likewise.
11912 2016-12-02  Florian Weimer  <fweimer@redhat.com>
11914         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
11915         (TLS_DTV_UNALLOCATED): Add.
11916         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
11917         offsets.
11919 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11921         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11923 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
11925         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
11926         Add -fno-optimize-sibling-calls.
11928 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
11930         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
11931         New declaration.
11932         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
11933         macro.
11934         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
11935         New macro.
11936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
11937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
11938         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
11939         (llogbf): Likewise.
11940         (llogbl): Likewise.
11941         * math/Makefile (gen-libm-calls): Add w_llogbF.
11942         (tests): Add test-fp-llogb-constants.
11943         * math/w_llogb_template.c: New file.  Based on
11944         math/w_ilogb_template.c.
11945         * math/libm-test.inc (llogb_test_data): New array.
11946         (llogb_test): New function.
11947         (main): Call llogb_test.
11948         * math/test-fp-llogb-constants.c: New file.  Based on
11949         math/test-fp-ilogb-constants.c.
11950         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
11951         (do_test): Call check_return_llogb.
11952         * math/test-tgmath.c (NCALLS): Increase to 126.
11953         (F(compile_test)): Call llogb.
11954         (F(llogb)): New function.
11955         * manual/math.texi (Exponents and Logarithms): Document llogb,
11956         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
11957         * manual/libm-err-tab.pl (@all_functions): Add llogb.
11958         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
11959         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
11960         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
11961         (CFLAGS-nldbl-llogb.c): New variable.
11962         * sysdeps/nacl/libm.abilist: Update.
11963         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11964         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11965         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11967         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11968         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11969         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11970         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11971         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11973         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11974         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11976         Likewise.
11977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11978         Likewise.
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11980         Likewise.
11981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11982         Likewise.
11983         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11985         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11987         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11989         Likewise.
11990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11991         Likewise.
11992         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11993         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11994         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11996 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
11998         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
11999         _Float128 instead of long double.
12000         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
12002         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
12003         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
12004         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
12005         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
12006         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
12007         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
12008         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
12009         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12010         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12011         Likewise.
12013 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12015         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12016         Remove redirection to __strrchr_ppc.
12018 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12020         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12021         (sysdep_routines): Add strcmp_power9.
12022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12023         (strcmp): Add __strcmp_power9 to list of strcmp functions.
12024         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12025         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12026         (strcmp): Add __strcmp_power9 to ifunc list.
12027         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12029 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12031         * bits/fp-logb.h: New file.
12032         * sysdeps/ia64/bits/fp-logb.h: Likewise.
12033         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12034         * sysdeps/x86/bits/fp-logb.h: Likewise.
12035         * math/Makefile (headers): Add bits/fp-logb.h.
12036         * math/math.h: Include <bits/fp-logb.h>.
12037         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12038         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12039         * bits/mathdef.h (FP_ILOGB0): Remove.
12040         (FP_ILOGBNAN): Likewise.
12041         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12042         (FP_ILOGBNAN): Likewise.
12043         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12044         (FP_ILOGBNAN): Likewise.
12045         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12046         (FP_ILOGBNAN): Likewise.
12047         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12048         (FP_ILOGBNAN): Likewise.
12049         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12050         (FP_ILOGBNAN): Likewise.
12051         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12052         (FP_ILOGBNAN): Likewise.
12053         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12054         (FP_ILOGBNAN): Likewise.
12055         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12056         (FP_ILOGBNAN): Likewise.
12057         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12058         (FP_ILOGBNAN): Likewise.
12060         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
12061         time module.
12062         (Context.__init__): Initialize self.logsdir_old.
12063         (Context.run_builds): Handle bot action.
12064         (Context.bot_cycle): Copy logs directory before running builds.
12065         (Context.bot_run_self): Take argument for whether to check
12066         subprocess result.  Flush stdout before running subprocess.
12067         (Context.bot): New function.
12068         (get_parser): Allow bot action.
12070 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
12072         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
12073         Import email.mime.text, email.utils and smtplib modules.
12074         (Context.__init__): Initialize self.bot_config_json.
12075         (Context.run_builds): Handle bot-cycle action.
12076         (Context.load_bot_config_json): New function.
12077         (Context.part_build_old): Likewise.
12078         (Context.bot_cycle): Likewise.
12079         (Context.bot_build_mail): Likewise.
12080         (Context.bot_run_self): Likewise.
12081         (get_parser): Allow bot-cycle action.
12083 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12085         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
12086         Remove redirection to __stpcpy_ppc.
12088 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12090         Remove __libc_memalign from ld.so because it is unused.
12091         * elf/dl-minimal.c: Update comment on the malloc implementation.
12092         (malloc): Renamed from __libc_memalign, replacing the original
12093         malloc implementation.  Replace the align parameter with
12094         MALLOC_ALIGNMENT.
12095         * elf/Versions (ld): Update comment and remove __libc_memalign.
12096         * sysdeps/nacl/ld.abilist: Likewise.
12097         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
12098         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
12099         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
12100         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
12101         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
12102         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
12103         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
12104         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
12105         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
12106         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
12107         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
12108         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
12109         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
12110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12113         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
12114         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
12115         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
12116         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
12117         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
12118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
12119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
12120         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
12121         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
12122         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
12123         * sysdeps/generic/localplt.data (ld.so): Likewise.
12124         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12125         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12126         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12127         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12128         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12129         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12130         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12131         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
12132         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12134         (ld.so): Likewise.
12135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12136         (ld.so): Likewise.
12137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12138         Likewise.
12139         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12140         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12141         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
12142         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
12143         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12145 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12147         [BZ #16628]
12148         Implement _dl_catch_error, _dl_signal_error in libc.so.
12149         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
12150         (catch_hook): Define as thread-local or regular variable,
12151         depending on DL_ERROR_BOOTSTRAP.
12152         (CATCH_HOOK): Remove.
12153         (dl_signal_error, _dl_catch_error): Use
12154         catch_hook.  Add hidden definition for libc.
12155         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
12156         for DL_ERROR_BOOTSTRAP only.
12157         * elf/dl-error.c: New file.
12158         * elf/dl-error-minimal.c: Likewise.
12159         * elf/tst-latepthread.c: Likewise.
12160         * elf/tst-latepthreadmod.c: Likewise.
12161         * elf/Makefile (routines): Add dl-error.
12162         (dl-routines): Remove dl-error.
12163         (rtld-routines): Add dl-error-minimal.
12164         [build-shared] (tests): Add tst-latepthread.
12165         (module-names): Add tst-latepthreadmod.
12166         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
12167         symbol.
12168         (tst-latepthreadmod.so): Link against libpthread.
12169         (tst-latepthread): Link against libdbl.
12170         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
12171         _dl_catch_error.
12172         [ld] (GLIBC_PRIVATE): Likewise.
12173         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
12174         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
12175         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
12176         directly.
12177         * elf/dl-tsd.c: Remove file.
12178         * elf/rtld.c (_rtld_global_ro): Remove initializers for
12179         _dl_catch_error, _dl_signal_error.
12180         (_dl_initial_error_catch_tsd): Remove definition.
12181         (do_preload): Remove initialization of dl_error_catch_tsd.
12182         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
12183         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
12184         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12185         * dlfcn/dlopen.c (dlopen_doit): Likewise.
12186         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
12187         set dl_error_catch_tsd.
12188         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
12189         _dl_error_catch_tsd member.
12190         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
12191         members.
12192         (_dl_initial_error_catch_tsd): Remove declaration.
12193         (_dl_dprintf): Provide definition for use outside of ld.so.
12194         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
12195         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
12196         prototype for libc.
12197         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
12198         _dl_catch_error.
12199         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
12200         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
12201         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
12202         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
12203         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
12204         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
12205         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
12206         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
12207         Likewise.
12208         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
12209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
12210         (ld.so): Likewise.
12211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
12212         (ld.so): Likewise.
12213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
12214         Likewise.
12215         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
12216         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
12217         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
12218         Likewise.
12219         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
12220         Likewise.
12221         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
12223 2016-11-30  Florian Weimer  <fweimer@redhat.com>
12225         [BZ #4099]
12226         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
12227         _IO_BUFSIZ (8192).
12229 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
12231         * PROJECTS: Remove file.
12233 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12235         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
12237 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
12238             Steve Ellcey  <sellcey@caviumnetworks.com>
12240         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
12241         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
12242         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
12243         fxstatat.
12244         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
12245         lxstat.
12246         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
12247         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
12248         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
12249         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
12250         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
12251         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
12252         __xstat.
12254 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12256         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
12257         Define.
12258         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
12259         definition.
12261 2016-11-29  Florian Weimer  <fweimer@redhat.com>
12263         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
12264         version and turn into strong alias.  Remove compat symbol.
12266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12267         (__longjmp): Remove.
12269 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
12271         * bits/fp-fast.h: New file.
12272         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
12273         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
12274         * math/Makefile (headers): Add bits/fp-fast.h.
12275         * math/math.h: Include <bits/fp-fast.h>.
12276         * bits/mathdef.h (FP_FAST_FMA): Remove.
12277         (FP_FAST_FMAF): Likewise.
12278         (FP_FAST_FMAL): Likewise.
12279         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
12280         (FP_FAST_FMAF): Likewise.
12281         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
12282         (FP_FAST_FMAF): Likewise.
12283         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
12284         (FP_FAST_FMAF): Likewise.
12285         (FP_FAST_FMAL): Likewise.
12286         * sysdeps/arm/bits/mathdef.h: Remove file.
12287         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
12288         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
12289         * sysdeps/tile/bits/mathdef.h: Likewise.
12291 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12293         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
12294         * math/w_ilogb.c: Remove.
12295         * math/w_ilogbf.c: Likewise.
12296         * math/w_ilogbl.c: Likewise.
12297         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
12298         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
12299         * math/Makefile (gen-libm-calls): Add w_ilogbF.
12300         (libm-calls): Remove w_ilogbF.
12301         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
12302         (LDOUBLE_ilogbl_libm_version): New macro.
12304         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
12306         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
12307         [!__STRICT_ANSI__ && !__cplusplus].
12309 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12311         [BZ #20750]
12312         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
12313         of PIC.
12315 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12316             Yury Norov  <ynorov@caviumnetworks.com>
12317             Steve Ellcey  <sellcey@caviumnetworks.com>
12319         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
12320         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
12321         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
12322         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
12323         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
12324         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
12325         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
12326         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
12327         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
12328         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
12329         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
12330         to get correct reg name for ILP32.
12331         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
12332         (RELA_SIZE): New Macro.
12333         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
12334         to support ILP32.
12335         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
12336         cast for ILP32 mode.
12337         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
12338         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
12339         * sysdeps/aarch64/memset.S (__memset): Ditto.
12340         * sysdeps/aarch64/strchr.S (strchr): Ditto.
12341         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
12342         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
12343         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
12344         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
12345         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
12346         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
12347         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
12348         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
12349         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
12350         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
12351         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
12352         change PTR_MANGLE call to use register numbers instead of names.
12353         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
12354         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
12355         ILP32 mode, change PTR_MANGLE calls to use register numbers.
12356         * sysdeps/aarch64/start.S (_start): Ditto.
12357         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
12358         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
12359         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
12360         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
12361         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
12362         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
12363         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
12364         Make defined values dependent on __ILP32__.
12365         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
12366         (sem_t): Change __align type.
12367         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
12368         PTR_SIZE): New Macros.
12369         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
12370         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
12371         Set when in ILP32 mode.
12372         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
12373         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
12374         Set elf flags for ILP32.
12375         (add_system_dir): Set ILP32 library directories.
12376         * sysdeps/unix/sysv/linux/aarch64/init-first.c
12377         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
12378         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
12379         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
12380         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
12381         New Macros.
12382         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
12384 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
12386         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
12387         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
12388         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
12390 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
12392         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
12393         <asm/cachectl.h>.
12395 2016-11-27  Zack Weinberg  <zackw@panix.com>
12397         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
12398         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
12400 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12402         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
12403         error_t to fix usage in C++ programs.
12405 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
12407         * scripts/build-many-glibcs.py: Import datetime module.
12408         (Context.__init__): Load JSON build state.  Initialize list of
12409         status logs.
12410         (Context.run_builds): Update saved build state.
12411         (Context.add_makefile_cmdlist): Update list of status logs.
12412         (Context.load_build_state_json): New function.
12413         (Context.store_build_state_json): Likewise.
12414         (Context.clear_last_build_state): Likewise.
12415         (Context.update_build_state): Likewise.
12416         (CommandList.status_logs): Likewise.
12418 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
12420         * scripts/build-many-glibcs.py (Context.__init__): Save text of
12421         script being executed.
12422         (Context.get_script_text): New function.
12423         (Context.exec_self): Likewise.
12424         (Context.checkout): Re-exec script if changed by checkout process.
12426 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12428         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12429         (setpayloadsig): New declaration.
12430         * math/Versions (setpayloadsig): New libm symbol at version
12431         GLIBC_2.25.
12432         (setpayloadsigf): Likewise.
12433         (setpayloadsigl): Likewise.
12434         * math/Makefile (libm-calls): Add s_setpayloadsigF.
12435         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
12436         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
12437         (setpayloadsig_test_data): New array.
12438         (setpayloadsig_test): New function.
12439         (main): Call setpayloadsig_test.
12440         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
12441         setpayloadsigf and setpayloadsigl.
12442         * manual/libm-err-tab.pl: Update comment on interfaces without
12443         ulps tabulated.
12444         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
12445         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
12446         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
12447         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
12448         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
12449         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
12450         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12451         setpayloadsig.
12452         (CFLAGS-nldbl-setpayloadsig.c): New variable.
12453         * sysdeps/nacl/libm.abilist: Update.
12454         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12455         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12460         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12461         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12462         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12465         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12467         Likewise.
12468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12469         Likewise.
12470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12471         Likewise.
12472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12473         Likewise.
12474         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12475         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12476         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12477         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12478         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12480         Likewise.
12481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12482         Likewise.
12483         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12484         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12485         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12487         * scripts/build-many-glibcs.py: Import json module.
12488         (Context.__init__): Take replace_sources argument.  Load
12489         versions.json.
12490         (Context.load_versions_json): New function.
12491         (Context.store_json): Likewise.
12492         (Context.store_versions_json): Likewise.
12493         (Context.set_component_version): Likewise.
12494         (Context.checkout): Update versions.json.  Check for and handle
12495         changes of version.  Prefer previously explicitly specified
12496         version to default version.
12497         (Context.checkout_vcs): Return a revision identifier.
12498         (Context.git_checkout): Likewise.
12499         (Context.gcc_checkout): Likewise.
12500         (get_parser): Add --replace-sources option.
12501         (main): Pass replace_sources argument to Context call.
12503 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12505         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
12506         * nptl/allocatestack.c (allocate_stack): Likewise.
12507         (__reclaim_stacks): Likewise.
12508         (setxid_signal_thread): Obtain pid through syscall.
12509         * nptl/nptl-init.c (sigcancel_handler): Likewise.
12510         (sighandle_setxid): Likewise.
12511         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
12512         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
12513         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12514         Likewise.
12515         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
12516         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
12517         comment.
12518         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
12519         * nptl/descr.h (struct pthread): Change comment about pid value.
12520         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
12521         pid assert.
12522         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
12523         Do not set pid value.
12524         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
12525         pid cache check.
12526         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
12527         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
12528         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
12529         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
12530         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
12531         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12532         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
12533         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
12534         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
12535         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
12536         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
12537         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12538         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
12539         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12540         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
12541         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
12542         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12543         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
12544         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
12545         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
12546         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
12547         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12548         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
12549         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
12550         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
12551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12553         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12554         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12555         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12556         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
12557         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
12558         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
12559         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
12560         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
12561         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12562         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
12563         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12564         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
12565         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
12566         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12567         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
12568         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
12569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12571         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12572         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12573         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12574         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12575         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12576         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
12577         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
12578         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
12579         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
12580         struct access.
12581         (clone_test): Remove function.
12582         (do_test): Rewrite to take in consideration pid is not cached anymore.
12584 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
12586         * bits/flt-eval-method.h: New file.
12587         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
12588         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
12589         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
12590         * math/Makefile (headers): Add bits/flt-eval-method.h.
12591         * math/math.h: Include <bits/flt-eval-method.h>.
12592         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
12593         [__USE_ISOC99] (double_t): Likewise.
12594         * bits/mathdef.h (float_t): Remove.
12595         (double_t): Likewise.
12596         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
12597         (double_t): Likewise.
12598         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
12599         (double_t): Likewise.
12600         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
12601         (double_t): Likewise.
12602         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
12603         (double_t): Likewise.
12604         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
12605         (double_t): Likewise.
12606         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
12607         (double_t): Likewise.
12608         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
12609         (double_t): Likewise.
12610         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
12611         (double_t): Likewise.
12612         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
12613         (double_t): Likewise.
12614         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
12615         (double_t): Likewise.
12616         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
12617         (double_t): Likewise.
12618         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
12619         (double_t): Likewise.
12620         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
12621         (double_t): Likewise.
12623 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
12625         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
12626         instead of PIC.
12628 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12630         [BZ #20859]
12631         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
12632         (-0x7fffffff) instead of 0x80000001.
12633         * math/test-fp-ilogb-constants.c: New file.
12634         * math/Makefile (tests): Add test-fp-ilogb-constants.
12636 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
12638         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
12639         (_init): Use it in place of hardcoded R_MIPS_JALR.
12640         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
12641         (_init): Use it in place of hardcoded R_MIPS_JALR.
12642         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
12643         (_init): Use it in place of hardcoded R_MIPS_JALR.
12645 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12647         [BZ #20787]
12648         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
12649         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
12650         (double_t): Do not define to double if [__x86_64__] when
12651         __FLT_EVAL_METHOD__ is nonzero.
12652         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
12653         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
12654         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12655         test-flt-eval-method-387 and test-flt-eval-method-sse.
12656         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
12657         variable.
12658         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
12660 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
12662         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
12663         use of -fno-isolate-erroneous-paths options for tilepro.
12665 2016-11-23  Florian Weimer  <fweimer@redhat.com>
12667         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
12668         structure initialization is no longer needed.
12670 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
12672         [BZ #20855]
12673         * bits/mathdef.h (float_t): Define to float.
12674         * math/test-flt-eval-method.c: New file.
12675         * math/Makefile (tests): Add test-flt-eval-method.
12676         (CFLAGS-test-flt-eval-method.c): New variable.
12678 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
12680         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
12681         and __fstatfs.  Make them aliases of __fstatfs64 if
12682         STATFS_IS_STATFS64 is set to non-zero.
12683         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
12684         and __statfs64.
12685         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
12686         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
12687         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
12688         for __statfs and statfs.
12689         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
12690         to 0.
12691         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
12692         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
12693         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
12694         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12695         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12696         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
12699         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
12700         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12701         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
12702         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
12704 2016-11-22  Andreas Schwab  <schwab@suse.de>
12706         * misc/mkstemp.c: Include <fcntl.h>.
12707         * misc/mkstemps.c: Likewise.
12708         * misc/mkostemp.c: Likewise.
12709         * misc/mkostemps.c: Likewise.
12711 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
12713         [BZ #20847]
12714         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12715         array bounds.
12716         (__execvpe): Likewise.
12718 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
12720         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
12721         -fno-isolate-erroneous-paths options for tilepro.
12723 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
12725         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
12726         to 0 when in 32 bit mode.
12727         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
12728         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
12729         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
12730         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
12731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
12732         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
12733         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
12734         XSTAT_IS_XSTAT64 test.
12735         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
12736         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
12737         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
12738         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
12739         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
12740         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
12741         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
12742         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
12743         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
12744         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
12745         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
12747 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
12749         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12750         (setpayload): New declaration.
12751         * math/Versions (setpayload): New libm symbol at version
12752         GLIBC_2.25.
12753         (setpayloadf): Likewise.
12754         (setpayloadl): Likewise.
12755         * math/Makefile (libm-calls): Add s_setpayloadF.
12756         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
12757         test_Ff_b1_data.
12758         (RUN_TEST_Ff_b1): New macro.
12759         (RUN_TEST_LOOP_Ff_b1): Likewise.
12760         (canonicalize_test_data): Update type.
12761         (setpayload_test_data): New array.
12762         (setpayload_test): New function.
12763         (main): Call setpayload_test.
12764         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
12765         setpayloadf and setpayloadl.
12766         * manual/libm-err-tab.pl: Update comment on interfaces without
12767         ulps tabulated.
12768         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
12769         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
12770         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
12771         Likewise.
12772         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
12773         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
12774         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
12775         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
12776         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
12777         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
12778         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
12779         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
12780         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
12781         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12782         setpayload.
12783         (CFLAGS-nldbl-setpayload.c): New variable.
12784         * sysdeps/nacl/libm.abilist: Update.
12785         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12786         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12787         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12788         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12789         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12790         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12791         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12792         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12793         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12794         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12795         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12796         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12798         Likewise.
12799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12800         Likewise.
12801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12802         Likewise.
12803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12804         Likewise.
12805         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12806         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12807         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12808         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12809         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12811         Likewise.
12812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12813         Likewise.
12814         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12815         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12816         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12818 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12820         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
12821         * include/unistd.h: Extend comment about __access_noerrno return
12822         semantics.
12823         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
12824         (access_common): Correct typo for EACCES.
12826 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
12828         * sysdeps/tile/math-tests.h: New file.
12830         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
12831         (__old_set_dataplane): Rename from set_dataplane and make a
12832         compatibility symbol.
12833         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
12834         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
12835         sys/dataplane.h.
12837 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
12839         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
12840         script quote words in command output to log suitably for input to
12841         the shell.
12843 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
12844             Maciej W. Rozycki  <macro@imgtec.com>
12846         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
12847         `.Lno_weak_fn' label.
12848         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
12849         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
12851 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12852             Yury Norov  <ynorov@caviumnetworks.com>
12854         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
12855         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
12856         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12857         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
12858         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12859         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
12860         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12861         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12862         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12863         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
12864         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
12865         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
12866         (sysdep_routines): Remove oldgetrlimit64.
12867         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
12868         (sysdep_routines): Likewise.
12869         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
12870         (sysdep_routines): Likewise.
12871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12872         [$(subdir) = resource] (sysdep_routines): Likewise.
12873         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
12874         [$(subdir) = resource] (sysdep_routines): Likewise.
12875         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
12876         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
12877         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
12878         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
12879         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
12880         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12881         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
12882         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
12883         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
12884         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
12885         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
12886         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
12887         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
12888         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
12889         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
12890         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
12891         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
12892         setrlimit and getrlimit.
12893         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
12894         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12895         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
12896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
12898         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12899         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
12900         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12901         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12902         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
12903         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
12904         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
12905         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
12906         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
12907         (__old_getrlimit64): Add compatibility symbol.
12908         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
12910 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
12912         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
12913         newly built gmp, mpfr and mpc.
12915         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
12917 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12919         * conform/Makefile (linknamespace-libs): Rename to
12920         linknamespace-libs-thr.
12921         (linknamespace-libs-posix): New variable.
12922         (linknamespace-libs-xsi): Likewise.
12923         (linknamespace-libs-XPG3): Include libcrypt.a.
12924         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
12925         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
12926         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
12927         (linknamespace-libs-XOPEN2K): Likewise.
12928         (linknamespace-libs-XOPEN2K8): Likewise.
12929         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
12931         [BZ #20829]
12932         * stdio-common/Versions (__snprintf): Add to version
12933         GLIBC_PRIVATE.
12934         * include/stdio.h (__snprintf): Use libc_hidden_proto.
12935         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
12936         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
12937         of snprintf.
12938         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12940 2016-11-16  Zack Weinberg  <zackw@panix.com>
12942         * string/string.h: Remove obsolete comment stating that
12943         strcoll_l and strxfrm_l have not yet been standardized.
12945 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12947         * hurd/hurd.h (__hurd_fail_noerrno): New function.
12948         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
12949         __access_noerrno.
12950         * io/access.c (__access_noerrno): New function.
12951         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
12952         (hurd_fail_seterrno): Likewise.
12953         (access_common): Likewise.
12954         (__access_noerrno): Likewise.
12955         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
12956         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
12957         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
12958         macro.
12960 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
12962         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
12963         Only declare fpregs if [__SH_FPU_ANY__].
12965 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
12967         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
12968         Make code unconditional.
12969         [!(__SH4__ || __SH4A__)]: Remove conditional code.
12971 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
12973         * manual/sysinfo.texi (S_APPEND): Delete.
12974         (S_IMMUTABLE): Likewise.
12976 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
12977             Magnus Granberg  <zorry@gentoo.org>
12978             Mike Frysinger  <vapier@gentoo.org>
12980         [BZ #20662]
12981         * configure.ac (libc_cv_predef_stack_protector): Also check for
12982         __stack_chk_fail_local symbols.
12983         * configure: Regenerated.
12985 2016-11-15  Florian Weimer  <fweimer@redhat.com>
12987         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12988         (libc_hidden_def): Remove redefinition.
12989         (__sigsetjmp): Add hidden definition.
12990         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
12991         (libc_hidden_def): Remove redefinition.
12992         (__sigsetjmp): Add hidden definition.
12994 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
12996         * scripts/build-many-glibcs.py (os.path): Do not import.
12997         (Context): Inherit explicitly from object.  Remove blank line
12998         between class and docstring.
12999         (Config): Likewise.
13000         (Glibc): Likewise.
13001         (Command): Likewise.
13002         (CommandList): Likewise.
13003         (Context.write_files): Store chmod mode in a variable.
13005         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
13006         LIBC_SLIBDIR_RTLDDIR for tilegx32.
13007         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
13009 2016-11-14  Zack Weinberg  <zackw@panix.com>
13011         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13012         creating or re-creating it.
13014         * string/bits/string2.h: Fix typo in comment.
13016 2016-11-14  Zack Weinberg  <zackw@panix.com>
13018         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13019         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13020         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13021         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13022         of redirected function names.
13024         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13025         as well.  Document that MESSAGE must be a single string literal.
13027 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
13029         * scripts/build-many-glibcs.py: New file.
13031         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13032         (do_test): Disable -Wmaybe-uninitialized around uses of
13033         except_mask.
13035         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13037 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
13039         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13040         (atomic_store_release): Provide tilepro-specific implementations.
13042 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
13044         * math/math.h (__MATH_TG): New macro.
13045         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13046         [__USE_ISOC99] (signbit): Likewise.
13047         [__USE_ISOC99] (isfinite): Likewise.
13048         [__USE_ISOC99] (isnan): Likewise.
13049         [__USE_ISOC99] (isinf): Likewise.
13050         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13051         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13053         __MATH_TG and __MATH_EVAL_FMT2.
13054         * sysdeps/generic/math_private.h (fabs_tg): Define using
13055         __MATH_TG.
13056         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13057         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13058         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13059         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13060         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13061         macro.
13062         (__iscanonical): Likewise.
13063         (iscanonical): Define using __MATH_TG.
13065 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13067         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
13068         guards.
13070         * sysdeps/unix/sysv/linux/access.c: New file.
13071         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
13073 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
13075         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
13076         and __WORDSIZE32_PTRDIFF_LONG.
13078 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13080         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13082 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13084         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
13085         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
13086         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
13087         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
13088         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
13089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
13090         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
13091         * sysdeps/unix/sysv/linux/truncate.c: New file.
13092         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
13093         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13094         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
13095         Remove.
13096         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
13097         Likewise.
13099         * posix/tst-truncate-common.c: New file.
13100         * posix/tst-truncate.c: Use tst-truncate-common.c.
13101         * posix/tst-truncate64.c: Likewise and add LFS tests.
13102         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
13103         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
13104         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
13105         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
13106         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
13107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
13108         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
13109         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
13110         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
13111         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
13112         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
13113         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
13114         Remove.
13115         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
13116         Likewise.
13118 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
13120         [BZ #20790]
13121         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
13122         to MAXLINESIZE.
13123         * sunrpc/bug20790.x: New file.
13124         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
13125         variable.
13126         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
13127         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
13129         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
13131         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
13133         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
13134         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
13135         calloc, realloc, free, memalign and __libc_memalign rather than
13136         making them optional.
13138         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
13139         for libc.so.
13141 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13143         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
13144         ptw-lseek64.
13145         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
13146         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
13147         Likewise.
13148         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
13149         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
13150         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
13151         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
13152         * sysdeps/unix/sysv/linux/lseek.c: New file.
13153         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
13154         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
13155         __libc_lseek64 from auto-generation.
13156         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13157         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
13159 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13161         * nptl/tst-basic1.c (tf, do_test): Use write_message.
13162         * nptl/tst-cleanup1.c (do_test): Likewise.
13163         * nptl/tst-cleanup3.c (do_test): Likewise.
13164         * nptl/tst-key1.c (do_test): Likewise.
13165         * nptl/tst-key2.c (tf, do_test): Likewise.
13166         * nptl/tst-key3.c (tf, do_test): Likewise.
13167         * nptl/tst-stdio1.c (do_test): Likewise.
13168         * nptl/tst-stdio2.c (do_test): Likewise.
13170         * nptl/tst-kill3.c (handler): Use write_message in place of write.
13171         * nptl/tst-kill6.c (handler): Likewise.
13172         * nptl/tst-tls2.c (CB): Likewise.
13173         * nptl/tst-tls3.c (CB): Likewise.
13175 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
13177         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
13179 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
13180             Steve Ellcey  <sellcey@caviumnetworks.com>
13182         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
13183           __ASSUME_ST_INO_64_BIT as 0
13184         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
13185         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
13186           over the code where __ASSUME_ST_INO_64_BIT is used.
13187         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
13188         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
13189         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13191 2016-11-07  Florian Weimer  <fweimer@redhat.com>
13193         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13194         Document ABI exposure of the __kind offset.
13195         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13196         Mention reason for the __kind offset exposure in the ABI.
13197         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13198         Likewise.
13199         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13200         Likewise.
13201         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13202         Likewise.
13203         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
13204         (struct __pthread_mutex_s): Likewise.
13205         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13206         Likewise.
13207         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13208         Likewise.
13209         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13210         Likewise.
13211         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13212         Likewise.
13213         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13214         Likewise.
13215         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
13216         Likewise.
13217         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
13218         (struct __pthread_mutex_s): Likewise.
13219         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13220         (struct __pthread_mutex_s): Likewise.
13221         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
13222         Likewise.
13224 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
13226         * test-skeleton.c: Document do_test usage.
13228 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
13230         * iconv/gconv.h (__gconv_info): Define __data element using a
13231         zero-length array.
13233 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
13235         * math/test-tgmath2.c: Split up test function.
13237 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13239         * Rules (tests-expected): New variable, depending on
13240         $(run-built-tests).
13241         (tests): Pass $(tests-expected) to merge-test-results.sh, not
13242         $(tests).
13244         * Rules [$(run-built-tests) = no] (tests): Do not depend on
13245         $(tests-unsupported).
13247 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13249         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13250         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
13252 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13254         [BZ #20768]
13255         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
13256         __fegetenv instead of fegetenv.
13258         [BZ #14139]
13259         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
13260         (find_files): Obtain platform name from libm-test-ulps-name and
13261         store in %pplatforms.
13262         (canonicalize_platform): Remove.
13263         (print_platforms): Use $pplatforms directly.
13264         (by_platforms): Do not allow for platforms missing from
13265         %pplatforms.
13266         * sysdeps/aarch64/libm-test-ulps-name: New file.
13267         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
13268         * sysdeps/arm/libm-test-ulps-name: Likewise.
13269         * sysdeps/generic/libm-test-ulps-name: Likewise.
13270         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
13271         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
13272         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
13273         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
13274         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
13275         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
13276         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
13277         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
13278         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
13279         * sysdeps/nios2/libm-test-ulps-name: Likewise.
13280         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
13281         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
13282         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
13283         * sysdeps/sh/libm-test-ulps-name: Likewise.
13284         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
13285         * sysdeps/tile/libm-test-ulps-name: Likewise.
13286         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
13288         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
13290         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
13291         (test-xfail-check-execstack): New variable.
13293         * sysdeps/mips/localplt.data: New file.
13295 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
13296             Steve Ellcey  <sellcey@caviumnetworks.com>
13298         * bits/wordsize.h: Add documentation.
13299         * sysdeps/aarch64/bits/wordsize.h : New file
13300         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
13301         definitions.
13302         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
13303         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
13304         with #if instead of #ifdef.
13305         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
13306         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
13307         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
13308         Add or change defines.
13309         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
13310         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13311         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
13312         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
13313         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13314         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13315         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
13316         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
13317         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
13318         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13319         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
13320         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
13321         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
13322         * sysdeps/x86/bits/wordsize.h: Likewise.
13324 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
13325             Kevin Petit  <kevin.petit@arm.com>
13327         * sysdeps/aarch64/memchr.S (__memchr): New file.
13329 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13331         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
13333 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
13335         [BZ #19398]
13336         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
13337         $(linknamespace-symlists-tests).
13339 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
13341         * time/tst-strptime2.c: Ignore -Wformat-length warning.
13343 2016-11-02  Florian Weimer  <fweimer@redhat.com>
13344             Carlos O'Donell  <carlos@redhat.com>
13346         [Bug #20729]
13347         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
13348         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
13349         for -Os related change.
13351 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
13353         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
13355 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
13357         [BZ #19673]
13358         * manual/math.texi (Exponents and Logarithms): Correct description
13359         of clog10.
13361 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
13363         [Bz #20729]
13364         * locale/weight.h: Include libc-internal.h.
13365         * locale/weightwc.h: Likewise.
13366         * nptl/nptl_dbP.h: Likewise.
13368 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
13370         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
13371         when it is MACH_PORT_NULL.
13373 2016-10-31  Andreas Schwab  <schwab@suse.de>
13375         [BZ #20707]
13376         * posix/glob.c (glob): Initialize pglob before checking for
13377         GLOB_BRACE.  Don't call glob recursively if pattern contains no
13378         valid brace expression despite GLOB_BRACE.
13379         * posix/globtest.sh: Test it.
13381 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13383         [BZ #20729]
13384         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
13385         Define.
13386         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
13387         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
13388         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
13389         for seq2.back_us and seq1.back_us only for -Os compiles.
13390         * locale/weightwc.h (findix): Likewise.
13391         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
13392         DB_GET_FIELD_ADDRESS only for -Os compiles.
13393         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
13394         for slen only for -Os compiles.
13395         * string/strcoll_l.c (get_next_seq): Ignore
13396         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
13397         for -Os compiles.
13399         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
13400         * include/crypt.h: New file.
13402 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13404         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
13405         from test-skeleton.c.
13406         (statclass): Replace calls to write with calls to write_message.
13408 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13410         * math/math.h
13411         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
13412         New macro.
13413         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
13414         Likewise.
13415         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
13416         Likewise.
13417         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
13418         SNANL.
13419         * math/test-double.h (snan_value_MACRO): New macro.
13420         * math/test-float.h (snan_value_MACRO): Likewise.
13421         * math/test-ldouble.h (snan_value_MACRO): Likewise.
13422         * math/libm-test.inc (issignaling_test_data): Add tests of
13423         snan_value_MACRO.
13425 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13427         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
13428         behavior when eliding a lock not held by the current thread.
13429         * sysdeps/powerpc/nptl/elide.h: Likewise.
13431 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13433         [BZ #20728]
13434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
13435         branch to _exit() by a function call.
13437 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13439         * malloc/malloc.c: Update chunk layout comments.
13440         (chunk_main_arena): Update comment.
13442 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13444         * crypt/sha256.c, crypt/sha256-block.c,
13445         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
13446         sha256_process_block to __sha256_process_block.
13447         * crypt/sha512.c, crypt/sha512-block.c,
13448         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
13449         sha512_process_block to __sha512_process_block.
13451 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
13453         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
13455         * math/test-nan-overflow.c: Include stdlib.h for malloc.
13457 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
13459         [BZ #20019]
13460         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
13461         definition in unrelocated shared library.
13462         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13464 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13466         [BZ #20729]
13467         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
13468         * sysdeps/unix/sysv/linux/i386/Makefile
13469         (uses-6-syscall-arguments): Define.
13470         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
13471         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
13472         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
13473         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
13474         Likewise.
13475         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
13476         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
13477         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
13478         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
13479         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
13480         (CFLAGS-fallocate64.os): Likewise.
13481         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
13482         (CFLAGS-pthread_rwlock_timedrdlock.os)
13483         (CFLAGS-pthread_rwlock_timedwrlock.o)
13484         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
13485         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
13486         (CFLAGS-sem_timedwait.os): Likewise.
13488 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13490         * elf/tst-linkall-static.c: New file.
13491         * elf/Makefile (tests-static): Add tst-linkall-static.
13492         (tst-linkall-static): Link against static libraries.
13494 2016-10-27  Florian Weimer  <fweimer@redhat.com>
13496         * malloc/malloc.c (sysmalloc): Initialize previous size field of
13497         mmaped chunks.
13499 2016-10-28  Florian Weimer  <fweimer@redhat.com>
13501         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
13502         members to mchunk_prev_size, mchunk_size.
13503         (chunk_main_arena): Reverse sense and rename from
13504         chunk_non_main_arena.
13505         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
13506         mchunk_size instead of size.
13507         (set_non_main_arena): Define.
13508         (chunksize): Use chunksize_nomask instead of direct member access.
13509         (chunksize_nomask): Define.
13510         (next_chunk): Use chunksize instead of direct member access.
13511         (prev_size, set_prev_size): Define.
13512         (prev_chunk): Use prev_size instead of direct member access.
13513         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
13514         (inuse_bit_at_offset, set_inuse_bit_at_offset)
13515         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
13516         (mchunk_prev_size, mchunk_size): Poison tokens.
13517         (unlink): Use chunksize_nomask, prev_size accessors.
13518         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
13519         (do_check_free_chunk): Use prev_size accessor.
13520         (sysmalloc): Use set_prev_size, set_head accessors.
13521         (munmap_chunk, mremap_chunk): Use prev_size accessor.
13522         (__libc_free): Use chunksize_nomask accessor.
13523         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
13524         chunk_main_arena accessors.
13525         (_int_free): Use chunksize_nomask, prev_size accessors.
13526         (malloc_consolidate): Use chunksize, prev_size accessors.
13527         (_int_realloc): Use chunksize_nomask accessor.
13528         (_int_memalign): Use set_prev_size accessor.
13529         (__malloc_info): Use chunksize_nomask accessor.
13530         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
13531         accessors.
13532         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
13533         (heap_trim): Use chunksize_nomask, prev_size accessors.
13535 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
13537         [BZ #19380]
13538         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
13539         for inexact results.
13540         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
13541         of inexact result where mpfr_subnormalize is the only inexact
13542         step.
13543         * stdlib/tst-strtod-round-data.h: Regenerated.
13544         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
13545         Define to 0.
13546         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
13548 2016-10-27  David S. Miller  <davem@davemloft.net>
13550         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
13552 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13554         * malloc/malloc.c (do_set_mallopt_check): New function.
13555         (do_set_mmap_threshold): Likewise.
13556         (do_set_mmaps_max): Likewise.
13557         (do_set_top_pad): Likewise.
13558         (do_set_perturb_byte): Likewise.
13559         (do_set_trim_threshold): Likewise.
13560         (do_set_arena_max): Likewise.
13561         (do_set_arena_test): Likewise.
13562         (__libc_mallopt): Use them.
13564 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
13566         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13567         (canonicalize): New declaration.
13568         * math/Versions (canonicalize): New libm symbol at version
13569         GLIBC_2.25.
13570         (canonicalizef): Likewise.
13571         (canonicalizel): Likewise.
13572         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
13573         * math/s_canonicalize_template.c: New file.
13574         * math/libm-test.inc: Update comment on functions tested and
13575         testing of NaN payloads.
13576         (TEST_NAN_PAYLOAD): New macro.
13577         (NO_TEST_INLINE): Update value.
13578         (XFAIL_TEST): Likewise.
13579         (ERRNO_UNCHANGED): Likewise.
13580         (ERRNO_EDOM): Likewise.
13581         (ERRNO_ERANGE): Likewise.
13582         (IGNORE_RESULT): Likewise.
13583         (NON_FINITE): Likewise.
13584         (TEST_SNAN): Likewise.
13585         (NO_TEST_MATHVEC): Likewise.
13586         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
13587         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
13588         (struct test_Ffp_b1_data): New type.
13589         (RUN_TEST_Ffp_b1): New macro.
13590         (RUN_TEST_LOOP_Ffp_b1): Likewise.
13591         (canonicalize_test_data): New array.
13592         (canonicalize_test): New function.
13593         (main): Call canonicalize_test.
13594         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
13595         canonicalizef and canonicalizel.
13596         * manual/libm-err-tab.pl: Update comment on interfaces without
13597         ulps tabulated.
13598         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
13599         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
13600         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13601         canonicalize.
13602         (CFLAGS-nldbl-canonicalize.c): New variable.
13603         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
13604         to ...
13605         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
13606         ... here.
13607         (do_test): Also test canonicalizel.
13608         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
13609         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
13610         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
13611         file.
13612         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
13613         Use libm_hidden_def.
13614         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
13615         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
13616         (do_test): Also test canonicalizel.
13617         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
13618         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
13619         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
13620         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
13621         libm_hidden_def.
13622         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
13623         macro.
13624         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
13625         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
13626         * sysdeps/nacl/libm.abilist: Update.
13627         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13630         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13632         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13633         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13634         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13635         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13636         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13637         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13638         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13640         Likewise.
13641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13642         Likewise.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13644         Likewise.
13645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13646         Likewise.
13647         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13649         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13650         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13651         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13653         Likewise.
13654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13655         Likewise.
13656         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13657         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13658         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13660         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
13661         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13662         getpayload.
13663         (CFLAGS-nldbl-getpayload.c): New variable.
13665 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13667         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
13668         integer from the format string.
13670 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13672         [BZ #19473]
13673         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
13674         declarations.
13675         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
13676         weak aliases.
13677         * malloc/hooks.c (__malloc_get_state): Remove definition.
13678         (malloc_get_state): New stub implementation as
13679         compatibility symbol.
13680         (malloc_set_state): Rename from __malloc_set_state.  Turn into
13681         compat symbol.
13682         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
13683         malloc_set_state.
13684         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
13686 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13688         * iconvdata/iso646.c (enum variant): Drop illegal_var.
13689         (names): Turn into concatenation of strings.
13690         (gconv_init): Adapt iteration over names.
13692 2016-10-26  Florian Weimer  <fweimer@redhat.com>
13694         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
13695         make const.
13696         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
13697         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
13698         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
13699         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
13700         character in sbconv.
13701         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
13702         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
13703         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
13705 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13707         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
13709         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
13710         (M_TRIM_THRESHOLD): Likewise.
13712         * manual/memory.texi (M_ARENA_TEST): Add documentation.
13713         (M_ARENA_MAX): Likewise.
13714         * malloc/malloc.c: Remove obsolete comment.
13716         * manual/memory.texi: Add environment variable alternatives to
13717         setting mallopt parameters.
13719 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
13721         * include/atomic.h
13722         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
13723         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
13725 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13727         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
13728         * stdlib/tst-strfrom.h: New file.
13729         * stdlib/tst-strfrom.c: New file.
13730         * stdlib/tst-strfrom-locale.c: New file.
13732         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
13733         * stdlib/bug-strtod2.c: Likewise.
13734         * stdlib/tst-strtod-round-skeleton.c: Likewise.
13735         * stdlib/tst-strtod6.c: Likewise.
13736         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
13738 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13740         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
13741         * manual/arith.texi: Document strfromd, strfromf, strfroml.
13742         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
13743         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
13744         * stdlib/stdlib.h (strfromd): New declaration.
13745         (strfromf): Likewise.
13746         (strfroml): Likewise.
13747         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
13748         strfrom.
13749         * stdlib/strfromd.c: New file.
13750         * stdlib/strfromf.c: Likewise.
13751         * stdlib/strfroml.c: Likewise.
13752         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
13753         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
13754         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
13755         * sysdeps/arm/nacl/libc.abilist: Update.
13756         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13757         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13758         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13759         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13760         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13761         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13762         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13763         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13764         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13765         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13766         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13767         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13768         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13769         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
13771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13774         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13775         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13776         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13777         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13778         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13781         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13782         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13783         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13785 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
13787         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
13788         instead of cmpli.
13789         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
13790         instead of cmpli.
13792 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
13794         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
13795         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
13796         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
13797         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13798         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13799         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13801 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13803         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
13804         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13805         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
13806         SYSCALL_LL64_PRW.
13807         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13808         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
13809         __ASSUME_PRW_DUMMY_ARG.
13810         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
13811         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13812         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13813         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13814         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
13815         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
13817 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
13819         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
13821 2016-10-22  Florian Weimer  <fweimer@redhat.com>
13823         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
13824         "C++", to override a potential extern "C" directive around the
13825         header file inclusion.
13827 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
13829         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
13831 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13833         * sysdeps/powerpc/fpu/fenv_private.h:
13834         (_FPU_MASK_ALL): Rename to...
13835         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
13836         XE FPSCR bits.
13838         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
13840         (_FPU_MASK_ROUNDING): Rename to...
13841         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
13842         NI bits.
13844         (_FPU_MASK_EXCEPT_ROUND): Rename to...
13845         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
13846         bits and rounding bits.
13848         (__libc_feholdbits_ppc): New inline function to mask, set,
13849         and pontentially clear FSPCR bits, and change MSR[FE] bits.
13850         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
13851         (libc_feholdexcept_setround_ppc): Likewise.
13853         (__libc_femergeenv_ppc): New function to dynamically mask both
13854         old and new FP environments and merge.
13855         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
13856         (libc_feresetround_ppc): Likewise.
13857         (libc_feupdateenv_test_ppc): Likewise.
13858         (libc_feupdateenv_ppc): Likewise.
13860         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
13861         of ISA RN bits, and update macro names.
13862         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
13863         effectively the same as the previously mentioned function.
13865         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
13866         usage with fe_resetround_ppc.
13868         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
13869         to be used.
13870         (libc_feholdexcept_setround_ctxf): Likewise.
13871         (libc_feholdexcept_setround_ctxl): Likewise.
13873 2016-10-21  Florian Weimer  <fweimer@redhat.com>
13875         [BZ #20715]
13876         * math/math.h [__cplusplus] (iszero): Define as function template.
13877         * math/Makefile [CXX] (tests): Add test-math-iszero.
13878         (CFLAGS-test-math-iszero.cc): Set.
13879         * math/test-math-iszero.cc: New file.
13881 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
13883         [BZ #20660]
13884         * sysdeps/arm/e_sqrt.c: New file.
13885         * sysdeps/arm/e_sqrtf.c: Likewise.
13887 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
13889         [BZ #20718]
13890         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
13891         not use floating-point comparisons to test sign.
13892         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
13893         Likewise.
13895         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13896         (getpayload): New declaration.
13897         * math/Versions (getpayload): New libm symbol at version
13898         GLIBC_2.25.
13899         (getpayloadf): Likewise.
13900         (getpayloadl): Likewise.
13901         * math/Makefile (libm-calls): Add s_getpayloadF.
13902         * math/libm-test.inc: Include <nan-high-order-bit.h>.
13903         (struct test_f_f_data): Add comment.
13904         (RUN_TEST_fp_f): New macro.
13905         (RUN_TEST_LOOP_fp_f): Likewise.
13906         (getpayload_test_data): New array.
13907         (getpayload_test): New function.
13908         (main): Call getpayload_test.
13909         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
13910         descriptor.
13911         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
13912         getpayloadf and getpayloadl.
13913         * manual/libm-err-tab.pl: Update comment on interfaces without
13914         ulps tabulated.
13915         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
13916         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
13917         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
13918         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
13919         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
13920         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
13921         * sysdeps/nacl/libm.abilist: Update.
13922         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13923         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13924         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13925         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13926         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13927         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13928         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13929         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13930         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13931         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13932         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13933         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13935         Likewise.
13936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13937         Likewise.
13938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13939         Likewise.
13940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13941         Likewise.
13942         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13943         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13944         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13945         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13946         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13948         Likewise.
13949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13950         Likewise.
13951         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13952         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13953         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13955 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13957         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
13958         tst-fallocate{64}.
13959         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
13960         on syscall return.
13962 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
13964         [BZ #20689]
13965         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
13966         usable.
13968 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
13970         * sysdeps/generic/nan-high-order-bit.h: New file.
13971         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
13972         * sysdeps/mips/nan-high-order-bit.h: Likewise.
13973         * sysdeps/hppa/math_private.h: Remove file.
13974         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
13975         not define here.
13976         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
13977         <nan-high-order-bit.h>.
13978         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13979         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
13980         <nan-high-order-bit.h>.
13981         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13982         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
13983         <nan-high-order-bit.h>.
13984         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13985         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
13986         <nan-high-order-bit.h>.
13987         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13988         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
13989         <nan-high-order-bit.h>.
13990         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13991         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
13992         <nan-high-order-bit.h>.
13993         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13994         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
13995         <nan-high-order-bit.h>.
13996         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
13997         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
13998         <nan-high-order-bit.h>.
13999         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14000         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14001         <nan-high-order-bit.h>.
14002         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14003         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
14004         <nan-high-order-bit.h>.
14005         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14006         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
14007         <nan-high-order-bit.h>.
14008         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14009         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14010         <nan-high-order-bit.h>.
14011         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14012         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14013         <nan-high-order-bit.h>.
14014         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14015         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14016         <nan-high-order-bit.h>.
14017         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14018         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14019         <nan-high-order-bit.h>.
14020         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14021         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14022         <nan-high-order-bit.h>.
14023         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14024         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14025         <nan-high-order-bit.h>.
14026         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14027         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14028         <nan-high-order-bit.h>.
14029         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14031 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14033         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14035 2016-09-22  John David Anglin  <dave.anglin@bell.net>
14037         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14038         abort-instr.h.
14039         (EFAULT): Remove conditional define.
14040         (ENOSYS): Likewise.
14041         (atomic_compare_and_exchange_val_acq): Use instruction nullification
14042         instead of conditional branch instructions.
14044 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
14046         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14047         (totalordermag): New declaration.
14048         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14049         New macro.
14050         * math/Versions (totalordermag): New libm symbol at version
14051         GLIBC_2.25.
14052         (totalordermagf): Likewise.
14053         (totalordermagl): Likewise.
14054         * math/Makefile (libm-calls): Add s_totalordermagF.
14055         * math/libm-test.inc (totalordermag_test_data): New array.
14056         (totalordermag_test): New function.
14057         (main): Call totalordermag_test.
14058         * math/test-tgmath.c (NCALLS): Increase to 125.
14059         (F(compile_test)): Call totalordermag.
14060         (F(totalordermag)): New function.
14061         * manual/arith.texi (FP Comparison Functions): Document
14062         totalordermag, totalordermagf and totalordermagl.
14063         * manual/libm-err-tab.pl: Update comment on interfaces without
14064         ulps tabulated.
14065         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
14066         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
14067         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
14068         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
14069         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
14070         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
14071         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
14072         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14073         totalordermag.
14074         (CFLAGS-nldbl-totalordermag.c): New variable.
14075         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
14076         (do_test): Also test totalordermagl.
14077         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
14078         Likewise.
14079         * sysdeps/nacl/libm.abilist: Update.
14080         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14081         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14082         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14083         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14084         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14085         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14086         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14087         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14088         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14089         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14090         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14091         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14093         Likewise.
14094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14095         Likewise.
14096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14097         Likewise.
14098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14099         Likewise.
14100         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14101         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14102         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14103         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14104         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14106         Likewise.
14107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14108         Likewise.
14109         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14110         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14111         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14113 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
14115         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
14116         boolean.
14118 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
14120         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
14121         raising FE_INVALID with feraisexcept in case where part of
14122         argument is infinite, subtract that part of argument from itself.
14123         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
14124         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
14125         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14127 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14129         * math/libm-test.inc (totalorder_test_data): Add more tests.
14131 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14133         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
14134         Undefine weak_alias and add a comment why mips64 require
14135         versioning.
14137 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
14139         [BZ #20647]
14140         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
14141         maximum CPUID level is less than 2.
14143 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
14145         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14146         (totalorder): New declaration.
14147         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
14148         New macro.
14149         * math/Versions (totalorder): New libm symbol at version
14150         GLIBC_2.25.
14151         (totalorderf): Likewise.
14152         (totalorderl): Likewise.
14153         * math/Makefile (libm-calls): Add s_totalorderF.
14154         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
14155         string.
14156         * math/libm-test.inc (PAYLOAD_DIG): New macro.
14157         (qnan_value_pl): Likewise.
14158         (snan_value_pl): Likewise.
14159         (qnan_value): Define using qnan_value_pl.
14160         (snan_value): Define using snan_value_pl.
14161         (struct test_ff_i_data): Add comment about which tests use this
14162         structure.
14163         (RUN_TEST_ff_b): New macro.
14164         (RUN_TEST_LOOP_ff_b): Likewise.
14165         (totalorder_test_data): New array.
14166         (totalorder_test): New function.
14167         (main): Call totalorder_test.
14168         * math/test-tgmath.c (NCALLS): Increase to 122.
14169         (F(compile_test)): Call totalorder.
14170         (F(totalorder)): New function.
14171         * manual/arith.texi (FP Comparison Functions): Document
14172         totalorder, totalorderf and totalorderl.
14173         * manual/libm-err-tab.pl: Update comment on interfaces without
14174         ulps tabulated.
14175         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
14176         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
14177         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
14178         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
14179         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
14180         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
14181         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
14182         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14183         totalorder.
14184         (CFLAGS-nldbl-totalorder.c): New variable.
14185         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
14186         file.
14187         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14188         Add test-totalorderl-ldbl-128ibm.
14189         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
14190         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
14191         test-totalorderl-ldbl-96.
14192         * sysdeps/nacl/libm.abilist: Update.
14193         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14194         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14195         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14196         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14197         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14198         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14199         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14200         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14201         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14202         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14203         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14204         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14206         Likewise.
14207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14208         Likewise.
14209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14210         Likewise.
14211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14212         Likewise.
14213         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14214         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14215         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14216         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14217         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14219         Likewise.
14220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14221         Likewise.
14222         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14223         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14224         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14226 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14228         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
14229         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
14230         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
14231         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
14232         remove ENOSYS implementation.
14233         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
14234         Consolidate all Linux implementations.
14236 2016-10-11  Florian Weimer  <fweimer@redhat.com>
14238         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
14239         * resolv/herror.c (herror): Cast away const-ness.
14240         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
14241         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
14243 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
14245         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
14246         instead of M_NAN + M_NAN.
14247         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
14249 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14251         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
14252         unused variable 'p'.
14254 2016-10-09  Alan Modra  <amodra@gmail.com>
14255             Andreas Schwab  <schwab@linux-m68k.org>
14257         [BZ #20554]
14258         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
14259         [PIC && !SHARED]: Set up PIC register for PLT call.
14261 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
14263         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
14264         conditional on value of [__FLT_EVAL_METHOD__].
14265         * math/test-iseqsig-excess-precision.c: New file.
14266         * math/Makefile (tests): Add test-iseqsig-excess-precision.
14268 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14270         * math/s_iseqsig_template.c: Include math-private.h.
14272         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
14273         * posix/tst-posix_fadvise.c: New file.
14274         * posix/tst-posix_fadvise64.c: Likewise.
14275         * posix/tst-posix_fadvise-common.c: Likewise.
14276         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14277         (__ASSUME_FADVISE64_64_6ARG): Define.
14278         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14279         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
14280         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14281         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
14282         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
14283         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
14284         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
14285         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
14286         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
14287         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
14288         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
14289         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
14290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
14291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
14292         Likewise.
14293         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
14294         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
14295         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
14296         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14297         Alias to __posix_fadvise64_l32.
14298         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
14299         Add compat definition to posix_fadvise64.
14300         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
14301         Add versioned definition to posix_fadvise64.
14302         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
14303         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
14304         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
14305         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
14306         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
14308         * io/Makefile (tests): Add tst-posix_fallocate and
14309         tst-posix_fallocate64.
14310         * io/tst-posix_fallocate-common.c: New file.
14311         * io/tst-posix_fallocate.c: Likewise.
14312         * io/tst-posix_fallocate64.c: Likewise.
14313         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
14314         file.
14315         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
14316         Likewise.
14317         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
14318         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
14319         Likewise.
14320         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
14321         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
14322         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
14323         SYSCALL_LL to pass both offset and len arguments.
14324         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
14325         Likewise.
14326         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
14327         __libc_pwrite64 alias used by posix_fallocate64.
14329         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14330         tst-fallocate64.
14331         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14332         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14333         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14334         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14335         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14336         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14337         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14338         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14339         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14340         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14341         macro on offset argument.
14342         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14343         SYSCALL_LL64 on offset argument.
14345         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
14346         tst-fallocate64.
14347         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
14348         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
14349         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
14350         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
14351         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
14352         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
14353         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
14354         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14355         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
14356         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
14357         macro on offset argument.
14358         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
14359         SYSCALL_LL64 on offset argument.
14360         * test-skeleton.c (FAIL_RET): Add macro.
14361         (FAIL_EXIT): Likewise.
14362         (FAIL_EXIT1): Likewise.
14363         (_FAIL): Likewise.
14365 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14367         [BZ #20629]
14368         resolv: Remove RES_USEBSTRING and its implementation.
14369         * resolv/resolv.h (RES_USEBSTRING): Remove.
14370         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
14371         (digitvalue, encode_bitstring, decode_bitstring): Remove.
14372         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
14373         (labellen): Remove extended label types support.
14374         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
14375         * resolv/res_init.c (res_setoptions): Likewise.
14376         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14378 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14380         resolv: Remove RES_NOIP6DOTINT and its implementation.
14381         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
14382         (RES_NOIP6DOTINT): Remove.
14383         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
14384         handling.
14385         * resolv/res_debug.c (p_option): Likewise.
14386         * resolv/res_init.c (res_setoptions): Likewise.
14387         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
14389 2016-10-07  Florian Weimer  <fweimer@redhat.com>
14391         resolv: Deprecate unimplemented flags.
14392         * misc/sys/cdefs.h (__glibc_macro_warning1)
14393         (__glibc_macro_warning): Define.
14394         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
14395         (RES_KEEPTSIG): Mark as deprecated.
14396         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
14397         RES_NOCHECKNAME, RES_KEEPTSIG.
14398         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
14400 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14402         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
14403         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
14404         Use strong_alias to create symbols for glibc verison 2.19.
14406 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14408         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
14410 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14412         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
14414 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14416         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
14418 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14420         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14421         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
14422         in header for using it as type for ifunc function because __GI_* symbols
14423         for ppc32 do not target the ifunc symbols.
14424         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14426 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14428         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
14429         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
14430         libc_ifunc_hidden_def.
14431         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
14432         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
14433         Redirect ifunced function in header for using it as type of ifunc'ed
14434         function. Redefine libc_hidden_def to use fallback non ifunc'ed
14435         function for __GI_* symbol.
14436         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
14437         * include/libc-symbols.h
14438         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
14440 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14442         [BZ #20478]
14443         * sysdeps/s390/multiarch/ifunc-resolve.h
14444         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
14445         to create ifunc symbols.
14446         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
14447         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
14448         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
14449         for using it as type for ifunc function.
14450         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14451         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14452         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14453         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14454         * sysdeps/s390/multiarch/strcat.c: Likewise.
14455         * sysdeps/s390/multiarch/strchr.c: Likewise.
14456         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14457         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14458         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14459         * sysdeps/s390/multiarch/strlen.c: Likewise.
14460         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14461         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14462         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14463         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14464         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14465         * sysdeps/s390/multiarch/strspn.c: Likewise.
14466         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14467         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14468         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14469         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14470         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14471         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14472         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
14473         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
14474         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
14475         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
14476         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
14477         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
14479 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14481         * include/libc-symbols.h (__ifunc_resolver):
14482         New macro is used by __ifunc* macros.
14483         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
14484         depending on HAVE_GCC_IFUNC.
14485         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
14486         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
14487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14488         Redirect ifunced function in header for using as type for ifunc function.
14489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
14491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
14492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
14493         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
14494         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
14495         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
14496         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
14497         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
14498         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
14499         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
14500         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
14501         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
14502         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
14503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
14505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
14507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14508         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
14509         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
14510         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
14511         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
14512         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
14513         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
14514         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
14515         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
14516         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
14517         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
14518         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
14519         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
14520         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
14521         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
14522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
14523         Add libc_hidden_def() and use libc_ifunc_hidden() macro
14524         instead of libc_ifunc() macro.
14525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
14526         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
14528 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
14530         * config.h.in (HAVE_GCC_IFUNC): New undef.
14531         * configure.ac: Add check if gcc supports attribute ifunc feature.
14532         * configure: Regenerated.
14533         * manual/install.texi: Add recommendation for gcc with
14534         indirect-function support.
14535         * INSTALL: Regenerated.
14537 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
14539         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
14540         macro.
14541         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14542         (__iseqsig): New declaration.
14543         * math/s_iseqsig_template.c: New file.
14544         * math/Versions (__iseqsigf): New libm symbol at version
14545         GLIBC_2.25.
14546         (__iseqsig): Likewise.
14547         (__iseqsigl): Likewise.
14548         * math/libm-test.inc (iseqsig_test_data): New array.
14549         (iseqsig_test): New function.
14550         (main): Call iseqsig_test.
14551         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
14552         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
14553         * manual/libm-err-tab.pl: Update comment on interfaces without
14554         ulps tabulated.
14555         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
14556         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
14557         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
14558         * sysdeps/nacl/libm.abilist: Update.
14559         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14560         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14561         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14562         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14563         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14564         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14565         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14566         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14567         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14568         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14569         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14570         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14572         Likewise.
14573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14574         Likewise.
14575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14576         Likewise.
14577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14578         Likewise.
14579         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14580         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14581         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14582         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14583         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14585         Likewise.
14586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14587         Likewise.
14588         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14589         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14590         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14592 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14594         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
14595         do_sincos_2, sloww, sloww1): Update comments.
14597         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
14598         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
14600         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
14601         K boolean and rename it.
14602         (__sin): Adjust.
14603         (__cos): Adjust.
14605 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14606             Siddhesh Poyarekar  <siddhesh@sourceware.org>
14608         * manual/nss.texi: Fix typos in the manual.
14610 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
14612         * manual/contrib.texi: Fix typos in the manual.
14614         * manual/maint.texi: Fix typos in the manual.
14616         * manual/install.texi: Fix typos in the manual.
14617         * INSTALL: Regenerated.
14619         * manual/lang.texi: Fix typos in the manual.
14621         * manual/probes.texi: Fix typos in the manual.
14623         * manual/threads.texi: Fix typos in the manual.
14625         * manual/debug.texi: Fix typos in the manual.
14627         * manual/crypt.texi: Fix typos in the manual.
14629         * manual/conf.texi: Fix typos in the manual.
14631         * manual/sysinfo.texi: Fix typos in the manual.
14633         * manual/users.texi: Fix typos in the manual.
14635         * manual/job.texi: Fix typos in the manual.
14637         * manual/process.texi: Fix typos in the manual.
14639         * manual/argp.texi: Fix typos in the manual.
14640         * manual/getopt.texi: Likewise.
14641         * manual/startup.texi: Likewise.
14643         * manual/signal.texi: Fix typos in the manual.
14645         * manual/setjmp.texi: Fix typos in the manual.
14647         * manual/resource.texi: Fix typos in the manual.
14649         * manual/time.texi: Fix typos in the manual.
14651         * manual/arith.texi: Fix typos in the manual.
14653         * manual/math.texi: Fix typos in the manual.
14655         * manual/syslog.texi: Fix typos in the manual.
14657         * manual/terminal.texi: Fix typos in the manual.
14659         * manual/socket.texi: Fix typos in the manual.
14661         * manual/filesys.texi: Fix typos in the manual.
14663         * manual/llio.texi: Fix typos in the manual.
14665         * manual/stdio.text: Fix typos in the manual.
14667 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14669         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
14670         instead of K1.
14672         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
14673         SHIFT_QUADRANT and make it bool.
14674         (do_sincos_2): Likewise.
14675         (sloww): Likewise.
14676         (sloww1): Likewise.
14677         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
14678         (__cos): Likewise.
14680 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14682         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14684 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
14686         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
14687         Define to __WORDSIZE, not conditional on [LONG_MAX ==
14688         0x7fffffffL].
14689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
14691 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14693         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
14694         inline by __inline__.
14695         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
14696         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
14697         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
14698         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
14699         sigset_t from signal.h.
14700         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
14701         which is already required.
14703 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
14705         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14707 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
14709         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
14710         (struct tcp_repair_window): New type.
14712 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14714         * libio/tst-memstream3.c: Include string.h.
14716 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14718         [BZ #18241]
14719         [BZ #20181]
14720         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
14721         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
14722         write position is at the end the buffer.
14723         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
14724         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
14725         (_IO_str_seekoff): Set correct offset from negative displacement and
14726         set EINVAL for invalid ones.
14727         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
14728         buffer length.
14729         (_IO_wstr_switch_to_get_mode): New function.
14730         (_IO_wstr_seekoff): Set correct offset from negative displacement and
14731         set EINVAL for invalid ones.
14732         * libio/tst-memstream3.c: New file.
14733         * libio/tst-wmemstream3.c: Likewise.
14734         * manual/examples/memstrm.c: Remove warning when priting size_t.
14736 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14738         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
14739         macro to use __builtin_fma.
14740         * sysdeps/x86_64/fpu/dla.h: Remove file.
14742         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14743         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
14744         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
14746 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
14748         [BZ #20292]
14749         * elf/Makefile (routines): Add dl-addr-obj.
14750         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
14751         tst-_dl_addr_inside_object.
14752         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
14753         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14754         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
14755         [ifeq (yesyes,$(have-fpie)$(build-shared))]
14756         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
14757         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
14758         * elf/dl-open.c: Likewise.
14759         * elf/dl-addr-obj.c: New file.
14760         * elf/tst-_dl_addr_inside_object.c: New file.
14762 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
14764         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
14765         <bits/iscanonical.h>.
14766         * bits/iscanonical.h: New file.
14767         * math/s_iscanonicall.c: Likewise.
14768         * math/Versions (__iscanonicall): New libm symbol at version
14769         GLIBC_2.25.
14770         * math/libm-test.inc (iscanonical_test_data): New array.
14771         (iscanonical_test): New function.
14772         (main): Call iscanonical_test.
14773         * math/Makefile (headers): Add bits/iscanonical.h.
14774         (type-ldouble-routines): Add s_iscanonicall.
14775         * manual/arith.texi (Floating Point Classes): Document
14776         iscanonical.
14777         * manual/libm-err-tab.pl: Update comment on interfaces without
14778         ulps tabulated.
14779         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
14780         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
14781         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
14782         Likewise.
14783         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
14784         test-iscanonical-ldbl-128ibm.
14785         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
14786         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
14787         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
14788         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
14789         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
14790         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14791         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14793         Likewise.
14794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14795         Likewise.
14796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14797         Likewise.
14798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14799         Likewise.
14800         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14801         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14803 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14805         * string/bits/string3.h: Remove C++ style comments.
14807 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14809         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
14810         instead of ternary condition.
14811         (do_sincos_2): Likewise.
14812         (__sin): Likewise.
14813         (__cos): Likewise.
14814         (slow): Likewise.
14815         (sloww): Likewise.
14816         (sloww1): Likewise.
14817         (bsloww): Likewise.
14818         (bsloww1): Likewise.
14820         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
14821         instead of ternary condition.
14822         (do_sin_slow): Likewise.
14823         (do_sincos_1): Likewise.
14824         (do_sincos_2): Likewise.
14825         (__cos): Likewise.
14826         (sloww): Likewise.
14827         (sloww1): Likewise.
14828         (sloww2): Likewise.
14829         (bsloww): Likewise.
14830         (bsloww1): Likewise.
14831         (bsloww2): Likewise.
14833         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
14834         check from here...
14835         (slow2): ... and here...
14836         (__sin): ... to here.
14838 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
14840         * math/math.h
14841         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
14842         Cast argument to its own type.
14843         * math/test-iszero-excess-precision.c: New file.
14844         * math/Makefile (tests): Add test-iszero-excess-precision.
14845         (CFLAGS-test-iszero-excess-precision.c): New variable.
14847 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
14849         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
14850         field, add err field.
14851         (__spawni_child): Report error through err member instead of pipe.
14852         (__spawnix): Likewise.
14854 2016-09-28  Zack Weinberg  <zackw@panix.com>
14856         * scripts/check-installed-headers.sh: Generalize treatment of
14857         sys/elf.h to all target architectures.
14859         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
14860         deleted typedef ucontext_t.
14862 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14864         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
14865         (__INTERNAL_SYSCALL1): Likewise.
14866         (__INTERNAL_SYSCALL2): Likewise.
14867         (__INTERNAL_SYSCALL3): Likewise.
14868         (__INTERNAL_SYSCALL4): Likewise.
14869         (__INTERNAL_SYSCALL5): Likewise.
14870         (__INTERNAL_SYSCALL6): Likewise.
14871         (__INTERNAL_SYSCALL7): Likewise.
14872         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
14873         (__INTERNAL_SYSCALL_NARGS): Likewise.
14874         (__INTERNAL_SYSCALL_DISP): Likewise.
14875         (INTERNAL_SYSCALL_CALL): Likewise.
14876         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
14877         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
14878         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
14879         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
14880         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
14881         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
14882         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
14883         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
14884         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
14885         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
14886         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
14887         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
14888         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
14890 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
14892         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
14893         macro.
14894         * math/libm-test.inc (iszero_test_data): New array.
14895         (iszero_test): New function.
14896         (main): Call iszero_test.
14897         * manual/arith.texi (Floating Point Classes): Document iszero.
14898         * manual/libm-err-tab.pl: Update comment on interfaces without
14899         ulps tabulated.
14901 2016-09-23  Zack Weinberg  <zackw@panix.com>
14903         * scripts/check-installed-headers.sh: New script.
14904         * Rules: In each directory that defines header files to be installed,
14905         run check-installed-headers.sh on them as a special test.
14906         * Makefile: Likewise for the headers installed at top level.
14908         * include/aliases.h, include/alloca.h, include/argz.h
14909         * include/arpa/nameser.h, include/arpa/nameser_compat.h
14910         * include/elf.h, include/envz.h, include/err.h
14911         * include/execinfo.h, include/fpu_control.h, include/getopt.h
14912         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
14913         * include/link.h, include/malloc.h, include/mcheck.h
14914         * include/mntent.h, include/netinet/ether.h
14915         * include/nss.h, include/obstack.h, include/printf.h
14916         * include/pty.h, include/resolv.h, include/rpc/auth.h
14917         * include/rpc/auth_des.h, include/rpc/auth_unix.h
14918         * include/rpc/clnt.h, include/rpc/des_crypt.h
14919         * include/rpc/key_prot.h, include/rpc/netdb.h
14920         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
14921         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
14922         * include/rpc/rpc_msg.h, include/rpc/svc.h
14923         * include/rpc/svc_auth.h, include/rpc/xdr.h
14924         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
14925         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
14926         * include/rpcsvc/ypupd.h, include/shadow.h
14927         * include/stdio_ext.h, include/sys/epoll.h
14928         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
14929         * include/sys/prctl.h, include/sys/profil.h
14930         * include/sys/statfs.h, include/sys/sysctl.h
14931         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
14932         * sysdeps/arm/nacl/include/bits/setjmp.h
14933         * sysdeps/mips/include/sys/asm.h
14934         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
14935         * sysdeps/unix/sysv/linux/include/sys/timex.h
14936         * sysdeps/x86/fpu/include/bits/fenv.h:
14937         Add #ifndef _ISOMAC guard around internal declarations.
14938         Add multiple-inclusion guard if not already present.
14940 2016-09-23  Zack Weinberg  <zackw@panix.com>
14942         * sysdeps/generic/sys/ucontext.h
14943         * sysdeps/arm/sys/ucontext.h
14944         * sysdeps/i386/sys/ucontext.h
14945         * sysdeps/m68k/sys/ucontext.h
14946         * sysdeps/mips/sys/ucontext.h
14947         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
14948         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
14949         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
14950         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
14951         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
14952         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
14953         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
14954         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
14955         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
14956         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
14957         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
14958         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
14959         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
14960         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
14961         Include both bits/sigcontext.h and bits/sigstack.h.
14962         Fix grammar error in comment, if present.
14964         * bits/sigstack.h
14965         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
14966         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
14967         * sysdeps/unix/sysv/linux/bits/sigstack.h
14968         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
14969         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
14970         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
14971         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
14972         * bits/sigcontext.h
14973         * sysdeps/mach/hurd/i386/bits/sigcontext.h
14974         * sysdeps/unix/sysv/linux/bits/sigcontext.h
14975         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
14976         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
14977         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
14978         as well as signal.h, if this was not already allowed.  Request
14979         definition of size_t if necessary.  Minimize semantically-null
14980         differences across files.
14982 2016-09-23  Zack Weinberg  <zackw@panix.com>
14984         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
14985         Remove all logic conditional on __need macros.  Move all the
14986         conditionally defined types to their own headers...
14987         * time/bits/types/clock_t.h: Define clock_t here.
14988         * time/bits/types/clockid_t.h: Define clockid_t here.
14989         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
14990         * time/bits/types/struct_timespec.h: Define struct timespec here.
14991         * time/bits/types/struct_timeval.h: Define struct timeval here.
14992         * time/bits/types/struct_tm.h: Define struct tm here.
14993         * time/bits/types/time_t.h: Define time_t here.
14994         * time/bits/types/timer_t.h: Define timer_t here.
14995         * time/Makefile: Install the new headers.
14997         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
14998         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
14999         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
15000         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
15001         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
15002         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
15003         * sysdeps/unix/sysv/linux/bits/resource.h
15004         * sysdeps/unix/sysv/linux/bits/timex.h
15005         * sysdeps/unix/sysv/linux/mips/bits/resource.h
15006         * sysdeps/unix/sysv/linux/net/ppp_defs.h
15007         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
15008         * sysdeps/unix/sysv/linux/sys/acct.h
15009         * sysdeps/unix/sysv/linux/sys/timerfd.h
15010         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15011         * time/sys/time.h, time/sys/timeb.h
15012         Use the new bits/types headers.
15014         * include/time.h: Remove __need logic.
15015         * include/bits/time.h
15016         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15017         * include/bits/types/time_t.h, include/bits/types/timer_t.h
15018         * include/bits/types/struct_itimerspec.h
15019         * include/bits/types/struct_timespec.h
15020         * include/bits/types/struct_timeval.h
15021         * include/bits/types/struct_tm.h:
15022         New wrapper headers.
15024 2016-09-23  Zack Weinberg  <zackw@panix.com>
15026         * sysdeps/mach/hurd/net/if_ppp.h
15027         * sysdeps/unix/sysv/linux/net/if_ppp.h:
15028         Only define struct ifpppstatsreq and struct ifpppcstatsreq
15029         if __USE_MISC is defined, to ensure struct ifreq is declared.
15031         * inet/netinet/ether.h: Condition all function prototypes
15032         on __USE_MISC, to ensure struct ether_addr is declared.
15034         * socket/bits/types/struct_osockaddr.h: New header.
15035         * include/bits/types/struct_osockaddr.h: New wrapper.
15036         * socket/Makefile: Install the new header.
15037         * socket/sys/socket.h, inet/protocols/talkd.h:
15038         Refer to bits/types/struct_osockaddr.h for the definition of
15039         struct osockaddr.
15041 2016-09-23  Zack Weinberg  <zackw@panix.com>
15043         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15044         * inet/protocols/routed.h, inet/protocols/talkd.h
15045         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15046         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15047         * sysdeps/generic/netinet/if_ether.h
15048         * sysdeps/generic/netinet/in_systm.h
15049         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15050         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15051         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15052         * sysdeps/mach/hurd/net/if_arp.h
15053         * sysdeps/mach/hurd/net/if_ppp.h
15054         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15055         * sysdeps/unix/sysv/linux/bits/in.h
15056         * sysdeps/unix/sysv/linux/net/ethernet.h
15057         * sysdeps/unix/sysv/linux/net/if_arp.h
15058         * sysdeps/unix/sysv/linux/net/if_ppp.h
15059         * sysdeps/unix/sysv/linux/net/if_shaper.h
15060         * sysdeps/unix/sysv/linux/net/route.h
15061         * sysdeps/unix/sysv/linux/netinet/if_ether.h
15062         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15063         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15064         * sysdeps/unix/sysv/linux/netipx/ipx.h
15065         * sysdeps/unix/sysv/linux/sys/acct.h
15066         * include/arpa/nameser.h, include/resolv.h:
15067         Change all uses of u_char to unsigned char,
15068         u_short and ushort to unsigned short, u_int and uint to unsigned int,
15069         u_long and ulong to unsigned long, u_int8_t to uint8_t,
15070         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
15071         and u_int64_t and u_quad_t to uint64_t.
15073         * mach/sys/reboot.h: Remove two casts of integer literals
15074         to the types they already have.
15076         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
15077         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
15078         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
15079         from referring to 'unsigned char' to 'uint8_t' for consistency with
15080         the macro definition below.
15082         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
15083         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
15084         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
15085         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
15086         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
15087         * sysdeps/unix/sysv/linux/sys/acct.h
15088         * include/arpa/nameser.h, include/resolv.h:
15089         Fix indentation disrupted by mechanical edits.
15091         * inet/protocols/talkd.h, resolv/arpa/nameser.h
15092         * sysdeps/generic/netinet/in_systm.h
15093         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15094         * sysdeps/gnu/netinet/udp.h
15095         * sysdeps/unix/sysv/linux/net/ethernet.h
15096         * sysdeps/unix/sysv/linux/net/if_arp.h
15097         * sysdeps/unix/sysv/linux/net/if_ppp.h
15098         * sysdeps/unix/sysv/linux/net/if_shaper.h
15099         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15100         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15101         * sysdeps/unix/sysv/linux/netipx/ipx.h
15102         * sysdeps/unix/sysv/linux/sys/acct.h
15103         Include stdint.h for uintNN_t definitions.
15104         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
15106 2016-09-23  Zack Weinberg  <zackw@panix.com>
15108         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
15109         * sysdeps/unix/sysv/linux/netrose/rose.h:
15110         Include sys/socket.h and netax25/ax25.h.
15112         * inet/netinet/icmp6.h, inet/netinet/ip6.h
15113         * resolv/arpa/nameser_compat.h:
15114         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
15116         * sysdeps/unix/sysv/linux/sys/quota.h:
15117         Use __caddr_t instead of caddr_t.
15118         * sysdeps/unix/sysv/linux/sys/timerfd.h:
15119         Use __clockid_t instead of clockid_t.
15121         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
15123         * argp/argp.h: Check whether _LIBC is defined before expanding it.
15124         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
15125         expanding it.
15127         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
15128         Define __glibc_c99_flexarr_available to 1 when the compiler
15129         supports C99-compatible flexible array members, 0 otherwise.
15130         * sysdeps/unix/sysv/linux/bits/socket.h
15131         * sysdeps/mach/hurd/bits/socket.h
15132         * bits/socket.h: Use __glibc_c99_flexarr_available in
15133         definitions of struct cmsghdr and CMSG_DATA.
15135 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15137         * manual/nss.texi (NSS Modules Interface): Adjust function return
15138         type to enum nss_status.  Document errnop argument.  Clarify
15139         h_errnop semantics.  Fix cross-reference formatting.
15140         (NSS Module Function Internals): Mention that *errnop needs to be
15141         set on failure, but not to zero.
15143 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15145         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
15146         (get_random_name): New functions.
15147         (check_wrapper_flags_mode): Use linkat to give the new file a name
15148         determined by get_random_name.
15149         (do_test): Add calls to test open64 and openat64.
15151 2016-09-23  Florian Weimer  <fweimer@redhat.com>
15153         * test-skeleton.c: Remove #include <stdarg.h>.
15155 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
15157         [BZ #19826]
15158         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
15159         initialization of static TLS entries.
15160         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
15161         * nptl/allocatestack.c (init_one_static_tls): Likewise.
15163 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15165         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
15166         _hurd_malloc_fork_prepare.
15167         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
15168         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
15169         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
15170         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
15171         (_hurd_fork_child_hook): Drop malloc_fork_child.
15172         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
15173         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
15174         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
15175         after locking locks (notably hurd_dtable_lock). Call
15176         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
15177         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
15178         __malloc_fork_unlock_child.
15179         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
15181 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
15183         * soft-fp/extendhftf2.c: New.
15184         * soft-fp/fixhfti.c: Likewise.
15185         * soft-fp/fixunshfti.c: Likewise.
15186         * soft-fp/floattihf.c: Likewise.
15187         * soft-fp/floatuntihf.c: Likewise.
15188         * soft-fp/half.h: Likewise.
15189         * soft-fp/trunctfhf2.c: Likewise.
15191 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
15193         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
15194         macro.
15195         * math/libm-test.inc (issubnormal_test_data): New array.
15196         (issubnormal_test): New function.
15197         * manual/arith.texi (Floating Point Classes): Document
15198         issubnormal.
15199         * manual/libm-err-tab.pl: Update comment on interfaces without
15200         ulps tabulated.
15202         * sysdeps/generic/stdint.h: Define
15203         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15204         <bits/libc-header-start.h> instead of including <features.h>.
15205         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
15206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
15207         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
15208         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
15209         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
15210         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
15211         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
15212         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
15213         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
15214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
15215         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
15216         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
15217         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
15218         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
15219         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
15220         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
15221         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
15222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
15223         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
15224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
15225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
15226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
15227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
15228         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
15229         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
15230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
15231         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
15232         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
15233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
15234         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
15235         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
15236         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
15237         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
15238         * manual/arith.texi (Integers): Document these macros for types
15239         specified by width properties.
15240         * manual/lang.texi (Width of Type): Document these macros for
15241         other standard typedefs.
15242         * stdlib/tst-width-stdint.c: New file.
15243         * stdlib/Makefile (tests): Add tst-width-stdint.
15245 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15247         [BZ #20016]
15248         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
15249         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
15250         Move ...
15251         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
15252         ... here, as compatibility symbols in a new file.
15253         * resolv/Makefile (libresolv-routines): Add compat-hooks.
15254         * resolv/res_init.c (__res_vinit): Adjust member names.
15255         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
15256         * resolv/resolv.h (res_sendhookact, res_send_qhook)
15257         (res_send_rhook): Remove.
15258         (struct __res_state): Rename qhook, rhook members.
15260 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15262         malloc: Use __libc_lock wrappers.
15263         * malloc/arena.c (list_lock, free_list_lock): Define using
15264         __libc_lock_define_initialized.
15265         (arena_lock): Adjust formatting.
15266         * malloc/malloc.c (struct malloc_state): Define mutex using
15267         __libc_lock_define.
15268         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
15269         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
15270         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
15271         (mutex_unlock, mutex_trylock): Remove.
15272         (__pthread_initialize): Remove unused macro.
15273         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
15274         (mutex_unlock, mutex_trylock): Remove.
15276 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15278         [BZ #20592]
15279         Remove RR type classification macros.
15280         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
15281         (ns_t_udp_p, ns_t_xfr_p): Remove.
15283 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15285         Remove misleading version information.
15286         * resolv/arpa/nameser.h (__NAMESER): Remove.
15287         * resolv/arpa/nameser_compat.h (__BIND): Remove.
15289 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15291         Remove the always-defined BIND_4_COMPAT macro.
15292         * resolv/arpa/nameser.h: Unconditionally include
15293         <arpa/nameser_compat.h>.
15294         (BIND_4_COMPAT): Remove.
15295         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
15297 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15299         [BZ #20591]
15300         Remove obsolete DNSSEC support.
15301         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
15302         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
15303         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
15304         (ns_verify_tcp, ns_verify_tcp_init): Remove.
15305         (ns_cert_types): Add comment.
15306         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
15307         separately.
15308         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
15309         (dst_s_dns_key_id): Remove.
15310         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
15311         variables.
15313 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15315         [BZ #20524]
15316         * manual/string.texi (String/Array Comparison): Clarify the
15317         strverscmp behavior.
15319 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15321         * test-skeleton.c (xasprintf): Add function.
15322         * io/tst-open-tmpfile.c: New test.
15323         * io/Makefile (tests): Add it.
15325 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15327         Avoid running $(CXX) during build to obtain header file paths.
15328         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
15329         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
15330         * Makerules (cstdlib, cmath): Remove variables.  Use
15331         $(c++-cstdlib-header), $(c++-cmath-header) instead.
15332         * configure: Regenerate.
15334 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15336         * Makeconfig (all-object-suffixes): Include .op only if
15337         $(build-profile).
15339 2016-09-21  Florian Weimer  <fweimer@redhat.com>
15341         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
15342         conditionals.  Do not define PATH_MAX.
15344 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15346         * posix/Makefile (tests): Add tst-spawn3.
15347         * posix/tst-spawn3.c: New file.
15348         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
15349         if it is already opened for open action.
15351         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
15352         all signals when executing the clone vfork child.
15353         (SIGALL_SET): Remove macro.
15355         * nptl/Makefile (tests): Add tst-exec5.
15356         * nptl/tst-exec5.c: New file.
15357         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
15358         asynchronous cancellation.
15360 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15362         * hurd/exc2signal.c: #include <hurd/signal.h>
15363         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
15364         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
15365         accordingly.
15366         * mach/mach_error.c (mach_error): Fix old-style function definition.
15367         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
15369 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15371         * math/Makefile (libm-calls): Remove s_nanF.
15372         (gen-libm-calls): Add s_nanF.
15374         * math/s_nan.c: Refactor into ...
15375         * math/s_nan_template.c: New file.
15377         * math/s_nanf.c: Removed.
15378         * math/s_nanl.c: Removed.
15379         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
15380         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
15382         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15383         (LDOUBLE_nanl_libm_version): New macro.
15385         * sysdeps/generic/math-type-macros-double.h:
15386         (M_STRTO_NAN): New macro.
15387         * sysdeps/generic/math-type-macros-float.h: Likewise.
15388         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15390         * sysdeps/generic/math-type-macros.h: Document
15391         M_STRTO_NAN.
15393 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15395         * math/s_nanf.c: Remove __nanf undef.
15396         * math/s_nan.c: Remove __nan undef.
15397         * math/s_nanl.c: Remove __nanl undef.
15399         * sysdeps/generic/math_private.h (__nan): Remove macro
15400         override.
15401         (__nanf): Likewise.
15402         (__nanl): Likewise.
15404 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15406         * math/Makefile (gen-all-calls): New variable.
15407         (generated): Replace gen-libm-calls with gen-all-calls.
15408         (gen-libm-templates.stmp): Likewise.  Also, ensure
15409         the output directory exists or is created and add
15410         dependency on the Makefile.
15411         (calls): Move s_ldexpF into gen-calls.
15412         (gen-calls): New variable.
15414         * math/s_ldexpf.c: Removed.
15415         * math/s_ldexpl.c: Removed.
15416         * math/s_ldexp.c: Refactored into ...
15417         * math/s_ldexp_template.c: New file.
15419         * sysdeps/generic/math-type-macros-double.h: Remove
15420         redundant fall-through definition of declare_mgen_alias.
15421         (declare_mgen_alias_2): New macro.
15423         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
15424         New macro for function aliased to two exported symbols.
15426         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
15427         new template file.
15428         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
15430 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15432         * Makeconfig (all-object-suffixes): Remove .og.
15433         * Makerules (elide-routines.og): Remove.
15434         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
15435         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
15436         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
15438 2016-09-20  Florian Weimer  <fweimer@redhat.com>
15440         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
15441         .os objects.
15443 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15445         [BZ #20615]
15446         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
15447         fpu directory by non-fpu.
15448         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
15449         on non-fpu directory from a fpu directory.
15451 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
15453         * include/limits.h: Define
15454         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15455         <bits/libc-header-start.h> instead of including <features.h>.
15456         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
15457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
15458         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
15459         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
15460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
15461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
15462         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
15463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
15464         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
15466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
15467         * manual/lang.texi (Width of Type): Document these macros.
15468         * stdlib/tst-width.c: New file.
15469         * stdlib/Makefile (tests): Add tst-width.
15471 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15473         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
15474         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
15476 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15478         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
15479         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15480         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15482 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15484         [BZ #18243]
15485         * rt/Makefile (test): Add tst-shm-cancel.
15486         * rt/tst-shm-cancel.c: New file.
15487         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
15489         [BZ #18243]
15490         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
15491         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
15492         definition.
15493         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
15494         uncontended case.
15495         * nptl/sem_wait.c (__new_sem_wait): Likewise.
15496         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
15497         (tf): Fix check for uncontended case.
15498         (do_test): Likewise.
15499         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
15500         (tf): Fix check for uncontended case.
15501         (do_test): Likewise.
15502         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
15503         (tf): Fix check for uncontended case.
15504         (do_test): Likewise.
15505         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
15506         (tf): Fix check for uncontended case.
15507         (do_test): Likewise.
15509         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
15510         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
15512         [BZ #15765]
15513         * nptl/Makefile (tests): Add tst-sem16.
15514         * nptl/tst-sem16.c: New file.
15515         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
15517         * nptl/sem_open.c (sem_open): Init pad value to 0.
15518         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
15519         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
15521 2016-09-15  Florian Weimer  <fweimer@redhat.com>
15523         [BZ #20611]
15524         * inet/Makefile (routines): Add inet6_scopeid_pton.
15525         (tests): Add tst-inet6_scopeid_pton.
15526         * inet/inet6_scopeid_pton.c: New file.
15527         * inet/net-internal.h: Likewise.
15528         * inet/tst-inet6_scopeid_pton.c: New test.
15529         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
15530         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
15531         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15533 2016-09-14  Florian Weimer  <fweimer@redhat.com>
15535         Remove support for compiling wrappers with PTW.
15536         * sysdeps/nptl/Makeconfig: Drop ptw- support.
15537         * nptl/Makefile (pthread-compat-wrappers): Define.
15538         (libpthread-routines): Use pthread-compat-wrappers.
15539         * sysdeps/unix/sysv/linux/alpha/Makefile
15540         (libpthread-routines, libpthread-shared-only-routines): Remove
15541         ptw- prefix.
15542         * sysdeps/s390/nptl/Makefile
15543         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15544         * sysdeps/ia64/nptl/Makefile
15545         (libpthread-routines, libpthread-shared-only-routines): Likewise.
15546         * sysdeps/nacl/Makefile (libpthread-routines): Use
15547         pthread-compat-wrappers to filter the routines list instead of the
15548         ptw- prefix.
15550 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15552         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
15553         with L() and remove explicit suffix, convert real literals
15554         which can be equivalentally substituted with integers, and
15555         transform -L(x) to L(-x).
15557         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15558         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15559         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15560         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15561         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15562         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15563         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15564         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
15565         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15566         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15567         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15568         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15570         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15571         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15572         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15573         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15574         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15575         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15576         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15577         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15578         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15579         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15580         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15581         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15582         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15583         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15584         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15585         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15586         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15587         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15588         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
15589         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15590         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15591         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15592         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15593         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15594         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15595         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15596         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15597         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15598         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15599         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15600         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15601         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15602         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15603         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15604         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
15605         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15606         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15608 2016-09-13  Florian Weimer  <fweimer@redhat.com>
15610         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
15612 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15614         * malloc/Makefile (tests): Remove individual static test names
15615         and just add all of tests-static.
15617         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
15619 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
15621         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
15622         file.
15624         * sysdeps/sparc/fpu/fegetmode.c: New file.
15625         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
15627         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
15628         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
15630         * sysdeps/s390/fpu/fegetmode.c: New file.
15631         * sysdeps/s390/fpu/fesetmode.c: Likewise.
15633         * sysdeps/powerpc/fpu/fegetmode.c: New file.
15634         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
15635         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
15636         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
15637         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
15638         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
15640         * sysdeps/mips/fpu/fegetmode.c: New file.
15641         * sysdeps/mips/fpu/fesetmode.c: Likewise.
15643         * sysdeps/m68k/fpu/fegetmode.c: New file.
15644         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
15646         * sysdeps/ia64/fpu/fegetmode.c: New file.
15647         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
15649         * sysdeps/hppa/fpu/fegetmode.c: New file.
15650         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
15652         * sysdeps/arm/fegetmode.c: New file.
15653         * sysdeps/arm/fesetmode.c: Likewise.
15655         * sysdeps/alpha/fpu/fegetmode.c: New file.
15656         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
15658         * sysdeps/aarch64/fpu/fegetmode.c: New file.
15659         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
15661         * math/fegetmode.c: New file.
15662         * math/fesetmode.c: Likewise.
15663         * sysdeps/i386/fpu/fegetmode.c: Likewise.
15664         * sysdeps/i386/fpu/fesetmode.c: Likewise.
15665         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
15666         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
15667         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
15668         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
15669         declaration.
15670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
15671         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
15672         typedef.
15673         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15674         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15675         (femode_t): New typedef.
15676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15677         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15678         (femode_t): New typedef.
15679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15680         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15681         (femode_t): New typedef.
15682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15683         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15684         (femode_t): New typedef.
15685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15686         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15687         (femode_t): New typedef.
15688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15689         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15690         (femode_t): New typedef.
15691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15692         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15693         (femode_t): New typedef.
15694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15695         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15696         (femode_t): New typedef.
15697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15698         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15699         (femode_t): New typedef.
15700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15701         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15702         (femode_t): New typedef.
15703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
15704         declaration.
15705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15706         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15707         (femode_t): New typedef.
15708         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15709         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15710         (femode_t): New typedef.
15711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15712         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15713         (femode_t): New typedef.
15714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15715         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15716         (femode_t): New typedef.
15717         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15718         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15719         (femode_t): New typedef.
15720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
15721         * manual/arith.texi (FE_DFL_MODE): Document macro.
15722         (fegetmode): Document function.
15723         (fesetmode): Likewise.
15724         * math/Versions (fegetmode): New libm symbol at version
15725         GLIBC_2.25.
15726         (fesetmode): Likewise.
15727         * math/Makefile (libm-support): Add fegetmode and fesetmode.
15728         (tests): Add test-femode and test-femode-traps.
15729         * math/test-femode-traps.c: New file.
15730         * math/test-femode.c: Likewise.
15731         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
15732         alias for __fe_dfl_env.
15733         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
15734         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
15735         (__fe_dfl_mode): Likewise.
15736         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
15737         version GLIBC_2.25.
15738         * sysdeps/nacl/libm.abilist: Update.
15739         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15740         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15741         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15742         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15743         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15744         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15745         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15746         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15747         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15748         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15749         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15750         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15752         Likewise.
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15754         Likewise.
15755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15756         Likewise.
15757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15758         Likewise.
15759         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15760         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15761         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15762         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15763         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15765         Likewise.
15766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15767         Likewise.
15768         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15769         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15770         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15772 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
15774         [BZ #20495]
15775         [BZ #20508]
15776         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
15777         processors, set Use_dl_runtime_resolve_slow and set
15778         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
15779         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
15780         New.
15781         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
15782         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
15783         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
15784         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
15785         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
15786         if Use_dl_runtime_resolve_opt is set.  Use
15787         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
15788         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
15789         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
15790         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
15791         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
15792         New.
15793         (_dl_runtime_resolve_opt): Likewise.
15794         (_dl_runtime_profile): Define only if _dl_runtime_profile is
15795         defined.
15797 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15799         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
15800         __libc_memalign with "+ RELA R_390_GLOB_DAT".
15802 2016-09-06  Florian Weimer  <fweimer@redhat.com>
15804         Convert malloc to __libc_lock.  Automated part, using this Perl
15805         s/// command:
15806           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
15807             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
15808         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
15809         conversion.
15811 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
15813         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
15814         (linknamespace-symlists-tests): Likewise.
15815         (linknamespace-header-tests): Likewise.
15817 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
15819         [BZ #19810]
15820         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
15821         * elf/tst-noload.c: New test case.
15822         * elf/Makefile (tests): Add tst-noload.
15824 2016-09-02  Roland McGrath  <roland@hack.frob.com>
15826         * sysdeps/nacl/dup.c: Add libc_hidden_def.
15828         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
15829         not any more.
15831         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
15833 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15835         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
15836         (do_cos_slow): Likewise.
15837         (do_sin): Likewise.
15838         (do_sin_slow): Likewise.
15839         (slow): Likewise.
15840         (slow1): Likewise.
15841         (slow2): Likewise.
15842         (sloww): Likewise.
15843         (sloww1): Likewise.
15844         (sloww2): Likewise.
15845         (bsloww): Likewise.
15846         (bsloww1): Likewise.
15847         (bsloww2): Likewise.
15848         (cslow2): Likewise.
15850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
15852         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
15853         arguments.  Consolidate input partitioning from callers here.
15854         (do_cos_slow): Likewise.
15855         (do_sin): Likewise.
15856         (do_sin_slow): Likewise.
15857         (do_sincos_1): Remove the no longer necessary input partitioning.
15858         (do_sincos_2): Likewise.
15859         (__sin): Likewise.
15860         (__cos): Likewise.
15861         (slow1): Likewise.
15862         (slow2): Likewise.
15863         (sloww1): Likewise.
15864         (sloww2): Likewise.
15865         (bsloww1): Likewise.
15866         (bsloww2): Likewise.
15867         (cslow2): Likewise.
15869 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15871         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
15872         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
15873         outside of allocated array.
15875 2016-09-02  Florian Weimer  <fweimer@redhat.com>
15877         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
15878         instead of MB_CUR_MAX to avoid variable-length array.
15880 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15882         * math/Makefile (libm-calls): Remove k_rem_pio2F.
15883         (type-double-routines): Add k_rem_pio2.
15884         (type-float-routines): Add k_rem_pio2f.
15886         * sysdeps/generic/math_private.h:
15887         (__kernel_rem_pio2l): Removed.
15889         * math/k_rem_pio2l.c: Removed.
15890         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
15891         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
15892         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
15893         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
15895 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15897         * math/Makefile (gen-libm-calls): Add s_fmin
15898         (libm-calls): Remove above.
15900         * math/s_fmin.c: Refactor into ...
15901         * math/s_fmin_template.c: New file.
15903         * math/s_fminf.c: Removed.
15904         * math/s_fminl.c: Removed.
15905         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15906         (LDOUBLE_fmin_libm_version): New macro.
15908         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
15909         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
15911 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15913         * math/Makefile: (gen-libm-calls): Add s_fmax.
15914         (libm-calls): Remove above.
15916         * math/s_fmax.c: Refactor into ...
15917         * math/s_fmax_template.c: New file.
15918         * math/s_fmaxf.c: Removed.
15919         * math/s_fmaxl.c: Removed.
15921         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15922         (LDOUBLE_fmaxl_libm_version): New macro.
15924         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
15925         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
15927         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
15928         s_fmin.c to pick the aarch64 version of the file.
15929         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
15930         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
15932 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15934         * math/Makefile: (gen-libm-calls): Add s_nextdown.
15935         (libm-calls): Remove above.
15937         * math/s_nextdown.c: Refactor into ...
15938         * math/s_nextdown_template.c: New file.
15939         * math/s_nextdownf.c: Removed.
15940         * math/s_nextdownl.c: Removed.
15942         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
15944 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15946         * math/Makefile (gen-libm-calls): Add s_fdim.
15947         (libm-calls): Move to above.
15949         * math/s_fdim.c: Renamed and refactored into to ...
15950         * math/s_fdim_template.c: New file.
15951         * math/s_fdiml.c: Removed.
15952         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
15953         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
15955         * sysdeps/generic/math-type-macros-double.h:
15956         (declare_mgen_alias): Don't declare if already declared.
15957         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
15958         Likewise.
15960         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15961         (declare_mgen_alias): Don't declare if already declared.
15962         (M_LIBM_NEED_COMPAT): Likewise.
15963         (declare_mgen_libm_compat): Likewise.
15964         (LDOUBLE_fdiml_libm_version): New macro.
15966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
15967         Include math/s_fdim.c now that ldbl-opt version is not needed.
15968         (declare_mgen_alias): New macro to disable aliasing.
15970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
15971         (declare_mgen_alias): Likewise.
15972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
15973         (declare_mgen_alias): Likewise.
15974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
15975         (declare_mgen_alias): Likewise.
15976         (M_LIBM_NEED_COMPAT): Likewise.
15978 2016-09-01  Florian Weimer  <fweimer@redhat.com>
15980         [BZ #20525]
15981         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
15982         Include <linux/quota.h>.
15983         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
15984         and btodb.
15985         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
15986         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
15987         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
15988         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
15989         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
15990         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
15991         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
15992         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
15993         types.
15994         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
15995         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
15997 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15999         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
16000         (gammal_positive): Fix spacing.
16001         (__ieee754_gammal_r): Likewise.
16003 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16005         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
16006         (_Float128): Define as long double, always.
16007         (L): Apply long double type suffix, always.
16009         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16010         _Float128, excepting comments.
16012         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16013         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16014         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16015         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16016         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16017         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16018         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16019         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16020         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16021         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16022         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16023         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16024         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16025         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16026         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16027         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16028         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16029         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16030         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16031         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16032         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16033         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16034         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16035         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16036         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16037         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16038         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16039         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16040         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16041         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16042         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16043         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16044         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16045         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16046         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16047         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16048         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16049         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16050         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16051         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16052         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16053         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16054         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16055         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16056         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16057         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16058         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16059         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16060         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16061         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16062         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16063         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16064         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16065         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16066         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16067         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16068         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16069         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
16070         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16071         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16072         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16073         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16074         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16075         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16076         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16077         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16078         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16079         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16081         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
16082         _Float128, and include math_private.h.
16083         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16085         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
16086         long double semantics.
16087         (_Float128): Likewise.
16088         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
16089         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
16090         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
16091         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
16093 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16095         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
16096         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
16097         * sysdeps/s390/configure: Regenerated.
16098         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
16099         instruction for raising over-/underflow if z196 zarch is supported
16100         by default.
16101         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
16103 2016-08-30  Svante Signell  <svante.signell@gmail.com>
16105         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
16106         it point to a dumb buffer for RPC to fill it.
16108 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16110         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
16111         instead of if/else.
16112         (do_sin_slow): Likewise.
16113         (do_sincos_1): Use fabs instead of if/else.
16114         (do_sincos_2): Likewise.
16115         (__sin): Likewise.
16116         (__cos): Likewise.
16117         (slow2): Likewise.
16118         (sloww): Likewise.
16119         (sloww1): Likewise.  Drop argument M.
16120         (sloww2): Use fabs instead of if/else.
16121         (bsloww): Likewise.
16122         (bsloww1): Likewise.
16123         (bsloww2): Likewise.
16125         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
16126         fall through comment.
16127         (do_sincos_1): Likewise.
16129         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
16130         Consolidate switch cases 0 and 2.
16132 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16134         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
16135         (libm-calls): Remove the above.
16137         * math/s_cexp_template.c: Update using type-generic macros.
16138         * math/s_clog10_template.c: Likewise.
16139         * math/s_cpow_template.c: Likewise.
16140         * math/s_clog_template.c: Likewise.
16141         * math/s_cproj_template.c: Likewise.
16142         * math/s_csqrt_template.c: Likewise.
16144         * math/s_cexp.c: Removed.
16145         * math/s_cexpf.c: Removed.
16146         * math/s_cexpl.c: Removed.
16147         * math/s_clog10.c: Removed.
16148         * math/s_clog10f.c: Removed.
16149         * math/s_clog10l.c: Removed.
16150         * math/s_cpow.c: Removed.
16151         * math/s_cpowf.c: Removed.
16152         * math/s_cpowl.c: Removed.
16153         * math/s_clog.c: Removed.
16154         * math/s_clogf.c: Removed.
16155         * math/s_clogl.c: Removed.
16156         * math/s_cproj.c: Removed.
16157         * math/s_cprojf.c: Removed.
16158         * math/s_cprojl.c: Removed.
16159         * math/s_csqrt.c: Removed.
16160         * math/s_csqrtf.c: Removed.
16161         * math/s_csqrtl.c: Removed.
16163         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
16164         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
16165         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
16166         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
16167         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
16168         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
16170         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
16171         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
16172         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
16173         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
16174         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
16175         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
16176         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
16177         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
16178         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
16179         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
16180         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
16182         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
16183         version.
16185         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
16186         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
16187         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
16188         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
16190 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16192         * s_cexp_template.c: Copy of s_cexp.c.
16193         * s_clog_template.c: Copy of s_clog.c.
16194         * s_clog10_template.c: Copy of s_clog10.c.
16195         * s_cpow_template.c: Copy of s_cpow.c.
16196         * s_cproj_template.c: Copy of s_cproj.c.
16197         * s_csqrt_template.c: Copy of s_csqrt.c.
16199 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16201         [BZ #20517]
16202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16203         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
16204         exported.
16206 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
16208         * math/fetestexceptflag.c: New file.
16209         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
16210         Stefan Liebler.
16211         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16212         (fetestexceptflag): New function declaration.
16213         * manual/arith.texi (fetestexceptflag): Document function.
16214         * math/Versions (fetestexceptflag): New libm symbol at version
16215         GLIBC_2.25.
16216         * math/Makefile (libm-support): Add fetestexceptflag.
16217         (tests): Add test-fetestexceptflag.
16218         * math/test-fetestexceptflag.c: New file.
16219         * sysdeps/nacl/libm.abilist: Update.
16220         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16221         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16222         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16223         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16224         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16225         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16226         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16227         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16228         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16229         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16230         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16231         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16233         Likewise.
16234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16235         Likewise.
16236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16237         Likewise.
16238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16239         Likewise.
16240         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16241         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16242         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16243         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16244         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16246         Likewise.
16247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16248         Likewise.
16249         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16250         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16251         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16253 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16255         [BZ #20432]
16256         Avoid strong references to malloc-internal symbols when linking
16257         statically, to support statically interposed mallocs.
16258         * include/libc-symbols.h (call_function_static_weak): New macro.
16259         * malloc/Makefile (tests): Add tst-interpose-nothread,
16260         tst-interpose-thread, tst-interpose-static-nothread,
16261         tst-interpose-static-thread.
16262         (tests-static): Add tst-interpose-static-nothread,
16263         tst-interpose-static-thread.
16264         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
16265         tst-interpose-aux-thread.o.
16266         (test-extras): Add tst-interpose-aux-nothread,
16267         tst-interpose-aux-thread.
16268         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
16269         tst-interpose-aux-nothread.o.
16270         (tst-interpose-thread, tst-interpose-static-thread): Link with
16271         tst-interpose-aux-thread.o and libthread.
16272         * malloc/tst-interpose-aux-nothread.c: New file.
16273         * malloc/tst-interpose-aux-thread.c: Likewise.
16274         * malloc/tst-interpose-aux.c: Likewise.
16275         * malloc/tst-interpose-aux.h: Likewise.
16276         * malloc/tst-interpose-nothread.c: Likewise.
16277         * malloc/tst-interpose-skeleton.c: Likewise.
16278         * malloc/tst-interpose-static-nothread.c: Likewise.
16279         * malloc/tst-interpose-static-thread.c: Likewise.
16280         * malloc/tst-interpose-thread.c: Likewise.
16281         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
16282         * sysdeps/mach/hurd/fork.c (__fork): Only call
16283         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16284         __malloc_fork_unlock_child if defined.
16285         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16287 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16289         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
16290         timespec C99 designated initialization.
16292 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16294         [BZ #19946]
16295         Avoid expected SIGALRM signals.
16296         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
16297         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
16298         (xpthread_create, xpthread_detach, xpthread_join)
16299         (delayed_exit_thread, delayed_exit): New functions.
16300         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
16301         (tf): Use xpthread_cond_wait.
16302         (do_test): Likewise.  Replace alarm with delayed_exit.
16303         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16304         (do_test): Call delayed_exit.  Report failure.
16305         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16306         (do_test): Call delayed_exit.
16307         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16308         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
16309         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16310         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
16311         error.
16312         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
16313         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
16314         error.
16315         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
16316         (do_test): Call delayed_exit.
16317         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
16318         (do_test): Call delayed_exit.
16319         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
16320         (do_test): Call delayed_exit instead of alarm.  Use
16321         xpthread_mutex_lock.
16322         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
16323         (do_test): Call delayed_exit instead of alarm.  Use
16324         xpthread_mutex_lock.
16325         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
16326         (do_test): Call delayed_exit instead of alarm.
16327         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
16328         (do_test): Call delayed_exit instead of alarm.  Use
16329         xpthread_spin_lock.
16330         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
16331         (do_test): Call delayed_exit instead of alarm.  Use
16332         xpthread_join.
16334 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16336         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
16337         adjust CFA when allocating register save area on re-aligned
16338         stack.
16340 2016-08-26  Florian Weimer  <fweimer@redhat.com>
16342         * string/tst-cmp.c: New test.
16343         * string/Makefile (tests): Add it.
16345 2016-08-25  Mark Wielaard  <mark@klomp.org>
16347         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
16348         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
16349         (check_tree_recurse): Use newly defined accessors.
16350         (check_tree): Likewise.
16351         (maybe_split_for_insert): Likewise.
16352         (__tfind): Likewise.
16353         (__tdelete): Likewise.
16354         (trecurse): Likewise.
16355         (tdestroy_recurse): Likewise.
16356         (__tsearch): Likewise. And add asserts for malloc alignment.
16357         (__twalk): Cast root to node in case CHECK_TREE is defined.
16359 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16361         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
16363 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16365         * math/Makefile (libm-gen-calls): Add
16366         catan, catanh, ctan, ctanh.
16367         (libm-calls): Remove the above.
16369         * math/s_catan_template.c: Update using type-generic macros.
16370         * math/s_catanh_template.c: Likewise.
16371         * math/s_ctan_template.c: Likewise.
16372         * math/s_ctanh_template.c: Likewise.
16374         * math/s_catanf.c: Removed.
16375         * math/s_catan.c: Removed.
16376         * math/s_catanl.c: Removed.
16377         * math/s_catanhf.c: Removed.
16378         * math/s_catanh.c: Removed.
16379         * math/s_catanhl.c: Removed.
16380         * math/s_ctanf.c: Removed.
16381         * math/s_ctan.c: Removed.
16382         * math/s_ctanl.c: Removed.
16383         * math/s_ctanhf.c: Removed.
16384         * math/s_ctanh.c: Removed.
16385         * math/s_ctanhl.c: Removed.
16387         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
16388         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
16389         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
16390         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
16391         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
16392         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
16394         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
16395         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
16396         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
16397         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
16399 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16401         * s_catan_template.c: Copy of s_catan.c.
16402         * s_catanh_template.c: Copy of s_catanh.c.
16403         * s_ctan_template.c: Copy of s_ctan.c.
16404         * s_ctanh_template.c: Copy of s_ctanh.c.
16406 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16408         * math/Makefile (gen-libm-calls): Move
16409         casin, casinh, csin, csinh here.
16410         (libm-calls): Remove the above.
16412         * math/s_casin_template.c: Update using type-generic macros.
16413         * math/s_casinh_template.c: Likewise.
16414         * math/s_csin_template.c: Likewise.
16415         * math/s_csinh_template.c: Likewise.
16416         * math/k_casinh_template.c: Likewise.
16418         * math/s_casinf.c: Removed.
16419         * math/s_casin.c: Removed.
16420         * math/s_casinl.c: Removed.
16421         * math/s_casinh.c: Removed.
16422         * math/s_casinhf.c: Removed.
16423         * math/s_casinhl.c: Removed.
16424         * math/s_csin.c: Removed.
16425         * math/s_csinf.c: Removed.
16426         * math/s_csinl.c: Removed.
16427         * math/s_csinh.c: Removed.
16428         * math/s_csinhf.c: Removed.
16429         * math/s_csinhl.c: Removed.
16430         * math/k_casinh.c: Removed.
16431         * math/k_casinhf.c: Removed.
16432         * math/k_casinhl.c: Removed.
16434         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
16435         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
16436         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
16437         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
16439         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
16440         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
16441         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
16442         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
16443         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
16444         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
16445         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
16446         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
16448         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
16449         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
16450         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
16451         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
16453         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
16454         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
16455         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
16456         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
16458 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16460         * s_casin_template.c: Copy of s_casin.c.
16461         * s_casinh_template.c: Copy of s_casinh.c.
16462         * s_csin_template.c: Copy of s_csin.c.
16463         * s_csinh_template.c: Copy of s_csinh.c.
16464         * k_casinh_template.c: Copy of k_casinh.c.
16466 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16468         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
16470 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16472         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
16473         (mul_split) Remove, rename as mul_splitl, remove
16474         redundant float.h include, and include via mul_splitl.h
16476         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16477         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16478         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16479         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16480         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16482         * math/mul_splitl.h: New file.
16484         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
16485         Move into mul_split.h, and remove redundant float.h include.
16487         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16488         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
16489         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
16490         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
16492         * math/mul_split.h: New file.
16494 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16496         * math/Makefile (libm-gen-calls): Move
16497         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
16498         (libm-calls): Remove above.
16500         * math/s_cacos_template.c: Update using type-generic macros.
16501         * math/s_cacosh_template.c: Likewise.
16502         * math/s_ccos_template.c: Likewise.
16503         * math/s_ccosh_template.c: Likewise.
16505         * math/s_cacosf.c: Removed.
16506         * math/s_cacos.c: Removed.
16507         * math/s_cacosl.c: Removed.
16508         * math/s_cacoshf.c: Removed.
16509         * math/s_cacosh.c: Removed.
16510         * math/s_cacoshl.c: Removed.
16511         * math/s_ccosf.c: Removed.
16512         * math/s_ccos.c: Removed.
16513         * math/s_ccosl.c: Removed.
16514         * math/s_ccoshf.c: Removed.
16515         * math/s_ccosh.c: Removed.
16516         * math/s_ccoshl.c: Removed.
16518         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
16519         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
16520         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
16521         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
16522         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
16523         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
16525         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
16526         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
16527         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
16528         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
16530         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
16531         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
16532         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
16533         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
16535 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16537         * s_cacos_template.c: Copy of s_cacos.c.
16538         * s_cacosh_template.c: Copy of s_cacosh.c.
16539         * s_ccos_template.c: Copy of s_ccos.c.
16540         * s_ccosh_template.c: Copy of s_ccosh.c.
16542 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16544         * stdlib/tst-strtod-round-skeleton.c:
16545         Refactored from tst-strtod-round.c.
16547         (L_): New macro to apply literal modifier.
16548         (FNPFX): New macro to select str or wcs prefix.
16549         (CHAR): New macro to choose wchar_t or char.
16550         (STRM): New macro to choose printf for tested character type.
16552         (STRTO): New macro to choose appropriate string -> real function.
16553         (FNPFXS): Stringitized version of FNPFX.
16554         (STR): Support for above macro.
16555         (STRX): Likewise.
16557         (TEST): Update with above macros.
16558         (test): Likewise.
16559         (GEN_ONE_TEST): Likewise.
16560         (test_in_one_mode): Likewise.
16562         * stdlib/tst-strtod-round.c: New file.
16563         * wcsmbs/tst-wcstod-round.c: New file.
16565         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
16566         (tst-wcstod-round): Add libm depencency for fesetround.
16568 2016-08-19  Zack Weinberg  <zackw@panix.com>
16570         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
16572 2016-08-18  Torvald Riegel  <triegel@redhat.com>
16574         [BZ #20477]
16575         * resolv/res_hconf.c (do_init): Use atomic access.
16576         * resolv/res_hconf.h: Add comments.
16577         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
16578         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
16579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16581 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16583         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16584         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
16585         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16586         Likewise.
16588 2016-08-18  Florian Weimer  <fweimer@redhat.com>
16590         [BZ #16907]
16591         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
16592         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
16593         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
16594         (__attribute__): Remove definition.
16596 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16598         * sysdeps/ieee754/ldbl-128/e_asinl.c:
16599         Remove unused sqrtl declaration.
16601 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16603         * math/Makefile: (gen-libm-templates.stmp): New rule.
16604         (libm-calls): Move carg conj cimag and cabs into ...
16605         (gen-libm-calls): New variable.
16606         (generated): Inform Make objects from gen-libm-calls
16607         may be generated.
16609         * sysdeps/generic/math-type-macros.h: New file.
16610         * sysdeps/generic/math-type-macros-float.h: Likewise.
16611         * sysdeps/generic/math-type-macros-double.h: Likewise.
16612         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16613         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
16614         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
16616         * math/cabs.c: Refactor into
16617         * math/cabs_template.c: new file.
16618         * math/cabsf.c: Removed.
16619         * math/cabsl.c: Removed.
16620         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
16621         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
16623         * math/carg.c: Refactor into
16624         * math/carg_template.c: new file.
16625         * math/cargf.c: Removed.
16626         * math/cargl.c: Removed.
16627         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
16628         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
16630         * math/conj.c: Refactor into
16631         * math/conj_template.c: new file.
16632         * math/conjf.c: Removed.
16633         * math/conjl.c: Removed.
16634         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
16635         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
16637         * math/cimag.c: Refactor into
16638         * math/cimag_template.c: new file.
16639         * math/cimagf.c: Removed.
16640         * math/cimagl.c: Removed.
16641         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16642         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16644         * math/cimag.c: Refactor into
16645         * math/cimag_template.c: new file.
16646         * math/cimagf.c: Removed.
16647         * math/cimagl.c: Removed.
16648         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
16649         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
16651 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16653         Reduce time to expected nptl/tst-once5 failure.
16654         * nptl/tst-once5.cc (TIMEOUT): Define.
16656 2016-08-17  Florian Weimer  <fweimer@redhat.com>
16658         [BZ #20452]
16659         Avoid additional copies of objects in libc.a in static libraries.
16660         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
16661         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
16662         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
16663         rt-sysdep.
16664         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
16665         Add nptl-sysdep.
16666         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
16667         Add ptw-sysdep.
16668         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
16669         rt-sysdep.
16670         * sysdeps/unix/sysv/linux/alpha/Makefile
16671         (libpthread-shared-only-routines): Add ptw-sysdep,
16672         ptw-sigprocmask, ptw-rt_sigaction.
16673         * sysdeps/unix/sysv/linux/ia64/Makefile
16674         (librt-shared-only-routines): Add rt-sysdep.
16675         * sysdeps/unix/sysv/linux/i386/Makefile
16676         (libpthread-shared-only-routines): Add libc-do-syscall.
16677         * sysdeps/unix/sysv/linux/microblaze/Makefile
16678         (libpthread-shared-only-routines): Add sysdep.
16679         * sysdeps/unix/sysv/linux/powerpc/Makefile
16680         (librt-shared-only-routines): Add rt-sysdep.
16681         (libpthread-shared-only-routines): Add sysdep.
16682         * sysdeps/unix/sysv/linux/s390/Makefile
16683         (librt-shared-only-routines): Add rt-sysdep.
16684         * sysdeps/unix/sysv/linux/sparc/Makefile
16685         (librt-shared-only-routines): Add rt-sysdep.
16686         (libpthread-shared-only-routines): Add sysdep.
16687         * sysdeps/unix/sysv/linux/tile/Makefile
16688         (libpthread-shared-only-routines): Likewise.
16690 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
16692         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
16693         Mask implicit bit out of unpacked value.
16694         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
16695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
16696         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
16698         * sysdeps/sparc/fpu/fesetexcept.c: New file.
16700         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
16702         * sysdeps/s390/fpu/fesetexcept.c: New file.
16704         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
16705         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
16706         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
16708         * sysdeps/mips/fpu/fesetexcept.c: New file.
16710         * sysdeps/m68k/fpu/fesetexcept.c: New file.
16712         * sysdeps/ia64/fpu/fesetexcept.c: New file.
16714         * sysdeps/hppa/fpu/fesetexcept.c: New file.
16716         * sysdeps/arm/fesetexcept.c: New file.
16718         * sysdeps/alpha/fpu/fesetexcept.c: New file.
16720         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
16722         * math/fesetexcept.c: New file.
16723         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
16724         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
16725         * math/fenv.h: Define
16726         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16727         <bits/libc-header-start.h> instead of including <features.h>.
16728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
16729         declaration.
16730         * manual/arith.texi (fesetexcept): Document function.
16731         * math/Versions (fesetexcept): New libm symbol at version
16732         GLIBC_2.25.
16733         * math/Makefile (libm-support): Add fesetexcept.
16734         (tests): Add test-fesetexcept and test-fesetexcept-traps.
16735         * math/test-fesetexcept.c: New file.
16736         * math/test-fesetexcept-traps.c: Likewise.
16737         * sysdeps/nacl/libm.abilist: Update.
16738         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16739         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16740         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16741         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16742         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16743         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16744         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16745         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16746         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16747         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16748         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16749         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16751         Likewise.
16752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16753         Likewise.
16754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16755         Likewise.
16756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16757         Likewise.
16758         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16759         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16760         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16761         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16762         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16764         Likewise.
16765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16766         Likewise.
16767         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16768         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16769         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16771 2016-08-16  Florian Weimer  <fweimer@redhat.com>
16773         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
16774         New.
16775         (do_test): Apply default_stack_size_in_mb if not set.
16776         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
16778 2016-08-15  Andreas Schwab  <schwab@suse.de>
16780         [BZ #20435]
16781         CVE-2016-6323
16782         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
16783         as .cantunwind.
16785 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
16787         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
16788         comment from fraiseexcpt.c.
16790         * math/test-fexcept.c (feraiseexcept_exact): New function.
16791         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
16792         (test_except): Likewise.
16794 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
16796         [BZ #20455]
16797         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
16798         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
16799         to be restored.
16801         * math/test-fexcept-traps.c: New file.
16802         * math/test-fexcept.c: Likewise.
16803         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
16804         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
16805         macro.
16806         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
16807         (EXCEPTION_SET_FORCES_TRAP): Likewise.
16809 2016-08-09  Torvald Riegel  <triegel@redhat.com>
16811         * include/atomic.h (atomic_fetch_and_relaxed,
16812         atomic_fetch_and_release, atomic_fetch_or_release,
16813         atomic_fetch_xor_release): New.
16815 2016-08-06  Christian Seiler  <christian@iwakd.de>
16817         [BZ #20444]
16818         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
16819         MACH_PORT_NULL.
16821 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16823         * math/s_fdim.c: Avoid alias renamed.
16824         * math/s_fdimf.c: Likewise.
16825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16826         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16827         Add s_fdimf-vis3, s_fdim-vis3.
16828         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
16829         (CFLAGS-s_fdim-vis3.c): Likewise.
16830         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
16831         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
16833 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
16836         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
16837         Remove s_fdimf-vis3, s_fdim-vis3.
16838         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
16839         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
16840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
16841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
16842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
16843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
16844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
16845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
16846         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
16847         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
16849 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
16851         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
16852         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
16853         -Wa,-Av9a -mvis.
16855 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16857         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
16858         LIT() to individual constants in simple expressions
16859         after splitting on spaces.
16860         (_apply_lit): Rename replaced version, and use it to
16861         apply to what appears to be a token.
16863         * math/libm-test.inc: Fix many, many issues with
16864         spacing.
16866 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
16868         * math/math.h: Move comment about <bits/mathdef.h> definitions
16869         above inclusion of <bits/mathdef.h>.  Do not mention
16870         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
16872 2016-08-05  Torvald Riegel  <triegel@redhat.com>
16874         * include/atomic.h (atomic_exchange_relaxed): New.
16876 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
16878         * math/e_scalb.c: Do not include <fenv.h>.
16879         (invalid_fn): Do calculation resulting in NaN instead of raising
16880         FE_INVALID and returning a NaN explicitly.
16881         * math/e_scalbf.c: Do not include <fenv.h>.
16882         (invalid_fn): Do calculation resulting in NaN instead of raising
16883         FE_INVALID and returning a NaN explicitly.
16884         * math/e_scalbl.c: Do not include <fenv.h>.
16885         (invalid_fn): Do calculation resulting in NaN instead of raising
16886         FE_INVALID and returning a NaN explicitly.
16888 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
16890         * po/de.po: Updated from Translation Project.
16891         * po/fi.po: Likewise.
16892         * po/sv.po: Likewise.
16894 2016-08-04  Florian Weimer  <fweimer@redhat.com>
16896         [BZ #20452]
16897         Use sysdep.o from libc.a in static libraries.
16898         * sysdeps/unix/sysv/linux/i386/Makefile
16899         (libpthread-shared-only-routines): Add sysdep.
16900         (librt-shared-only-routines): Likewise.
16902 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16904         * math/tgmath.h (nextdown): Define if
16905         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
16906         (nextup): Likewise.
16908         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
16909         macro.
16910         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16911         Document.
16912         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
16913         Document macro.
16914         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
16915         (exp10f): Likewise.
16916         (exp10l): Likewise.
16917         * math/bits/mathcalls.h (exp10): Declare if
16918         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
16920         * manual/arith.texi (nextup): Fix typo in last change.
16922 2016-08-03  Zack Weinberg  <zackw@panix.com>
16924         [BZ #19239]
16925         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
16926         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
16927         define major, minor, and makedev to issue deprecation warnings on use.
16928         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
16929         previously-activated deprecation warnings for these macros and prevent
16930         subsequent inclusions of this header from having any effect.
16931         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
16932         including <sys/sysmacros.h>, and undefine it again afterward.
16934 2016-08-03  Zack Weinberg  <zackw@panix.com>
16936         * sysdeps/generic/sys/sysmacros.h: Delete file.
16937         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
16938         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
16939         * bits/sysmacros.h: ... here; this encoding is now the generic
16940         encoding.  Now defines only the following macros:
16941         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
16942         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
16943         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
16945         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
16946         bits/sysmacros.h and the above new macros to generate the
16947         public implementations of major, minor, and makedev.
16948         * misc/tst-makedev.c: New test.
16949         * include/sys/sysmacros.h: New wrapper.
16951         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
16952         (routines): Add makedev.
16953         (tests): Add tst-makedev.
16954         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
16955         gnu_dev_makedev.
16956         * posix/Makefile (headers): Remove sys/sysmacros.h.
16957         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
16959         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
16960         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
16961         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
16962         * sysdeps/unix/sysv/linux/alpha/libc.abilist
16963         * sysdeps/unix/sysv/linux/arm/libc.abilist
16964         * sysdeps/unix/sysv/linux/hppa/libc.abilist
16965         * sysdeps/unix/sysv/linux/i386/libc.abilist
16966         * sysdeps/unix/sysv/linux/ia64/libc.abilist
16967         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16968         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
16969         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
16970         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16971         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16972         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16973         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16974         * sysdeps/unix/sysv/linux/nios2/libc.abilist
16975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16979         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
16980         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
16981         * sysdeps/unix/sysv/linux/sh/libc.abilist
16982         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16983         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16986         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
16987         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
16988         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
16989         Add GLIBC_2.25.
16991         * include/features.h (__glibc_clang_prereq): New macro.
16992         * misc/sys/cdefs.h (__glibc_clang_has_extension)
16993         (__attribute_deprecated_msg__): New macros.
16995 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
16997         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
16998         macro.
16999         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
17000         * manual/arith.texi (issignaling): Document as ISO from TS
17001         18661-1:2014.
17002         (nextup): Likewise.
17003         (nextupf): Likewise.
17004         (nextupl): Likewise.
17005         (nextdown): Likewise.
17006         (nextdownf): Likewise.
17007         (nextdownl): Likewise.
17008         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
17009         macro.
17010         * math/math.h: Define
17011         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17012         <bits/libc-header-start.h> instead of including <features.h>.
17013         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17014         [__USE_GNU].
17015         * math/bits/mathcalls.h (nextdown): Declare if
17016         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17017         (nextup): Likewise.
17018         (__issignaling): Likewise.
17020 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17022         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17023         check, and remove __glibc_likely hint
17024         from FP_INFINITE check.
17025         * s_csinhf.c (__csinhf): Likewise.
17027         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17028         hint from FP_INFINITE check.
17029         * s_csinhl.c (__csinhl): Likewise.
17031 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17033         * math/Makefile (libm-calls): Insert F placeholder into
17034         object names.  Move w_lgamma_compat* routines into
17035         (libm-compat-calls): New variable.
17036         (libm-compat-calls-ldouble-yes): New variable.
17037         (calls): Insert F placeholder.
17038         (generated): Redefine using new type-foreach macro call.
17039         (routines): Likewise.
17041         (types): New variable to hold a list of symbolic names
17042         for each type supported by the target machine.
17043         (libm-routines): Redefine using new types variable.
17044         (type-foreach): macro to replace fooF with the
17045         appropriately suffixed foo for each types.
17047         (type-ldouble-suffix): New variable.
17048         (type-ldouble-routines): Likewise.
17049         (type-ldouble-yes): Likewise.
17050         (type-double-suffix): Likewise.
17051         (type-double-routines): Likewise.
17052         (type-float-suffix): Likewise.
17053         (type-float-routines): Likewise.
17055         (dbl-only-routines): Remove.
17056         (long-c-yes): Likewise.
17057         (long-m-routines): Likewise.
17058         (long-m-support): Likewise.
17059         (long-m-yes): Likewise.
17060         (test-longdouble-yes): Likewise.
17062         (test-float.o): Simplify by increasing the scope of the
17063         recipe which adds libm-test.stmp to the vector types.
17064         (test-ifloat.o): Likewise.
17065         (test-float-finite.o): Likewise.
17066         (test-double.o): Likewise
17067         (test-idouble.o): Likewise.
17068         (test-double-finite.o): Likewise.
17069         (test-ldouble.o): Likewise
17070         (test-ildoubl.o): Likewise.
17071         (test-ldouble-finite.o): Likewise.
17073         (libm-tests): Redefine type tests using foreach and the
17074         list of types in types.
17076         (CPPFLAGS-test-ildoubl.c): Rename to
17077         (CPPFLAGS-test-ildouble.c): New variable
17079         * math/test-ildoubl.c: Rename to
17080         * math/test-ildouble.c: New file.
17082 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17084         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
17085         Use fabsl instead of fabs.
17086         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
17087         Likewise.
17088         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
17089         Add long double suffix to constant to ensure proper
17090         promotion to long double.
17092 2016-08-03  Tom Tromey  <tom@tromey.com>
17094         [BZ #20311]
17095         * nptl_db/Makefile (headers): Add proc_service.h.
17096         * nptl_db/proc_service.h: Add include guard.  Use
17097         __BEGIN/__END_DECLS.
17098         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
17099         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
17100         arguments.
17103 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17105         [BZ #17730]
17106         Avoid using memalign for TCB allocations.
17107         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
17108         (_dl_allocate_tls_storage): Use malloc and manual alignment.
17109         Avoid alignment gap in the TLS_DTV_AT_TP case.
17110         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
17111         determine the pointer to free.
17112         * nptl/tst-tls3-malloc.c: New test.
17113         * nptl/Makefile (tests): Add it.
17114         (tst-tls3-malloc): Link with libdl, libpthread.
17115         (LDFLAGS-tst-tls3-malloc): Set.
17116         (tst-tls3-malloc.out): Depend on DSO used in test.
17118 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17120         [BZ #17730]
17121         Avoid using memalign for TLS allocations.
17122         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
17123         is_static member with to_free member.
17124         (union dtv): Use struct dtv_pointer.
17125         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
17126         dtv_pointer instead of is_static.
17127         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
17128         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
17129         instead of val.
17130         (allocate_dtv_entry): New function.
17131         (allocate_and_init): Return struct dtv_pointer.  Call
17132         allocate_dtv_entry instead of __libc_memalign.
17133         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
17134         instead of val.
17135         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
17136         instead of is_static.  Adjust call to allocate_and_init.
17137         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
17138         struct dtv_pointer instead of val.
17140 2016-08-03  Florian Weimer  <fweimer@redhat.com>
17142         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
17143         (MALLOC_ALIGN_MASK): Move ...
17144         * malloc/malloc-internal.h: ... to here.
17145         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
17147 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17149         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
17150         (UDP_ENCAP_GTP1U): Likewise.
17152         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
17153         (PF_MAX): Update value.
17154         (AF_QIPCRTR): New macro.
17156 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17158         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
17159         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17160         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
17162         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17163         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17164         s_truncf-vis3, s_trunc-vis3.
17165         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17166         (CFLAGS-s_ceil-vis3.c): Likewise.
17167         (CFLAGS-s_floorf-vis3.c): Likewise.
17168         (CFLAGS-s_floor-vis3.c): Likewise.
17169         (CFLAGS-s_truncf-vis3.c): Likewise.
17170         (CFLAGS-s_trunc-vis3.c): Likewise.
17171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
17172         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
17173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
17174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
17175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
17176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
17177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
17178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
17179         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
17180         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
17181         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
17182         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
17184 2016-08-02  David S. Miller  <davem@davemloft.net>
17186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17187         (__nearbyint_vis3): Don't check for sNaN before float register is
17188         loaded with the incoming argument.
17189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17190         (__nearbyintf_vis3): Likewise.
17191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
17192         Likewise.
17193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
17194         Likewise.
17196         * string/test-strncmp.c (do_test_limit): Make sure the test data
17197         stream is aligned as required for the type "CHAR".
17198         (do_test): Likewise.
17200 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
17202         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
17203         by beq instructions jumping to the end of the function.
17204         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
17205         clobber list. Use "i" constraint instead of "X".
17206         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
17207         of "X".
17209 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
17211         * bits/libc-header-start.h: New file.
17212         * Makefile (headers): Add bits/libc-header-start.h.
17213         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
17214         (__GLIBC_USE): New macro.
17215         * libio/stdio.h: Define
17216         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17217         <bits/libc-header-start.h> instead of including <features.h>.
17218         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
17219         (open_memstream): Likewise.
17220         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
17221         (__asprintf): Likewise.
17222         (asprintf): Likewise.
17223         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
17224         (getdelim): Likewise.
17225         (getline): Likewise.
17226         * string/string.h: Define
17227         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17228         <bits/libc-header-start.h> instead of including <features.h>.
17229         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
17230         (strndup): Likewise.
17231         * wcsmbs/wchar.h: Define
17232         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17233         <bits/libc-header-start.h> instead of including <features.h>.
17234         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
17235         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
17237 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17239         Support linking against compatibility symbols, for use in tests.
17240         * include/libc-symbols.h (symbol_version_reference): New macro.
17241         (symbol_version): Use it.
17242         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
17243         (compat_symbol): Use compat_symbol_reference.
17244         (compat_symbol_1, compat_symbol_2): Remove.
17245         (compat_symbol_reference, compat_symbol_reference_1)
17246         (compat_symbol_reference_2): New macro.  Use
17247         symbol_version_reference.
17249 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17251         [BZ #19469]
17252         * malloc/Makefile (CPPFLAGS): Compile tests with
17253         -DTEST_NO_MALLOPT.
17254         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
17256 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
17258         [BZ #20033]
17259         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
17260         finite version.
17261         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
17262         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
17263         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
17264         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
17265         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
17266         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
17267         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
17268         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
17269         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
17270         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
17271         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
17272         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
17273         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
17274         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
17275         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
17276         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
17277         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
17278         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
17279         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
17280         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
17281         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
17282         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
17283         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
17284         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
17285         in zero power.
17287 2016-08-02  Florian Weimer  <fweimer@redhat.com>
17289         [BZ #20370]
17290         * malloc/arena.c (get_free_list): Update comment.  Assert that
17291         arenas on the free list have no attached threads.
17292         (remove_from_free_list): New function.
17293         (reused_arena): Call it.
17295 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
17297         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
17298         when it is a NaN.
17299         [_IEEE_FP_INEXACT] Remove.
17300         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
17301         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
17302         when it is a NaN.
17303         [_IEEE_FP_INEXACT] Remove.
17304         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
17305         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
17306         when it is a NaN.
17307         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
17308         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
17309         when its absolute value is greater than 0x1.0p52.
17310         [_IEEE_FP_INEXACT] Remove.
17311         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
17312         when its absolute value is greater than 0x1.0p23.
17313         [_IEEE_FP_INEXACT] Remove.
17315 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
17317         * version.h (RELEASE): Set to "development"
17318         (VERSION): Set to 2.24.90.
17319         * NEWS: Add 2.25 section.
17321         * version.h (RELEASE): Set to "stable"
17322         (VERSION): Set to 2.24.
17323         * include/features.h (__GLIBC_MINOR__): Set to 24.
17325         * NEWS: Add 2.24 fixed bugs.
17326         * po/libc.pot: Regenerate.
17328 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
17330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17331         [$(subdir) = math] (libm-sysdep_routines): Remove.
17332         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17333         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
17334         s_truncf-vis3, s_trunc-vis3.
17335         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
17337         file.
17338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
17339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
17340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
17344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
17345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
17347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
17348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
17349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
17350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
17351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
17352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
17353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
17355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
17357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
17358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
17359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
17360         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17361         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17362         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
17363         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17364         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17365         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
17366         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17367         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17368         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
17369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17370         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17371         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
17372         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
17373         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
17374         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
17375         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
17376         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
17377         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
17378         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
17379         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
17380         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
17382 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
17384         [BZ #20384]
17385         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
17386         test-double-libmvec-sincos-avx-main.o,
17387         test-double-libmvec-sincos-avx2-main.o,
17388         test-double-libmvec-sincos-main.o,
17389         test-float-libmvec-sincosf-avx-main.o,
17390         test-float-libmvec-sincosf-avx2-main.o and
17391         test-float-libmvec-sincosf-main.o.
17392         test-float-libmvec-sincosf-avx512-main.o.
17393         ($(objpfx)test-double-libmvec-sincos): Also link with
17394         $(objpfx)test-double-libmvec-sincos-main.o.
17395         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
17396         $(objpfx)test-double-libmvec-sincos-avx-main.o.
17397         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
17398         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
17399         ($(objpfx)test-float-libmvec-sincosf): Also link with
17400         $(objpfx)test-float-libmvec-sincosf-main.o.
17401         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
17402         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
17403         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
17404         test-double-libmvec-sincos-avx512-main.o and
17405         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
17406         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
17407         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
17408         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
17409         (CFLAGS-test-double-libmvec-sincos.c): Removed.
17410         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
17411         (CFLAGS-test-double-libmvec-sincos-main.c): New.
17412         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
17413         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
17414         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
17415         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
17416         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
17417         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
17418         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
17419         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
17420         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
17421         -DREQUIRE_AVX2.
17422         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
17423         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
17424         -DREQUIRE_AVX512F.
17425         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
17426         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
17427         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17428         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
17429         file.
17430         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
17431         Likewise.
17432         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
17433         Likewise.
17434         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
17435         Likewise.
17436         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
17437         Likewise.
17438         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
17439         Likewise.
17440         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
17441         Likewise.
17442         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
17443         Likewise.
17445 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
17447         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
17449 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
17451         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
17452         and typo in a comment about AT_HWCAP entry.
17454 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17456         * sysdeps/aarch64/libm-test-ulps: Updated.
17458 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17460         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
17461         of r13 as it is not restored in mvcle case.
17463 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
17465         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
17466         Rename "ret" to "__ret".
17467         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
17468         inline_syscall5, inline_syscall6): Likewise.
17470 2016-07-19   Will Newton  <will.newton@gmail.com>
17472         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
17473         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
17474         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
17475         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
17476         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
17478 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
17480         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
17481         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
17482         -mfpmath=387 with $(rtld-CFLAGS).
17483         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
17484         $(rtld-CFLAGS).
17486 2016-07-18   Ross Burton  <ross.burton@intel.com>
17487              Khem Raj  <raj.khem@gmail.com>
17489         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
17490         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
17491         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
17492         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
17493         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
17494         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
17495         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
17496         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
17497         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
17498         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
17499         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
17500         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
17501         R_METAG_TLS_DTPOFF): New.
17503 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17504             Matt Clay  <mclay@lycos.com>
17506         [BZ #20357]
17507         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
17508         to call __mpsin/__mpcos and to negate values.
17509         * math/auto-libm-test-in: Add test.
17510         * math/auto-libm-test-out: Regenerate.
17512 2016-07-18  Zack Weinberg  <zackw@panix.com>
17514         * grp/Makefile: Don't install the internal header grp-merge.h.
17516 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17518         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17520 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17522         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
17524 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17526         [BZ #15368]
17527         * sysdeps/unix/sysv/linux/nptl-signals.h
17528         (__nptl_clear_internal_signals): New function.
17529         (__libc_signal_block_all): Likewise.
17530         (__libc_signal_block_app): Likewise.
17531         (__libc_signal_restore_set): Likewise.
17532         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
17533         implementation.
17534         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
17535         the cached pid/tid value in pthread structure.
17537 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
17539         [BZ #20347]
17540         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17542 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17544         [BZ #20348]
17545         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
17546         preadv64, pwrite64 and pwritev64.
17548 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17550         [BZ #20350]
17551         * posix/tst-preadwrite.c: Renamed to ...
17552         * posix/tst-preadwrite-common.c: This.
17553         (PREAD): Removed.
17554         (PWRITE): Likewise.
17555         (STRINGIFY): Likewise.
17556         (STRINGIFY2): Likewise.
17557         (do_prepare): Make it static and remove function arguments.
17558         (do_test): Likewise.
17559         (PREPARE): Updated.
17560         (TEST_FUNCTION): New.
17561         (name): Make it static.
17562         (fd): Likewise.
17563         (do_prepare): Use create_temp_file.
17564         (do_test): Renamed to ...
17565         (do_test_with_offset): This.  Make it static and accept offset.
17566         Properly check return value of PWRITE and PREAD.  Return bytes
17567         read.  Don't close fd nor unlink name.
17568         * posix/tst-preadwrite.c: Rewrite.
17569         * posix/tst-preadwrite64.c: Likewise.
17571 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
17573         [BZ #20309]
17574         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
17575         -mtls-dialect=gnu2 works.
17576         * configure: Regenerated.
17577         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
17578         (tests): Add tst-gnu2-tls1.
17579         (modules-names): Add tst-gnu2-tls1mod.
17580         ($(objpfx)tst-gnu2-tls1): New.
17581         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
17582         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
17583         * elf/tst-gnu2-tls1.c: New file.
17584         * elf/tst-gnu2-tls1mod.c: Likewise.
17585         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
17586         bytes for push in the PLT entry to align the stack.
17588 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17590         [BZ #20349]
17591         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
17593 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17595         [BZ #18707]
17596         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
17597         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
17599 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17601         * sysdeps/unix/sysv/linux/sysdep.h
17602         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
17603         guards.
17604         * misc/tst-preadvwritev-common.c: New file.
17605         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
17606         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
17607         a check for files larger than 2GB.
17609         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17610         (__ASSUME_OFF_DIFF_OFF64): Remove define.
17611         * sysdeps/unix/sysv/linux/pread.c
17612         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
17613         __OFF_T_MATCHES_OFF64_T.
17614         * sysdeps/unix/sysv/linux/pread64.c
17615         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
17616         * sysdeps/unix/sysv/linux/preadv.c
17617         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
17618         * sysdeps/unix/sysv/linux/preadv64.c
17619         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
17620         * sysdeps/unix/sysv/linux/pwrite.c
17621         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
17622         * sysdeps/unix/sysv/linux/pwrite64.c
17623         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
17624         * sysdeps/unix/sysv/linux/pwritev.c
17625         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
17626         * sysdeps/unix/sysv/linux/pwritev64.c
17627         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
17629 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
17631         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17632         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
17634 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17636         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
17638 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
17640         [BZ #20240]
17641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
17642         (CFLAGS-s_modf-ppc32.c): New variable.
17643         (CFLAGS-s_modff-ppc32.c): Likewise.
17644         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17645         (CFLAGS-s_modf-ppc64.c): Likewise.
17646         (CFLAGS-s_modff-ppc64.c): Likewise.
17648 2016-07-07  Andreas Schwab  <schwab@suse.de>
17650         [BZ #20263]
17651         * nptl/tst-robust10.c: New test.
17652         * nptl/Makefile (tests): Add tst-robust10.
17654 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
17656         [BZ #20263]
17657         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
17659 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17661         * sysdeps/s390/linkmap.h (struct link_map_machine):
17662         Remove member gotplt and add member jmprel.
17663         * sysdeps/s390/s390-32/dl-machine.h
17664         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
17665         instead of gotplt with &got[3].
17666         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
17667         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17669 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
17671         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
17673 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17675         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
17676         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
17677         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17678         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
17679         * libio/vtables.c (_IO_vtable_check)
17680         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
17681         * libio/libioP.h (IO_set_accept_foreign_vtables)
17682         [!PTR_MANGLE]: Do not call PTR_MANGLE.
17684 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
17686         [BZ #20314]
17687         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
17688         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
17689         $(common-objpfx)cmath.
17690         ($(common-objpfx)cstdlib): New target.
17691         ($(common-objpfx)cmath): Likewise.
17693 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
17695         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
17697 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17699         [BZ #20327]
17700         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
17701         are not part of the string.
17703 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17705         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
17706         * nptl/tst-cancel4-common.h (fifoname): New variable.
17707         (fifofd): Likewise.
17708         (cl_fifo): New function.
17709         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
17710         SIGINT.
17711         (tf_open): Add early cancel test.
17713 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
17715         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
17717 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
17719         * sysdeps/generic/ldsodefs.h
17720         (dl_symbol_visibility_binds_local_p): New inline function.
17721         * elf/dl-addr.c (determine_info): Treat hidden and internal
17722         symbols as local.
17723         * elf/dl-lookup.c (do_lookup_x): Likewise.
17724         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
17726 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
17728         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
17729         invalid exception for a sNaN input.
17730         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17731         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
17732         (__nearbyint_vis3): Likewise
17733         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
17734         (__nearbyintf_vis3): Likewise
17735         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
17736         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17737         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
17738         Likewise.
17739         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
17740         Likewise.
17742 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
17744         [BZ #20139]
17745         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
17746         (HAVE_AVX512DQ_ASM_SUPPORT): This.
17747         * sysdeps/x86_64/configure.ac: Require assembler from binutils
17748         2.24 or above.
17749         (HAVE_AVX512_ASM_SUPPORT): Removed.
17750         (HAVE_AVX512DQ_ASM_SUPPORT): New.
17751         * sysdeps/x86_64/configure: Regenerated.
17752         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
17753         check unconditional.
17754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17755         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17756         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17757         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
17758         Likewise.
17759         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17760         Likewise.
17761         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17762         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17763         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17764         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17765         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17766         Likewise.
17767         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17768         Likewise.
17769         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17770         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17771         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
17772         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
17773         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
17774         Likewise.
17775         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
17776         Likewise.
17777         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
17778         Likewise.
17779         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
17780         Likewise.
17781         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
17782         Likewise.
17783         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
17784         Likewise.
17785         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
17786         Likewise.
17787         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
17788         Likewise.
17789         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
17790         Likewise.
17791         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
17792         Likewise.
17793         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
17794         Likewise.
17796 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
17798         [BZ #20024]
17799         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
17800         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
17801         of this implementation of vector function.
17802         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17803         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17804         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
17805         Likewise.
17806         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17807         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17808         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
17809         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
17810         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
17811         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
17812         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
17813         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
17814         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
17815         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
17816         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
17817         for testing vector sincos with fixed ABI.
17818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17819         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17820         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17821         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17822         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17823         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17824         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17825         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
17826         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
17827         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
17828         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
17829         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
17830         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
17831         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
17832         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
17833         * sysdeps/x86_64/fpu/Makefile: Added new tests.
17835 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17837         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
17839 2016-06-30  Anton Blanchard  <anton@samba.org>
17841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17842         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
17843         s_sinf-ppc64.
17844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
17845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
17846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
17847         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
17849 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
17853         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
17854         e_expf-ppc64.
17855         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
17856         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
17857         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
17858         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
17860 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
17862         [BZ #20277]
17863         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
17864         when SHARED is defined.
17866 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
17868         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
17869         (index_arch_Prefer_ERMS): Likewise.
17870         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
17871         __memcpy_erms for Prefer_ERMS.
17872         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17873         (__memmove_erms): Enabled for libc.a.
17874         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
17875         __memmove_erms or Prefer_ERMS.
17876         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
17877         __mempcpy_erms for Prefer_ERMS.
17878         * sysdeps/x86_64/multiarch/memset.S (memset): Return
17879         __memset_erms for Prefer_ERMS.
17881 2016-06-30  Andreas Schwab  <schwab@suse.de>
17883         [BZ #20262]
17884         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
17885         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
17886         of memory.
17888 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
17890         [BZ #18645]
17891         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
17892         (test-extras): Add tst-cleanupx4aux.
17893         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
17894         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
17895         tst-cleanupx4aux.o.
17896         * nptl/tst-cleanupx4aux.c: New file.
17898 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
17900         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
17902 2016-06-29  Andreas Schwab  <schwab@suse.de>
17904         [BZ #20260]
17905         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
17906         address before the beginning of the string as an integer to avoid
17907         array-bounds warning.
17909 2016-06-28  Richard Henderson  <rth@redhat.com>
17911         * elf/elf.h (EM_BPF): New.
17912         (EM_NUM): Update.
17913         (R_BPF_NONE, R_BPF_MAP_FD): New.
17915         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
17916         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
17917         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
17918         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
17919         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
17920         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
17921         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
17922         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
17923         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
17924         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
17925         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
17926         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
17927         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
17928         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
17929         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
17930         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
17931         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
17932         (EM_NUM): Update.
17934 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
17936         [BZ #18960]
17937         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
17938         Set _nl_current_LC_CATEGORY_used to two instead of one.
17940 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
17942         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
17943         (do_test): ... this.
17944         (TEST_FUNCTION): New macro.
17945          Include test-skeleton.c.
17946         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
17947         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
17949 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
17951         [BZ #15479]
17952         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
17953         floating-point environment rather than just control word.
17954         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17955         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
17956         floating-point environment, with "invalid" exceptions merged in,
17957         rather than just control word.
17958         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
17959         * math/libm-test.inc (trunc_test_data): Do not allow spurious
17960         "inexact" exceptions.
17962         [BZ #15479]
17963         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
17964         floating-point environment rather than just control word.
17965         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17966         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
17967         floating-point environment, with "invalid" exceptions merged in,
17968         rather than just control word.
17969         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
17970         * math/libm-test.inc (floor_test_data): Do not allow spurious
17971         "inexact" exceptions.
17973         [BZ #15479]
17974         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
17975         floating-point environment rather than just control word.
17976         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17977         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
17978         floating-point environment, with "invalid" exceptions merged in,
17979         rather than just control word.
17980         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
17981         * math/libm-test.inc (ceil_test_data): Do not allow spurious
17982         "inexact" exceptions.
17984 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
17986         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
17987         __libc_vfork.
17988         (__vfork) [IS_IN (libc)]: Remove alias.
17989         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
17990         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
17991         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
17993 2016-06-24  Torvald Riegel  <triegel@redhat.com>
17995         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
17996         of atomic_compare_and_exchange_bool_rel.
17997         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17998         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
17999         catomic_compare_and_exchange_bool_rel): Remove.
18000         * sysdeps/aarch64/atomic-machine.h
18001         (atomic_compare_and_exchange_bool_rel): Likewise.
18002         * sysdeps/alpha/atomic-machine.h
18003         (atomic_compare_and_exchange_bool_rel): Likewise.
18004         * sysdeps/arm/atomic-machine.h
18005         (atomic_compare_and_exchange_bool_rel): Likewise.
18006         * sysdeps/mips/atomic-machine.h
18007         (atomic_compare_and_exchange_bool_rel): Likewise.
18008         * sysdeps/microblaze/atomic-machine.h
18009         ( __arch_compare_and_exchange_bool_8_rel,
18010         __arch_compare_and_exchange_bool_16_rel): Likewise.
18011         * sysdeps/powerpc/atomic-machine.h
18012         ( __arch_compare_and_exchange_bool_8_rel,
18013         __arch_compare_and_exchange_bool_16_rel): Likewise.
18014         * sysdeps/powerpc/powerpc32/atomic-machine.h
18015         ( __arch_compare_and_exchange_bool_32_rel,
18016         __arch_compare_and_exchange_bool_64_rel): Likewise.
18017         * sysdeps/powerpc/powerpc64/atomic-machine.h
18018         ( __arch_compare_and_exchange_bool_32_rel,
18019         __arch_compare_and_exchange_bool_64_rel): Likewise.
18020         * sysdeps/tile/atomic-machine.h
18021         (atomic_compare_and_exchange_bool_rel): Likewise.
18023 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
18025         [BZ #20296]
18026         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18027         when either argument is a NaN.
18028         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18029         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18031         * math/libm-test.inc (snan_value_ld): New macro.
18032         (isgreater_test_data): Add sNaN tests.
18033         (isgreaterequal_test_data): Likewise.
18034         (isless_test_data): Likewise.
18035         (islessequal_test_data): Likewise.
18036         (islessgreater_test_data): Likewise.
18037         (isunordered_test_data): Likewise.
18038         (nextafter_test_data): Likewise.
18039         (nexttoward_test_data): Likewise.
18040         (remainder_test_data): Likewise.
18041         (remquo_test_data): Likewise.
18042         (significand_test_data): Likewise.
18043         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18045 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18047         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18048         environment macros are defined.
18049         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18051 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18053         [BZ #20191]
18054         Implement vtable verification in libio.
18055         * Makerules (shlib.lds): Place __libc_IO_vtables section.
18056         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18057         * debug/vdprintf_chk.c (__vdprintf_chk): Call
18058         _IO_new_file_init_internal instead of _IO_file_init.
18059         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18060         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18061         * libio/Makefile (routines): Add vtables.
18062         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18063         (_IO_init): Remove, not for internal use.
18064         (_IO_init_internal): Declare, internal replacement for _IO_init.
18065         (_IO_file_init): Remove, not for internal use.
18066         (_IO_new_file_init): Remove, not for internal use.
18067         (_IO_new_file_init_internal): Declare, internal replacement for
18068         _IO_new_file_init.
18069         (_IO_old_file_init): Remove, not for internal use.
18070         (_IO_old_file_init_internal): Declare, internal replacement for
18071         _IO_old_file_init.
18072         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
18073         internal use.
18074         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
18075         Declare.
18076         (libio_vtable): New macro.
18077         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
18078         functions.
18079         * libio/fileops.c (_IO_new_file_init_internal): Rename from
18080         _IO_new_file_init.
18081         (_IO_new_file_init): New externally visible wrapper which disables
18082         vtable verification.
18083         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
18084         Define as vtables.
18085         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
18086         (_IO_init): New externally visible wrapper which disables
18087         vtable verification.
18088         * libio/iofdopen.c (_IO_new_fdopen): Call
18089         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
18090         comment.
18091         * libio/iofopen.c (__fopen_internal): Call
18092         _IO_new_file_init_internal instead of _IO_file_init.
18093         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
18094         Define as vtables.
18095         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
18096         _IO_new_file_init_internal instead of _IO_file_init.
18097         * libio/iopopen.c (_IO_new_popen): Likewise.
18098         (_IO_proc_jumps): Define as vtable.
18099         * libio/iovdprintf.c (_IO_vdprintf): Call
18100         _IO_new_file_init_internal instead of _IO_file_init.
18101         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
18102         (__open_memstream): Call _IO_init_internal instead of _IO_init.
18103         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
18104         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
18105         _IO_old_file_init.
18106         (_IO_old_file_init): New externally visible wrapper which disables
18107         vtable verification.
18108         (_IO_old_file_jumps): Define as vtable.
18109         * libio/oldiofdopen.c (_IO_old_fdopen): Call
18110         _IO_old_file_init_internal instead of _IO_old_file_init.
18111         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18112         * libio/oldiopopen.c (_IO_old_popen): Likewise.
18113         (_IO_old_proc_jumps): Define as vtable.
18114         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
18115         Define as vtables.
18116         * libio/vtables.c: New file.
18117         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
18118         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
18119         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
18120         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
18121         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
18122         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
18123         instead of _IO_init.
18125 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18127         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
18129 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18131         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
18132         potentially unused.
18134 2016-06-22  Florian Weimer  <fweimer@redhat.com>
18136         * test-skeleton.c (write_message): New function.
18137         * malloc/tst-mallocfork2.c (write_message): Remove.
18138         * debug/tst-longjmp_chk2.c (write_indented): New function.
18139         (write_message): Remove.
18140         (stackoverflow_handler): Call write_indented.
18142 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
18144         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
18145         "inexact" exceptions after fnstenv.
18146         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18147         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18148         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
18150 2015-06-22  Zack Weinberg  <zackw@panix.com>
18152         * sysdeps/generic/bits/hwcap.h: Moved to ...
18153         * bits/hwcap.h: Here.
18155 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
18157         * sysdeps/aarch64/memcpy.S (memcpy):
18158         Further tuning for performance.
18160 2016-06-21  Florian Weimer  <fweimer@redhat.com>
18162         [BZ #20284]
18163         * malloc/arena.c (reused_arena): Do not return NULL if we start
18164         out with a non-corrupted arena.
18166 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18168         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
18169         * misc/tst-preadvwritev.c: New file.
18170         * misc/tst-preadvwritev64.c: Likewise.
18171         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
18172         usage.
18173         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
18174         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
18175         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
18176         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
18178 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
18180         [BZ #19654]
18181         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18182         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
18183         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
18184         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
18185         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
18186         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
18187         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
18188         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
18189         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
18190         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
18191         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
18192         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
18193         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
18194         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
18195         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
18196         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
18197         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
18198         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
18199         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
18200         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
18201         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
18202         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
18203         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
18204         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
18205         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
18206         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
18208 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18210         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
18211         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
18213 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
18215         * sysdeps/aarch64/memcpy.S (memcpy):
18216         Rewrite of optimized memcpy and memmove.
18217         * sysdeps/aarch64/memmove.S (memmove): Remove
18218         memmove code (merged into memcpy.S).
18220 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18222         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
18223         * sysdeps/generic/dl-dtv.h: New file.
18224         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18225         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
18226         (dtv_t): Remove.
18227         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18228         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
18229         (dtv_t): Remove.
18230         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18231         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
18232         (dtv_t): Remove.
18233         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18234         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
18235         (dtv_t): Remove.
18236         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18237         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
18238         (dtv_t): Remove.
18239         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18240         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
18241         (dtv_t): Remove.
18242         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18243         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
18244         (dtv_t): Remove.
18245         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
18246         (dtv_t): Remove.
18247         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18248         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
18249         (dtv_t): Remove.
18250         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18251         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
18252         (dtv_t): Remove.
18253         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18254         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
18255         (dtv_t): Remove.
18256         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18257         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
18258         (dtv_t): Remove.
18259         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18260         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
18261         (dtv_t): Remove.
18262         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18263         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
18264         (dtv_t): Remove.
18265         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18266         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
18267         (dtv_t): Remove.
18268         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
18269         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
18270         (dtv_t): Remove.
18272 2016-06-20  Florian Weimer  <fweimer@redhat.com>
18274         Revert symbol poisoning of  __malloc_initialize_hook.
18275         * include/stdc-predef.h (__malloc_initialize_hook): Remove
18276         poisoning.
18277         * malloc/Makefile: Remove un-poisoning.
18278         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
18279         instead of old__malloc_initialize_hook.
18280         * malloc/malloc-hooks.h: Likewise.
18281         * malloc/malloc.c: Likewise.
18282         * malloc/mcheck-init.c: Likewise.
18284 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
18286         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
18288 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
18290         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
18291         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
18292         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18293         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18295 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18297         * NEWS: Mention addition of nextup and nextdown.
18298         * manual/arith.texi: Document nextup and nextdown.
18299         * manual/libm-err-tab.pl: Add nextup and nextdown.
18300         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
18301         * math/Versions (libm): Add GLIBC_2.24.
18302         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
18303         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
18304         Add new test.
18305         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
18306         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
18307         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
18308         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
18309         (nextup_test_data): Likewise.
18310         (nextdown_test_data): Likewise.
18311         * math/s_nextdown.c: New file.
18312         * math/s_nextdownf.c: Likewise.
18313         * math/s_nextdownl.c: Likewise.
18314         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
18315         F(nextup): New function.
18316         F(nextdown): Likewise.
18317         * math/tgmath.h: Add nextup and nextdown.
18318         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
18319         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
18320         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
18321         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
18322         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
18323         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
18324         Add nextup and nextdown.
18325         (CFLAGS-nldbl-nextup.c): New variable.
18326         (CFLAGS-nldbl-nextdown.c): Likewise.
18327         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
18328         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
18329         * sysdeps/nacl/libm.abilist: Update.
18330         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18331         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18332         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18333         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18334         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18335         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18336         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18337         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18338         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18339         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18340         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18341         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18344         Likewise.
18345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18347         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18348         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18349         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18350         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18351         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
18353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
18354         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18355         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18356         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
18357         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18359 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18361         * manual/pattern.texi: Fix typos & grammar errors.
18363 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18365         * manual/search.texi: Fix typos & grammar errors.
18367 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18369         * manual/message.texi: Fix typos & grammar errors.
18371 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
18373         * manual/contrib.texi: Fix spelling typos.
18374         * manual/crypt.texi: Likewise.
18375         * manual/filesys.texi: Likewise.
18376         * manual/locale.texi: Likewise.
18377         * manual/message.texi: Likewise.
18378         * manual/nss.texi: Likewise.
18379         * manual/string.texi: Likewise.
18381 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18383         * manual/locale.texi: Fix typos & grammar errors.
18385 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18387         * manual/charset.texi: Fix typos & grammar errors.
18389 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18391         * manual/string.texi: Fix typos.
18393 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18395         * manual/ctype.texi: Fix typos.
18397 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
18399         * manual/memory.texi: Fix various typos & grammar errors.
18401 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
18403         [BZ #20255]
18404         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
18405         * math/libm-test.inc (fdim_test_data): Add another test.
18407         [BZ #6796]
18408         [BZ #20255]
18409         [BZ #20256]
18410         * math/s_fdim.c: Include <math_private.h>.
18411         (__fdim): Use math_narrow_eval on result.
18412         * math/s_fdimf.c: Include <math_private.h>.
18413         (__fdimf): Use math_narrow_eval on result.
18414         * sysdeps/i386/fpu/s_fdim.S: Remove file.
18415         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
18416         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
18417         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
18418         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
18419         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
18420         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
18421         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
18422         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
18423         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
18424         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
18425         * math/libm-test.inc (fdim_test_data): Expect errno setting on
18426         overflow.  Add sNaN tests.
18428         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
18429         fpclassify.
18430         * math/s_fdimf.c (__fdimf): Likewise.
18431         * math/s_fdiml.c (__fdiml): Likewise.
18433 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18435         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
18436         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
18437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18438         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
18439         ifunc'ed strcasecmp/strncasecmp.
18440         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
18441         [EALIGN]: Removed.
18442         [END]: Likewise.
18443         [__strcasecmp]: Define instead of the above to control symbol name.
18444         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
18445         for __strcasecmp_power8.
18446         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
18447         for __strncasecmp_power8.
18448         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
18449         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
18450         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
18451         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
18452         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
18453         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
18455 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
18457         [BZ #20252]
18458         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
18459         arguments when second argument is a NaN.
18460         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
18461         qNaN tests.
18463         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
18464         (conj_test_data): Likewise.
18465         (copysign_test_data): Likewise.
18466         (creal_test_data): Likewise.
18467         (fma_test_data): Likewise.
18468         (fmod_test_data): Likewise.
18470         [BZ #20250]
18471         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
18472         itself.
18473         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
18474         zero input to itself.
18475         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
18476         Likewise.
18477         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
18478         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
18479         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18480         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
18481         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
18483 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18485         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
18486         * nptl/tst-cancel4-common.c: New file.
18487         * nptl/tst-cancel4-common.h: Likewise.
18488         * nptl/tst-cancel4.c: Move common definitions to
18489         tst-cancel4-common.{c,h} file.
18490         * nptl/tst-cancel4_1.c: New test.
18491         * nptl/tst-cancel4_2.c: New test.
18493 2016-06-13  Florian Weimer  <fweimer@redhat.com>
18495         [BZ #20248]
18496         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
18497         (write_message): New function.
18498         (stackoverflow_handler): Call it instead of printf, to avoid
18499         excessive stack usage by printf.
18500         (do_test): Restore SIGSEGV, SIGBUS default handlers.
18502 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18504         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
18505         (prio_inherit_missing): Remove define.
18506         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18507         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18508         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
18509         Likewise.
18510         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18511         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18513         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18514         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18515         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18517 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18519         [BZ #19670]
18520         [BZ #19672]
18522         * io/test-lfs.c (do_prepare): Use xmalloc.
18523         * io/tst-fcntl.c (do_prepare): Likewise.
18524         * libio/tst-fopenloc.c (do_bz17916): Likewise.
18525         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
18526         * login/tst-utmp.c (do_prepare): Likewise.
18527         * posix/tst-exec.c (do_prepare): Likewise.
18528         * posix/tst-pathconf.c (prepare): Likewise.
18529         * posix/tst-spawn.c (do_prepare): Likewise.
18530         * posix/tst-truncate.c (do_prepare): Likewise.
18531         * rt/tst-aio.c (do_prepare): Likewise.
18532         * rt/tst-aio64.c (do_prepare): Likewise.
18534 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18536         [BZ #20237]
18537         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
18538         (get*ent): Set entidx to NULL during initialization.  If entidx is
18539         NULL, start iteration from the beginning.
18541 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18543         * malloc/malloc.c (musable): Return correct size for dumped fake
18544         mmapped chunk.
18546 2016-06-11  Florian Weimer  <fweimer@redhat.com>
18548         [BZ #20222]
18549         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
18550         (_IO_cookie_write): Likewise.
18551         (_IO_cookie_seek): Likewise.
18552         (_IO_cookie_close): Likewise.
18553         (_IO_old_cookie_seek): Likewise.
18554         (set_callbacks): New function.
18555         (_IO_cookie_init): Call set_callbacks to copy callbacks.
18557 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
18559         * locale/programs/localedef.c (oldstyle_tables): Remove.
18560         * locale/programs/localedef.h (oldstyle_tables): Likewise.
18562 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
18564         [BZ #20240]
18565         * math/Makefile (CFLAGS-s_modf.c): New variable.
18566         (CFLAGS-s_modff.c): Likewise.
18567         (CFLAGS-s_modfl.c): Likewise.
18568         * math/libm-test.inc (modf_test_data): Add sNaN tests.
18570 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
18572         [BZ #20215]
18573         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
18574         [!__GNUC_PREREQ (3,2)]: Likewise.
18576 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
18578         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
18579         (msghdr.msg_controllen): Likewise.
18580         (cmsghdr.cmsg_len): Likewise.
18581         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
18582         ptw-oldsendmsg.
18583         (CFLAGS-oldrecvmsg.c): Remove rule.
18584         (CFLAGS-oldsendmsg.c): Likewise.
18585         (CFLAGS-recvmsg.c): Add rule.
18586         (CFLAGS-sendmsg.c): Likewise.
18587         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
18588         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
18589         (CFLAGS-recvmsg.c): Remove rule.
18590         (CFLAGS-sendmsg.c): Likewise.
18591         (CFLAGS-oldrecvmsg.c): Likewise.
18592         (CFLAGS-oldsendmsg.c): Likewise.
18593         (CFLAGS-recvmmsg.c): Likewise.
18594         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
18595         to kernel defined interfaces.
18596         (msghdr.msg_controllen): Likewise.
18597         (cmsghdr.cmsg_len): Likewise.
18598         (msghdr.__glibc_reserved1): Remove member.
18599         (msghdr.__glibc_reserved2): Likewise.
18600         (cmsghdr.__glibc_reserved1): Likewise.
18601         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
18602         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
18603         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18604         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18605         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
18606         version.
18607         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18608         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
18609         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18610         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
18611         Remove recvmsg and sendmsg.
18612         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
18613         Likewise.
18614         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18615         Likewise.
18616         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18617         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18618         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18619         Likewise.
18620         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18621         Likewise.
18622         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
18623         [libc] (GLIBC_2.24): Likewise.
18624         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18625         Likewise.
18626         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18627         Likewise.
18628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18629         [libc] (GLIBC_2.24): Likewise.
18630         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18631         Likewise.
18632         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18633         Likewise.
18634         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18635         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18636         Likewise.
18637         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18638         Likewise.
18639         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18640         Likewise.
18641         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
18642         Likewise.
18643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
18644         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
18645         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
18646         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
18647         version for {recv,send,recm,sendm}msg.
18648         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18649         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18650         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18651         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18652         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18653         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18654         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18655         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18656         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18657         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18658         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18659         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18661         Likewise.
18662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18663         Likewise.
18664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18666         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18667         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18668         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18669         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18670         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18671         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18674         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18675         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18676         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18678 2016-06-10  Florian Weimer  <fweimer@redhat.com>
18680         [BZ #19564]
18681         Remove __malloc_initialize_hook from the API.
18682         * malloc/malloc.h (__malloc_initialize_hook): Remove.
18683         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
18684         #pragma GCC poison.
18685         * malloc/malloc-hooks.h: New file.
18686         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
18687         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
18688         (old__malloc_initialize_hook): Rename from
18689         __malloc_initialize_hook to evade poisoning.  Turn into compat
18690         symbol.
18691         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
18692         __malloc_initialize_hook.
18693         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
18694         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
18695         * manual/memory.texi (Hooks for Malloc): Remove
18696         __malloc_initialize_hook.  Adjust hook example.
18698 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
18700         [BZ #20235]
18701         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
18702         itself.
18703         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18704         * math/libm-test.inc (log2_test_data): Add sNaN tests.
18706         [BZ #20234]
18707         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
18708         infinity or NaN input to itself.
18710         [BZ #20233]
18711         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
18712         to itself.
18714         [BZ #20232]
18715         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
18716         itself.
18718 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18720         * sysdeps/x86_64/start.S (_start): Always indirect branch to
18721         __libc_start_main via GOT.
18723 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
18725         * sysdeps/x86_64/memcopy.h: New file.
18726         * sysdeps/x86_64/wordcopy.c: Likewise.
18728 2016-06-09  Florian Weimer  <fweimer@redhat.com>
18730         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
18731         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
18732         <cstdlib>.
18733         (optimization_barrier): New.
18734         (do_test): Use it.  Call quick_exit in the global namespace.
18735         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
18736         instead of <cstdlib>, <thread>.
18737         (optimization_barrier): New.
18738         (non_main_thread): Adjust declaration.  Call optimization_barrier.
18739         Call quick_exit in the global namespace.
18740         (do_test): Call optimization_barrier.  Use pthread_create,
18741         pthread_join instead of std::thread.
18743 2016-06-09  Andreas Schwab  <schwab@suse.de>
18745         [BZ #19755]
18746         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
18747         new entries in auto-propagate mode.
18748         * nscd/grpcache.c (cache_addgr): Likewise.
18750 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18752         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
18753         New functions.
18754         (add_temp_file): Use them.
18756 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
18758         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
18760 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
18762         [BZ #20229]
18763         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
18764         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
18765         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
18767         [BZ #20228]
18768         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
18769         itself.
18770         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
18771         * math/libm-test.inc (log10_test_data): Add sNaN tests.
18773         [BZ #20227]
18774         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
18775         itself.
18776         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18777         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18778         * math/libm-test.inc (log_test_data): Add sNaN tests.
18780         [BZ #20226]
18781         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
18782         itself.
18783         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18784         * math/libm-test.inc (exp_test_data): Add sNaN tests.
18785         (exp10_test_data): Likewise.
18786         (expm1_test_data): Likewise.
18788         [BZ #20225]
18789         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
18790         itself.
18791         * math/s_ldexpf.c (__ldexpf): Likewise.
18792         * math/s_ldexpl.c (__ldexpl): Likewise.
18793         * math/w_scalbln.c (__w_scalbln): Likewise.
18794         * math/w_scalblnf.c (__w_scalblnf): Likewise.
18795         * math/w_scalblnl.c (__w_scalblnl): Likewise.
18796         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
18797         (scalbln_test_data): Likewise.
18799         [BZ #20224]
18800         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
18801         argument to itself.
18802         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
18804 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18806         [BZ #19776]
18807         * sysdeps/x86_64/memcpy.S: Make it dummy.
18808         * sysdeps/x86_64/mempcpy.S: Likewise.
18809         * sysdeps/x86_64/memmove.S: New file.
18810         * sysdeps/x86_64/memmove_chk.S: Likewise.
18811         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18812         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18813         * sysdeps/x86_64/memmove.c: Removed.
18814         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18815         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18816         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
18817         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
18818         Likewise.
18819         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18820         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18822         memcpy-sse2-unaligned, memmove-avx-unaligned,
18823         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
18824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18825         (__libc_ifunc_impl_list): Replace
18826         __memmove_chk_avx512_unaligned_2 with
18827         __memmove_chk_avx512_unaligned.  Remove
18828         __memmove_chk_avx_unaligned_2.  Replace
18829         __memmove_chk_sse2_unaligned_2 with
18830         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
18831         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
18832         with __memmove_avx512_unaligned.  Replace
18833         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
18834         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
18835         with __memcpy_chk_avx512_unaligned.  Remove
18836         __memcpy_chk_avx_unaligned_2.  Replace
18837         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
18838         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
18839         Replace __memcpy_avx512_unaligned_2 with
18840         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
18841         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
18842         with __mempcpy_chk_avx512_unaligned.  Remove
18843         __mempcpy_chk_avx_unaligned_2.  Replace
18844         __mempcpy_chk_sse2_unaligned_2 with
18845         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
18846         Replace __mempcpy_avx512_unaligned_2 with
18847         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
18848         Replace __mempcpy_sse2_unaligned_2 with
18849         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
18850         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
18851         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
18852         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
18853         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
18854         (ENTRY): Removed.
18855         (END): Likewise.
18856         (ENTRY_CHK): Likewise.
18857         (libc_hidden_builtin_def): Likewise.
18858         Don't include ../memcpy.S.
18859         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
18860         __memcpy_chk_avx512_unaligned_erms and
18861         __memcpy_chk_avx512_unaligned.  Use
18862         __memcpy_chk_avx_unaligned_erms and
18863         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18864         Default to __memcpy_chk_sse2_unaligned.
18865         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18866         Change function suffix from unaligned_2 to unaligned.
18867         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
18868         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
18869         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
18870         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
18871         (ENTRY): Removed.
18872         (END): Likewise.
18873         (ENTRY_CHK): Likewise.
18874         (libc_hidden_builtin_def): Likewise.
18875         Don't include ../mempcpy.S.
18876         (mempcpy): New.  Add a weak alias.
18877         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
18878         __mempcpy_chk_avx512_unaligned_erms and
18879         __mempcpy_chk_avx512_unaligned.  Use
18880         __mempcpy_chk_avx_unaligned_erms and
18881         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
18882         Default to __mempcpy_chk_sse2_unaligned.
18884 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
18886         [BZ #19881]
18887         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
18888         into ...
18889         * sysdeps/x86_64/memset.S: This.
18890         (__bzero): Removed.
18891         (__memset_tail): Likewise.
18892         (__memset_chk): Likewise.
18893         (memset): Likewise.
18894         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
18895         defined.
18896         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
18897         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
18898         (__memset_zero_constant_len_parameter): Check SHARED instead of
18899         PIC.
18900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
18901         memset-avx2 and memset-sse2-unaligned-erms.
18902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18903         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
18904         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
18905         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
18906         (__bzero): Enabled.
18907         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
18908         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
18909         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
18910         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
18911         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
18912         (memset): Removed.
18913         (__memset_chk): Likewise.
18914         (MEMSET_SYMBOL): New.
18915         (libc_hidden_builtin_def): Replace __memset_sse2 with
18916         __memset_sse2_unaligned.
18917         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
18918         __memset_chk_sse2 and __memset_chk_avx2 with
18919         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
18920         Use __memset_chk_sse2_unaligned_erms or
18921         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
18922         __memset_chk_avx512_unaligned_erms and
18923         __memset_chk_avx512_unaligned.
18925 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18927         * math/gen-auto-libm-test.c (fp_format_desc): remove
18928         suffix member.
18929         (output_generic_value): Remove usage of suffix member,
18930         and the resulting unuse of the fp_format argument.
18931         (output_for_one_input_case): Remove unused fp_format
18932         parameter.
18934         * math/auto-libm-test-out: Regenerate.
18936         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
18937         usage with TEST_COND_ibm128.
18938         (TEST_COND_flt_32): Remove.
18939         (TEST_COND_dbl_64): Remove.
18940         (TEST_COND_ldbl_96_intel): Remove.
18941         (TEST_COND_ldbl_96_m68k): Remove.
18942         (TEST_COND_ldbl_128): Remove.
18944 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18946         * auto-libm-test-in:
18947         Replace flt-32 usage with binary32.
18948         Replace dbl-64 usage with binary64.
18949         Replace ldbl-intel-96 usage with intel96.
18950         Replace ldbl-m68k-96 usage with m68k96.
18951         Replace ldbl-128ibm usage with ibm128.
18952         Replace ldbl-128 usage with binary128.
18954         * auto-libm-test-out: Regenerate.
18956 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18958         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
18959         (parse_ulps): Dynamically generate type name matching
18960         string from all_floats.
18961         (get_ulps): Generate the ulps as an array instead.
18962         (output_ulps): Dynamically compose the type based
18963         on the number of supported formats, and print
18964         the indices as type specific helper macros.
18966         * math/libm-test.inc: Remove comment about CHOOSE.
18967         (ulp_data): Generate the type in libm-test-ulps.h.
18968         (ULP_IDX): New macro.
18969         (find_ulps): Update usage of max_ulp.
18971         * math/test-double-vlen2.h (CHOOSE): Remove.
18972         * math/test-double-vlen4.h (CHOOSE): Likewise.
18973         * math/test-double-vlen8.h (CHOOSE): Likewise.
18974         * math/test-float.c (CHOOSE): Likewise.
18975         * math/test-float-finite.c (CHOOSE): Likewise.
18976         * math/test-double.c (CHOOSE): Likewise.
18977         * math/test-double-finite.c (CHOOSE): Likewise.
18978         * math/test-idouble.c (CHOOSE): Likewise.
18979         * math/test-ifloat.c (CHOOSE): Likewise.
18980         * math/test-ildoubl.c (CHOOSE): Likewise.
18981         * math/test-ldouble-finite.c (CHOOSE): Likewise.
18982         * math/test-ldouble.c (CHOOSE): Likewise.
18984         * math/test-float.h (TEST_FLOAT): Remove.
18985         * math/test-double.h (TEST_DOUBLE): Likewise.
18986         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
18988 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18990         * math/gen-libm-test.pl: (apply_lit): New subroutine.
18991         (parse_args): Strip C suffix from floating point literals
18992         typed with 'f' and wrap them with LIT().
18994         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
18995         (test_ff_f_data_nexttoward): Rename to
18996         (test_fj_f_data): New struct.
18997         (nexttoward_test_data): Relabel tests as
18998         TEST_fj_f instead of TEST_ff_f.
19000 2016-06-08  Florian Weimer  <fweimer@redhat.com>
19002         Emacs bug 23726.
19003         * malloc/malloc.c (dumped_main_arena_start): Update comment.
19004         (__libc_realloc): Correct size computation for dumped fake mmapped
19005         chunks.
19007 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
19009         [BZ #20219]
19010         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19011         to itself.
19012         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19014         [BZ #20218]
19015         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19016         to itself.
19017         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19019 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
19021         [BZ #20195]
19022         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19023         check to ...
19024         (init_cpu_features): Here.
19026 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
19028         [BZ #20214]
19029         * sysdeps/unix/sysv/linux/bits/in.h
19030         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19031          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19032         Define to 1.
19033         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19034          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19035         Define to 0.
19036         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19037         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19039 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
19041         [BZ #20198]
19042         * stdlib/Makefile (tests): Add tst-quick_exit, and
19043         tst-thread-quick_exit.
19044         [ifeq ($(have-cxx-thread_local),yes)]
19045         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19046         (CFLAGS-tst-thread-quick_exit.o): Likewise.
19047         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19048         (LDLIBS-tst-thread-quick_exit): Likewise.
19049         [ifneq ($(have-cxx-thread_local),yes)]
19050         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19051         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19052         If run_dtors is true call __call_tls_dtors.
19053         (exit): Call __run_exit_handlers with run_dtors set to true.
19054         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19055         definition.
19056         * stdlib/quick_exit.c (quick_exit): Remove function.
19057         (__new_quick_exit): New function.
19058         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19059         function.
19060         * stdlib/tst-quick_exit.cc: New file.
19061         * stdlib/tst-thread-quick_exit.cc: New file.
19062         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19063         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19064         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
19065         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
19066         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
19067         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
19068         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
19069         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
19070         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
19071         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
19072         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
19073         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
19074         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
19075         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
19076         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
19077         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
19079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
19080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
19081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
19082         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
19083         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
19084         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
19085         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
19086         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
19087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
19088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
19089         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
19090         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
19091         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
19093 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
19095         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
19096         a typo in comments.
19098 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19100         [BZ #20213]
19101         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
19102         argument to itself.
19103         * math/libm-test.inc (asin_test_data): Add sNaN tests.
19105 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19107         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
19108         required flags.
19109         (CFLAGS-pwritev64.c): Likewise.
19110         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
19111         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19112         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
19113         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19114         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
19115         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
19116         syscall from auto-generation.
19117         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
19118         [WORDSIZE == 64] (pwritev64): Remove macro.
19119         [!PWRITEV] (PWRITEV): Likewise.
19120         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19121         [!PWRITEV] (PWRITE): Likewise.
19122         [!PWRITEV] (OFF_T): Likewise.
19123         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
19124         (LO_HI_LONG): Remove macro.
19125         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
19126         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
19127         (PWRITEV): Remove macro.
19128         (PWRITEV_REPLACEMENTE): Likewise.
19129         (PWRITE): Likewise.
19130         (OFF_T): Likewise.
19131         (pwritev64): New function.
19132         * nptl/tst-cancel4.c (tf_writev): Add test.
19134         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
19135         required flags.
19136         (CFLAGS-preadv64.c): Likewise.
19137         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
19138         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19139         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
19140         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
19141         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
19142         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
19143         syscall from auto-generation.
19144         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
19145         [WORDSIZE == 64] (preadv64): Remove macro.
19146         [!PREADV] (PREADV): Likewise.
19147         [!PREADV] (PREADV_REPLACEMENT): Likewise.
19148         [!PREADV] (PREAD): Likewise.
19149         [!PREADV] (OFF_T): Likewise.
19150         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
19151         (LO_HI_LONG): Remove macro.
19152         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
19153         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
19154         (PREADV): Remove macro.
19155         (PREADV_REPLACEMENTE): Likewise.
19156         (PREAD): Likewise.
19157         (OFF_T): Likewise.
19158         (preadv64): New function.
19159         * nptl/tst-cancel4.c (tf_preadv): Add test.
19161 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
19163         [BZ #20212]
19164         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
19165         argument to itself.
19166         * math/libm-test.inc (acos_test_data): Add sNaN tests.
19168 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19170         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
19171         New symbol defined as libc_hidden_def.
19172         (strcasestr): Became a weak alias to __strcasestr.
19173         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
19174         according to multi-arch support.  Move __stpncpy hidden
19175         definition from here to...
19176         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
19177         symbol stpncpy.
19178         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
19179         libc_hidden_builtin_def.
19180         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
19181         memset symbol to use when multi-arch support is available.
19183 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19185         * dlfcn/tst-rec-dlopen.c: Include string.h.
19187 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19189         * manual/install.texi: Remove mention of --without-tls
19190         * INSTALL: Regenerate.
19192 2016-06-05  Florian Weimer  <fweimer@redhat.com>
19194         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
19195         Remove.
19196         (call_function, interposed_malloc_called): New variables.
19197         (malloc): New function.
19198         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
19199         and clear call_function as needed.
19201 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
19203         * include/wchar.h (__wmemset): Use __typeof.
19205 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
19207         * include/wchar.h (__wmemset): Declare function without typeof.
19209 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
19211         [BZ #20205]
19212         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
19213         exponent when incrementing negative subnormal with low mantissa
19214         word zero.
19215         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19216         Add another test.
19218 2016-06-03  Florian Weimer  <fweimer@redhat.com>
19220         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
19221         __wmemset instead of wmemset.
19223 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
19225         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
19226         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
19227         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
19228         __USE_KERNEL_IPV6_DEFS to 0.
19229         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
19230         Update comment.
19232 2016-06-01  Florian Weimer  <fweimer@redhat.com>
19234         [BZ #19861]
19235         Do not use IFUNC resolver with potentially unrelocated symbol.
19236         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
19237         (DEFINE_FORK): Remove macro and inline definition.
19238         (fork_alias): Renamed from fork_ifunc.
19239         (__fork_alias): Renamed from __fork_ifunc.
19241 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
19243         [BZ 19653]
19244         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
19245         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
19247 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19249         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
19250         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
19251         i386-linux-gnu).
19252         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
19253         Set to no.
19254         * sysdeps/mach/hurd/configure: Refresh.
19256 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19258         [BZ #20178]
19259         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
19260         on failure instead of exit.
19262 2016-05-30  Roland McGrath  <roland@hack.frob.com>
19264         [BZ #3629]
19265         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
19266         of POSIX.1-2008.
19268 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19270         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
19271           Use PLT entry for calling _hurd_self_sigstate.
19273 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
19275         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
19276         available logical processors with SMT level type sharing L2
19277         cache for Intel processors.
19279 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19281         [BZ #20160]
19282         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
19283         argument to itself before returning the result.
19284         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19285         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19286         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19287         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19288         Likewise.
19289         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19290         Likewise.
19291         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
19292         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
19293         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19294         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19295         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19296         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19298         [BZ #20160]
19299         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
19300         argument to itself before returning the result.
19301         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19302         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19303         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19304         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
19305         Likewise.
19306         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19307         Likewise.
19308         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
19309         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
19310         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
19311         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19312         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19313         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19315 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19317         * libm-test.inc: Replace usage of M_El with
19318         (lit_e): New macro.
19320 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19322         * libm-test.inc: Replace usage of M_PI_4l with
19323         (lit_pi_4_d): New macro.
19325 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19327         * libm-test.inc: Replace usage of M_PIl with
19328         (lit_pi): New macro.
19330 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19332         * libm-test.inc: Replace usage of M_PI2l with
19333         (lit_pi_2_d): New macro.
19335         * math/test-double.h (LITM): New macro.
19336         * math/test-float.h (LITM): Likewise.
19337         * math/test-ldouble.h (LITM): Likewise.
19339 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19341         * libm-test.inc (M_PI_34l): Rename to
19342         (lit_pi_3_m_4_d): New Macro.
19343         (M_PI_34_LOG10El): Rename to
19344         (lit_pi_3_m_4_ln10_m_d): New Macro.
19345         (M_PI2_LOG10El): Rename to
19346         (lit_pi_2_ln10_m_d):  New Macro.
19347         (M_PI4_LOG10El): Rename to
19348         (lit_pi_4_ln10_m_d):  New Macro.
19349         (M_PI_LOG10El): Rename to
19350         (lit_pi_ln10_d):  New Macro.
19352 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19354         [BZ #20157]
19355         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
19356         determine whether to negate low half if [_ARCH_PPCGR], and integer
19357         comparison otherwise.
19358         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
19359         determine whether to negate low half.
19361         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
19362         (NO_TEST_INLINE_DOUBLE): Likewise.
19363         (TEST_COND_x86_64): Likewise.
19364         (TEST_COND_x86): Likewise.
19365         (M_PI_6l): Likewise.
19367 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19369         * math/libm-test.inc:
19370         (TEST_FLOAT): Change usage to TEST_COND_binary32.
19371         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
19372         (TEST_LDOUBLE): Update usage to evaluate as true if
19373         the guarded tests match the property being tested.
19374         (LDBL_MAX_EXP): Change to MAX_EXP.
19375         (LDBL_MIN_EXP): Change to MIN_EXP.
19376         (LDBL_MANT_DIG): Change to MANT_DIG, except for
19377         nexttoward tests.
19379 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19381         * math/libm-test.inc:
19382         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
19383         (TYPE_MIN): Likewise.
19384         (TYPE_TRUE_MIN): Likewise.
19385         (TYPE_MAX): Likewise.
19386         (MIN_EXP): Likewise.
19387         (MAX_EXP): Likewise.
19388         (MANT_DIG): Likewise.
19390         (FSTR_MAX): New macro.
19391         (__CONCATX): Likewise.
19392         (QTYPE_STR): Likewise.
19393         (TEST_COND_binary32): Likewise.
19394         (TEST_COND_binary64): Likewise.
19395         (TEST_COND_binary128): Likewise.
19396         (TEST_COND_ibm128): Likewise.
19397         (TEST_COND_intel96): Likewise.
19398         (TEST_COND_m68k96): Likewise.
19400         (TEST_COND_flt_32): Redefine as equivalent format test macro.
19401         (TEST_COND_dbl_64): Likewise.
19402         (TEST_COND_ldbl_96_intel): Likewise.
19403         (TEST_COND_ldbl_96_m68k): Likewise.
19404         (TEST_COND_ldbl_128): Likewise.
19405         (TEST_COND_ldbl_128ibm): Likewise.
19407         (plus_zero): Redefine using LIT macro.
19408         (minus_zero): Likewise.
19409         (plus_infty): Redefine as (INF).
19410         (minux_infty): Redefine as (-INF).
19411         (max_value): Redefine as TYPE_MAX.
19412         (min_value): Redefine as TYPE_MIN.
19413         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
19415         (print_float): Refactor to use snprintf to convert FLOAT values
19416         to string. This brings it closer to dropin replacement of strtof
19417         for the TS 18661 defined types.
19418         (update_stats): Likewise.
19419         (print_complex_function_ulps): Likewise.
19420         (print_max_error): Likewise.
19421         (print_complex_max_error): Likewise.
19422         (check_float_internal): Likewise.
19424         * math/test-float.h (PREFIX): New macro.
19425         (LIT): Likewise.
19426         (TYPE_STR): Likewise.
19427         (FTOSTR): Likewise.
19429         * math/test-double.h (PREFIX): New macro.
19430         (LIT): Likewise.
19431         (TYPE_STR): Likewise.
19432         (FTOSTR): Likewise.
19434         * math/test-ldouble.h (PREFIX): New macro.
19435         (LIT): Likewise.
19436         (TYPE_STR): Likewise.
19437         (FTOSTR): Likewise.
19439 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
19441         [BZ #20156]
19442         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
19443         to itself when zero or not finite.
19444         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
19445         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19446         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
19447         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
19449 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
19451         [BZ #20153]
19452         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
19453         x * x + x for infinities and NaNs.
19455         [BZ #20151]
19456         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
19457         argument to itself before returning result.
19458         (__ieee754_y0l): Likewise.
19459         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19460         (__ieee754_y1l).
19462         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
19463         (atan_test_data): Likewise.
19464         (ceil_test_data): Likewise.
19465         (cos_test_data): Likewise.
19466         (cosh_test_data): Likewise.
19467         (erf_test_data): Likewise.
19468         (exp2_test_data): Likewise.
19469         (fabs_test_data): Likewise.
19470         (floor_test_data): Likewise.
19471         (ilogb_test_data): Likewise.
19472         (j0_test_data): Likewise.
19473         (j1_test_data): Likewise.
19474         (jn_test_data): Likewise.
19475         (lgamma_test_data): Likewise.
19476         (lrint_test_data): Likewise.
19477         (llrint_test_data): Likewise.
19478         (logb_test_data): Likewise.
19479         (lround_test_data): Likewise.
19480         (llround_test_data): Likewise.
19481         (nearbyint_test_data): Likewise.
19482         (rint_test_data): Likewise.
19483         (round_test_data): Likewise.
19484         (sin_test_data): Likewise.
19485         (sincos_test_data): Likewise.
19486         (sinh_test_data): Likewise.
19487         (sqrt_test_data): Likewise.
19488         (tan_test_data): Likewise.
19489         (tanh_test_data): Likewise.
19490         (tgamma_test_data): Likewise.
19491         (trunc_test_data): Likewise.
19492         (y0_test_data): Likewise.
19493         (y1_test_data): Likewise.
19494         (yn_test_data): Likewise.
19496         * math/libm-test.inc: Update comment about NaN testing.
19497         (TEST_SNAN): New macro.
19498         (snan_value): Likewise.
19499         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
19500         (fpclassify_test_data): Add sNaN tests.
19501         (isfinite_test_data): Likewise.
19502         (isinf_test_data): Likewise.
19503         (isnan_test_data): Likewise.
19504         (isnormal_test_data): Likewise.
19505         (issignaling_test_data): Likewise.
19506         (signbit_test_data): Likewise.
19507         * math/gen-libm-test.pl (%beautify): Add snan_value.
19508         (show_exceptions): Add argument $test_snan.
19509         (parse_args): Handle snan_value as non-finite.  Update call to
19510         show_exceptions.
19511         * math/Makefile (libm-test-no-inline-cflags): Add
19512         -fsignaling-nans.
19514 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19516         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
19517         (CFLAGS-oldsendmsg.c): Add rule.
19518         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19519         Correct recvmsg symbol name.
19520         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
19521         Likewise.
19523 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19525         * sysdeps/unix/sysv/linux/Makefile
19526         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
19527         oldsendmmsg.
19528         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
19529         sendmmsg.
19530         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19531         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19532         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19533         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19535         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19536         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19538         Likewise.
19539         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19540         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
19541         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19542         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
19543         iovlen and controllen fields to adjust to POSIX specification.
19544         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19546         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
19547         and change to correct expected type.
19548         (msghdr.msg_controllen): Likewise.
19549         (cmsghdr.cmsg_len): Likewise.
19550         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
19551         expected POSIX assumption about the size.
19552         (msghdr.msg_controllen): Likewise.
19553         (msghdr.__glibc_reserved1): Likewise.
19554         (msghdr.__glibc_reserved2): Likewise.
19555         (cmsghdr.cmsg_len): Likewise.
19556         (cmsghdr.__glibc_reserved1): Likewise.
19557         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
19558         Add ptw-oldrecvmsg and ptw-oldsendmsg.
19559         (CFLAGS-sendmsg.c): Remove rule.
19560         (CFLAGS-recvmsg.c): Likewise.
19561         (CFLAGS-oldsendmsg.c): Add rule.
19562         (CFLAGS-oldrecvmsg.c): Likewise.
19563         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
19564         recvmsg and sendmsg.
19565         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
19566         Likewise.
19567         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
19568         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
19569         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19570         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
19571         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19572         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19573         Likewise.
19574         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19575         Likewise.
19576         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
19577         Likewise.
19578         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
19579         Likewise.
19580         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19581         Likewise.
19582         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19583         Likewise.
19584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
19585         (GLIBC_2.24): Likewise.
19586         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19587         Likewise.
19588         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19589         Likewise.
19590         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19591         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19592         Likewise.
19593         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19594         Likewise.
19595         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19596         Likewise.
19597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
19598         (GLIBC_2.24): Likewise.
19599         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
19600         Likewise.
19601         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
19602         Likewise.
19603         * sysdeps/unix/sysv/linux/Makefile
19604         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
19605         (CFLAGS-sendmsg.c): Add rule.
19606         (CFLAGS-recvmsg.c): Likewise.
19607         (CFLAGS-oldsendmsg.c): Likewise.
19608         (CFLAGS-oldrecvmsg.c): Likewise.
19609         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
19610         initialization.
19611         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19612         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19613         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
19614         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19615         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
19616         iovlen and controllen fields to adjust to POSIX specification.
19617         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
19618         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
19619         added recvmsg and sendmsg.
19620         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19621         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19622         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19623         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19624         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19625         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19626         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19627         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19628         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19629         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19630         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19631         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
19632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19633         Likewise.
19634         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
19635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19636         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19637         Likewise.
19638         Likewise.
19639         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19640         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19641         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19642         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19643         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19644         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19646         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19648         Likewise.
19649         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19650         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19652         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
19653         from auto-generation.
19654         (sendmsg): Likewise.
19655         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
19656         (sendmsg): Likewise.
19657         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
19658         (sendmsg): Likewise.
19659         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
19660         (sendmsg): Likewise.
19661         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
19662         (sendmsg): Likewise.
19663         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
19664         (sendmsg): Likewise.
19665         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
19666         Likewise.
19667         (sendmsg): Likewise.
19668         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
19669         (sendmsg): Likewise.
19670         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19671         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19672         Remove.
19673         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19674         Likewise.
19675         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19676         Undefine.
19677         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19678         Likewise.
19679         * sysdeps/unix/sysv/linux/kernel-features.h
19680         (__ASSUME_SENDMSG_SYSCALL): Define.
19681         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19682         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19683         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19684         Remove.
19685         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19686         Likewise.
19687         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19688         Undefine.
19689         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19690         Likewise.
19691         * sysdeps/unix/sysv/linux/s390/kernel-features.h
19692         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19693         Remove.
19694         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19695         Likewise.
19696         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19697         Undefine.
19698         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19699         Likewise.
19700         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19701         (__ASSUME_SENDMSG_SYSCALL): Undefine.
19702         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19703         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19704         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19705         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19706         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19707         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19708         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19710 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19712         * stdlib/gen-tst-strtod-round.c: Add backslash to
19713         compile command in comment.
19714         (printfp): Remove the literal suffix, and define an infinite
19715         value as INF to avoid expansion clash with INFINITY.
19716         (round_str): Remove the literal suffix.
19717         (round_for_all): Likewise, remove the now duplicate ldbl-64
19718         entry, and remove some magic constants.
19720         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
19721         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
19722         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
19723         (_CONCAT): New macro.
19724         (CONCAT): Likewise.
19725         (CHOOSE_ld): Likewise.
19726         (CHOOSE_f): Likewise.
19727         (CHOOSE_d): Likewise.
19728         (FTYPE_MEMBER): Likewise.
19729         (BOOL_MEMBER): Likewise.
19730         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
19731         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
19732         (_XNTRY): Likewise.
19733         (XNTRY): Likewise.
19734         (_ENTRY): Likewise.
19735         (ENTRY): Likewise.
19736         (test_exactness): Generate members via macro.
19737         (test_results): Likewise.
19738         (test): Update members.
19739         (TEST): Redefine using new macros.
19740         (INF): New macro.
19741         (fetestmodes): New structure.
19742         (do_test): Refactor to be type generic.
19743         (test_in_one_mode): Refactor duplicate code into
19744         (GEN_ONE_TEST): New macro.
19746         * stdlib/tst-strtod-round-data.h: Regenerate.
19748         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
19749         Extend to pass additional arbitrary parameters to
19750         generators.
19752 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
19754         [BZ #15479]
19755         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
19756         floating-point state after first floating-point operation on
19757         input.  Restore full floating-point state instead of just rounding
19758         mode.
19759         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
19760         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
19761         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
19762         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
19763         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
19765         [BZ #15479]
19766         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
19767         floating-point state after first floating-point operation on
19768         input.  Restore full floating-point state instead of just rounding
19769         mode.
19770         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
19771         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
19772         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
19773         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
19774         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
19776 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19778         [BZ #19727]
19779         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
19780         valid high surrogate.
19781         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
19782         of an utf16 surrogate.
19783         * iconv/gconv_simple.c (BODY): Likewise.
19784         * iconvdata/bug-iconv12.c: New file.
19785         * iconvdata/Makefile (tests): Add bug-iconv12.
19787 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19789         [BZ #19726]
19790         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
19791         outptrp in case of an illegal input.
19792         * iconv/tst-iconv6.c: New file.
19793         * iconv/Makefile (tests): Add tst-iconv6.
19795 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19797         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
19798         an error in case of a value in range of an utf16 low surrogate.
19800 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19802         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
19803         an error in case of a value in range of an utf16 low surrogate.
19805 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19807         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
19808         Move to ...
19809         * sysdeps/s390/Makefile: ... here.
19810         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
19811         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
19812         (BRANCH_ON_COUNT): New define.
19813         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
19814         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
19815         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
19816         run on s390-32, too.
19817         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
19818         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
19819         run on s390-32, too.
19820         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
19821         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
19822         run on s390-32, too.
19824 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19826         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
19827         etf3eh or new vector loop-variant.
19829 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19831         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
19832         etf3eh or new vector loop-variant.
19834 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19836         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
19837         or new vector loop-variant.
19839 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19841         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
19842         Rename to TR_LOOP and usage of tr instead of troo instruction.
19844 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19846         * sysdeps/s390/multiarch/gconv_simple.c: New File.
19847         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
19849 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19851         * sysdeps/s390/multiarch/8bit-generic.c: New File.
19852         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
19853         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
19854         New override define.
19855         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
19857 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19859         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
19860         * sysdeps/s390/configure.ac: Add test for S390 vector register
19861         support in gcc.
19862         * sysdeps/s390/configure: Regenerated.
19864 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
19866         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
19867         Install file from $(objpfx)gconv-modules.
19868         ($(objpfx)gconv-modules): Concatenate architecture specific file
19869         in variable sysdeps-gconv-modules and gconv-modules in src dir.
19870         * sysdeps/s390/gconv-modules: New file.
19871         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
19872         Deleted.
19873         ($(objpfx)gconv-modules-s390): Deleted.
19874         (sysdeps-gconv-modules): New variable.
19876 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19878         [BZ #15479]
19879         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
19880         of immediate operand to rounding instruction.
19881         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
19882         Likewise.
19883         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
19884         Likewise.
19885         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
19886         Likewise.
19888 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19890         * math/libm-test.inc (MIN_EXP): Directly define as
19891         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
19893 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19895         * math/libm-test.inc (MANT_DIG): Directly define as
19896         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
19898 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19900         * stdlib/gen-tst-strtod-round.c (main):
19901           Change usage to more closely match the generated
19902           output.  Add usage and compilation instructions.
19903           (string_to_fp): Add and use FILE* parameter as
19904           output target.
19905           (print_fp): Likewise.
19906           (round_str): Likewise.
19907           (round_for_all): Likewise.
19908         * stdlib/tst-strtod-round.c (tests): Move into
19909         * stdlib/tst-strtod-round-data.h: New file.
19911 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
19913         [BZ #15479]
19914         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
19915         (__round): Do not force "inexact" exception.
19916         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
19917         variable.
19918         (__round): Do not force "inexact" exception.
19919         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
19920         (__roundf): Do not force "inexact" exception.
19921         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
19922         (__roundl): Do not force "inexact" exception.
19923         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
19924         (__roundl): Do not force "inexact" exception.
19925         * math/libm-test.inc (round_test_data): Do not allow spurious
19926         "inexact" exceptions.
19928         [BZ #15479]
19929         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
19930         exception in comment.
19931         (huge): Remove variable.
19932         (__floor): Do not force "inexact" exception.
19933         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
19934         "inexact" exception in comment.
19935         (huge): Remove variable.
19936         (__floor): Do not force "inexact" exception.
19937         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
19938         exception in comment.
19939         (huge): Remove variable.
19940         (__floorf): Do not force "inexact" exception.
19941         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
19942         exception in comment.
19943         (huge): Remove variable.
19944         (__floorl): Do not force "inexact" exception.
19946         [BZ #15479]
19947         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
19948         exception in comment.
19949         (huge): Remove variable.
19950         (__ceil): Do not force "inexact" exception.
19951         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
19952         "inexact" exception in comment.
19953         (huge): Remove variable.
19954         (__ceil): Do not force "inexact" exception.
19955         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
19956         (__ceilf): Do not force "inexact" exception.
19957         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
19958         exception in comment.
19959         (huge): Remove variable.
19960         (__ceill): Do not force "inexact" exception.
19962 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
19964         * config.h.in (BIND_NOW): New.
19965         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
19966         * configure: Regenerated.
19967         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
19968         indirect branch via the GOT slot.
19970 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19972         [BZ #19765]
19973         * sysdeps/s390/mempcpy.S: New File.
19974         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
19975         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
19976         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19977         Add mempcpy variants.
19978         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
19979         (memcpy): Adjust to be usable from mempcpy entry point.
19980         (__memcpy_mvcle): Likewise.
19981         * sysdeps/s390/s390-64/memcpy.S: Likewise.
19982         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
19983         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
19984         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
19985         (__memcpy_z10): Likewise.
19986         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19988 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19990         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
19991         Remove __GI_ symbol.
19992         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
19993         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
19994         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
19995         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
19996         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
19997         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
19999 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20001         * sysdeps/s390/s390-64/memcpy.S (memcpy):
20002         Use cghi instead of chi to compare 64bit value.
20004 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20006         * sysdeps/s390/s390-32/memcpy.S (memcpy):
20007         Jump to 1MB check before executing mvc-loop.
20009 2016-05-24  Florian Weimer  <fweimer@redhat.com>
20011         [BZ #6527]
20012         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20013         unconditionally.
20014         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20016 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20018         * stdlib/tst-strtod6.c (do_test): Use new type generic
20019         invocation of the test function.
20020         (test): Refactor into ...
20021         (TEST_STRTOD): New macro base function.
20023 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20025         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20026         (TEST_STRTOD): New macro.
20027         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20029 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20031         * stdlib/tst-strtod6.c (do_test): Use new type generic
20032         invocation of the test function.
20033         (test): Refactor into ...
20034         (TEST_STRTOD): New macro base function.
20036 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20038         CVE-2016-4429
20039         [BZ #20112]
20040         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20041         payload.
20043 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20045         [BZ #20111]
20046         * bits/sockaddr.h (_SS_SIZE): Define.
20047         * bits/socket.h (_SS_SIZE): Remove.
20048         (_SS_PADSIZE): Adjust to account for all padding.
20049         (struct sockaddr_storage): Update comment.  Avoid implicit
20050         padding.
20051         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20052         (_SS_PADSIZE): Adjust to account for all padding.
20053         (struct sockaddr_storage): Update comment.  Avoid implicit
20054         padding.
20055         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20056         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
20057         (_SS_PADSIZE): Adjust to account for all padding.
20058         (struct sockaddr_storage): Update comment.  Avoid implicit
20059         padding.
20060         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
20061         __SS_SIZE is 126 in this version.
20062         * inet/tst-sockaddr.c: New file.
20063         * inet/Makefile (tests): Add tst-sockaddr.c
20064         (tst-sockaddr.c): Compile with non-strict aliasing.
20066 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
20068         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
20069         [XPG3 || XPG4].
20070         (NL_ARGMAX): Also expect for [XPG3].
20071         (NL_LANGMAX): Likewise.
20072         (NL_MSGMAX): Likewise.
20073         (NL_NMAX): Likewise.
20074         (NL_SETMAX): Likewise.
20075         (NL_TEXTMAX): Likewise.
20076         (NZERO): Likewise.
20077         (TMP_MAX): Likewise.
20078         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
20079         variable.
20081         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
20082         (PF_MAX): Update value.
20083         (AF_KCM): New macro.
20084         (SOL_NETBEUI): Likewise.
20085         (SOL_LLC): Likewise.
20086         (SOL_DCCP): Likewise.
20087         (SOL_NETLINK): Likewise.
20088         (SOL_TIPC): Likewise.
20089         (SOL_RXRPC): Likewise.
20090         (SOL_PPPOL2TP): Likewise.
20091         (SOL_BLUETOOTH): Likewise.
20092         (SOL_PNPIPE): Likewise.
20093         (SOL_RDS): Likewise.
20094         (SOL_IUCV): Likewise.
20095         (SOL_CAIF): Likewise.
20096         (SOL_ALG): Likewise.
20097         (SOL_NFC): Likewise.
20098         (SOL_KCM): Likewise.
20099         (MSG_BATCH): New enum value and macro.
20101 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
20103         [BZ #18185]
20104         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
20105         sharing L2 cache to 2 for Knights Landing.
20107 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
20109         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
20110         (FTW_DP): Do not expect for [XPG3 || XPG4].
20111         (FTW_SL): Do not expect for [XPG3].
20112         (FTW_SLN): Likewise.
20113         (FTW_PHYS): Likewise.
20114         (FTW_MOUNT): Likewise.
20115         (FTW_DEPTH): Likewise.
20116         (FTW_CHDIR): Likewise.
20117         (nftw): Likewise.
20118         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
20119         variable.
20121 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20123         * manual/errno.texi: Fix various typos & grammar errors.
20125 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
20127         * manual/intro.texi: Fix duplicated typo.
20129 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20131         [BZ #13304]
20132         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
20133         <float.h>, <math_private.h> and <stdlib.h>.
20134         (add_split): New function.
20135         (mul_split): Likewise.
20136         (ext_val): New typedef.
20137         (store_ext_val): New function.
20138         (mul_ext_val): New function.
20139         (compare): New function.
20140         (add_split_ext): New function.
20141         (__fmal): After checking for Inf, NaN and zero, compute result as
20142         an exact sum of scaled double values in round-to-nearest before
20143         adding those up and adjusting for other rounding modes.
20144         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
20145         tests of fma.
20146         * math/auto-libm-test-out: Regenerated.
20148 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20150         [BZ #20119]
20151         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
20152         processor level type mask for CPUID with EAX == 11.
20154 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20156         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
20157         logical threads if the HTT bit is 0.
20158         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
20159         (index_cpu_HTT): Likewise.
20160         (reg_HTT): Likewise.
20162 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
20164         [BZ #20115]
20165         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
20166         Remove alignments on jump targets.
20168 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
20170         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
20171         (getpwent): Likewise.
20172         (setpwent): Likewise.
20173         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
20174         variable.
20176         * conform/data/search.h-data (insque): Do not expect for [XPG3].
20177         (remque): Likewise.
20178         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
20179         variable.
20181 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20183         * math/libm-test.inc: Update comment not to refer to signs of NaNs
20184         not being tested.
20186 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20188         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20189         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
20190         call.
20191         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20192         (__condvar_cleanup1): Likewise.
20194 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20196         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
20197         New
20198         (__pthread_unwind): Renamed to ...
20199         (PTHREAD_UNWIND): This.
20200         (__pthread_enable_asynccancel): Replace
20201         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
20203 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
20205         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
20206         (CLONE_NEWCGROUP): New macro.
20208         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
20209         (Q_GETNEXTQUOTA): New macro.
20211 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
20213         [BZ #19907]
20214         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
20215         buffer updated by the previous run.
20216         * string/test-memcpy.c (do_one_test): Likewise.
20217         * benchtests/bench-memmove.c (do_one_test): Add a comment.
20218         * string/test-memmove.c (do_one_test): Likewise.
20220 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
20222         [BZ #20094]
20223         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
20224         not [__USE_XOPEN].
20225         (unlockpt): Likewise.
20226         (ptsname): Likewise.
20227         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
20228         variable.
20230         [BZ #20076]
20231         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
20232         instead of [__USE_UNIX98].
20233         (S_ISSOCK): Likewise.
20234         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
20235         variable.
20237         [BZ #20074]
20238         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
20239         [__USE_POSIX].
20240         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
20241         variable.
20243         [BZ #20051]
20244         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
20245         (ttyslot): Do not declare.
20246         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
20247         (ttyslot): New prototype.
20248         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
20249         variable.
20250         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20252 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20254         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
20256 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20258         Fix race condition in tst-mallocfork2, use fewer resources.
20259         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
20260         to current process group.
20261         (signal_sender): Yield in the non-sleeping case.
20263 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
20265         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
20266         (ecvt): Likewise.
20267         (fcvt): Likewise.
20268         (gcvt): Likewise.
20269         (getsubopt): Likewise.
20270         (grantpt): Likewise.
20271         (initstate): Likewise.
20272         (l64a): Likewise.
20273         (mktemp): Likewise.
20274         (mkstemp): Likewise.
20275         (ptsname): Likewise.
20276         (random): Likewise.
20277         (realpath): Likewise.
20278         (setstate): Likewise.
20279         (srandom): Likewise.
20280         (ttyslot): Likewise.
20281         (unlockpt): Likewise.
20282         (valloc): Likewise.
20284         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
20285         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
20286         variable.
20288 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20290         [BZ #20072]
20291         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
20292         init_cpu_features only if SHARED is defined.
20293         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
20295 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20297         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
20298         non-inclusive caches on Intel processors.
20300 2016-05-13  Florian Weimer  <fweimer@redhat.com>
20302         * malloc/malloc.c (dumped_main_arena_start)
20303         (dumped_main_arena_end): New variables.
20304         (DUMPED_MAIN_ARENA_CHUNK): New macro.
20305         (do_check_chunk): Skip dumped fake mmapped chunks.
20306         (munmap_chunk): Likewise.
20307         (__libc_free): Do not adjust statistics for fake mmapped chunks.
20308         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
20309         mmapped chunks.
20310         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
20311         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
20312         and dumped_main_arena_end to cover the dumped heap.
20314 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
20316         * conform/data/time.h-data (getdate_err): Do not expect for
20317         [XPG3].
20318         (getdate): Likewise.
20319         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
20320         variable.
20322         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
20323         (F_ULOCK): Likewise.
20324         (F_TEST): Likewise.
20325         (F_TLOCK): Likewise.
20326         (useconds_t): Likewise.
20327         (intptr_t): Do not expect for [XPG3] or [XPG4].
20328         (brk): Do not expect for [XPG3]
20329         (fchown): Likewise.
20330         (fchdir): Likewise.
20331         (ftruncate): Likewise.
20332         (getdtablesize): Likewise.
20333         (gethostid): Likewise.
20334         (getpagesize): Likewise.
20335         (getpgid): Likewise.
20336         (getsid): Likewise.
20337         (getwd): Likewise.
20338         (lchown): Likewise.
20339         (lockf): Likewise.
20340         (readlink): Likewise.
20341         (sbrk): Likewise.
20342         (setpgrp): Likewise.
20343         (setregid): Likewise.
20344         (setreuid): Likewise.
20345         (symlink): Likewise.
20346         (sync): Likewise.
20347         (truncate): Likewise.
20348         (ualarm): Likewise.
20349         (usleep): Likewise.
20350         (vfork): Likewise.
20351         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
20352         variable.
20354         [BZ #20054]
20355         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
20356         not [__USE_UNIX98].
20357         * conform/data/unistd.h-data (gethostname): Do not expect for
20358         [XPG3].
20360         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
20361         [!POSIX] (S_IFBLK): Likewise.
20362         [!POSIX] (S_IFCHR): Likewise.
20363         [!POSIX] (S_IFIFO): Likewise.
20364         [!POSIX] (S_IFREG): Likewise.
20365         [!POSIX] (S_IFDIR): Likewise.
20366         [!POSIX] (S_IFLNK): Likewise.
20367         [!POSIX] (S_IFSOCK): Likewise.
20368         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
20369         variable.
20370         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20372 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
20374         * sysdeps/aarch64/memset.S (__memset):
20375         Rewrite of optimized memset.
20377 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20379         [BZ #19703]
20380         Partially async-signal-safe fork for single-threaded processes.
20381         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
20382         variable.  Do not acquire and reset/release malloc and libio locks
20383         in single-threaded processes.
20384         * malloc/tst-mallocfork2.c: New file.
20385         * malloc/Makefile (tests): Add it.
20387 2016-05-12  Florian Weimer  <fweimer@redhat.com>
20389         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
20390         argument.  Use scratch buffer instead of extend_alloca.
20391         (gethosts): Use scratch buffer instead of extend_alloca.
20392         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
20393         extend_alloca.
20394         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
20396 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
20398         [BZ #20055]
20399         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
20400         instead of [__USE_UNIX98].
20401         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
20402         [__USE_UNIX98].
20403         * conform/data/termios.h-data (tcgetsid): Do not expect for
20404         [XPG3].
20405         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
20406         variable.
20407         (test-xfail-XPG4/termios.h/conform): Likewise.
20409 2016-05-11  Florian Weimer  <fweimer@redhat.com>
20411         Do not use mcheck in localedef.
20412         * locale/programs/localedef.c (turn_on_mcheck)
20413         (__malloc_initialize_hook): Remove.
20415 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20417         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
20418         * sysdeps/s390/s390-64/Makefile: Likewise.
20420 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
20422         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
20423         Remove ifunc-defines.sym.
20424         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
20425         Likewise.
20426         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
20427         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20428         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
20429         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
20430         rtld-global-offsets.sym.
20431         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
20432         * sysdeps/x86/cpu-features-offsets.sym: This.
20433         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
20434         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
20436 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
20438         [BZ #20073]
20439         * io/sys/stat.h (fchmod): Declare for
20440         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
20441         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
20442         variable.
20444         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
20445         [XPG3] (S_IFSOCK): Likewise.
20446         [XPG3] (S_ISVTX): Likewise.
20447         [XPG3] (S_ISLNK): Likewise.
20448         [XPG3] (S_ISSOCK): Likewise.
20449         [XPG3] (fchmod): Likewise.
20450         [XPG3] (lstat): Likewise.
20451         [XPG3] (mknod): Likewise.
20453         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
20454         [XPG3].  Expect type long and XFAIL for [XPG4].
20455         (st_blocks): Likewise.
20457         [BZ #20044]
20458         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
20459         (pthread_atfork): New prototype.
20460         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
20461         variable.
20463         [BZ #20043]
20464         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
20465         prototype.
20467 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20469         [BZ #20017]
20470         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
20471         gmtime.
20473 2016-05-10  Florian Weimer  <fweimer@redhat.com>
20475         [BZ #19994]
20476         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
20477         flag in _res.options.
20479 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
20481         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
20482         [XPG3 || XPG4].
20483         (blksize_t): Likewise.
20484         (clockid_t): Likewise.
20485         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
20486         variable.
20487         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20489 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20491         * sysdeps/unix/sysv/linux/s390/init-first.c:
20492         Add VDSO_SYMBOL(getcpu).
20493         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
20494         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
20495         Add VDSO_SYMBOL(getcpu).
20496         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
20497         New define HAVE_GETCPU_VSYSCALL.
20498         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20500 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20502         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
20503         instead of <sysdeps/x86_64/cacheinfo.c>.
20504         * sysdeps/x86_64/cacheinfo.c: Moved to ...
20505         * sysdeps/x86/cacheinfo.c: Here.
20507 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20509         * malloc/malloc-internal.h: Adjust header file guard.
20511 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20513         [BZ #19787]
20514         * inet/getnameinfo.c (check_sprintf_result): New function.
20515         (CHECKED_SNPRINTF): New macro.
20516         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
20517         to the host buffer.
20518         (gni_host_local): Use checked_copy to copy the host name.
20519         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
20520         (gni_serv_local): Use checked_copy to copy the service name.
20521         (getnameinfo): Remove unnecessary truncation of result buffers.
20523 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20525         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
20526         in case of inet_ntop failure.
20528 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20530         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
20531         avoid long lines.
20532         (gni_host_inet_numeric): Likewise.  Reduce scope of local
20533         variables.
20534         (gni_host_inet, gni_host_local): Add comment.
20535         (gni_host): Add comment.  Use temporary to avoid long lines.
20537 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20539         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
20540         registers specifiers where general purpose registers specifiers should
20541         have been used.
20543 2016-05-04  Florian Weimer  <fweimer@redhat.com>
20545         [BZ #19779]
20546         CVE-2016-1234
20547         Avoid copying names of directory entries.
20548         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
20549         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
20550         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
20551         (struct readdir_result): New type.
20552         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
20553         (GL_READDIR): New macros.
20554         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
20555         (convert_dirent, convert_dirent64): New functions.
20556         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
20557         convert_dirent64.  Adjust references to the readdir result.
20558         * sysdeps/unix/sysv/linux/i386/glob64.c:
20559         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
20560         * posix/bug-glob2.c (LONG_NAME): Define.
20561         (filesystem): Add LONG_NAME.
20562         (my_DIR): Increase the size of room_for_dirent.
20564 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
20566         [BZ #20041]
20567         * misc/sys/select.h (__need_timespec): Only define if
20568         [__USE_XOPEN2K].
20569         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
20570         variable.
20571         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20572         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
20573         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
20575 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20576             Segher Boessenkool  <segher@gcc.gnu.org>
20578         [BZ #20004]
20579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
20580         (__novec_swapcontext): Add missing load.
20582 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
20584         [BZ #20023]
20585         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
20586         <time.h>.
20587         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
20588         variable.
20589         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
20591 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
20594         flags CLONE_VM compare.
20596 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20598         [BZ #20031]
20599         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
20600         completely empty.
20602 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20604         [BZ #19573]
20605         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
20606         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
20607         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
20608         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
20609         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
20610         (hesiod_free_list): Mark as hidden.
20611         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
20612         res_set, res_get.
20613         * hesiod/hesiod.c: Remove unnecessary forward declarations.
20614         (init, __hesiod_res_get, __hesiod_res_set): Remove.
20615         (hesiod_init): Remove obsolete res_ninit call.
20616         (hesiod_end): Do not free resolver state.  Do not invoke callback.
20617         (hesiod_bind): Do not call init.
20618         (get_txt_records): Use res_mkquery, res_send instead of
20619         res_nmkquery, res_nsend.
20620         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
20621         instead of _nss_hesiod_init.
20622         (_nss_hesiod_initgroups_dyn): Likewise.
20623         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
20624         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
20625         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
20627 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20629         * hesiod/hesiod_p.h (DEF_RHS): Remove.
20630         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
20632 2016-05-02  Florian Weimer  <fweimer@redhat.com>
20634         * hesiod/hesiod.h: Remove RCS keyword.
20635         * hesiod/hesiod_p.h: Likewise.
20637         * hesiod/hesiod.c: Likewise.
20639 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
20641         [BZ #12450]
20642         * locale/iso-639.def: Add Samogitian/sgs.
20644 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20646         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
20648         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
20650 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
20651             Carlos O'Donell  <carlos@redhat.com>
20653         [BZ #19072]
20654         * grp/Makefile (headers): Add grp-merge.h
20655         (routines): Add grp-merge.
20656         * grp/getgrgid_r.c: Include grp-merge.h.
20657         (DEEPCOPY_FN): Define.
20658         (MERGE_FN): Define.
20659         * grp/getgrname_r.c: Include grp-merge.h.
20660         (DEEPCOPY_FN): Define.
20661         (MERGE_FN): Define.
20662         * grp/grp-merge.c: New file.
20663         * grp/grp-merge.h: New file.
20664         * include/grp-merge.h: New file.
20665         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
20666         __copy_grp@GLIBC_PRIVATE.
20667         * manual/nss.texi (Actions in the NSS configuration): Describe
20668         return, continue, and merge.
20669         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
20670         (DEEPCOPY_FN): Define.
20671         (MERGE_FN): Define.
20672         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
20673         (DEEPCOPY_FN): Define.
20674         (MERGE_FN): Define.
20675         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
20676         [!MERGE_FN]: Define __merge_einval.
20677         (CHECK_MERGE): Define.
20678         (REENTRANT_NAME): Process merge if do_merge is true.
20679         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
20680         (__nss_getent_r): Likewise.
20681         * nss/nsswitch.c (nss_parse_service_list): Likewise.
20682         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
20684 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20686         [BZ #20012]
20687         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
20688         length to calculate the buffer to read.
20689         (fmemopen_write): Set the buffer position based on bytes written.
20690         (fmemopen_seek): Return EINVAL for invalid whence modes.
20692         [BZ #19957]
20693         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
20694         tst-getpid2.
20695         (test): Add tst-clone2.
20696         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
20697         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
20698         pid/tid fields for CLONE_VM.
20699         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20700         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20701         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20702         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
20703         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20704         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20705         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20706         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
20707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
20708         Likewise.
20709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20710         Likewise.
20711         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
20712         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
20713         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
20714         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
20715         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
20716         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
20717         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
20718         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
20720 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20722         [BZ #19642]
20723         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
20724         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
20725         (gni_serv_local, gni_serv): New functions extracted from
20726         getnameinfo.
20727         (getnameinfo): Call gni_host and gni_serv to perform the
20728         processing.  Always free scratch buffer.
20730 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20732         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
20733         remaining bytes in the dest string, with zeros.
20735 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20737         [BZ #20010]
20738         CVE-2016-3706
20739         * sysdeps/posix/getaddrinfo.c
20740         (convert_hostent_to_gaih_addrtuple): New function.
20741         (gethosts): Call convert_hostent_to_gaih_addrtuple.
20742         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
20743         AF_INET data.
20745 2016-04-29  Florian Weimer  <fweimer@redhat.com>
20747         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
20748         callback function gl_readdir.
20749         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
20750         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
20751         (glob_in_dir): Remove len.  Use strdup instead of malloc and
20752         memcpy to copy the name.
20753         * manual/pattern.texi (Calling Glob): Document requirements for
20754         implementations of the gl_readdir callback function.
20755         * manual/examples/mkdirent.c: New example.
20756         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
20757         per the manual guidance.
20758         * posix/tst-gnuglob.c (my_readdir): Likewise.
20760 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
20762         [BZ #20014]
20763         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
20764         not [__USE_POSIX].
20765         (getchar_unlocked): Likewise.
20766         (putc_unlocked): Likewise.
20767         (putchar_unlocked): Likewise.
20768         (flockfile): Likewise.
20769         (ftrylockfile): Likewise.
20770         (funlockfile): Likewise.
20771         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
20772         variable.
20773         (test-xfail-XPG4/stdio.h/conform): Likewise.
20775         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
20776         Expect constant.
20777         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
20778         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
20779         variable.
20780         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20781         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20783         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
20784         [__USE_LARGEFILE64] (off64_t): Likewise.
20785         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
20786         variable.
20788 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20790         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
20792 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20794         * resolv/inet_addr.c: Reindent preprocessor conditionals.
20795         * resolv/res_init.c: Likewise.
20796         * resolv/res_mkquery.c: Likewise.
20798 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20800         * resolv/res_init.c (isascii): Do not define.  Use definition in
20801         <ctype.h>.
20802         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
20803         (LOG_AUTH): Remove.
20804         (SPRINTF): Remove, adjust caller.
20805         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
20807 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20809         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
20810         SUNSECURITY conditional.
20811         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
20813 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20815         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
20816         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
20817         Remove BSD-related preprocessor conditionals.
20818         * conf/portability.h: Remove.
20820 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20822         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
20823         * resolv/res_data.c: Likewise.
20825 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20827         * resolv/res_comp.c: Remove code conditional on __ultrix__.
20828         * resolv/res_data.c: Remove code conditional on ultrix.
20830 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20832         * resolv/res_init.c (RFC1535): Do not define.  Remove
20833         RFC1535 preprocessor conditionals.
20834         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
20835         because there configuration options which make the resolver
20836         behavior different.
20838 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20840         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
20841         RESOLVSORT preprocessor conditionals.
20842         * resolv/nss_dns/dns-host.c: Likewise.
20843         * resolv/res_init.c: Likewise.
20845 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20847         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
20848         is never defined.
20850 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20852         * inet/inet_lnaof.c: Remove SCSS keyword.
20853         * inet/inet_mkadr.c: Likewise.
20854         * inet/inet_net.c: Likewise.
20855         * inet/inet_netof.c: Likewise.
20856         * inet/rcmd.c: Likewise.
20857         * inet/rexec.c: Likewise.
20858         * inet/ruserpass.c: Likewise.
20860 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20862         * resolv/inet_addr.c: Remove _LIBC conditionals.
20863         * resolv/res_data.c: Likewise.
20864         * resolv/res_init.c: Likewise.
20865         * resolv/res_mkquery.c: Likewise.
20866         * resolv/res_libc.c: Update comment.
20867         * resolv/README: Update.
20869 2016-04-28  Florian Weimer  <fweimer@redhat.com>
20871         * resolv/gethnamaddr.c: Remove SCSS keyword.
20872         * resolv/herror.c: Likewise.
20873         * resolv/inet_addr.c: Likewise.
20874         * resolv/inet_net_ntop.c: Likewise.
20875         * resolv/inet_net_pton.c: Likewise.
20876         * resolv/inet_neta.c: Likewise.
20877         * resolv/inet_ntop.c: Likewise.
20878         * resolv/inet_pton.c: Likewise.
20879         * resolv/ns_date.c: Remove RCS keyword.
20880         * resolv/ns_name.c: Likewise.
20881         * resolv/ns_netint.c: Likewise.
20882         * resolv/ns_parse.c: Likewise.
20883         * resolv/ns_print.c: Likewise.
20884         * resolv/ns_samedomain.c: Likewise.
20885         * resolv/ns_ttl.c: Likewise.
20886         * resolv/nsap_addr.c: Likewise.
20887         * resolv/res_comp.c: Remove SCSS and RCS keyword.
20888         * resolv/res_data.c: Remove RCS keyword.
20889         * resolv/res_debug.c: Remove SCSS and RCS keyword.
20890         * resolv/res_init.c: Likewise.
20891         * resolv/res_mkquery.c: Likewise.
20892         * resolv/res_query.c: Likewise.
20893         * resolv/res_send.c: Likewise.
20895 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20897         * conform/data/stdio.h-data (fdopen): Expect also for
20898         [XPG3 || XPG4].
20900         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
20901         (fseeko): Likewise.
20902         (ftello): Likewise.
20903         (ftrylockfile): Likewise.
20904         (funlockfile): Likewise.
20905         (getc_unlocked): Likewise.
20906         (getchar_unlocked): Likewise.
20907         (putc_unlocked): Likewise.
20908         (putchar_unlocked): Likewise.
20910 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20912         [BZ #19868]
20913         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
20914         DNS packet syntax checks (which were not needed before).  Skip
20915         over non-PTR records.
20917 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20919         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
20920         definition.  Include <stddef.h> instead.
20922 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20924         [BZ #19831]
20925         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
20926         function.
20927         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
20928         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
20930 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20932         [BZ #19862]
20933         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
20934         (getanswer_r): Do not call syslog.
20935         (gaih_getanswer_slice): Likewise.
20936         * resolv/gethnamaddr.c (AskedForGot): Remove.
20937         (getanswer): Do not call syslog.
20938         (gethostbyaddr): Likewise.
20940 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
20942         * conform/data/signal.h-data (union sigval): Expect also if
20943         [XOPEN2K].
20944         (struct sigevent): Likewise.
20945         (SIGEV_NONE): Likewise.
20946         (SIGEV_SIGNAL): Likewise.
20947         (SIGEV_THREAD): Likewise.
20948         (SIGRTMIN): Likewise.
20949         (SIGRTMAX): Likewise.
20950         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
20951         variable.
20952         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
20954 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20956         [BZ #19830]
20957         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
20958         (gaih_getanswer_slice): Likewise.
20959         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
20960         Also check for availability of RR metadata.
20962 2016-04-27  Florian Weimer  <fweimer@redhat.com>
20964         [BZ #19825]
20965         * resolv/res_send.c (send_vc): Remove early *resplen2
20966         initialization.  Set *resplen2 on socket error.  Call
20967         close_and_return_error for other errors.
20969 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20971         * sysdeps/unix/sysv/linux/netiucv/iucv.h
20972         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
20973         (SCM_IUCV_TRGCLS): New define.
20975 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20977         [BZ #20005]
20978         * libio/fmemopen.c (fmemopen_write): Update internal position after
20979         write.
20980         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
20981         * stdio-common/tst-fmemopen4.c: New file..
20983 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
20985         [BZ #19996]
20986         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
20987         not [__USE_XOPEN2K].
20988         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
20989         variable.
20991         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
20992         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
20993         variable.
20995         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
20996         [__USE_XOPEN2K8].
20997         [__USE_LARGEFILE64] (off64_t): Likewise.
20998         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
20999         variable.
21001 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #19989]
21004         * libio/stdio.h (cuserid): Do not declare if
21005         [__USE_XOPEN2K && !__USE_GNU].
21006         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
21007         variable.
21009 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21011         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21012         (sysdep_routines): Add P8 and PPC64 strcspn targets.
21013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21014         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21015         ifunc'ed strcspn.
21016         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21017         [EALIGN]: Removed.
21018         [END]: Likewise
21019         [STRSPN]: Define instead of the above to control symbol name.
21020         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21021         New file.
21022         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21023         Likewise.
21024         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21025         Likewise.
21026         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21027         Likewise.
21028         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21029         [INITIAL_MASK]: New macro.
21030         [STRCSPN]: Likewise.
21031         [UPDATE_MASK]: Likewise.
21032         [USE_AS_STRCSPN]: Likewise.
21034 2016-04-25  Florian Weimer  <fweimer@redhat.com>
21036         [BZ #19931]
21037         * stdio-common/tst-vfprintf-width-prec.c: New file.
21038         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21039         (tests-special): Add tst-vfprintf-width-prec-mem.out.
21040         (generated): Add mtrace-related files.
21041         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21042         (tst-%-mem.out): New pattern rule, replaces
21043         tst-printf-bz18872-mem.out.
21044         * stdio-common/vfprintf.c (vfprintf): When handling a precision
21045         specifier, deallocate any previously allocated work buffer.
21047 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21049         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21050         Add nop before __startcontext, add explaining comments.
21052 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
21054         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21055         any more. Notably since IPV6_PKTINFO has been reintroduced with a
21056         completely different API.
21058         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21059         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21060         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21061         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21062         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21063         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21064         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
21065         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
21066         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
21067         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
21069 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
21071         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
21073 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
21075         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
21076         when it is the default of 0.
21078 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21080         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
21081         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21082         (sysdep_routines): Add new strcasestr targets.
21083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21084         (__libc_ifunc_impl_list): Likewise.
21085         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
21086         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
21087         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
21088         * sysdeps/powerpc/powerpc64/power8/Makefile:
21089         New file to add strcasestr-ppc64 to sysdep_routines.
21090         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
21091         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
21093 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
21095         * benchtests/Makefile (wcsmbs-benchset): Include only for
21096         native builds and runs.
21097         (LOCALES): Likewise.
21098         (bench-build): Build timing-type here instead of the bench
21099         target.  Generate locale only for native builds.
21100         * benchtests/README: Add note for cross-building.
21102         * benchtests/Makefile (bench-clean): Clean up extra-objs.
21104         * benchtests/README: Update README to include instructions on
21105         using bench-build.
21107         * Makefile.in (bench-build): New target.
21108         * Rules (PHONY): Add bench-build target.
21109         * benchtests/Makefile (bench): Depend on bench-build.
21110         (bench-build): New target.
21112 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21114         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
21115         profil_reply_port.
21116         (profile_waiter): Do not initialize profil_reply_port.
21117         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
21118         frequency instead of tick length in us.
21120 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
21122         [BZ #18712]
21123         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
21124         (__old_mempcpy_small): Likewise.
21125         (__old_strcpy_small): Likewise.
21126         (__old_stpcpy_small): Likewise.
21127         (__old_strpbrk_c2): Fix compat symbol name.
21128         (__old_strpbrk_c3): Likewise.
21129         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
21130         (__mempcpy_small): Remove.
21131         (__strcpy_small): Remove.
21132         (__stpcpy_small): Remove.
21134 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
21136         [BZ #19400]
21137         * locale/iso-639.def: Add the Talossan/tzl language.
21139 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21141         [BZ #16983]
21142         * locale/programs/ld-address.c (address_finish): Update postal_fmt
21143         comment.  Add "ln" to strchr check on postal_fmt.
21145 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
21147         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
21148         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
21149         tel_dom_fmt.
21151 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21153         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21154         (sysdep_routines): Added __strlen_power8.
21155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
21156         __strlen_power8 entry.
21157         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
21158         Implementation for POWER8.
21159         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
21160         for __strlen_power8.
21161         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
21162         Implementation for POWER8.
21164 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
21166         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
21168 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
21170         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
21171         Goldmont and Airmont processors.
21173 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
21175         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
21176         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
21177         (__STRING2_SMALL_GET32): Remove.
21178         (memset): Remove.
21179         (__memset_1): Remove.
21180         (__memset_gc): Remove.
21181         (__mempcpy): Remove.
21182         (mempcpy): Remove.
21183         (__mempcpy_args): Remove.
21184         (strchr): Remove.
21185         (strcpy): Remove.
21186         (strcpy_args): Remove.
21187         (__stpcpy_args): Remove.
21188         (__strcmp_cc): Remove.
21189         (__strcmp_gc): Remove.
21190         (strstr): Remove.
21192 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
21194         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
21195         * nis/nis_call.c (nis_server_cache_add): Likewise.
21197 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21199         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
21201 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21203         * malloc/arena.c (__malloc_fork_lock_parent)
21204         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
21205         internal_function attribute.
21207 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
21209         * stdio-common/printf_fp.c (__printf_fp_l):
21210         Rename ___printf_fp_l to __printf_fp_l and
21211         remove strong alias. Use libc_hidden_def instead
21212         of ldbl_hidden_def macro.
21214 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21216         Remove malloc hooks from fork handler.  They are no longer needed
21217         because malloc runs right before fork, and no malloc calls from
21218         other fork handlers are not possible anymore.
21219         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
21220         declarations.
21221         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
21222         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
21223         (atfork_recursive_cntr): Remove.
21224         (__malloc_fork_lock_parent): Do not override malloc hooks and
21225         thread_arena.
21226         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
21227         thread_arena.
21228         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
21229         thread_arena instead of save_arena.
21231 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21233         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
21234         (thread_atfork, thread_atfork_static): Remove.
21235         * sysdeps/mach/hurd/malloc-machine.h:
21236         (thread_atfork, thread_atfork_static): Remove.
21238 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21240         [BZ #19431]
21241         Run the malloc fork handler as late as possible to avoid deadlocks.
21242         * malloc/malloc-internal.h: New file.
21243         * malloc/malloc.c: Include it.
21244         * malloc/arena.c (ATFORK_MEM): Remove.
21245         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
21246         Update comment.
21247         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
21248         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
21249         Remove outdated comment.
21250         (ptmalloc_init): Do not call thread_atfork.  Remove
21251         thread_atfork_static.
21252         * malloc/tst-malloc-fork-deadlock.c: New file.
21253         * Makefile (tests): Add tst-malloc-fork-deadlock.
21254         (tst-malloc-fork-deadlock): Link against libpthread.
21255         * manual/memory.texi (Aligned Memory Blocks): Update safety
21256         annotation comments.
21257         * sysdeps/nptl/fork.c (__libc_fork): Call
21258         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
21259         __malloc_fork_unlock_child.
21260         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
21262 2016-04-14  Florian Weimer  <fweimer@redhat.com>
21264         [BZ #19613]
21265         Remove union wait.
21266         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
21267         (w_stopsig, w_stopval): Remove.
21268         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
21269         stat_loc argument.
21270         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
21271         (__WAIT_STATUS_DEFN): Remove.
21272         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21273         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
21274         (wait, wait3, wait4): Use int * for the stat_loc argument.
21275         * posix/wait.c (__wait): Likewise.
21276         * posix/wait3.c (__wait3): Likewise.
21277         * posix/wait4.c (__wait4): Likewise.
21278         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
21279         (__WAIT_STATUS_DEFN): Remove.
21280         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
21281         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
21282         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
21283         argument.
21284         * sysdeps/posix/wait.c (__libc_wait): Likewise.
21285         * sysdeps/posix/wait3.c (__wait3): Likewise.
21286         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
21287         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21288         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
21289         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
21290         stat_loc argument.
21291         * manual/process.texi (BSD Wait Functions): Remove union wait.
21293 2016-04-13  Andreas Schwab  <schwab@suse.de>
21295         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
21296         (test-extras): Add tst-tlsalign-vars.
21297         * math/Makefile: Wrap long lines.
21298         (libm-vec-test-wrappers): Define.
21299         (test-extras): Add $(libm-vec-test-wrappers).
21300         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
21301         * nss/Makefile (extra-test-objs): Add nss_test1.os.
21302         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
21303         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
21304         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
21305         (extra-test-objs): Add corresponding objects.
21307 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
21309         [BZ #19928]
21310         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
21311         New.
21312         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
21313         times of shared cache size.
21314         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
21315         (VMOVNT): New.
21316         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
21317         (VMOVNT): Likewise.
21318         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
21319         (VMOVNT): Likewise.
21320         (VMOVU): Changed to movups for smaller code sizes.
21321         (VMOVA): Changed to movaps for smaller code sizes.
21322         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
21323         comments.
21324         (PREFETCH): New.
21325         (PREFETCH_SIZE): Likewise.
21326         (PREFETCHED_LOAD_SIZE): Likewise.
21327         (PREFETCH_ONE_SET): Likewise.
21328         Rewrite to use forward and backward loops, which move 4 vector
21329         registers at a time, to support overlapping addresses and use
21330         non temporal store if size is above the threshold and there is
21331         no overlap between destination and source.
21333 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
21335         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
21336         Include dl-vdso.
21337         * sysdeps/unix/sysv/linux/mips/Versions: Add
21338         __vdso_clock_gettime.
21339         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
21340         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
21341         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
21342         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
21343         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
21344         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
21345         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21346         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21347         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21349 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21351         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
21352         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
21353         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
21354         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
21355         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
21356         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
21357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
21358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
21359         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
21360         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
21361         syscalls generation.
21362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21363         [__NR_pwrite64] (__NR_write): Remove define.
21364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21365         [__NR_pwrite64] (__NR_write): Remove define.
21366         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
21367         Remove define.
21368         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
21369         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
21370         Remove define.
21371         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
21372         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
21373         Linux implementation as base.
21374         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
21376         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
21377         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
21378         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
21379         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
21380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
21381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
21382         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
21383         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
21384         syscall generation.
21385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21386         [__NR_pread64] (__NR_pread): Remove define.
21387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21388         [__NR_pread64] (__NR_pread): Likewise.
21389         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
21390         define.
21391         (__libc_pread): Use SYSCALL_LL macro on offset argument.
21392         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
21393         Remove define.
21394         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
21395         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
21396         Linux implementation as base.
21397         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
21398         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
21399         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
21401         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
21402         definition.
21403         (__ALIGNMENT_COUNT): Likewise.
21404         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
21405         (__ALIGNMENT_COUNT): Likewise.
21406         (SYSCALL_LL): New define.
21407         (SYSCALL_LL64): Likewise.
21408         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
21409         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
21410         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
21411         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
21413         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21414         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
21415         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21416         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21417         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21418         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
21420 2016-04-11  Florian Weimer  <fweimer@redhat.com>
21422         [BZ #19865]
21423         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
21424         original buffer before retry.
21426 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21428         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
21429         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
21430         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
21431         GLRO(dl_auxv) list.
21432         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
21433         including <ldsodefs.h>.
21434         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
21436 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
21438         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
21439         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
21440         $(CPPFLAGS).
21442 2016-04-09  Khem Raj  <raj.khem@gmail.com>
21444         [BZ #17950]
21445         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
21446         Add -mfpmath=387.
21448 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
21450         * sysdeps/i386/configure.ac: Change == to = when calling test.
21451         * sysdeps/x86_64/configure.ac: Likewise.
21452         * sysdeps/i386/configure: Regenerated.
21453         * sysdeps/x86_64/configure: Likewise.
21455 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
21457         [BZ #16137]
21458         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
21459         * benchtests/bench-strcoll.c (input_files): Likewise.
21460         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21461         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
21462         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
21464 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
21466         [BZ #19929]
21467         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
21468         [__USE_XOPEN2K8 && !__USE_GNU].
21469         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
21470         variable.
21472         [BZ #19925]
21473         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
21474         define if [!__USE_MISC && __USE_XOPEN2K].
21475         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
21476         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
21477         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
21478         Likewise.
21479         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
21480         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
21481         variable.
21482         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21484 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21486         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21487         (sysdep_routines): Add new strspn targets.
21488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21489         (__libc_ifunc_impl_list): Add strspn.
21490         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21491         New file.
21492         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
21493         Likewise.
21494         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
21495         Likewise.
21496         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21497         Likewise.
21499 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21501         * misc/hsearch_r.c: Include <limits.h>.
21503 2016-04-07  Florian Weimer  <fweimer@redhat.com>
21505         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
21507 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21509         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
21510         (MEMCPY_SYMBOL): New.
21511         (MEMPCPY_SYMBOL): Likewise.
21512         (MEMMOVE_CHK_SYMBOL): Likewise.
21513         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
21514         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
21515         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
21516         Provide alias for memcpy in libc.a and ld.so.
21518 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21520         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
21521         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
21522         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
21523         Disabled fro now.
21524         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
21525         symbols.  Properly check USE_MULTIARCH on __memset symbols.
21527 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
21529         * benchtests/Makefile (string-benchset): Add memcpy-large,
21530         memmove-large and memset-large.
21531         * benchtests/bench-memcpy-large.c: New file.
21532         * benchtests/bench-memmove-large.c: Likewise.
21533         * benchtests/bench-memmove-large.c: Likewise.
21534         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
21536 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21538         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
21539         32-bit displacement to avoid long nop between instructions.
21541 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
21543         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
21544         a comment on VMOVU and VMOVA.
21546 2016-04-04  Florian Weimer  <fweimer@redhat.com>
21548         [BZ #19633]
21549         Use specified locale for number formatting in strfmon_l.
21550         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
21551         (__nl_lookup_word): New inline functions.
21552         * include/printf.h (__print_fp_l): Declare.
21553         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
21554         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
21555         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21556         (___printf_fp): New function.
21557         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
21558         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
21559         * stdlib/tst-strfmon_l.c (do_test): New test.
21560         * stdlib/Makefile (tests): Add kt.
21561         (LOCALES): Build additional locales.
21562         (tst-strfmon_l.out): Require locales.
21564 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21566         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
21567         if not in libc.
21568         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21569         Likewise.
21570         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
21571         Likewise.
21572         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21573         Likewise.
21575 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
21577         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21578         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
21579         with unaligned_erms.
21580         (__memmove_erms): Skip if source == destination.
21581         (__memmove_unaligned_erms): Don't check source == destination
21582         first.
21584 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21586         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
21587         bit_arch_Fast_Copy_Backward for Intel Core proessors.
21589 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21591         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
21592         * string/strspn.c (strspn): Likewise.
21594 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21596         * benchtests/bench-memset.c (do_test): Support 64-byte
21597         alignment.
21598         (test_main): Test 64-byte alignment.
21600 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21602         * benchtests/bench-memmove.c (test_main): Test 64-byte
21603         alignment.
21605 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
21607         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
21609 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21611         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
21612         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
21613         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
21615         * string/strpbrk.c (strpbrk): Rewrite function.
21616         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
21617         (__strpbrk_c2): Likewise.
21618         (__strpbrk_c3): Likewise.
21619         * string/string-inlines.c
21620         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
21621         Likewise.
21622         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
21623         Likewise.
21625         * string/strspn.c (strcspn): Rewrite function.
21626         * string/bits/string2.h (strspn): Use __builtin_strcspn.
21627         (__strspn_c1): Remove inline function.
21628         (__strspn_c2): Likewise.
21629         (__strspn_c3): Likewise.
21630         * string/string-inlines.c
21631         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
21632         compatibility symbol.
21633         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
21634         Likewise.
21635         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
21636         Likewise.
21637         * string/string-inlines.c: Include generic version.
21639 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
21640             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21642         * string/Version (libc): Add GLIBC_2.24.
21643         * string/strcspn.c (strcspn): Rewrite function.
21644         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
21645         (__strcspn_c1): Remove inline function.
21646         (__strcspn_c2): Likewise.
21647         (__strcspn_c3): Likewise.
21648         * string/string-inline.c
21649         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
21650         compatibility symbol.
21651         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
21652         Likewise.
21653         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
21654         Likewise.
21655         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
21657 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21659         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21660         Use ahi instead of aghi to adjust stack pointer.
21662 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21664         [BZ #19853]
21665         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
21666         TEST to take significant digits as second parameter.
21667         [TEST]: Redefine in terms of TEST_N taking 30
21668         significant digits.
21669         (do_test): Add test case to demonstrate precision
21670         failure in the ldbl-128ibm printf.
21671         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
21672         (__mpn_extract_long_double): Carry 7 extra intermediate
21673         bits of precision to aide computing difference when
21674         signs differ.
21676 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21678         [BZ #19881]
21679         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21680         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
21681         memset-avx512-unaligned-erms.
21682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21683         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
21684         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
21685         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
21686         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
21687         __memset_sse2_unaligned_erms, __memset_erms,
21688         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
21689         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
21690         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
21691         file.
21692         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
21693         Likewise.
21694         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
21695         Likewise.
21696         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
21697         Likewise.
21699 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
21701         [BZ #19776]
21702         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21703         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
21704         memmove-avx512-unaligned-erms.
21705         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21706         (__libc_ifunc_impl_list): Test
21707         __memmove_chk_avx512_unaligned_2,
21708         __memmove_chk_avx512_unaligned_erms,
21709         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
21710         __memmove_chk_sse2_unaligned_2,
21711         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
21712         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
21713         __memmove_avx512_unaligned_erms, __memmove_erms,
21714         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
21715         __memcpy_chk_avx512_unaligned_2,
21716         __memcpy_chk_avx512_unaligned_erms,
21717         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
21718         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
21719         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
21720         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
21721         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
21722         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
21723         __mempcpy_chk_avx512_unaligned_erms,
21724         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
21725         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
21726         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
21727         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
21728         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
21729         __mempcpy_erms.
21730         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
21731         file.
21732         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
21733         Likewise.
21734         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
21735         Likewise.
21736         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
21737         Likewise.
21739 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21741         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
21742         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
21743         (La_s390_64_regs): Likewise.
21744         (La_s390_32_retval): Append vector register lrv_v24.
21745         (La_s390_64_retval): Likeweise.
21746         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
21747         Handle extended structs La_s390_32_regs and La_s390_32_retval.
21748         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
21749         Handle extended structs La_s390_64_regs and La_s390_64_retval.
21751 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21753         [BZ #19916]
21754         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
21755         to create a non-vector/vector version for _dl_runtime_resolve and
21756         _dl_runtime_profile. Move implementation to ...
21757         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
21758         (_dl_runtime_resolve) Save and restore fpr/vrs.
21759         (_dl_runtime_profile) Save and restore vrs and fix some issues
21760         if _dl_call_pltexit is called.
21761         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
21762         Choose the correct resolver function if running on a machine with vx.
21763         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
21764         to create a non-vector/vector version for _dl_runtime_resolve and
21765         _dl_runtime_profile. Move implementation to ...
21766         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
21767         (_dl_runtime_resolve) Save and restore fpr/vrs.
21768         (_dl_runtime_profile) Save and restore vrs and fix some issues
21769         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
21770         Choose the correct resolver function if running on a machine with vx.
21772 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21774         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
21776 2016-03-31  Florian Weimer  <fweimer@redhat.com>
21778         [BZ #19509]
21779         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
21780         skip_map != NULL.
21781         * elf/tst-dlsym-error.c: New file.
21782         * elf/Makefile (tests): Add tst-dlsym-error.
21783         (tst-dlsym-error): Link against libdl.
21785 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
21787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21788         (__ASSUME_FUTIMESAT): Remove macro.
21789         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
21791 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21793         [BZ #19879]
21794         CVE-2016-3075
21795         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
21796         copy name.
21798 2016-03-29  Florian Weimer  <fweimer@redhat.com>
21800         [BZ #19837]
21801         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
21802         error if parse_line fails.
21804 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21806         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
21807         (index_cpu_ERMS): Likewise.
21808         (reg_ERMS): Likewise.
21810 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
21812         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
21813         PER_LINUX_FDPIC): Add.
21815 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21818         memcpy-avx512-no-vzeroupper.
21819         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
21820         to ...
21821         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
21822         (MEMCPY): Don't define.
21823         (MEMCPY_CHK): Likewise.
21824         (MEMPCPY): Likewise.
21825         (MEMPCPY_CHK): Likewise.
21826         (MEMPCPY_CHK): Renamed to ...
21827         (__mempcpy_chk_avx512_no_vzeroupper): This.
21828         (MEMPCPY_CHK): Renamed to ...
21829         (__mempcpy_chk_avx512_no_vzeroupper): This.
21830         (MEMCPY_CHK): Renamed to ...
21831         (__memmove_chk_avx512_no_vzeroupper): This.
21832         (MEMCPY): Renamed to ...
21833         (__memmove_avx512_no_vzeroupper): This.
21834         (__memcpy_avx512_no_vzeroupper): New alias.
21835         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
21837 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21839         [BZ #18858]
21840         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21841         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
21842         and mempcpy-avx512-no-vzeroupper.
21843         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
21844         New.
21845         (MEMPCPY): Likewise.
21846         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
21847         (MEMPCPY_CHK): New.
21848         (MEMPCPY): Likewise.
21849         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
21850         (MEMPCPY): Likewise.
21851         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
21852         (MEMPCPY): Likewise.
21853         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
21854         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
21855         Likewise.
21856         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
21857         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
21859 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
21860              Amit Pawar  <Amit.Pawar@amd.com>
21862         [BZ #19583]
21863         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21864         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
21865         processors.  Set Fast_Copy_Backward for AMD Excavator
21866         processors.
21867         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
21868         New.
21869         (index_arch_Fast_Unaligned_Copy): Likewise.
21870         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
21871         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
21873 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21875         [BZ #19791]
21876         * resolv/res_send.c (close_and_return_error): New function.
21877         (send_dg): Initialize *resplen2 after reopen failure.  Call
21878         close_and_return_error for error returns.  On error paths without
21879         __res_iclose, initialze *resplen2 explicitly.  Update comment for
21880         successful return.
21882 2016-03-25  Florian Weimer  <fweimer@redhat.com>
21884         [BZ #19860]
21885         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
21886         zero if the compiler does not provide the AVX512F bit.
21888 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
21890         [BZ #19848]
21891         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
21892         from 8 to 4.
21893         (__ieee754_powl): Compare integer exponent against 4 not 8.
21894         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
21895         from 8 to 4.
21896         (__ieee754_powl): Compare integer exponent against 4 not 8.
21897         * math/auto-libm-test-in: Add more tests of pow.
21898         * math/auto-libm-test-out: Regenerated.
21899         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
21900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21902 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21904         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
21905         Make code unconditional.
21906         [!__NR_utimensat]: Remove conditional code.
21907         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
21908         Make code unconditional.
21909         [!__NR_utimensat]: Remove conditional code.
21910         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
21911         Make code unconditional.
21912         [!__NR_utimensat]: Remove conditional code.
21914 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
21916         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
21917         Make code unconditional.
21919 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
21921         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
21922         call-clobbered %eax on retry path.
21923         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
21925 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21927         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
21928         Don't set %rcx twice before "rep movsb".
21930 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21932         [BZ #19583]
21933         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
21934         inline.  Check family before setting family, model and
21935         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
21936         bits here.
21937         (init_cpu_features): Replace HAS_CPU_FEATURE and
21938         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
21939         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
21940         for Intel processors with usable AVX2.  Call get_common_indeces
21941         for other processors with family == NULL.
21942         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
21943         (CPU_FEATURES_ARCH_P): Likewise.
21944         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
21945         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
21947 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21949         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
21950         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
21951         $(shared-thread-library) instead of hardcoding the path to libpthread.
21953 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
21955         * sysdeps/unix/sysv/linux/kernel-features.h
21956         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
21957         * sysdeps/unix/sysv/linux/getdents.c
21958         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
21959         [!have_no_getdents64_defined]: Likewise.
21960         (__GETDENTS): Remove __have_no_getdents64 conditional.
21962 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
21964         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
21965         Remove macro.
21966         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
21967         <kernel-features.h>.
21968         (signalfd) [__NR_signalfd4]: Make code unconditional.
21969         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
21971 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21973         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
21974         style.
21976 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21978         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
21979         (__pthread_enable_asynccancel): Use JUMPTARGET to call
21980         __pthread_unwind.
21981         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21982         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
21983         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21984         (__condvar_cleanup1): Likewise.
21986 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
21988         [BZ #19822]
21989         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
21990         move it to the final $@ location.
21992 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21994         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
21995         access where posix_spawn success and pid argument is null.
21996         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
21997         success case.
21999 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
22001         * sysdeps/mach/hurd/i386/c++-types.data: New file.
22003         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
22005         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
22006         and __fcntl.
22007         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
22008         __fcntl only.
22009         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22010         adding attribute_hidden to __open and __fcntl.
22012         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22013         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22014         depend on libc-modules.h,
22015         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22017 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
22019         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22020         Remove macro.
22021         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22022         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22023         entry.
22025         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22026         Remove macro.
22027         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22028         include <kernel-features.h>.
22029         [!__ASSUME_FALLOCATE]: Remove conditional code.
22030         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22032 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22034         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22035         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22036         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22037         (_ZGVdN4v_cos_avx2): Likewise.
22038         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22039         (_ZGVdN4v_cos): Likewise.
22040         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22041         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22042         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22043         (_ZGVdN4v_exp_avx2): Likewise.
22044         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22045         (_ZGVdN4v_exp): Likewise.
22046         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22047         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22048         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22049         (_ZGVdN4v_log_avx2): Likewise.
22050         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22051         (_ZGVdN4v_log): Likewise.
22052         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22053         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22054         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22055         (_ZGVdN4vv_pow_avx2): Likewise.
22056         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22057         (_ZGVdN4vv_pow): Likewise.
22058         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22059         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22060         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22061         (_ZGVdN4v_sin_avx2): Likewise.
22062         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22063         (_ZGVdN4v_sin): Likewise.
22064         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
22065         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
22066         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
22067         (_ZGVdN4vvv_sincos_avx2): Likewise.
22068         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
22069         (_ZGVdN4vvv_sincos): Likewise.
22070         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
22071         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
22072         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
22073         (_ZGVbN4v_cosf_sse4): Likewise.
22074         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
22075         (_ZGVdN8v_cosf_avx2): Likewise.
22076         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
22077         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
22078         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
22079         (_ZGVbN4v_expf_sse4): Likewise.
22080         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
22081         (_ZGVdN8v_expf_avx2): Likewise.
22082         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
22083         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
22084         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
22085         (_ZGVbN4v_logf_sse4): Likewise.
22086         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
22087         (_ZGVdN8v_logf_avx2): Likewise.
22088         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
22089         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
22090         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
22091         (_ZGVbN4vv_powf_sse4): Likewise.
22092         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
22093         (_ZGVdN8vv_powf_avx2): Likewise.
22094         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22095         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
22096         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22097         (_ZGVbN4vvv_sincosf_sse4): Likewise.
22098         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22099         (_ZGVdN8vvv_sincosf_avx2): Likewise.
22100         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
22101         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
22102         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
22103         (_ZGVbN4v_sinf_sse4): Likewise.
22104         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
22105         (_ZGVdN8v_sinf_avx2): Likewise.
22106         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22107         Use JUMPTARGET to call callee.
22108         (WRAPPER_IMPL_SSE2_ff): Likewise.
22109         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22110         (WRAPPER_IMPL_AVX): Likewise.
22111         (WRAPPER_IMPL_AVX_ff): Likewise.
22112         (WRAPPER_IMPL_AVX_fFF): Likewise.
22113         (WRAPPER_IMPL_AVX512): Likewise.
22114         (WRAPPER_IMPL_AVX512_ff): Likewise.
22115         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
22116         Likewise.
22117         (WRAPPER_IMPL_SSE2_ff): Likewise.
22118         (WRAPPER_IMPL_SSE2_fFF): Likewise.
22119         (WRAPPER_IMPL_AVX): Likewise.
22120         (WRAPPER_IMPL_AVX_ff): Likewise.
22121         (WRAPPER_IMPL_AVX_fFF): Likewise.
22122         (WRAPPER_IMPL_AVX512): Likewise.
22123         (WRAPPER_IMPL_AVX512_ff): Likewise.
22124         (WRAPPER_IMPL_AVX512_fFF): Likewise.
22126 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22128         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
22129         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
22130         qualifier.
22131         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
22132         internal_function qualifiers.
22134 2016-03-15  Carlos O'Donell <carlos@redhat.com>
22136         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
22137         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
22138         * math/atest-exp.c (exp_mpn): Mark chk unused.
22139         * math/atest-exp2.c (exp_mpn): Likewise.
22140         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
22141         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
22143 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
22145         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
22146         Remove macro.
22147         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
22148         <kernel-features.h>.
22149         [__NR_ppoll]: Make code unconditional.
22150         [!__ASSUME_PPOLL]: Remove conditional code.
22152         * sysdeps/unix/sysv/linux/kernel-features.h
22153         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
22154         (__ASSUME_ACCEPT4): Likewise.
22155         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22156         Define.
22157         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
22158         Likewise.
22159         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22160         Likewise.
22161         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
22162         Likewise.
22163         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
22164         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
22165         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22166         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22167         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22168         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22169         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22170         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22171         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22172         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22173         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22174         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22175         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22176         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22177         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22178         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22179         Likewise.
22180         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22181         Likewise.
22182         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22183         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22184         0x040300].
22185         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22186         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22187         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22188         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22189         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22190         0x030300].
22191         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
22192         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22193         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22194         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22195         0x040300].
22196         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22197         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22198         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22199         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22200         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22201         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22202         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
22203         0x030300].
22204         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22205         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22206         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22207         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22208         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22209         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22210         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22211         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22212         * sysdeps/unix/sysv/linux/s390/kernel-features.h
22213         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
22214         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
22215         0x040300].
22216         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22217         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22218         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22219         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22220         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22221         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22222         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22223         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22224         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22225         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22226         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22227         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22228         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22229         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22230         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
22231         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22232         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22233         Likewise.
22234         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22235         Likewise.
22237 2016-03-15  Andreas Schwab  <schwab@suse.de>
22239         [BZ #19257]
22240         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
22241         statp->_u._ext.nscount as loop count.
22243 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22245         * math/test-signgam-finite-c99.c: Also #undef
22246         __LIBC_INTERNAL_MATH_INLINES.
22247         * math/test-signgam-main.c: Likewise.
22249 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
22251         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
22252         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
22253         (MADV_FREE): Likewise.
22254         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
22255         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
22256         EPOLLEXCLUSIVE.
22258 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
22260         * timezone/README: Remove mention of checktab.awk. Mention wiki
22261         SharedSourceFiles.
22263 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
22265         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
22266         WUNTRACED.
22268 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22270         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
22271         order to match the type of p when calling atomic_exchange_acq().
22273 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22275         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
22276         cfi_offset calls.
22277         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
22278         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
22279         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
22280         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
22281         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
22283 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
22285         * timezone/checktab.awk: Removed.
22287 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
22289         * manual/math.texi (Errors in Math Functions): Document relaxed
22290         accuracy goals for IBM long double.
22291         * math/libm-test.inc (test_exceptions): Always allow spurious
22292         "underflow" and "inexact" exceptions for IBM long double.
22294 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
22296         [BZ #19762]
22297         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22298         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
22299         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
22300         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
22301         (bit_arch_*): This for feature array.
22302         (bit_*): Renamed to ...
22303         (bit_cpu_*): This for cpu array.
22304         (index_*): Renamed to ...
22305         (index_arch_*): This for feature array.
22306         (index_*): Renamed to ...
22307         (index_cpu_*): This for cpu array.
22308         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
22309         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
22310         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
22311         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
22312         bit_##name with index_cpu_##name and bit_cpu_##name.
22313         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
22314         bit_##name with index_arch_##name and bit_arch_##name.
22316 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
22318         [BZ #19792]
22319         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
22320         Terminate FDE before return label.
22322 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
22324         [BZ #19790]
22325         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
22326         (rintl): Define as macro.
22327         [USE_AS_NEARBYINTL] (__rintl): Likewise.
22328         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
22329         of fesetround.  Ensure results are evaluated before end of scope.
22330         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
22331         USE_AS_NEARBYINTL and include s_rintl.c.
22332         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
22333         Disable exception traps in new environment.
22334         (libc_feholdsetround_ppc_ctx): Likewise.
22336 2016-03-08  Roland McGrath  <roland@hack.frob.com>
22338         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
22339         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
22340         (tst_audit10_aux) [__AVX512F__]: ... here.
22342 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
22344         * include/sys/auxv.h: New file.
22346 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22348         [BZ #19759]
22349         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
22351 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22353         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
22354         operand modifier.
22355         (feclearexcept): Likewise.
22357 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22359         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
22360         to reflect the entire 32-bit HWCAP.
22361         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
22362         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
22364 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
22366         [BZ #19783]
22367         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
22368         $(test-via-rtld-prefix).
22369         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
22371 2016-03-08  Florian Weimer  <fweimer@redhat.com>
22373         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
22374         union wait.  Report any non-zero exit status as error.
22376 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22378         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
22379         configured with --enable-hardcoded-path-in-tests.
22381 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
22383         [BZ #19677]
22384         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22385         (__ieee754_remainderl): Put zero low parts in canonical form.
22386         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
22387         file.  Based on
22388         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
22389         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
22390         with wrapper round test-fmodrem-ldbl-128ibm.c.
22391         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
22392         file.
22393         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
22394         Likewise.
22395         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
22396         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
22398 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22400         [BZ #19610]
22401         * elf/ldconfig.c (opt_link): Update comment.
22402         (options): Update help string for option -X.
22403         (search_dir): Unlink stale symbolic link only if updating symbolic
22404         links.
22405         * elf/tst-ldconfig-X.sh: New file.
22406         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
22407         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
22409 2016-03-07  Andreas Schwab  <schwab@suse.de>
22411         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
22412         needed arguments.
22414 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
22416         [BZ #15333]
22417         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
22418         to lstat64.
22420 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22422         * libio/filedoalloc.c (isatty): Remove.
22423         (local_isatty): Add comment.  Call __isatty directly.
22424         (_IO_file_doallocate): Update comment.  Assume _LIBC.
22425         * libio/wfiledoalloc.c (isatty): Remove.
22426         (_IO_wfile_doallocate): Update comment.
22428 2016-03-07  Florian Weimer  <fweimer@redhat.com>
22430         [BZ #19269]
22431         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
22432         tst-audit4-aux.o.
22433         (tst-audit10): Depend on tst-audit10-aux.o.
22434         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
22435         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
22436         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
22437         instead of inline AVX code.
22438         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
22439         instead of inline AVX512 code.
22440         * sysdeps/x86_64/tst-audit4-aux.c: New file
22441         * sysdeps/x86_64/tst-audit10-aux.c: New file
22443         [BZ #19648]
22444         * test-skeleton.c (main): Do not set RLIMIT_DATA.
22446 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22448         [BZ #14750]
22449         [BZ #10354]
22450         [BZ #18433]
22451         * include/sched.h (__clone): Add hidden prototype.
22452         (__clone2): Likewise.
22453         * include/unistd.h (__dup): Likewise.
22454         * posix/Makefile (tests): Add tst-spawn2.
22455         * posix/tst-spawn2.c: New file.
22456         * sysdeps/posix/dup.c (__dup): Add hidden definition.
22457         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
22458         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22459         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22460         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22461         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22462         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
22463         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22464         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
22465         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22466         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22468         Likewise.
22469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22470         Likewise.
22471         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22472         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22473         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22474         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22475         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22476         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22477         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22478         * sysdeps/unix/sysv/linux/nptl-signals.h
22479         (____nptl_is_internal_signal): New function.
22480         * sysdeps/unix/sysv/linux/spawni.c: New file.
22482         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
22483         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
22484         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
22485         * posix/tst-execvp2.c (do_test): Likewise.
22486         * posix/tst-execvp3.c (do_test): Likewise.
22487         * posix/tst-execvp4.c (do_test): Likewise.
22488         * posix/tst-execvpe1.c: New file.
22489         * posix/tst-execvpe2.c: Likewise.
22490         * posix/tst-execvpe3.c: Likewise.
22491         * posix/tst-execvpe4.c: Likewise.
22492         * posix/tst-execvpe5.c: Likewise.
22493         * posix/tst-execvpe6.c: Likewise.
22495         [BZ #19534]
22496         * posix/execl.c (execl): Remove dynamic memory allocation.
22497         * posix/execle.c (execle): Likewise.
22498         * posix/execlp.c (execlp): Likewise.
22500 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22502         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
22503         Replace .text with .text.avx512.
22504         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
22505         Likewise.
22507 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
22509         * sysdeps/generic/libnsl.abilist: New file.
22510         * sysdeps/generic/libutil.abilist: New file.
22512 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22514         [BZ #19762]
22515         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
22516         HAS_ARCH_FEATURE with Fast_Rep_String.
22517         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
22518         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
22519         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
22520         Likewise.
22521         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
22522         Likewise.
22523         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
22524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
22525         Likewise.
22526         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
22527         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
22528         Likewise.
22530 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22532         [BZ #19745]
22533         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
22534         with *%rax in call.
22536 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22538         [BZ #19745]
22539         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
22540         with *__libc_start_main@GOTPCREL(%rip) in call.
22542 2016-03-04  Roland McGrath  <roland@hack.frob.com>
22544         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
22545         inside conditional for nonempty $(CXX).
22547         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
22548         nonempty.
22550         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
22551         to test for empty $(CXX) rather than $(CXX) of "no".
22553 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
22555         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
22557 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
22558             H.J. Lu  <hongjiu.lu@intel.com>
22560         [BZ #18880]
22561         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
22562         instead of Slow_BSF, and also check for Fast_Copy_Backward to
22563         enable __memcpy_ssse3_back.
22565 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22567         [BZ #19758]
22568         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
22569         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
22571 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22573         [BZ #19490]
22574         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
22575         (__fentry__): Likewise.
22577 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
22579         * gmon/Makefile (noprof): Add $(sysdep_noprof).
22580         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
22582 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22584         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
22585         __mcount_internal directly.
22586         (C_LABEL(__fentry__)): Likewise.
22587         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
22588         directly.
22590 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
22592         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22593         (__start_context): Call __setcontext directly.
22595 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
22597         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22598         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22599         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
22600         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22601         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22602         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22603         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
22604         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22605         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22606         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
22607         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22608         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22609         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22610         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22611         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22612         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22613         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
22614         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22615         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22616         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
22617         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
22618         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22619         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22620         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
22621         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
22622         Remove conditional code.
22623         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22624         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
22625         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22626         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22627         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
22628         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22629         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
22630         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
22631         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
22632         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22633         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22634         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
22636 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
22638         * NEWS (2.23): Fix typo in bug 19048 text.
22640 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
22642         [BZ #14259]
22643         * Makeconfig: Rename msgcatdir to localedir.
22644         Rename inst_msgcatdir to inst_localedir.
22645         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
22646         * config.make.in: Add localedir.
22647         * elf/Makefile ($(objpfx)sotruss): Use localedir.
22648         (ldd-rewrite): Likewise.
22649         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
22650         (install-others): Use inst_localedir.
22651         (CPPFLAGS): Use localedir.
22652         * locale/Makefile (locale-CPPFLAGS): Likewise.
22653         * po/Makefile (mo-installed): Use inst_localedir.
22655         [BZ #19575]
22656         * localedata/charmaps/GB18030: Update comments regarding PAU to
22657         non-PUA mappings.
22659 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
22661         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
22662         test for header.
22663         * sysdeps/unix/sysv/linux/configure: Regenerated.
22664         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
22665         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
22666         Remove conditional code.
22667         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
22669         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22670         Define to 3.2.0.
22671         (arch_minimum_kernel): Likewise.
22672         * sysdeps/unix/sysv/linux/configure: Regenerated.
22673         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
22674         Define to 2.6.32.
22675         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
22676         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
22677         (arch_minimum_kernel): Define to 2.6.32.
22678         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
22679         * README: Document Linux 3.2 requirement.
22680         * manual/install.texi (Linux): Document Linux 3.2 headers
22681         requirement.
22682         * INSTALL: Regenerated.
22684 2016-02-24  Andreas Schwab  <schwab@suse.de>
22686         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
22687         if !NO_LONG_DOUBLE.
22689 2016-02-22  Roland McGrath  <roland@hack.frob.com>
22691         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
22692         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
22694 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
22696         [BZ #19512]
22697         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
22699 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
22701         * posix/tst-dir.c: Include libc-internal.h.
22703 2016-02-20  Florian Weimer  <fweimer@redhat.com>
22705         [BZ #19056]
22706         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
22707         * manual/filesys.texi (Reading/Closing Directory): Mention
22708         deprecaion.
22709         * posix/tst-dir.c (main): Disable deprecation warning in test.
22711 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
22713         [BZ #19679]
22714         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
22715         Renamed to ...
22716         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
22717         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22718         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
22719         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22720         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22721         * sysdeps/x86_64/dl-trampoline.h
22722         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
22723         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
22725 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22727         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
22729 2016-02-19  Mark Wielaard  <mjw@redhat.com>
22731         * elf/elf.h (R_386_GOT32X): New.
22732         (R_386_NUM): Update.
22733         (R_X86_64_GOTPCRELX: New.
22734         (R_X86_64_REX_GOTPCRELX): New.
22735         (R_X86_64_NUM): Update.
22737 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
22739         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
22741 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
22743         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
22744         assign attr->stackaddr to it, and adjust it down when
22745         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
22746         [_STACK_GROWS_UP]: Delete assert.
22747         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
22748         Implement stack grows up logic.
22749         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
22750         stack grows up logic.
22752 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22754         * NEWS: Update with 2.24 template.
22756 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22758         [BZ #19678]
22759         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22760         Ensure +0.0 is returned when taking the next value below the least
22761         positive value.
22763 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22765         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
22766         available.  Do not define NO_THREADS.
22767         * malloc/malloc.c: Do not check NO_THREADS.
22768         * malloc/arena.c: Likewise.
22770 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22772         * malloc/malloc.c (__libc_mallinfo): Update comment.
22773         (struct malloc_par): Remove max_total_mem member, it was always 0.
22774         (int_mallinfo): Store 0 into usmblks (no functional change).
22775         * malloc/hooks.c (struct malloc_state): Document that
22776         max_total_mem is always 0.
22777         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
22778         always 0.
22779         * manual/memory.texi (Statistics of Malloc): Likewise.
22781 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22783         * malloc/malloc.c (sysmalloc): Do not update arena_max.
22784         * malloc/arena.c (arena_max): Remove.
22785         (heap_trim, _int_new_arena): Do not update arena_max.
22787 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22789         * resolv/res_init.c (res_ninit): Update comment.
22791 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22793         [BZ #19505]
22794         * posix/spawn_int.h: Add headers and include guard.
22795         (__spawn_valid_fd): New function.
22796         * posix/spawn_faction_addopen.c
22797         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
22798         * posix/spawn_faction_addclose.c
22799         (posix_spawn_file_actions_addclose): Likewise.
22800         * posix/spawn_faction_adddup2.c
22801         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
22802         second file descriptor.
22803         * posix/spawn_valid_fd.c: New file.
22804         * posix/tst-posix_spawn-fd.c: New file.
22805         * posix/Makefile (routines): Add spawn_valid_fd.
22806         (tests): Add tst-posix_spawn-fd.
22808 2016-02-19  Florian Weimer  <fweimer@redhat.com>
22810         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
22811         (do_test): Limit the number of arenas, so that we can use fewer
22812         outer threads.  Limit timeout to 3 seconds, in preparation for a
22813         larger TIMEOUT value.
22815 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
22817         [BZ #19674]
22818         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
22819         sign in overflowing and underflowing results when overflow or
22820         underflow is detected early.  Include sign in result before rather
22821         than after scaling.
22823         [BZ #19603]
22824         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
22825         (__ieee754_remainderl): Adjust sign of integer version of low part
22826         when taking absolute value of high part.
22827         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22828         * math/libm-test.inc (remainder_test_data): Add another test.
22829         (remquo_test_data): Likewise.
22831 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
22833         [BZ #19602]
22834         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
22835         equal high parts and both low parts zero specially.
22836         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
22837         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
22838         Add test-fmodl-ldbl-128ibm.
22840         [BZ #19595]
22841         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
22842         common logic for all cases of shifting subnormal results.  Do not
22843         insert sign bit in shifted mantissa.  Always pass -1023 as biased
22844         exponent to ldbl_insert_mantissa in subnormal case.
22846         [BZ #19594]
22847         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
22848         on high and low parts then adjust result and use
22849         ldbl_canonicalize_int if needed.
22851         [BZ #19593]
22852         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
22853         on high part and __floor or __ceil on low part then use
22854         ldbl_canonicalize_int if needed.
22856         [BZ #19592]
22857         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
22858         high and low parts then use ldbl_canonicalize_int if needed.
22860         [BZ #17899]
22861         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
22862         New function.
22863         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
22864         on high and low parts then use ldbl_canonicalize_int if needed.
22866 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22868         * configure: Regenerated.
22870         * po/libc.pot: Regenerated.
22872         * po/be.po: Updated translation.
22873         * po/bg.po: Likewise.
22874         * po/ca.po: Likewise.
22875         * po/cs.po: Likewise.
22876         * po/da.po: Likewise.
22877         * po/el.po: Likewise.
22878         * po/eo.po: Likewise.
22879         * po/es.po: Likewise.
22880         * po/fi.po: Likewise.
22881         * po/fr.po: Likewise.
22882         * po/gl.po: Likewise.
22883         * po/hr.po: Likewise.
22884         * po/hu.po: Likewise.
22885         * po/ia.po: Likewise.
22886         * po/id.po: Likewise.
22887         * po/it.po: Likewise.
22888         * po/ja.po: Likewise.
22889         * po/lt.po: Likewise.
22890         * po/nb.po: Likewise.
22891         * po/nl.po: Likewise.
22892         * po/pt_BR.po: Likewise.
22893         * po/rw.po: Likewise.
22894         * po/sk.po: Likewise.
22895         * po/sl.po: Likewise.
22896         * po/sv.po: Likewise.
22897         * po/tr.po: Likewise.
22898         * po/zh_CN.po: Likewise.
22899         * po/zh_TW.po: Likewise.
22901         * version.h (RELEAES): Set to "development".
22902         (VERSION): Set to 2.23.90.
22904         * version.h (RELEASE): Set to "stable".
22905         (VERSION): Set to 2.23.
22906         * include/feature.h (__GLIBC_MINOR__): Set to 23.
22908         * NEWS: Updated fixed bugs.
22910 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
22911             Wilco Dijkstra  <wdijkstr@arm.com>
22913         [BZ #19462]
22914         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
22915         (_STRING_INLINE_unaligned): This.
22916         * include/string.h: Include <string_private.h>.
22917         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
22918         _STRING_INLINE_unaligned.
22919         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
22920         (_STRING_INLINE_unaligned): New.
22921         * sysdeps/aarch64/string_private.h: New file.
22922         * sysdeps/generic/string_private.h: Likewise.
22923         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
22924         * sysdeps/s390/string_private.h: Likewise.
22925         * sysdeps/x86/string_private.h: Likewise.
22926         * sysdeps/m68k/m680x0/m68020/bits/string.h
22927         (_STRING_ARCH_unaligned): Renamed to ...
22928         (_STRING_INLINE_unaligned): This.
22929         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
22930         to ...
22931         (_STRING_INLINE_unaligned): This.
22932         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
22933         to ...
22934         (_STRING_INLINE_unaligned): This.
22935         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
22936         to ...
22937         (_STRING_INLINE_unaligned): This.
22939 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22940             H.J. Lu  <hongjiu.lu@intel.com>
22942         [BZ #19590]
22943         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
22944         relocation.
22946 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
22948         [BZ #18665]
22949         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
22950         *herrno_p.
22951         (gaih_getanswer): Document functional behviour. Return tryagain
22952         if any result is tryagain.
22953         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
22954         when freed.
22955         * resolv/res_send.c: Add copyright text.
22956         (__libc_res_nsend): Document that MAXPACKET is expected.
22957         (send_vc): Document. Remove buffer reuse.
22958         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
22959         size of the buffer. Add Dprint for truncated UDP buffer.
22961 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
22963         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
22964         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
22965         * INSTALL: Regenerate.
22967 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
22968             Jonathan Wakely  <jwakely@redhat.com>
22969             Carlos O'Donell  <carlos@redhat.com>
22971         [BZ 19439]
22972         * math/Makefile (tests): Add test-math-isinff.
22973         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
22974         * math/bits/mathcalls.h [__USE_MISC]: Use
22975         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
22976         functions not in C++11 and which don't conflict e.g. isinff,
22977         isinfl etc.
22978         * math/test-math-isinff.cc: New file.
22980 2016-02-12  Florian Weimer  <fweimer@redhat.com>
22982         * misc/bug18240.c (do_test): Set RLIMIT_AS.
22984 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22986         [BZ #19529]
22987         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
22989 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22991         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22993 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
22995         [BZ #19550]
22996         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
22997         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
22998         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
22999         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
23000         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
23001         New syscall entry.
23002         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
23003         New syscall entry.
23004         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
23005         syscall entry.
23007 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
23009         [BZ #18240]
23010         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23011         unsigned int wraparound.
23013 2016-01-27  Florian Weimer  <fweimer@redhat.com>
23015         [BZ #18240]
23016         * misc/bug18240.c: New test.
23017         * misc/Makefile (tests): Add it.
23019 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
23020             Joseph Myers  <joseph@codesourcery.com>
23022         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23023         load in branch delay slot when less than a word of input left.
23025 2016-01-27  Andreas Schwab  <schwab@suse.de>
23027         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23028         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23029         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23030         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23032 2016-01-26  David S. Miller  <davem@davemloft.net>
23034         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23036 2016-01-25  David S. Miller  <davem@davemloft.net>
23038         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23039         __sqrtl_finite.
23040         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23041         instead using versioned_symbol.
23042         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23043         of entries.
23045         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23046         __sqrtl_finite to GLIBC_2.23
23048 2016-01-25  Ricchard Henderson  <rth@redhat.com>
23050         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23052 2016-01-25  Andreas Schwab  <schwab@suse.de>
23054         [BZ #17514]
23055         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23056         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23057         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23058         * nptl/tst-mutex-errorcheck.c: New file.
23060 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23062         [BZ #18560]
23063         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23064         (IPCOP_semop): Likewise.
23065         (IPCOP_semget): Likewise.
23066         (IPCOP_semctl): Likewise.
23067         (IPCOP_msgsnd): Likewise.
23068         (IPCOP_msgrcv): Likewise.
23069         (IPCOP_msgget): Likewise.
23070         (IPCOP_msgctl): Likewise.
23071         (IPCOP_shmat): Likewise.
23072         (IPCOP_shmdt): Likewise.
23073         (IPCOP_shmget): Likewise.
23074         (IPCOP_shmctl): Likewise.
23076 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23078         * string/tst-endian.c: Include <libc-internal.h>.
23079         (do_test): Ignore tautological-compare warnings around
23080         "htobeXX (beXXtoh (i)) != i" and
23081         "htoleXX (leXXtoh (i)) != i" if-statements.
23083 2016-01-24  David S. Miller  <davem@davemloft.net>
23085         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
23086         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
23087         alias.
23088         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
23089         __sqrtl_finite.
23091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23093 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
23095         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
23096         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
23097         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23099 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23101         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
23102         (thread_func): Use new function to simplify barrier check.
23103         (do_test): Use new function to simplify checking barrier exit
23104         code, and actually join the child thread.
23106 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23108         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
23109         semicolon.
23110         (__libc_tend): Likewise.
23111         (__libc_tabort): Likewise.
23113 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
23115         * sysdeps/nios2/libm-test-ulps: Update.
23116         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
23117         (__gtsf2): Likewise.
23118         (__unorddf2): Likewise.
23119         (__unordsf2): Likewise.
23120         (__ledf2): Likewise.
23122 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
23124         * nis/nis_table.c (__follow_path): Disable diagnostic for
23125         uninitialized variable that is a false positive for gcc 4.7.
23126         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
23128 2016-01-20  Roland McGrath  <roland@hack.frob.com>
23130         * sysdeps/nacl/lowlevellock-futex.h
23131         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
23132         Always evaluate PRIVATE argument.
23134 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
23136         [BZ #19490]
23137         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
23138         (pthread_cond_broadcast): Use ENTRY/END
23139         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
23140         (pthread_cond_signal): Likewise.
23141         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
23142         Likewise.
23143         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
23144         Likewise.
23145         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
23146         Likewise.
23148 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
23150         * sysdeps/ieee754/dbl-64/s_finite.c
23151         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
23152         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
23153         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
23154         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
23155         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
23157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
23158         (__gtsf2): Add as optional for libc.so.
23159         (__unordsf2): Likewise.
23160         (__signbit): Remove for libc.so.
23161         (__signbitl): Likewise.
23163 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
23165         * iconvdata/bug-iconv11.c (test_ibm93x):
23166         Use %zu printf format specifier for size_t argument.
23168 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
23170         * math/gen-libm-test.pl (parse_ulps): Do not reduce
23171         already-recorded ulps.
23172         * sysdeps/arm/libm-test-ulps: Regenerated.
23173         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23174         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23175         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23177 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23178             Paul Pluzhnikov  <ppluzhnikov@google.com>
23180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
23181         assembler not supporting AVX-512.
23183 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
23185         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23187 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
23189         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23190         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23192         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23194         * sysdeps/arm/libm-test-ulps: Regenerated.
23196 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23198         [BZ #19451]
23199         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
23201 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23203         [BZ #19486]
23204         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
23205         * sysdeps/generic/fix-fp-int-convert-overflow.h
23206         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
23207         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
23208         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
23209         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
23210         Likewise.
23211         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
23212         Avoid conversions to long int where inexact exceptions
23213         could be raised.
23214         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
23215         Likewise.
23216         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
23217         Avoid conversions to long long int where inexact exceptions
23218         could be raised.
23219         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
23220         Likewise.
23222 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
23224         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
23225         * configure: Regenerated.
23227 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23229         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
23231 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
23233         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
23234         outside of comment.
23236 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23238         * nptl/tst-barrier1.c: Add description on first line.
23239         * nptl/tst-barrier2.c: Likewise.
23240         * nptl/tst-barrier3.c: Likewise.
23241         * nptl/tst-barrier4.c: Likewise.
23242         * nptl/tst-barrier5.c: Likewise.
23244 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23246         [BZ #18868]
23247         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
23249 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
23251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
23252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23253         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
23254         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
23255         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
23256         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
23257         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23258         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23259         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23260         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23261         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23263 2016-01-15  Torvald Riegel  <triegel@redhat.com>
23265         [BZ #13065]
23266         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
23267         new implementation.
23268         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
23269         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
23270         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
23271         (BARRIER_IN_THRESHOLD): New macro.
23272         * nptl/pthread_barrierattr_setpshared.c
23273         (pthread_barrierattr_setpshared): Clean up.
23274         * nptl/tst-barrier4.c: Correct comment.
23275         * nptl/tst-barrier5.c: New file.
23276         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
23277         (gen-as-const-headers): Remove lowlevelbarrier.sym.
23278         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
23279         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
23280         * nptl/lowlevelbarrier.sym: Remove.
23281         * nptl/DESIGN-barrier.txt: Remove.
23282         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
23283         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
23284         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
23285         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
23286         error.
23287         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
23288         implementation.
23290 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23292         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
23293         (do_child): Mask SIGRTMIN while thr is running.
23295 2016-01-15  Martin Sebor  <msebor@redhat.com>
23297         [BZ #19432]
23298         * iconvdata/Makefile: Add bug-iconv11.
23299         * iconvdata/bug-iconv11.c: New test.
23300         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
23301         * iconvdata/ibm933.c: Same.
23302         * iconvdata/ibm935.c: Same.
23303         * iconvdata/ibm937.c: Same.
23304         * iconvdata/ibm939.c: Same.
23306 2016-01-15  Martin Sebor  <msebor@redhat.com>
23308         [BZ #19443]
23309         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
23310         [DEBUG] (_ufc_set_bits): Declare used.
23311         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
23312         [DEBUG] (print_all): Declare used.
23313         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
23314         operands of the ternary ?: expression to target type.
23315         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
23316         calling the undeclared abort.
23317         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
23319 2016-01-15  Martin Sebor  <msebor@redhat.com>
23321         [BZ #18755]
23322         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
23323         warnings.
23324         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
23325         (__gai_create_helper_thread): Same.
23326         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
23327         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
23328         to suppress -Wmaybe-uninitialized warnings.
23330 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
23332         [BZ #19465]
23333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
23334         inside if.
23335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23336         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23337         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23339 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
23341         [BZ #19466]
23342         * time/tst-mktime2.c (time_t_max): Removed.
23343         (time_t_min): Likewise.
23344         (TYPE_SIGNED): New.
23345         (TYPE_MINIMUM): Likewise.
23346         (TYPE_MAXIMUM): Likewise.
23347         (TIME_T_MIN): Likewise.
23348         (TIME_T_MAX): Likewise.
23349         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
23350         and TIME_T_MIN.
23351         (do_test): Likewise.
23353 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
23355         [BZ #19467]
23356         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23357         index_Fast_Unaligned_Load flag for Excavator family CPUs.
23359 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
23361         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
23363 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
23365         * benchtests/Makefile (PYTHON): Define.
23366         (bench-func): Use $(PYTHON) to run python scripts.
23367         ($(objpfx)bench-%.c): Likewise.
23369 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
23371         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
23372         leading slash when `file_name' is "/".
23374 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
23376         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
23377         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
23378         Likewise.
23379         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
23380         Likewise.
23381         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
23382         Likewise.
23383         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
23384         enum constant and macro.
23385         (PTRACE_SETSIGMASK): Likewise.
23386         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23387         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23388         (PTRACE_GETSIGMASK): Likewise.
23389         (PTRACE_SETSIGMASK): Likewise.
23390         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23391         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
23392         Likewise.
23393         (PTRACE_SETSIGMASK): Likewise.
23394         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23395         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23396         (PTRACE_GETSIGMASK): Likewise.
23397         (PTRACE_SETSIGMASK): Likewise.
23398         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23399         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
23400         Likewise.
23401         (PTRACE_SETSIGMASK): Likewise.
23402         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23403         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
23404         Likewise.
23405         (PTRACE_SETSIGMASK): Likewise.
23406         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23407         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
23408         Likewise.
23409         (PTRACE_SETSIGMASK): Likewise.
23410         (PTRACE_SECCOMP_GET_FILTER): Likewise.
23412 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
23413             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23415         [BZ #19439]
23416         * math/bits/mathcalls.h
23417         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
23418         prototype.
23419         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
23421 2016-01-11  Andreas Schwab  <schwab@suse.de>
23423         [BZ #19253]
23424         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
23425         cache when TZDEFRULES was used.
23426         * time/tst-tzname.c: New file.
23427         * time/Makefile (test): Add tst-tzname.
23428         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
23429         * timezone/Makefile (test-zones): Add $(posixrules-file).
23430         ($(testdata)/$(posixrules-file)): New rule.
23432 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
23434         Fix doc quoting problems with Texinfo 5
23435         Without this change, in the info file output, Texinfo 5 quotes code
23436         in text with undirected single quotes 'like this' and generates
23437         code examples that with many PDF readers cannot be cut out of PDFs
23438         and pasted into code.
23439         * manual/libc.texinfo: Configure the libc manual like the GNU
23440         Emacs manual, by using @documentencoding and setting
23441         txicodequoteundirected and txicodequotebacktick.  This way,
23442         Texinfo 5 quotes code in text with directed single quotes ‘like
23443         this’ and produces examples that can be cut out of PDFs.  This
23444         change causes Texinfo 5 to generate info files that contain UTF-8
23445         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
23446         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
23448 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23450         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
23451         __libc_tabort, __libc_tend): New wrappers that enforce compiler
23452         barriers to their respective compiler built-ins.
23453         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
23454         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
23455         * sysdeps/powerpc/sysdep.h: Likewise.
23456         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
23457         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
23458         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
23460 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
23462         * scripts/config.guess: Revert previous shebang change.
23463         * scripts/config.sub: Likewise.
23464         * scripts/mkinstalldirs: Likewise.
23466 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23468         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
23469         PPC_FEATURE2_HAS_IEEE128.
23470         * sysdeps/powerpc/dl-procinfo.c:
23471         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
23473 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
23475         [BZ #19415]
23476         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
23477         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
23478         (_dl_lookup_address): Rewrite using function resolver trampoline.
23479         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
23480         two bits in address.
23482 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23484         * longlong.h: Change !__SHMEDIA__ to
23485         (!defined (__SHMEDIA__) || !__SHMEDIA__).
23486         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23488 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
23489             Joseph Myers  <joseph@codesourcery.com>
23490             Mark Shinwell  <shinwell@codesourcery.com>
23491             Andrew Stubbs  <ams@codesourcery.com>
23492             Rich Felker <dalias@libc.org>
23494         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
23496 2016-01-07  Richard Henderson  <rth@redhat.com>
23498         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
23500 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
23502         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
23503         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
23504         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23505         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23506         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
23508 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
23509             Joseph Myers  <joseph@codesourcery.com>
23511         * timezone/private.h: Update from tzcode 2015g.
23512         * timezone/tzfile.h: Likewise.
23513         * timezone/tzselect.ksh: Likewise.
23514         * timezone/zdump.c: Likewise.
23515         * timezone/zic.c: Likewise.
23516         * timezone/ialloc.c: Remove file.
23517         * timezone/scheck.c: Likewise.
23518         * timezone/Makefile (extra-objs): Remove variable.
23519         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
23520         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
23521         -Wno-maybe-uninitialized.
23522         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
23523         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
23524         (CFLAGS-ialloc.c): Remove variable.
23525         (CFLAGS-scheck.c): Likewise.
23526         * timezone/README: Update list of files from tzcode.
23528 2016-01-07  Khem Raj  <raj.khem@gmail.com>
23530         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
23531         instead of __fxprintf when _LIBC is undefined.
23533 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
23535         * catgets/test-gencat.sh: Remove space after shebang.
23536         * conform/GlibcConform.pm: Likewise.
23537         * conform/check-header-lists.sh: Likewise.
23538         * conform/conformtest.pl: Likewise.
23539         * conform/linknamespace.pl: Likewise.
23540         * conform/list-header-symbols.pl: Likewise.
23541         * debug/catchsegv.sh: Likewise.
23542         * elf/genrtldtbl.awk: Likewise.
23543         * elf/tst-pathopt.sh: Likewise.
23544         * elf/tst-rtld-load-self.sh: Likewise.
23545         * grp/tst_fgetgrent.sh: Likewise.
23546         * iconvdata/gen-8bit-gap-1.sh: Likewise.
23547         * iconvdata/gen-8bit-gap.sh: Likewise.
23548         * iconvdata/gen-8bit.sh: Likewise.
23549         * iconvdata/run-iconv-test.sh: Likewise.
23550         * intl/tst-gettext.sh: Likewise.
23551         * intl/tst-gettext2.sh: Likewise.
23552         * intl/tst-gettext4.sh: Likewise.
23553         * intl/tst-gettext6.sh: Likewise.
23554         * intl/tst-translit.sh: Likewise.
23555         * io/ftwtest-sh: Likewise.
23556         * libio/test-freopen.sh: Likewise.
23557         * locale/gen-translit.pl: Likewise.
23558         * malloc/tst-mtrace.sh: Likewise.
23559         * manual/check-safety.sh: Likewise.
23560         * manual/libc-texinfo.sh: Likewise.
23561         * manual/tsort.awk: Likewise.
23562         * manual/xtract-typefun.awk: Likewise.
23563         * nptl/tst-cancel-wrappers.sh: Likewise.
23564         * nptl/tst-tls6.sh: Likewise.
23565         * posix/globtest.sh: Likewise.
23566         * posix/tst-getconf.sh: Likewise.
23567         * posix/wordexp-tst.sh: Likewise.
23568         * scripts/check-c++-types.sh: Likewise.
23569         * scripts/check-local-headers.sh: Likewise.
23570         * scripts/config.guess: Likewise.
23571         * scripts/config.sub: Likewise.
23572         * scripts/cpp: Likewise.
23573         * scripts/cross-test-ssh.sh: Likewise.
23574         * scripts/documented.sh: Likewise.
23575         * scripts/evaluate-test.sh: Likewise.
23576         * scripts/gen-libc-abis: Likewise.
23577         * scripts/gen-sorted.awk: Likewise.
23578         * scripts/list-fixed-bugs.py: Likewise.
23579         * scripts/merge-test-results.sh: Likewise.
23580         * scripts/mkinstalldirs: Likewise.
23581         * scripts/rellns-sh: Likewise.
23582         * scripts/test-installation.pl: Likewise.
23583         * scripts/update-copyrights: Likewise.
23584         * stdio-common/tst-printf.sh: Likewise.
23585         * stdio-common/tst-unbputc.sh: Likewise.
23586         * stdlib/tst-fmtmsg.sh: Likewise.
23587         * stdlib/tst-setcontext3.sh: Likewise.
23588         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
23589         * sysdeps/unix/make-syscalls.sh: Likewise.
23591 2016-01-06  John David Anglin  <dave.anglin@bell.net>
23593         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
23594         asm stw with atomic_exchange_rel.  Add explanatory comment.
23595         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
23596         Likewise.
23598 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23600         [BZ #19122]
23601         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
23602         * sysdeps/generic/dl-unistd.h: New file.
23603         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
23605 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
23607          [BZ #19122]
23608          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
23609          * sysdeps/generic/dl-mman.h: New file.
23610          * sysdeps/mach/hurd/dl-mman.h: Likewise.
23612 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
23614         * manual/texinfo.tex: Update to version 2016-01-04.21 with
23615         trailing whitespace removed.
23616         * scripts/config.guess: Update to version 2016-01-01.
23617         * scripts/config.sub: Update to version 2016-01-01.
23618         * scripts/move-if-change: Update from gnulib.
23620 2016-01-04  Anton Blanchard  <anton@samba.org>
23622         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
23623         for array indices.
23624         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
23626 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
23628         * NEWS: Update copyright dates.
23629         * catgets/gencat.c (print_version): Likewise.
23630         * csu/version.c (banner): Likewise.
23631         * debug/catchsegv.sh: Likewise.
23632         * debug/pcprofiledump.c (print_version): Likewise.
23633         * debug/xtrace.sh (do_version): Likewise.
23634         * elf/ldconfig.c (print_version): Likewise.
23635         * elf/ldd.bash.in: Likewise.
23636         * elf/pldd.c (print_version): Likewise.
23637         * elf/sotruss.sh: Likewise.
23638         * elf/sprof.c (print_version): Likewise.
23639         * iconv/iconv_prog.c (print_version): Likewise.
23640         * iconv/iconvconfig.c (print_version): Likewise.
23641         * locale/programs/locale.c (print_version): Likewise.
23642         * locale/programs/localedef.c (print_version): Likewise.
23643         * login/programs/pt_chown.c (print_version): Likewise.
23644         * malloc/memusage.sh (do_version): Likewise.
23645         * malloc/memusagestat.c (print_version): Likewise.
23646         * malloc/mtrace.pl: Likewise.
23647         * manual/libc.texinfo: Likewise.
23648         * nptl/version.c (banner): Likewise.
23649         * nscd/nscd.c (print_version): Likewise.
23650         * nss/getent.c (print_version): Likewise.
23651         * nss/makedb.c (print_version): Likewise.
23652         * posix/getconf.c (main): Likewise.
23653         * scripts/test-installation.pl: Likewise.
23654         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23656         * All files with FSF copyright notices: Update copyright dates
23657         using scripts/update-copyrights.
23658         * intl/plural.c: Regenerated.
23659         * locale/programs/charmap-kw.h: Likewise.
23660         * locale/programs/locfile-kw.h: Likewise.
23662 2016-01-02  Helge Deller  <deller@gmx.de>
23664         [BZ #19285]
23665         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
23666         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
23667         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
23668         (MADV_xxK_PAGES): Remove.
23670 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
23672         [BZ #15421]
23673         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
23674         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
23675         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
23676         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
23678 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
23680         [BZ #19408]
23681         * sysdeps/unix/sysv/linux/personality.c: New file.
23682         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
23683         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
23684         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
23685         (sysdep_routines): Add personality.
23686         (tests): Add tst-personality.
23687         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
23688         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
23689         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
23690         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
23691         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
23692         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
23693         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
23694         Likewise.
23695         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
23696         Likewise.
23697         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
23698         Likewise.
23699         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
23700         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
23701         Likewise.
23703 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
23705         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
23706         (PATH_ARM_SYSTYPE): Remove.
23707         (PATH_CPUINFO): Likewise.
23708         (IO_BASE_FOOTBRIDGE): Likewise.
23709         (IO_SHIFT_FOOTBRIDGE): Likewise.
23710         (struct platform): Likewise.
23711         (init_iosys): Remove compatibility code for 2.4 kernels.
23712         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
23714 2015-12-29  Florian Weimer  <fweimer@redhat.com>
23716         * malloc/tst-malloc-thread-fail.c: New file.
23717         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
23718         (tst-malloc-thread-fail): Link against libpthread.
23720 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
23722         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
23723         (get_parser): New function.
23724         (main): New function.
23726 2015-12-29  Rob Wu  <rob@robwu.nl>
23728         [BZ #19369]
23729         * resolv/res_init.c (__res_vinit): Reset defdname before use.
23731 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
23733         [BZ #19270]
23734         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23736 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
23738         [BZ #15421]
23739         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
23741 2015-12-23  Torvald Riegel  <triegel@redhat.com>
23743         [BZ #13690]
23744         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
23745         after releasing it.
23746         (__lll_robust_unlock): Likewise.
23747         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
23748         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
23749         (lll_robust_unlock): Likewise.
23750         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
23751         Prevent warnings in callers.
23753 2015-12-23  Florian Weimer  <fweimer@redhat.com>
23755         * malloc/arena.c (list_lock): Update comment.
23757 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23759         * sysdeps/powerpc/hwcapinfo.c: Export symbol
23760         __parse_hwcap_and_convert_at_platform to libc.a.
23762 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23764         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
23765         platform and feature support for POWER9.
23766         * sysdeps/powerpc/dl-procinfo.h: Likewise.
23767         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
23768         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
23769         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
23770         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
23771         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
23772         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
23773         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
23775 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23777         Harmonize generic stdio-lock support with nptl
23779         This fixes build when _IO_funlockfile is a macro, fixes build where
23780         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
23781         stack unwind.
23783         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
23784         _IO_release_lock ): Use cleanup attribute on new
23785         _IO_acquire_lock_file variable instead of assuming that
23786         _IO_release_lock will be called.
23787         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
23788         _IO_acquire_lock_needs_exceptions_enabled.
23789         (_IO_acquire_lock_clear_flags2): New macro.
23791 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23793         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23795 2015-12-21  Florian Weimer  <fweimer@redhat.com>
23797         [BZ #19182]
23798         * malloc/arena.c (list_lock): Document lock ordering requirements.
23799         (free_list_lock): New lock.
23800         (ptmalloc_lock_all): Comment on free_list_lock.
23801         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
23802         (detach_arena): Update comment.  free_list_lock is now needed.
23803         (_int_new_arena): Use free_list_lock around detach_arena call.
23804         Acquire arena lock after list_lock.  Add comment, including FIXME
23805         about incorrect synchronization.
23806         (get_free_list): Switch to free_list_lock.
23807         (reused_arena): Acquire free_list_lock around detach_arena call
23808         and attached threads counter update.  Add two FIXMEs about
23809         incorrect synchronization.
23810         (arena_thread_freeres): Switch to free_list_lock.
23811         * malloc/malloc.c (struct malloc_state): Update comments to
23812         mention free_list_lock.
23814 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23816         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
23817         Remove functions.
23818         (sloww, sloww1): Accept argument to offset quadrant.
23819         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
23820         quadrant.
23821         (__sin, __cos): Consolidate common code into new functions.
23822         (reduce_sincos_1, do_sincos_1): New functions.
23823         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23825         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
23826         code to new functions.
23827         (reduce_sincos_2, do_sincos_2): New functions.
23828         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
23830         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
23831         common code for sincos.
23832         (__cos) [!IN_SINCOS]: Likewise.
23833         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
23834         New function.
23835         (__sincos): Use it.
23837 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
23839         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
23840         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
23841         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
23843 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
23845         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
23846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
23847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
23848         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
23849         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23850         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
23851         index_Prefer_No_VZEROUPPER): New feature.
23852         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
23853         Prefer_No_VZEROUPPER for Knights Landing.
23855 015-12-18  Torvald Riegel  <triegel@redhat.com>
23857         * math/atest-exp2.c (mp_exp_m1): Remove.
23859 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23861         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
23862         syscalls.
23863         (__SYSCALL0): New macro.
23864         (__SYSCALL1): Likewise.
23865         (__SYSCALL2): Likewise.
23866         (__SYSCALL3): Likewise.
23867         (__SYSCALL4): Likewise.
23868         (__SYSCALL5): Likewise.
23869         (__SYSCALL6): Likewise.
23870         (__SYSCALL_CONCAT_X): Likewise.
23871         (__SYSCALL_CONCAT): Likewise.
23872         (__SYSCALL_DIST): Likewise.
23873         (__SYSCALL_CALL): Likewise.
23875 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
23877         [BZ #19363]
23878         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
23880 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23882         [BZ #19375]
23883         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
23884         negative subnormals.
23886 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
23888         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23889         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
23890         (INTERNAL_SYSCALL_NCS): Use it.
23891         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23893 2015-12-16  Florian Weimer  <fweimer@redhat.com>
23895         [BZ #19243]
23896         * malloc/arena.c (get_free_list): Remove assert and adjust
23897         reference count handling.  Add comment about reused_arena
23898         interaction.
23899         (reused_arena): Add comments abount get_free_list interaction.
23900         * malloc/tst-malloc-thread-exit.c: New file.
23901         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
23902         (tst-malloc-thread-exit): Link against libpthread.
23904 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23906         [BZ #19367]
23907         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
23908         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
23909         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
23910         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
23911         (index_Prefer_MAP_32BIT_EXEC): Likewise.
23913 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
23915         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
23916         Silvermont optimizations for Knights Landing.
23918 2015-12-15  Andreas Schwab  <schwab@suse.de>
23920         [BZ #17197]
23921         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
23922         immediately after emitting SI.
23923         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
23924         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
23925         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
23926         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
23927         * iconvdata/bug-iconv10.c: New file.
23928         * iconvdata/Makefile (tests): Add bug-iconv10.
23929         ($(objpfx)bug-iconv10.out): New rule.
23931 2015-12-15  Florian Weimer  <fweimer@redhat.com>
23933         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
23934         aliasing violation.
23936 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
23938         [BZ #18472]
23939         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
23940         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
23941         conditionals for them.
23942         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
23943         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
23944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
23945         sys/kdaemon.h.
23946         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
23947         compat-only syscall, obsoleted in glibc 2.23.
23948         (create_module): Likewise.
23949         (get_kernel_syms): Likewise.
23950         (query_module): Likewise.
23951         (uselib): Likewise.
23952         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
23954 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
23956         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
23957         <linux/version.h>.
23958         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
23959         conditional code.
23960         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
23961         and ioshift_name initialization.
23963 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23965         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23966         Fix indentation.
23968 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23970         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
23972 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
23974         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
23976 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
23977             Jakub Wilk  <jwilk@debian.org>
23979         [BZ #19347]
23980         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
23981         to change the group of the device to the tty group.
23983 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
23985         Split large string section; add truncation advice
23986         * manual/examples/strncat.c: Remove.
23987         This example was misleading, as the code would have undefined
23988         behavior if "hello" was longer than SIZE.  Anyway, the manual
23989         shouldn't encourage strncpy+strncat for this sort of thing.
23990         * manual/string.texi (Copying Strings and Arrays): Split into
23991         three sections Copying Strings and Arrays, Concatenating Strings,
23992         and Truncating Strings, as this section was way too long.  All
23993         cross-referenced changed.  Add advice about string-truncation
23994         functions.  Remove misleading strncat example.
23996 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
23998         * manual/nss.texi (NSS Modules Interface): Document
23999         NSS_STATUS_NOTFOUND and SUCCESS.
24001 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24003         [BZ 18568]
24004         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24005         201505L, for Unicode 8.
24007 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
24009         * locale/C-translit.h: Regenerate.
24011 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24013         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24014         and U+0153.
24016 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
24018         [BZ #19351]
24019         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24020         expanding log(1+z), compare z rather than its square with epsilon
24021         to determine when to avoid evaluating the expansion.
24023         [BZ #19350]
24024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24025         Increase overflow threshold.
24027         [BZ #19349]
24028         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24029         when small.
24031         * sysdeps/unix/sysv/linux/i386/kernel-features.h
24032         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24033         New macro.
24034         [__LINUX_KERNEL_VERSION >= 0x040300]
24035         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24036         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24037         Likewise.
24038         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24039         Likewise.
24040         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24041         Likewise.
24042         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24043         Likewise.
24044         [__LINUX_KERNEL_VERSION >= 0x040300]
24045         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24046         [__LINUX_KERNEL_VERSION >= 0x040300]
24047         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24048         [__LINUX_KERNEL_VERSION >= 0x040300]
24049         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24050         [__LINUX_KERNEL_VERSION >= 0x040300]
24051         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24052         [__LINUX_KERNEL_VERSION >= 0x040300]
24053         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24054         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24055         Likewise.
24056         [__LINUX_KERNEL_VERSION >= 0x040300]
24057         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24058         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24059         Likewise.
24060         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24061         Likewise.
24062         [__LINUX_KERNEL_VERSION >= 0x040300]
24063         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24064         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24065         Likewise.
24066         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24067         Likewise.
24068         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24069         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
24070         Likewise.
24071         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
24072         Likewise.
24073         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24074         Likewise.
24075         [__LINUX_KERNEL_VERSION >= 0x040300]
24076         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24077         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24078         Likewise.
24079         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24080         Likewise.
24081         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24082         Likewise.
24083         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24084         Likewise.
24085         [__LINUX_KERNEL_VERSION >= 0x040300]
24086         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24087         [__LINUX_KERNEL_VERSION >= 0x040300]
24088         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24089         [__LINUX_KERNEL_VERSION >= 0x040300]
24090         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24091         [__LINUX_KERNEL_VERSION >= 0x040300]
24092         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24093         [__LINUX_KERNEL_VERSION >= 0x040300]
24094         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24095         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24096         Likewise.
24097         [__LINUX_KERNEL_VERSION >= 0x040300]
24098         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24099         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24100         Likewise.
24101         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24102         Likewise.
24103         [__LINUX_KERNEL_VERSION >= 0x040300]
24104         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24105         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
24106         Likewise.
24107         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
24108         Likewise.
24109         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24110         (__ASSUME_SOCKET_SYSCALL): Likewise.
24111         (__ASSUME_BIND_SYSCALL): Likewise.
24112         (__ASSUME_CONNECT_SYSCALL): Likewise.
24113         (__ASSUME_LISTEN_SYSCALL): Likewise.
24114         (__ASSUME_ACCEPT_SYSCALL): Likewise.
24115         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24116         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24117         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24118         (__ASSUME_SEND_SYSCALL): Likewise.
24119         (__ASSUME_SENDTO_SYSCALL): Likewise.
24120         (__ASSUME_RECV_SYSCALL): Likewise.
24121         (__ASSUME_RECVFROM_SYSCALL): Likewise.
24122         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
24123         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24124         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24125         (__ASSUME_SENDMSG_SYSCALL): Likewise.
24126         (__ASSUME_RECVMSG_SYSCALL): Likewise.
24127         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24128         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
24129         Likewise.
24130         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
24131         Likewise.
24132         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
24133         Likewise.
24134         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
24135         Likewise.
24136         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
24137         Likewise.
24138         [__LINUX_KERNEL_VERSION >= 0x020625]
24139         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24140         [__LINUX_KERNEL_VERSION >= 0x020625]
24141         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24142         [__LINUX_KERNEL_VERSION >= 0x020625]
24143         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24144         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
24145         Likewise.
24146         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
24147         Likewise.
24148         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
24149         Likewise.
24150         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
24151         Likewise.
24152         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
24153         Likewise.
24154         [__LINUX_KERNEL_VERSION >= 0x020625]
24155         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24156         [__LINUX_KERNEL_VERSION >= 0x020625]
24157         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24158         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
24159         Likewise.
24160         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
24161         Likewise.
24163 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24165         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
24166         record the current if the current ABI and CPU support the FP64
24167         extension.
24168         (has-modd-spreg): Define to record the current if the current ABI and
24169         CPU support 32-bit floating point values in odd FPU registers.
24170         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24171         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
24172         $(has-modd-spreg) equals yes.
24173         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
24174         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
24175         $(has-modd-spreg) equal yes.
24177 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
24179         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
24180         basename.
24182 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
24184         * benchtests/Makefile (bench-math): Move ffs and ffsll...
24185         (bench-string): ... here.
24186         (bench): Add bench-string.
24187         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
24188         to *-benchset to reflect what they are.
24189         (benchset): Adjust.
24191         * benchtests/sincos-inputs: Add inputs from sin-inputs and
24192         cos-inputs.
24194 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
24196         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
24197         __attribute__ ((__simd__)) for vector math function declarations.
24199 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24201         Fix typo in strncat, wcsncat manual entries
24202         * manual/string.texi (Copying and Concatenation): Fix typos in
24203         sample implementations of strncat and wcsncat, by having them use
24204         the old value of the destination length, not the new one.
24206 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
24208         [BZ #16961]
24209         [BZ #16962]
24210         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
24211         string on the stack for strtod.
24212         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
24213         a string on the stack for strtof.
24214         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
24215         constructing a string on the stack for strtold.
24216         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
24217         __strtold_nan to GLIBC_PRIVATE.
24218         * math/test-nan-overflow.c: New file.
24219         * math/test-nan-payload.c: Likewise.
24220         * math/Makefile (tests): Add test-nan-overflow and
24221         test-nan-payload.
24223 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
24225         Consistency about byte vs character in string.texi
24226         * manual/string.texi (String and Array Utilities):
24227         Distinguish more carefully among bytes, multibyte characters,
24228         and wide characters.  Use "byte" when talking about C 'char',
24229         to distinguish it more clearly from multibyte characters.
24230         Say "wide character" or "multibyte character" instead of
24231         "character", when a wide or multibyte character is intended.
24232         Similarly for "multibyte string" versus "string".
24233         Define these terms more carefully.
24235 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
24237         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
24238         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
24239         Likewise.
24240         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24241         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
24242         * sysdeps/sh/math_private.h: New file.
24243         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
24244         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
24245         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
24246         long double function name.
24247         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24248         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24249         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24250         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24251         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
24253         Remove __finitel, __isinfl, and __isnanl.
24254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24255         Likewise.
24256         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24258         Remove __finitel.
24259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24260         Likewise.
24261         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24263 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
24265         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
24266         installed libmvec_nonshared.a.
24268 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24270         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
24271         (sysdep_routines): Likewise.
24272         (sysdep-rtld-routines): Likewise.
24273         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
24274         [$(subdir) = nptl](tests-static): test-get_hwcap-static
24275         * sysdeps/powerpc/Versions: Added new
24276         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
24277         * sysdeps/powerpc/hwcapinfo.c: New file.
24278         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
24279         and parse hwcap, hwcap2 and platform number information.
24280         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
24281         to store HWCAP+HWCAP2 and platform number.
24282         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
24283         for HWCAP+HWCAP2 and platform number in the TCB.
24284         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
24285         the HWCAP, HWCAP2 and platform number in the TCB.
24286         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
24287         (TLS_INIT_TP): Included calls to add the hwcap and
24288         at_platform values in the TCB in TP initialization.
24289         (TLS_DEFINE_INIT_TP): Likewise.
24290         (THREAD_GET_HWCAP): New macro.
24291         (THREAD_SET_HWCAP): Likewise.
24292         (THREAD_GET_AT_PLATFORM): Likewise.
24293         (THREAD_SET_AT_PLATFORM): Likewise.
24294         * sysdeps/powerpc/powerpc32/dl-machine.h:
24295         (dl_platform_init): New function that calls
24296         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
24297         powerpc32.
24298         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
24299         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
24300         this functionality, static linking case.
24301         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
24302         linking case.
24303         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
24304         __parse_hwcap_and_convert_at_platform for the static linking case.
24305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
24306         Included the new __parse_hwcap_and_convert_at_platform symbol in the
24307         ABI list for GLIBC 2.23.
24308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
24309         Likewise.
24310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
24311         Likewise.
24313 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
24315         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
24316         * configure: Regenerate.
24317         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
24318         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
24320 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
24322         * iconvdata/ibm930.c: Add comment explaining encoding uses.
24323         * iconvdata/ibm933.c: Likewise.
24324         * iconvdata/ibm935.c: Likewise.
24325         * iconvdata/ibm937.c: Likewise.
24326         * iconvdata/ibm939.c: Likewise.
24328 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24330         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
24331         pthread_join.
24332         * nptl/tst-cancel21.c (tf): Likewise.
24334 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
24336         [BZ #19313]
24337         * bits/typesizes.h (__CPU_MASK_TYPE): New.
24338         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24339         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
24340         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
24341         Likewise.
24342         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
24343         Likewise.
24344         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
24345         Likewise.
24346         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
24347         Likewise.
24348         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
24349         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
24350         unsigned long int with __CPU_MASK_TYPE.
24352 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24354         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24356 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
24358         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
24359         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
24360         t512.x.
24361         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
24363 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
24365         [BZ #19214]
24366         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
24367         argument to return extended model.  Update family and model
24368         with extended family and model when family == 0x0f.
24369         (init_cpu_features): Updated.
24371 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24373         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
24374         signed off_t, so 32bit bigger than 2GiB values are fine actually.
24376         * sysdeps/mach/hurd/mmap64.c: New file.
24378 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
24380         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
24381         rights for its main user thread in NEWTASK.
24383 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
24385         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
24386         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
24388 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
24390         [BZ #14259]
24391         * Makeconfig: Rename localedir to complocaledir.
24392         Rename inst_localedir to inst_complocaledir.
24393         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
24394         * config.make.in: Use complocaledir and libc_cv_complocaledir.
24395         * configure.ac: Use libc_cv_complocaledir.
24396         * configure: Regenerate.
24397         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
24398         -DCOMPLOCALEDIR.
24399         * locale/findlocale.c: Use COMPLOCALEDIR.
24400         * locale/loadarchive.c: Likewise.
24401         * locale/programs/locale.c: Likewise.
24402         * locale/programs/localedef.c: Likewise.
24403         * locale/programs/locarchive.c: Likewise.
24404         * localedata/Makefile: Use inst_complocaledir.
24405         * sysdeps/gnu/configure: Regenerate.
24406         * sysdeps/hppa/configure: Regenerate.
24407         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
24408         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24410         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
24411         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
24412         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
24413         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
24415 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
24417         [BZ #19058]
24418         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
24419         AS_NEEDED.
24420         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
24421         workaround.
24422         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
24423         libmvec-static-only-routines): Added new file.
24424         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
24426 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24428         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
24429         of interrupted RPC instead of restoring it.
24431         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
24432         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
24433         libc_hidden_def.
24434         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
24435         into initialized data instead of common. Define rtld_hidden_data_def.
24436         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
24437         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
24438         libc_hidden_def.
24439         (if_freenameindex): Add libc_hidden_weak.
24440         (if_nameindex): Add libc_hidden_weak.
24441         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
24442         __open64.
24443         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
24444         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
24445         * sysdeps/mach/nanosleep.c: Include <time.h>
24446         (__nanosleep): Rename to __libc_nanosleep.
24447         (__nanosleep): Add weak_alias.
24448         (nanosleep): Update alias.
24450 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
24452         * stdlib/strtod_nan.c: New file.
24453         * stdlib/strtod_nan_double.h: Likewise.
24454         * stdlib/strtod_nan_float.h: Likewise.
24455         * stdlib/strtod_nan_main.c: Likewise.
24456         * stdlib/strtod_nan_narrow.h: Likewise.
24457         * stdlib/strtod_nan_wide.h: Likewise.
24458         * stdlib/strtof_nan.c: Likewise.
24459         * stdlib/strtold_nan.c: Likewise.
24460         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
24461         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
24462         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
24463         * wcsmbs/wcstod_nan.c: Likewise.
24464         * wcsmbs/wcstof_nan.c: Likewise.
24465         * wcsmbs/wcstold_nan.c: Likewise.
24466         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
24467         strtold_nan.
24468         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
24469         wcstof_nan.
24470         * include/stdlib.h (__strtof_nan): Declare and use
24471         libc_hidden_proto.
24472         (__strtod_nan): Likewise.
24473         (__strtold_nan): Likewise.
24474         (__wcstof_nan): Likewise.
24475         (__wcstod_nan): Likewise.
24476         (__wcstold_nan): Likewise.
24477         * include/wchar.h (____wcstoull_l_internal): Declare.
24478         * stdlib/strtod_l.c: Do not include <ieee754.h>.
24479         (____strtoull_l_internal): Remove declaration.
24480         (STRTOF_NAN): Define macro.
24481         (SET_MANTISSA): Remove macro.
24482         (STRTOULL): Likewise.
24483         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
24484         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
24485         (STRTOF_NAN): Define macro.
24486         (SET_MANTISSA): Remove macro.
24487         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
24488         (SET_MANTISSA): Remove macro.
24489         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
24490         macro.
24491         (SET_MANTISSA): Remove macro.
24492         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
24493         macro.
24494         (SET_MANTISSA): Remove macro.
24495         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
24496         (SET_MANTISSA): Remove macro.
24497         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
24498         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
24499         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
24501         [BZ #19266]
24502         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
24503         upper case and lower case letters inside NAN(), not using TOLOWER.
24504         * stdlib/tst-strtod-nan-locale-main.c: New file.
24505         * stdlib/tst-strtod-nan-locale.c: Likewise.
24506         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
24507         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
24508         Depend on $(gen-locales).
24509         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
24510         * wcsmbs/tst-wcstod-nan-locale.c: New file.
24511         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
24512         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
24513         Depend on $(gen-locales).
24514         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
24516 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
24518         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
24520         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
24522         __finitel, __isinfl, and __isnanl.
24523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
24524         Likewise.
24525         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
24526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
24527         __finitel.
24528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24529         Likewise.
24530         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24532 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24534         * malloc/memusage.c (me): Remove redundant getenv call.
24536 2015-10-24  Florian Weimer  <fweimer@redhat.com>
24538         [BZ #19143]
24539         [BZ #19164]
24540         * nptl/check-cpuset.h: Remove.
24541         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
24542         Remove CPU set size check.
24543         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
24544         Likewise.
24545         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
24546         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24547         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
24548         (__pthread_setaffinity_new): Remove CPU set size check.
24549         * sysdeps/unix/sysv/linux/sched_setaffinity.c
24550         (__kernel_cpumask_size): Remove.
24551         (__sched_setaffinity_new): Remove CPU set size check.
24552         * manual/threads.texi (Default Thread Attributes): Remove stale
24553         reference to check_cpuset_attr, determine_cpumask_size in comment.
24554         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
24555         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
24556         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
24557         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
24558         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
24559         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
24560         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
24561         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
24562         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
24563         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
24564         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
24565         skeleton test file.
24566         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
24567         tst-affinity-pid.
24569 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24571         * scripts/update-abilist.sh: New file.
24572         * Makefile (+subdir_targets): Add subdir_update-all-abi.
24573         * Makerules (update-all-abi-%, update-all-abi)
24574         (subdir_update-all-abi): New targets.
24575         * elf/Makefile (update-all-abi): New target.
24577 2015-11-24  Florian Weimer  <fweimer@redhat.com>
24579         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
24580         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
24581         (__libc_lock_define_initialized): Use it.
24582         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
24583         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
24584         * malloc/malloc.c (main_arena): Likewise.
24585         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24586         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
24588 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
24590         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24591         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
24592         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24593         (PTRACE_O_MASK): Update value.
24594         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
24595         New value in enum __ptrace_setoptions.
24596         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24597         (PTRACE_O_MASK): Update value.
24598         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24599         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24600         (PTRACE_O_MASK): Update value.
24601         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
24602         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24603         (PTRACE_O_MASK): Update value.
24604         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
24605         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
24606         (PTRACE_O_MASK): Update value.
24607         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
24608         New value in enum __ptrace_setoptions.
24609         (PTRACE_O_MASK): Update value.
24610         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
24611         New value in enum __ptrace_setoptions.
24612         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
24613         (PTRACE_O_MASK): Update value.
24615         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
24616         New macro.
24617         (PACKET_AUXDATA): Likewise.
24618         (PACKET_ORIGDEV): Likewise.
24619         (PACKET_VERSION): Likewise.
24620         (PACKET_HDRLEN): Likewise.
24621         (PACKET_RESERVE): Likewise.
24622         (PACKET_TX_RING): Likewise.
24623         (PACKET_LOSS): Likewise.
24624         (PACKET_VNET_HDR): Likewise.
24625         (PACKET_TX_TIMESTAMP): Likewise.
24626         (PACKET_TIMESTAMP): Likewise.
24627         (PACKET_FANOUT): Likewise.
24628         (PACKET_TX_HAS_OFF): Likewise.
24629         (PACKET_QDISC_BYPASS): Likewise.
24630         (PACKET_ROLLOVER_STATS): Likewise.
24631         (PACKET_FANOUT_DATA): Likewise.
24632         (PACKET_MR_UNICAST): Likewise.
24634         [BZ #19242]
24635         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
24636         (TOUPPER): Likewise.
24637         * stdlib/tst-strtol-locale-main.c: New file.
24638         * stdlib/tst-strtol-locale.c: Likewise.
24639         * stdlib/Makefile (tests): Add tst-strtol-locale.
24640         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
24641         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
24642         Depend on $(gen-locales).
24643         * wcsmbs/tst-wcstol-locale.c: New file.
24644         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
24645         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
24646         tr_TR.ISO-8859-9.
24647         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
24648         Depend on $(gen-locales).
24650 2015-11-20  Roland McGrath  <roland@hack.frob.com>
24652         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
24653         __glibc_likely instead of __builtin_expect.  After falling back to
24654         dyncode_create in a non-ET_DYN case, use the allocate_code_data
24655         system interface to register the code pages as occupied.
24657 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
24659         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24660         [!ARM_MATH_PRIVATE_H].
24661         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
24662         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24663         [!HPPA_MATH_PRIVATE_H].
24664         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
24665         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
24666         to [!I386_MATH_PRIVATE_H].
24667         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
24668         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
24669         Change guard to [!M68K_MATH_PRIVATE_H].
24670         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
24671         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
24672         guard to [!MICROBLAZE_MATH_PRIVATE_H].
24673         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
24674         macro.
24675         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24676         [!MIPS_MATH_PRIVATE_H].
24677         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
24678         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24679         [!NIO2_MATH_PRIVATE_H].
24680         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
24681         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
24682         [!TILE_MATH_PRIVATE_H].
24683         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
24685         [BZ #15421]
24686         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
24687         initialize with 0 and define as weak alias of __signgam.
24688         * include/math.h [!_ISOMAC] (__signgam): Declare.
24689         * math/Makefile (libm-calls): Add w_lgamma_compat.
24690         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
24691         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
24692         test-signgam-ullong-init.
24693         (tests-static): Add test-signgam-uchar-static,
24694         test-signgam-uchar-init-static, test-signgam-uint-static,
24695         test-signgam-uint-init-static, test-signgam-ullong-static and
24696         test-signgam-ullong-init-static.
24697         (CFLAGS-test-signgam-uchar.c): New variable.
24698         (CFLAGS-test-signgam-uchar-init.c): Likewise.
24699         (CFLAGS-test-signgam-uchar-static.c): Likewise.
24700         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
24701         (CFLAGS-test-signgam-uint.c): Likewise.
24702         (CFLAGS-test-signgam-uint-init.c): Likewise.
24703         (CFLAGS-test-signgam-uint-static.c): Likewise.
24704         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
24705         (CFLAGS-test-signgam-ullong.c): Likewise.
24706         (CFLAGS-test-signgam-ullong-init.c): Likewise.
24707         (CFLAGS-test-signgam-ullong-static.c): Likewise.
24708         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
24709         * math/Versions (libm): Add GLIBC_2.23.
24710         * math/lgamma-compat.h: New file.
24711         * math/test-signgam-main.c: Likewise.
24712         * math/test-signgam-uchar-init-static.c: Likewise.
24713         * math/test-signgam-uchar-init.c: Likewise.
24714         * math/test-signgam-uchar-static.c: Likewise.
24715         * math/test-signgam-uchar.c: Likewise.
24716         * math/test-signgam-uint-init-static.c: Likewise.
24717         * math/test-signgam-uint-init.c: Likewise.
24718         * math/test-signgam-uint-static.c: Likewise.
24719         * math/test-signgam-uint.c: Likewise.
24720         * math/test-signgam-ullong-init-static.c: Likewise.
24721         * math/test-signgam-ullong-init.c: Likewise.
24722         * math/test-signgam-ullong-static.c: Likewise.
24723         * math/test-signgam-ullong.c: Likewise.
24724         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
24725         wrapper of w_lgamma_main.c.
24726         * math/w_lgamma_compat.c: New file.
24727         * math/w_lgamma_compatf.c: Likewise.
24728         * math/w_lgamma_compatl.c: Likewise.
24729         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
24730         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24731         defining compatibility symbols.
24732         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
24733         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
24734         wrapper of w_lgammaf_main.c.
24735         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
24736         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24737         defining compatibility symbols.
24738         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
24739         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
24740         wrapper of w_lgammal_main.c.
24741         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
24742         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
24743         defining compatibility symbols.
24744         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
24745         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
24746         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
24747         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
24748         <lgamma-compat.h>.
24749         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
24750         (__ieee754_gamma): Define as alias.
24751         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
24752         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
24753         <lgamma-compat.h>.
24754         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
24755         (__ieee754_gammaf): Define as alias.
24756         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
24757         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
24758         <lgamma-compat.h>.
24759         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
24760         (__ieee754_gammal): Define as alias.
24761         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
24762         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
24763         <math/w_lgamma_compat.c>.
24764         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
24765         Define as alias of __lgamma_compat and use in defining lgammal.
24766         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
24767         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
24768         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
24769         (USE_AS_COMPAT): New macro.
24770         (LGAMMA_OLD_VER): Undefine and redefine.
24771         (lgammal): Do not define here.
24772         (gammal): Only define here if [GAMMA_ALIAS].
24773         * conform/linknamespace.pl (@whitelist): Remove signgam.
24774         * sysdeps/nacl/libm.abilist: Update.
24775         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24776         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24777         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
24778         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
24779         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24780         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24781         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
24782         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
24783         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24784         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
24785         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24786         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
24787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
24788         Likewise.
24789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24790         Likewise.
24791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24792         Likewise.
24793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
24794         Likewise.
24795         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24796         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24797         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
24798         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24799         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
24801         Likewise.
24802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
24803         Likewise.
24804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
24805         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24806         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24808 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24810         [BZ #16364]
24811         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
24812         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
24814 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24816         * sysdeps/s390/fpu/bits/mathinline.h:
24817         Use __asm__ [__volatile__] instead of asm [volatile].
24818         * sysdeps/s390/abort-instr.h: Likewise.
24819         * sysdeps/s390/atomic-machine.h: Likewise.
24820         * sysdeps/s390/bits/string.h: Likewise.
24821         * sysdeps/s390/dl-tls.h: Likewise.
24822         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24823         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24824         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24825         * sysdeps/s390/fpu/fesetround.c: Likewise.
24826         * sysdeps/s390/fpu/fpu_control.h: Likewise.
24827         * sysdeps/s390/fpu/s_fma.c: Likewise.
24828         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
24829         * sysdeps/s390/memusage.h: Likewise.
24830         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
24831         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
24832         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
24833         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
24834         * sysdeps/s390/nptl/tls.h: Likewise.
24835         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
24836         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24837         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24838         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
24839         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24840         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
24841         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
24842         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24843         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24844         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
24845         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
24846         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24847         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
24848         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
24849         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24850         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24851         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
24852         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
24853         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
24854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24855         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
24856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24857         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
24859 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24860             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24862         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
24863         Add lwarx hint, and use macro for acquire instruction.
24864         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24865         Likewise.
24866         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
24867         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
24868         update to use new atomic macros.
24870 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24872         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
24873         (__lll_trylock_elision): Fix setting of adapt_count.
24874         * sysdeps/unix/sysv/linux/powerpc/htm.h
24875         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
24876         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
24877         (_ABORT_SYSCALL): Renumber, and clarify definition.
24878         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
24880 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24882         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
24883         after system headers to prevent MIN/MAX redefinition.  Define
24884         HAVE_ALLOCA to preserve builtin alloca usage.
24886 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24888         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
24889         static and don't set or restore rounding.
24890         (__cos)[IN_SINCOS]: Likewise.
24891         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
24892         (__sincos): Set and restore rounding mode.  Remove check for infinite
24893         or NaN input.
24895         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
24897         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
24898         as used.
24900 2015-11-16  Florian Weimer  <fweimer@redhat.com>
24902         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
24904 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24906         * config.make.in (have-glob-dat-reloc): New.
24907         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
24908         target supports GLOB_DAT relocaton. AC_SUBST.
24909         * configure: Regenerated.
24910         * elf/Makefile (tests): Add tst-prelink.
24911         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24912         (tst-prelink-ENV): New.
24913         ($(objpfx)tst-prelink-conflict.out): Likewise.
24914         ($(objpfx)tst-prelink-cmp.out): Likewise.
24915         * sysdeps/x86/tst-prelink.c: Moved to ...
24916         * elf/tst-prelink.c: Here.
24917         * sysdeps/x86/tst-prelink.exp: Moved to ...
24918         * elf/tst-prelink.exp: Here.
24919         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
24920         (tst-prelink-ENV): Removed.
24921         ($(objpfx)tst-prelink-conflict.out): Likewise.
24922         ($(objpfx)tst-prelink-cmp.out): Likewise.
24923         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
24925 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
24927         [BZ #14551]
24928         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
24929         (__mpn_construct_long_double): If high part overflows to infinity,
24930         set errno and recompute overflowed result of the correct sign.
24931         * sysdeps/ieee754/ldbl-128ibm/Makefile
24932         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
24933         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
24934         $(libm).
24935         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
24937 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
24939         [BZ #15479]
24940         [BZ #19238]
24941         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
24942         floating-point state after first operation on input.  Restore full
24943         state rather than just rounding mode.
24944         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
24945         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
24946         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
24948         [BZ #19235]
24949         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
24950         add 0.5 to integer arguments.
24951         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
24952         Likewise.
24953         (.LC2): New object.
24955 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
24957         * scripts/pylintrc (reports): Set to no.
24959 2015-11-10  Roland McGrath  <roland@hack.frob.com>
24961         * elf/dl-load.c (open_verify): Take new argument FD.
24962         Skip __open call if passed FD is not -1.
24963         (_dl_map_object, open_path): Update callers.
24964         * elf/dl-sysdep-open.h: New file.
24965         * elf/dl-load.c: Include it.
24966         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
24967         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
24968         * sysdeps/nacl/dl-sysdep-open.h: New file.
24969         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
24970         from libc to rtld.
24972 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24974         [BZ #19228]
24975         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
24976         and restore full floating-point state.
24977         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24978         Likewise.
24979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
24980         Likewise.
24981         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
24982         Likewise.
24983         * math/test-nearbyint-except-2.c: New file.
24984         * math/Makefile (tests): Add test-nearbyint-except-2.
24986 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
24988         [BZ #19178]
24989         * sysdeps/x86/Makefile (tests): Add tst-prelink.
24990         (tst-prelink-ENV): New.
24991         ($(objpfx)tst-prelink-conflict.out): Likewise.
24992         ($(objpfx)tst-prelink-cmp.out): Likewise.
24993         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
24994         * sysdeps/x86/tst-prelink.c: New file.
24995         * sysdeps/x86/tst-prelink.exp: Likewise.
24997 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
24999         * math/auto-libm-test-in: Add another test of pow.
25000         * math/auto-libm-test-out: Regenerated.
25001         * math/libm-test.inc (pow_test_data): Add another test.
25003 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25005         [BZ #19219]
25006         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
25007         weak_alias to nearbyintl.
25009 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25011         * sysdeps/aarch64/bits/string.h: New file.
25012         (_STRING_ARCH_unaligned): Define.
25014 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25016         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25017         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25018         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25019         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25022 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
25024         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25025         for original name of the DSO.  Add it to the name list of the DSO
25026         if it is actually given.
25027         (_dl_map_object): Keep track of whether an audit module rewrote
25028         the file name.  If yes, pass the original name to
25029         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
25030         debugging is enabled, log the change of the file name.
25031         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25032         _dl_map_object_from_fd.
25033         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25034         * elf/tst-audit11.c: New file
25035         * elf/tst-auditmod11.c: New file.
25036         * elf/tst-audit11mod1.c: New file.
25037         * elf/tst-audit11mod2.c: New file.
25038         * elf/tst-audit11mod2.map: New file.
25039         * elf/tst-audit12.c: New file
25040         * elf/tst-auditmod12.c: New file.
25041         * elf/tst-audit12mod1.c: New file.
25042         * elf/tst-audit12mod2.c: New file.
25043         * elf/tst-audit12mod2.map: New file.
25044         * elf/tst-audit12mod3.c: New file.
25046 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25048         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25049         Don't create weak aliases,
25050         because versioned symbols are created later.
25051         * sysdeps/s390/s390-32/setjmp.S
25052         (setjmp, _setjmp): Remove weak and rename to an unique name
25053         in SHARED case due to existing versioned symbols.
25054         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25055         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25056         (getcontext): Create weak alias only in non SHARED case.
25057         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25059 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25061         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25062         (__ASSUME_*_SYSCALL) Define new macros.
25063         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25064         Remove socketcall syscalls.
25065         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
25066         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
25067         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
25068         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
25069         * sysdeps/unix/sysv/linux/send.c (__libc_send):
25070         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
25072 2015-11-09  Florian Weimer  <fweimer@redhat.com>
25074         [BZ #12926]
25075         Terminate process on invalid netlink response.
25076         * sysdeps/unix/sysv/linux/netlinkaccess.h
25077         (__netlink_assert_response): Declare.
25078         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
25079         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
25080         (sysdep_routines): Add netlink_assert_response.
25081         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
25082         __netlink_assert_response.
25083         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
25084         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
25085         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
25086         __netlink_assert_response.
25088 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25090         [BZ #19178]
25091         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
25092         (RTYPE_CLASS_PLT): Likewise.
25093         (RTYPE_CLASS_COPY): Likewise.
25094         (RTYPE_CLASS_TLS): Likewise.
25095         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
25096         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
25097         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
25098         DL_DEBUG_PRELINK.
25100 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
25102         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
25103         calls with argument -0.5.
25104         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
25106         * configure.ac (libc_cv_z_nodelete): Remove configure test.
25107         (libc_cv_z_nodlopen): Likewise.
25108         (libc_cv_z_initfirst): Likewise.
25109         * configure: Regenerated.
25111 2015-11-06  Florian Weimer  <fweimer@redhat.com>
25113         Simplify abilist format to be line-based.
25114         * scripts/abilist.awk: Collect descriptors in the descs variable.
25115         (emit): Write descs variable and sort it
25116         externally, with sort.
25117         * sysdeps/**/*.abilist: Convert to new format.
25119 2015-11-06  Mark Wielaard  <mjw@redhat.com>
25121         [BZ #11460]
25122         * io/Makefile (routines): Add fts64.
25123         (tests): Add tst-fts and tst-fts-lfs.
25124         (CFLAGS-fts64.c): New.
25125         * io/Versions (GLIBC_2.23): New.
25126         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
25127         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
25128         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
25129         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
25130         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
25131         (FTSENT64): Likewise.
25132         (fts64_children): Likewise.
25133         (fts64_close): Likewise.
25134         (fts64_open): Likewise.
25135         (fts64_read): Likewise.
25136         (fts64_set): Likewise.
25137         * io/fts64.c: New file.
25138         * io/tst-fts.c: New test.
25139         * io/tst-fts-lfs.c: Likewise.
25140         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
25141         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
25142         fts64_set.
25143         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
25144         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
25145         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
25146         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
25147         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
25148         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
25149         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
25150         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
25151         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
25152         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
25153         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
25154         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
25155         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
25157         Likewise.
25158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
25159         Likewise.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
25161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
25162         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
25163         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
25164         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
25165         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
25166         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
25167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
25168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
25169         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25170         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
25171         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
25172         * sysdeps/wordsize-64/fts.c: New file.
25173         * sysdeps/wordsize-64/fts64.c: Likewise.
25174         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
25175         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
25176         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
25177         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
25179 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25181         * math/libm-test.inc (NON_FINITE): New macro.
25182         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
25183         * math/gen-libm-test.pl (show_exceptions): Add argument
25184         $non_finite.
25185         (parse_args): Update call to show_exceptions.
25186         * math/test-math-finite.h: New file.
25187         * math/test-math-no-finite.h: Likewise.
25188         * math/test-double-finite.c: Likewise.
25189         * math/test-float-finite.c: Likewise.
25190         * math/test-ldouble-finite.c: Likewise.
25191         * math/test-double.c: Include "test-math-no-finite.h".
25192         * math/test-float.c: Include "test-math-no-finite.h".
25193         * math/test-ldouble.c: Include "test-math-no-finite.h".
25194         * math/test-math-inline.h (TEST_FINITE): New macro.
25195         * math/test-math-vector.h (TEST_FINITE): Likewise.
25196         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
25197         (libm-tests): Add test-float-finite and test-double-finite.
25198         ($(objpfx)test-float-finite.o): New dependency on
25199         $(objpfx)libm-test.stmp.
25200         ($(objpfx)test-double-finite.o): Likewise.
25201         ($(objpfx)test-ldouble-finite.o): Likewise.
25202         (libm-test-no-inline-cflags): New variable.
25203         (libm-test-finite-cflags): Likewise.
25204         (CFLAGS-test-float-finite.c): Likewise.
25205         (CFLAGS-test-double-finite.c): Likewise.
25206         (CFLAGS-test-ldouble-finite.c): Likewise.
25207         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
25208         (CFLAGS-test-double.c): Likewise.
25209         (CFLAGS-test-ldouble.c): Likewise.
25211 2015-11-05  Roland McGrath  <roland@hack.frob.com>
25213         * io/fcntl.c (__fcntl): Add ... to prototype.
25214         * misc/ioctl.c (__ioctl): Likewise.
25215         * misc/syscall.c (syscall): Likewise.
25217 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
25219         * scripts/list-fixed-bugs.py: New file.
25221         [BZ #19213]
25222         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
25223         returned for argument 1.
25224         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
25225         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
25226         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
25227         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
25228         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
25229         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
25231         [BZ #19211]
25232         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
25233         __USE_XOPEN], not if [!__USE_ISOC99].
25234         (lgammaf): Likewise.
25235         (lgammal): Likewise.
25236         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
25237         (gammaf): Likewise.
25238         (gammal): Likewise.
25239         * math/test-signgam-finite-c11.c: New file.
25240         * math/test-signgam-finite-c99.c: Likewise.
25241         * math/test-signgam-finite.c: Likewise.
25242         * math/Makefile (tests): Add test-signgam-finite,
25243         test-signgam-finite-c99 and test-signgam-finite-c11.
25244         (CFLAGS-test-signgam-finite.c): New variable.
25245         (CFLAGS-test-signgam-finite-c99.c): Likewise.
25246         (CFLAGS-test-signgam-finite-c11.c): Likewise.
25248         [BZ #19212]
25249         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
25250         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
25251         500].
25252         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
25253         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
25254         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
25255         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
25256         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
25257         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
25258         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
25259         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
25260         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
25261         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
25263         [BZ #19209]
25264         * math/bits/math-finite.h (ldexp): Remove declaration.
25265         (ldexpf): Likewise.
25266         (ldexpl): Likewise.
25268         [BZ #19205]
25269         * math/bits/math-finite.h (acosf): Condition declaration on
25270         [__USE_ISOC99].
25271         (acosl): Likewise.
25272         (acoshf): Likewise.
25273         (acoshl): Likewise.
25274         (asinf): Likewise.
25275         (asinl): Likewise.
25276         (atan2f): Likewise.
25277         (atan2l): Likewise.
25278         (atanhf): Likewise.
25279         (atanhl): Likewise.
25280         (coshf): Likewise.
25281         (coshl): Likewise.
25282         (expf): Likewise.
25283         (expl): Likewise.
25284         (fmodf): Likewise.
25285         (fmodl): Likewise.
25286         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
25287         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
25288         (j0l): Likewise.
25289         (y0f): Likewise.
25290         (y0l): Likewise.
25291         (j1f): Likewise.
25292         (j1l): Likewise.
25293         (y1f): Likewise.
25294         (y1l): Likewise.
25295         (jnf): Likewise.
25296         (jnl): Likewise.
25297         (ynf): Likewise.
25298         (ynl): Likewise.
25299         (lgammaf_r): Condition declaration on [__USE_ISOC99].
25300         (lgammal_r): Likewise.
25301         (__lgamma_r_finite): New declaration.
25302         (__lgammaf_r_finite): Likewise.
25303         (__lgammal_r_finite): Likewise.
25304         (lgamma): Use __lgamma_r_finite.
25305         (lgammaf): Condition definition on [__USE_ISOC99].  Use
25306         __lgammaf_r_finite.
25307         (lgammal): Condition definition on [__USE_ISOC99].  Use
25308         __lgammal_r_finite.
25309         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
25310         __lgamma_r_finite.
25311         (gammaf): Condition definition on [__USE_ISOC99].  Use
25312         __lgammaf_r_finite.
25313         (gammal): Condition definition on [__USE_ISOC99].  Use
25314         __lgammal_r_finite.
25315         (logf): Condition declaration on [__USE_ISOC99].
25316         (logl): Likewise.
25317         (log10f): Likewise.
25318         (log10l): Likewise.
25319         (ldexpf): Likewise.
25320         (ldexpl): Likewise.
25321         (powf): Likewise.
25322         (powl): Likewise.
25323         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
25324         __USE_ISOC99].
25325         (remainderf): Condition declaration on [__USE_ISOC99].
25326         (remainderl): Likewise.
25327         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
25328         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
25329         (scalbl): Likewise.
25330         (sinhf): Condition declaration on [__USE_ISOC99].
25331         (sinhl): Likewise.
25332         (sqrtf): Likewise.
25333         (sqrtl): Likewise.
25335 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25337         * sysdeps/arm/atomic-machine.h
25338         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25339         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25340         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
25341         Remove conditional code.
25342         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
25343         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
25344         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
25345         Change conditional to [__ASSEMBLER__].
25346         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25347         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
25348         [!__ASSEMBLER__].
25349         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
25350         code.
25351         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
25352         conditional macro definitions.
25353         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
25354         (__arch_compare_and_exchange_val_16_acq): Likewise.
25355         (__arch_compare_and_exchange_val_32_acq): Likewise.
25356         (atomic_exchange_and_add): Likewise.
25357         (atomic_add): Likewise.
25358         (atomic_add_negative): Likewise.
25359         (atomic_add_zero): Likewise.
25360         (atomic_bit_set): Likewise.
25361         (atomic_bit_test_set): Likewise.
25362         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
25363         code unconditional.
25364         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25366         * math/test-math-errno.h: New file.
25367         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
25368         empty.
25369         (TEST_ERRNO): New macro.
25370         (TEST_EXCEPTIONS): Likewise.
25371         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
25372         (TEST_EXCEPTIONS): Likewise.
25373         * math/test-math-vector.h (TEST_ERRNO): Likewise.
25374         * math/test-double.c: Include "test-math-errno.h".
25375         * math/test-float.c: Likewise.
25376         * math/test-ldouble.c: Likewise.
25377         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
25378         code unconditional.
25379         (test_exceptions): Only run code if TEST_EXCEPTIONS.
25380         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
25381         unconditional.
25382         (test_errno): Only run code if TEST_ERRNO.
25383         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
25385 2015-11-04  Florian Weimer  <fweimer@redhat.com>
25387         * nptl/tst-once5.cc: Remove attribution.
25389 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
25391         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
25392         sqrt, tan, tanh, y0, y1 and yn.
25393         * math/auto-libm-test-out: Regenerated.
25394         * math/libm-test.inc (scalb_test_data): Add more tests.
25395         (scalbn_test_data): Likewise.
25396         (scalbln_test_data): Likewise.
25397         (signbit_test_data): Likewise.
25398         (sin_test_data): Likewise.
25399         (sincos_test_data): Likewise.
25400         (sinh_test_data): Likewise.
25401         (sqrt_test_data): Likewise.
25402         (tan_test_data): Likewise.
25403         (tanh_test_data): Likewise.
25404         (tgamma_test_data): Likewise.
25405         (y0_test_data): Likewise.
25406         (y1_test_data): Likewise.
25407         (yn_test_data): Likewise.
25408         (significand_test_data): Likewise.
25409         * sysdeps/i386/fpu/libm-test-ulps: Update.
25411 2015-11-03  David Kastrup  <dak@gnu.org>
25413         [BZ #18604]
25414         * assert/assert.h (assert): Don't macro-expand failed assertion
25415         expression in error message.
25416         * malloc/malloc.c (assert): Likewise.
25418 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
25420         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
25421         test.
25422         * configure: Regenerated.
25424 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
25426         * math/libm-test.inc (modf_test_data): Add more tests.
25427         (nearbyint_test_data): Likewise.
25428         (nextafter_test_data): Likewise.
25429         (nexttoward_test_data): Likewise.
25430         (pow_test_data): Likewise.
25431         (remainder_test_data): Likewise.
25432         (remquo_test_data): Likewise.
25433         (rint_test_data): Likewise.
25435         [BZ #19201]
25436         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25437         Check for zero remainder in case of large exponents and ensure
25438         correct sign of result in that case.
25439         * math/libm-test.inc (remainder_test_data): Add more tests.
25441         [BZ #6799]
25442         * math/s_nextafter.c: Include <errno.h>.
25443         (__nextafter): Set errno on overflow and underflow.
25444         * math/s_nexttowardf.c: Include <errno.h>.
25445         (__nexttowardf): Set errno on overflow and underflow.
25446         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
25447         (__nextafterl): Set errno on overflow and underflow.
25448         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
25449         (__nexttoward): Set errno on overflow and underflow.
25450         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
25451         (__nexttowardf): Set errno on overflow and underflow.
25452         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
25453         (__nextafterf): Set errno on overflow and underflow.
25454         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
25455         (__nextafterl): Set errno on overflow and underflow.
25456         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
25457         (__nexttoward): Set errno on overflow and underflow.
25458         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
25459         (__nexttowardf): Set errno on overflow and underflow.
25460         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
25461         (__nextafterl): Set errno on overflow and underflow.
25462         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
25463         (__nexttoward): Set errno on overflow and underflow.
25464         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
25465         (__nexttowardf): Set errno on overflow and underflow.
25466         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
25467         (__nexttoward): Set errno on overflow and underflow.
25468         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
25469         (__nexttowardf): Set errno on overflow and underflow.
25470         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
25471         (__nldbl_nexttowardf): Set errno on overflow and underflow.
25472         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
25473         (__nextafterl): Set errno on overflow and underflow.
25474         * math/libm-test.inc (nextafter_test_data): Do not allow errno
25475         setting to be missing on overflow.  Add more tests.
25476         (nexttoward_test_data): Likewise.
25478         * configure.ac (libc_cv_initfini_array): Remove configure test.
25479         * configure: Regenerated.
25481 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
25483         [BZ #19189]
25484         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
25485         non-finite argument handle arguments with negative sign.
25487         * math/libm-test.inc (j0_test_data): Do not test sign of zero
25488         result from infinite argument.
25489         (j1_test_data): Likewise.
25490         (jn_test_data): Likewise.
25491         (y0_test_data): Likewise.
25492         (y1_test_data): Likewise.
25493         (yn_test_data): Likewise.
25495         [BZ #16171]
25496         * math/w_remainder.c (drem): Define as weak alias of __remainder.
25497         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
25498         * math/w_remainderf.c (dremf): Define as weak alias of
25499         __remainderf.
25500         * math/w_remainderl.c (dreml): Define as weak alias of
25501         __remainderl.
25502         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
25503         __remainder.
25504         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
25505         __remainderf.
25506         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
25507         __remainderl.
25508         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
25509         weak alias of remainderl.
25510         * sysdeps/ieee754/ldbl-opt/w_remainder.c
25511         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
25512         alias of __remainder.
25513         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
25514         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
25515         strong alias of __remainderl.
25516         (dreml): Use long_double_symbol.
25517         * math/Makefile (libm-calls): Remove w_drem.
25518         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
25519         (CFLAGS-nldbl-drem.c): Remove variable.
25520         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
25521         * math/w_drem.c: Remove file.
25522         * math/w_dremf.c: Likewise.
25523         * math/w_dreml.c: Likewise.
25524         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
25525         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
25526         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
25528         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
25529         * sysdeps/i386/configure: Regenerated.
25530         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
25531         * sysdeps/x86_64/configure: Regenerated.
25533         * configure.ac (libc_cv_asm_protected_directive): Remove configure
25534         test.
25535         (libc_cv_visibility_attribute): Likewise.
25536         (libc_cv_protected_data): Test unconditionally.
25537         (libc_cv_broken_visibility_attribute): Remove configure test.
25538         (libc_cv_have_sdata_section): Test unconditionally.
25539         * configure: Regenerated.
25541         * include/libc-internal.h (libc_max_align_t): Remove typedef.
25542         * include/scratch_buffer.h: Include <stddef.h> instead of
25543         <libc-internal.h>.
25544         (struct scratch_buffer): Use max_align_t instead of
25545         libc_max_align_t.
25547 2015-10-29  Florian Weimer  <fweimer@redhat.com>
25549         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
25550         instead of extend_alloca.  Change control flow to avoid a goto.
25551         Remove assert which is trivially always true.
25553 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25555         [BZ #16068]
25556         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
25557         (FE_ALL_EXCEPT_X86): New macro.
25558         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25559         FE_ALL_EXCEPT.  Ensure precision control is included in
25560         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25561         handle "denormal operand exception" and clear FZ and DAZ bits.
25562         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
25563         (FE_ALL_EXCEPT_X86): New macro.
25564         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
25565         FE_ALL_EXCEPT.  Ensure precision control is included in
25566         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
25567         handle "denormal operand exception" and clear FZ and DAZ bits.
25568         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
25569         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
25570         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25571         test-fenv-x87 and test-fenv-sse-2.
25572         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
25574         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
25575         * math/test-double.h (BUILD_COMPLEX): New macro.
25576         * math/test-float.h (BUILD_COMPLEX): Likewise.
25577         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
25579         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
25580         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
25581         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
25582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
25583         instead of DBL_DENORM_MIN in comment.
25584         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
25585         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25586         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
25587         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
25588         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
25589         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
25591 2015-10-28  Florian Weimer  <fweimer@redhat.com>
25593         [BZ #19048]
25594         * malloc/malloc.c (struct malloc_state): Update comment.  Add
25595         attached_threads member.
25596         (main_arena): Initialize attached_threads.
25597         * malloc/arena.c (list_lock): Update comment.
25598         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
25599         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
25600         (deattach_arena): New function.
25601         (_int_new_arena): Initialize arena reference count and deattach
25602         replaced arena.
25603         (get_free_list, reused_arena): Update reference count and deattach
25604         replaced arena.
25605         (arena_thread_freeres): Update arena reference count and only put
25606         unreferenced arenas on the free list.
25608 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25610         [BZ #19181]
25611         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
25612         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
25613         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
25614         * math/test-fenv-clear-main.c: New file.
25615         * math/test-fenv-clear.c: Likewise.
25616         * math/Makefile (tests): Add test-fenv-clear.
25617         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
25618         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
25619         test-fenv-clear-sse.
25620         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
25622         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
25623         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
25624         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
25626 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25628         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
25629         static libc.
25631 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
25633         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
25634         test.
25635         * sysdeps/i386/configure: Regenerated.
25636         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
25637         test.
25638         * sysdeps/x86_64/configure: Regenerated.
25639         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
25640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25641         memset-avx2 unconditionally instead of conditionally on
25642         [$(config-cflags-avx2) = yes].
25643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25644         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
25645         unconditional.
25646         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
25647         * sysdeps/x86_64/multiarch/memset_chk.S
25648         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
25649         to [IS_IN (libc) && SHARED].
25651 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25653         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
25654         configure test.
25655         * sysdeps/arm/configure: Regenerated.
25656         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
25657         Define variable if not already defined.
25659         [BZ #17404]
25660         * sysdeps/mips/atomic-machine.h
25661         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
25662         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
25663         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
25665         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
25666         unconditional.
25667         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
25668         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25669         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
25670         unconditional.
25671         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25672         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
25673         unconditional.
25674         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25675         * stdlib/setenv.c
25676         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
25677         code unconditional.
25678         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
25679         Remove conditional code.
25680         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
25681         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
25682         unconditional.
25683         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25684         code.
25685         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
25686         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
25687         unconditional.
25688         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25689         code.
25690         * sysdeps/ieee754/ldbl-128/k_tanl.c
25691         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25692         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25693         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
25694         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25695         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25696         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
25697         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
25698         unconditional.
25699         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
25700         code.
25701         * sysdeps/ieee754/ldbl-96/k_tanl.c
25702         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
25703         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
25705         * nptl/tst-initializers1-c11.c: New file.
25706         * nptl/tst-initializers1-gnu11.c: Likewise.
25707         * nptl/Makefile (tests): Add these new tests.
25708         (CFLAGS-tst-initializers1-c11.c): New variable.
25709         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
25711         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
25712         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
25713         instead of -std=gnu99.
25714         * configure.ac (systemtap): Test with -std=gnu11 instead of
25715         -std=gnu99.
25716         * configure: Regenerated.
25717         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
25718         in compilation command in comment.
25720         * sysdeps/nptl/configure.ac: Remove file.
25721         * sysdeps/nptl/configure: Remove generated file.
25722         * configure.ac (libc_cv_forced_unwind): Do not substitute.
25723         * configure: Regenerated.
25724         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
25725         * config.make.in (have-forced-unwind): Remove variable.
25726         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25727         unconditional.
25728         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
25729         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
25730         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
25731         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
25732         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
25733         unconditional.
25735 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25737         [BZ #19174]
25738         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
25739         .skip_lock_out_of_tbegin_retries.
25740         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25741         (__lll_lock_elision): Likewise, and respect a value of
25742         try_tbegin <= 0.
25744 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25746         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
25747         statement.
25749 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25751         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
25752         variable.
25753         (test-xfail-ISO11/stdalign.h/conform): Likewise.
25754         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25756         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
25757         of -std=c1x -D_ISOC11_SOURCE.
25759         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
25760         * configure: Regenerated.
25761         * manual/install.texi (Tools for Compilation): Document
25762         requirement for GCC 4.7 or later.
25763         * INSTALL: Regenerated.
25765 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
25767         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
25768         on CNT to a conditional jump to 'puntdata'.
25770 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
25772         * configure.ac (libc_cv_gcc___thread): Remove configure test.
25773         (libc_cv_gcc_tls_model_attr): Likewise.
25774         * configure: Regenerated.
25776         * configure.ac (libc_cv_need_minus_P): Remove configure test.
25777         * configure: Regenerated.
25778         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
25780 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
25782         * configure.ac (old_glibc_headers): Remove configure test.
25783         * configure: Regenerated.
25784         * config.make.in (old-glibc-headers): Remove variable.
25785         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
25786         (install): Remove dependency on remove-old-headers.
25787         (headers2_0): Remove variable.
25788         (remove-old-headers): Remove rule.
25790         * configure.ac (libc_cv_dot_text): Remove configure test.
25791         (libc_cv_asm_set_directive): Use .text instead of
25792         ${libc_cv_dot_text} in configure test.
25793         * configure: Regenerated.
25795 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25797         [BZ #19168]
25798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25800 2015-10-26  Florian Weimer  <fweimer@redhat.com>
25802         * configure.ac (CXX): Clear the variable if the C++ toolchain does
25803         not support static linking.
25804         * configure: Regenerate.
25806 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
25808         * math/libm-test.inc (check_float_internal): Do not special-case
25809         errors up to 0.5 ulp.
25811         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25812         log2.
25813         * math/auto-libm-test-out: Regenerated.
25814         * math/libm-test.inc (MAX_EXP): New macro.
25815         (ilogb_test_data): Add more tests.
25816         (isfinite_test_data): Likewise.
25817         (isgreater_test_data): Likewise.
25818         (isgreaterequal_test_data): Likewise.
25819         (isinf_test_data): Likewise.
25820         (isless_test_data): Likewise.
25821         (islessequal_test_data): Likewise.
25822         (islessgreater_test_data): Likewise.
25823         (isnan_test_data): Likewise.
25824         (isnormal_test_data): Likewise.
25825         (issignaling_test_data): Likewise.
25826         (isunordered_test_data): Likewise.
25827         (j0_test_data): Likewise.
25828         (j1_test_data): Likewise.
25829         (jn_test_data): Likewise.
25830         (lgamma_test_data): Likewise.
25831         (log_test_data): Likewise.
25832         (log10_test_data): Likewise.
25833         (log1p_test_data): Likewise.
25834         (log2_test_data): Likewise.
25835         (logb_test_data): Likewise.
25836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25838         [BZ #18611]
25839         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
25840         avoid excess range and precision on underflow.
25841         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25842         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
25843         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25844         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
25845         underflow.
25846         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25847         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25848         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25849         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25850         * math/auto-libm-test-in: Do not allow missing errno setting for
25851         tests of j1 and jn.
25852         * math/auto-libm-test-out: Regenerated.
25854 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
25856         [BZ #15491]
25857         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
25858         floating-point environment instead of clearing all exceptions.
25859         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
25860         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
25861         merging in "invalid" exceptions from frndint.
25862         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
25863         * math/test-nearbyint-except.c: New file.
25864         * math/Makefile (tests): Add test-nearbyint-except.
25866 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
25868         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
25870         * sysdeps/tile/libm-test-ulps: Regenerated.
25872 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
25875         (__NR_sync_file_range2): Assume it is always defined.
25876         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25877         (__NR_sync_file_range): Assume it is always defined.
25879 2015-10-22  Andreas Schwab  <schwab@suse.de>
25881         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
25882         INTERNAL_SYSCALL_ERRNO.
25883         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25884         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
25885         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25886         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
25887         Likewise.
25888         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25890 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25892         * io/tst-fcntl.c (fd): New static variable.
25893         (do_prepare): Open temporary file here....
25894         (do_test): ...not here.
25896         * io/ftwtest-sh: Also trap on exit to remove temporary files.
25898 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25900         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
25901         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25902         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25903         Moved before "#ifdef __ASSEMBLER__".
25905 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25907         [BZ #19156]
25908         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
25909         arguments very close to 0.
25911 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
25913         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
25914         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
25916 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
25918         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
25919         New.  Defined for GCC 5 and above when not compiling for
25920         profiling.
25921         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
25923         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
25924         Renamed to ...
25925         (CFLAGS-epoll_pwait.o): This.
25926         (CFLAGS-mmap.c): Renamed to ...
25927         (CFLAGS-mmap.o): This.
25928         (CFLAGS-mmap64.c): Renamed to ...
25929         (CFLAGS-mmap64.o): This.
25930         (CFLAGS-epoll_pwait.os): New.
25931         (CFLAGS-mmap.os): Likewise.
25932         (CFLAGS-mmap64.os): Likewise.
25933         (CFLAGS-semtimedop.os): Likewise.
25934         (CFLAGS-semtimedop.c): Renamed to ...
25935         (CFLAGS-semtimedop.o): This.
25937 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25939         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
25940         warning message.
25942 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
25944         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
25945         * Makefile ($(objpfx)c++-types-check.out): Filter out
25946         $(+gccwarn-c) instead of -Wstrict-prototypes.
25948         * io/fts.c (fts_open): Convert to prototype-style function
25949         definition.
25950         * malloc/mcheck.c (mcheck): Likewise.
25951         (mcheck_pedantic): Likewise.
25952         * posix/regexec.c (re_search_2_stub): Likewise.  Use
25953         internal_function.
25954         (re_search_internal): Likewise.
25955         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
25956         prototype-style function definition.
25957         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25958         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
25959         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
25960         (xdr_utmpptr): Likewise.
25961         (xdr_utmparr): Likewise.
25962         (xdr_utmpidle): Likewise.
25963         (xdr_utmpidleptr): Likewise.
25964         (xdr_utmpidlearr): Likewise.
25966         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
25967         log, log10 and log2.
25968         * math/auto-libm-test-out: Regenerated.
25969         * math/libm-test.inc (fmod_test_data): Add more tests.
25970         (fpclassify_test_data): Likewise.
25971         (frexp_test_data): Likewise.
25972         (hypot_test_data): Likewise.
25973         (ilogb_test_data): Likewise.
25975 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
25977         * debug/fortify_fail.c (__fortify_fail): Convert to
25978         prototype-style function definition.  Use internal_function.
25979         * libio/genops.c (save_for_backup): Convert to prototype-style
25980         function definition.
25981         * libio/wgenops.c (save_for_wbackup): Likewise.
25982         * login/grantpt.c (grantpt): Likewise.
25983         * login/ptsname.c (ptsname): Likewise.
25984         (__ptsname_r): Likewise.
25985         * login/unlockpt.c (unlockpt): Likewise.
25986         * mach/msgserver.c (__mach_msg_server): Likewise.
25987         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
25988         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
25989         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
25990         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
25991         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
25992         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
25993         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
25994         Likewise.
25995         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
25996         internal_function.
25997         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
25998         prototype-style function definition.
25999         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
26000         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
26001         (__pthread_create_2_0): Likewise.
26002         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
26003         * nptl/register-atfork.c (__register_atfork): Likewise.
26004         * posix/glob.c (glob): Likewise.
26005         * posix/regcomp.c (re_comp): Likewise.
26006         * posix/regexec.c (re_exec): Likewise.
26007         * stdlib/add_n.c [__STDC__]: Make code unconditional.
26008         [!__STDC__]: Remove conditional code.
26009         * stdlib/cmp.c [__STDC__]: Make code unconditional.
26010         [!__STDC__]: Remove conditional code.
26011         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26012         [!__STDC__]: Remove conditional code.
26013         * stdlib/divrem.c [__STDC__]: Make code unconditional.
26014         [!__STDC__]: Remove conditional code.
26015         * stdlib/lshift.c [__STDC__]: Make code unconditional.
26016         [!__STDC__]: Remove conditional code.
26017         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26018         [!__STDC__]: Remove conditional code.
26019         * stdlib/mul.c [__STDC__]: Make code unconditional.
26020         [!__STDC__]: Remove conditional code.
26021         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26022         [!__STDC__]: Remove conditional code.
26023         * stdlib/rshift.c [__STDC__]: Make code unconditional.
26024         [!__STDC__]: Remove conditional code.
26025         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26026         function definition.
26027         (STRTOF): Likewise.
26028         * stdlib/strtod_l.c (__STRTOF): Likewise.
26029         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26030         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26031         (__strtol_l): Likewise.
26032         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26033         [!__STDC__]: Remove conditional code.
26034         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26035         definition.
26036         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26037         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26038         type.
26039         (__strcasecmp): Convert to prototype-style function definition.
26040         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26041         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26042         type.
26043         (__strncasecmp): Convert to prototype-style function definition.
26044         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26045         * sunrpc/xdr.c (xdr_union): Likewise.
26046         * sunrpc/xdr_array.c (xdr_array): Likewise.
26047         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26048         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26049         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26050         Likewise.
26051         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26052         Likewise.
26053         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26054         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26055         Likewise.
26056         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26057         (LOCALE_PARAM_PROTO): Likewise.
26058         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26059         argument type.
26060         (ut_argument_spec): Remove macro.
26061         (ut_argument_spec_iso): Rename to ut_argument_spec.
26062         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
26063         prototype-style function definition.
26064         (memcpy_uppcase): Likewise.
26065         (__strftime_internal): Likewise.
26066         (my_strftime): Likewise.
26067         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
26068         (LOCALE_PARAM_DECL): Likewise.
26069         [_LIBC] (LOCALE_PARAM): Include argument type.
26070         (__strptime_internal): Convert to prototype-style function
26071         definition.
26072         (strptime): Likewise.
26073         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26074         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26075         type.
26076         (__wcscasecmp): Convert to prototype-style function definition.
26077         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
26078         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26079         type.
26080         (__wcsncasecmp): Convert to prototype-style function definition.
26082         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
26083         function definition.
26084         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26085         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26086         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
26087         * elf/dl-minimal.c (_itoa): Likewise.
26088         * hurd/hurdmalloc.c (malloc): Likewise.
26089         (free): Likewise.
26090         (realloc): Likewise.
26091         * inet/inet6_option.c (inet6_option_space): Likewise.
26092         (inet6_option_init): Likewise.
26093         (inet6_option_append): Likewise.
26094         (inet6_option_alloc): Likewise.
26095         (inet6_option_next): Likewise.
26096         (inet6_option_find): Likewise.
26097         * io/ftw.c (FTW_NAME): Likewise.
26098         (NFTW_NAME): Likewise.
26099         (NFTW_NEW_NAME): Likewise.
26100         (NFTW_OLD_NAME): Likewise.
26101         * libio/iofwide.c (_IO_fwide): Likewise.
26102         * libio/strops.c (_IO_str_init_static_internal): Likewise.
26103         (_IO_str_init_static): Likewise.
26104         (_IO_str_init_readonly): Likewise.
26105         (_IO_str_overflow): Likewise.
26106         (_IO_str_underflow): Likewise.
26107         (_IO_str_count): Likewise.
26108         (_IO_str_seekoff): Likewise.
26109         (_IO_str_pbackfail): Likewise.
26110         (_IO_str_finish): Likewise.
26111         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
26112         (_IO_wstr_overflow): Likewise.
26113         (_IO_wstr_underflow): Likewise.
26114         (_IO_wstr_count): Likewise.
26115         (_IO_wstr_seekoff): Likewise.
26116         (_IO_wstr_pbackfail): Likewise.
26117         (_IO_wstr_finish): Likewise.
26118         * locale/programs/localedef.c (normalize_codeset): Likewise.
26119         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26120         (add_locales_to_archive): Likewise.
26121         (delete_locales_from_archive): Likewise.
26122         * malloc/malloc.c (__libc_mallinfo): Likewise.
26123         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
26124         * misc/tsearch.c (__tfind): Likewise.
26125         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
26126         * nptl/pthread_attr_getdetachstate.c
26127         (__pthread_attr_getdetachstate): Likewise.
26128         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
26129         Likewise.
26130         * nptl/pthread_attr_getinheritsched.c
26131         (__pthread_attr_getinheritsched): Likewise.
26132         * nptl/pthread_attr_getschedparam.c
26133         (__pthread_attr_getschedparam): Likewise.
26134         * nptl/pthread_attr_getschedpolicy.c
26135         (__pthread_attr_getschedpolicy): Likewise.
26136         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
26137         Likewise.
26138         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
26139         Likewise.
26140         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
26141         Likewise.
26142         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
26143         Likewise.
26144         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
26145         (__pthread_attr_init_2_0): Likewise.
26146         * nptl/pthread_attr_setdetachstate.c
26147         (__pthread_attr_setdetachstate): Likewise.
26148         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
26149         Likewise.
26150         * nptl/pthread_attr_setinheritsched.c
26151         (__pthread_attr_setinheritsched): Likewise.
26152         * nptl/pthread_attr_setschedparam.c
26153         (__pthread_attr_setschedparam): Likewise.
26154         * nptl/pthread_attr_setschedpolicy.c
26155         (__pthread_attr_setschedpolicy): Likewise.
26156         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
26157         Likewise.
26158         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
26159         Likewise.
26160         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
26161         Likewise.
26162         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
26163         Likewise.
26164         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
26165         Likewise.
26166         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
26167         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
26168         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
26169         use internal_function.
26170         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
26171         prototype-style function definition.
26172         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
26173         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
26174         internal_function.
26175         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
26176         Convert to prototype-style function definition.
26177         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26178         Likewise.
26179         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
26180         Likewise.
26181         (__pthread_mutex_unlock): Likewise.
26182         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
26183         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
26184         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
26185         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
26186         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
26187         * nss/makedb.c (process_input): Likewise.
26188         * posix/fnmatch.c (__strchrnul): Likewise.
26189         (__wcschrnul): Likewise.
26190         (fnmatch): Likewise.
26191         * posix/fnmatch_loop.c (FCT): Likewise.
26192         * posix/glob.c (globfree): Likewise.
26193         (__glob_pattern_type): Likewise.
26194         (__glob_pattern_p): Likewise.
26195         * posix/regcomp.c (re_compile_pattern): Likewise.
26196         (re_set_syntax): Likewise.
26197         (re_compile_fastmap): Likewise.
26198         (regcomp): Likewise.
26199         (regerror): Likewise.
26200         (regfree): Likewise.
26201         * posix/regexec.c (regexec): Likewise.
26202         (re_match): Likewise.
26203         (re_search): Likewise.
26204         (re_match_2): Likewise.
26205         (re_search_2): Likewise.
26206         (re_search_stub): Likewise.  Use internal_function
26207         (re_copy_regs): Likewise.
26208         (re_set_registers): Convert to prototype-style function
26209         definition.
26210         (prune_impossible_nodes): Likewise.  Use internal_function.
26211         * resolv/inet_net_pton.c (inet_net_pton): Convert to
26212         prototype-style function definition.
26213         (inet_net_pton_ipv4): Likewise.
26214         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26215         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
26216         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
26217         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
26218         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26219         Make variadic.
26220         * time/strptime_l.c (localtime_r): Convert to prototype-style
26221         function definition.
26222         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
26223         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
26224         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
26225         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
26227         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
26228         definition.
26229         (_ufc_doit_r): Likewise.
26230         * crypt/crypt_util.c (_ufc_copymem): Likewise.
26231         (_ufc_output_conversion_r): Likewise.
26232         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
26233         * inet/rcmd.c (rcmd_af): Likewise.
26234         (rcmd): Likewise.
26235         (ruserok_af): Likewise.
26236         (ruserok): Likewise.
26237         (ruserok2_sa): Likewise.
26238         (ruserok_sa): Likewise.
26239         (iruserok_af): Likewise.
26240         (iruserok): Likewise.
26241         (__ivaliduser): Likewise.
26242         (__validuser2_sa): Likewise.
26243         * inet/rexec.c (rexec_af): Likewise.
26244         (rexec): Likewise.
26245         * inet/ruserpass.c (ruserpass): Likewise.
26246         * locale/programs/xmalloc.c (xcalloc): Likewise.
26247         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
26248         * math/w_drem.c (__drem): Likewise.
26249         * math/w_dremf.c (__dremf): Likewise.
26250         * math/w_dreml.c (__dreml): Likewise.
26251         * misc/daemon.c (daemon): Likewise.
26252         * resolv/res_debug.c (p_fqnname): Likewise.
26253         * stdlib/div.c (div): Likewise.
26254         * string/memcmp.c (memcmp_bytes): Likewise.
26255         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
26256         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
26258         * crypt/cert.c (main): Convert to prototype-style function
26259         definition.
26260         * io/pipe.c (__pipe): Likewise.
26261         * io/pipe2.c (__pipe2): Likewise.
26262         * misc/futimesat.c (futimesat): Likewise.
26263         * misc/utimes.c (__utimes): Likewise.
26264         * posix/execve.c (__execve): Likewise.
26265         * posix/execvp.c (execvp): Likewise.
26266         * posix/execvpe.c (__execvpe): Likewise.
26267         * posix/fexecve.c (fexecve): Likewise.
26268         * socket/socketpair.c (socketpair): Likewise.
26269         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26270         * stdlib/erand48.c (erand48): Likewise.
26271         * stdlib/erand48_r.c (__erand48_r): Likewise.
26272         * stdlib/jrand48.c (jrand48): Likewise.
26273         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
26274         * stdlib/lcong48.c (lcong48): Likewise.
26275         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
26276         * stdlib/nrand48.c (nrand48): Likewise.
26277         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
26278         * stdlib/seed48.c (seed48): Likewise.
26279         * stdlib/seed48_r.c (__seed48_r): Likewise.
26280         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
26281         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
26282         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
26284 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26286         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
26287         * configure: Regenerated.
26288         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
26289         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
26290         unconditional.
26291         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26292         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26293         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26294         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
26295         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
26296         unconditional.
26297         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
26299         * posix/Makefile (CFLAGS-regex.c): Remove variable.
26300         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
26302         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
26303         function definition.
26304         * crypt/crypt_util.c (__encrypt_r): Likewise.
26305         * libio/genops.c (_IO_no_init): Likewise.
26306         * libio/iofopncook.c (_IO_fopencookie): Likewise.
26307         (_IO_old_fopencookie): Likewise.
26308         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26309         * libio/iogetline.c (_IO_getline): Likewise.
26310         (_IO_getline_info): Likewise.
26311         * libio/iogetwline.c (_IO_getwline): Likewise.
26312         (_IO_getwline_info): Likewise.
26313         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
26314         * libio/vswprintf.c (_IO_vswprintf): Likewise.
26315         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
26316         (find_entry): Likewise.
26317         (iterate_table): Likewise.
26318         (lookup): Likewise.
26319         * login/forkpty.c (forkpty): Likewise.
26320         * misc/hsearch_r.c (__hsearch_r): Likewise.
26321         * misc/select.c (__select): Likewise.
26322         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
26323         Likewise.
26324         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
26325         Likewise.
26326         * nptl/old_pthread_cond_timedwait.c
26327         (__pthread_cond_timedwait_2_0): Likewise.
26328         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
26329         * nptl/pthread_barrierattr_getpshared.c
26330         (pthread_barrierattr_getpshared): Likewise.
26331         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
26332         Likewise.
26333         * nptl/pthread_mutex_setprioceiling.c
26334         (pthread_mutex_setprioceiling): Likewise.
26335         * nptl/pthread_mutexattr_getprioceiling.c
26336         (pthread_mutexattr_getprioceiling): Likewise.
26337         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
26338         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26339         Likewise.
26340         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26341         Likewise.
26342         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
26343         Likewise.
26344         * socket/recvfrom.c (__recvfrom): Likewise.
26345         * socket/sendto.c (__sendto): Likewise.
26346         * socket/setsockopt.c (__setsockopt): Likewise.
26347         * stdio-common/_itoa.c (_itoa): Likewise.
26348         * stdio-common/_itowa.c (_itowa): Likewise.
26349         * stdio-common/reg-printf.c (__register_printf_specifier):
26350         Likewise.
26351         (__register_printf_function): Likewise.
26352         * stdio-common/tempname.c (__path_search): Likewise.
26353         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
26354         * stdlib/mul_1.c (mpn_mul_1): Likewise.
26355         * stdlib/random_r.c (__initstate_r): Likewise.
26356         * stdlib/setenv.c (__add_to_environ): Likewise.
26357         * stdlib/submul_1.c (mpn_submul_1): Likewise.
26358         * streams/getpmsg.c (getpmsg): Likewise.
26359         * streams/putmsg.c (putmsg): Likewise.
26360         * streams/putpmsg.c (putpmsg): Likewise.
26361         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
26362         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
26363         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
26364         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
26365         * sunrpc/pm_getport.c (pmap_getport): Likewise.
26366         * sunrpc/svc_udp.c (cache_get): Likewise.
26367         * sunrpc/xdr_array.c (xdr_vector): Likewise.
26368         * sysdeps/mach/hurd/getcwd.c
26369         (__canonicalize_directory_name_internal): Likewise.
26370         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
26371         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
26372         * sysdeps/mach/hurd/select.c (__select): Likewise.
26373         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
26374         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
26375         * sysdeps/sparc/nptl/pthread_barrier_init.c
26376         (__pthread_barrier_init): Likewise.
26377         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
26378         (__pthread_cond_timedwait): Likewise.
26379         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
26380         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
26381         Likewise.
26382         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
26383         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
26384         Likewise.
26385         * sysvipc/semtimedop.c (semtimedop): Likewise.
26386         * time/setitimer.c (__setitimer): Likewise.
26387         * time/strftime_l.c (emacs_strftime): Likewise.
26389 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26391         * config.make.in (have-ssp): Delete.
26392         (stack-protector): New variable.
26393         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
26394         cache test for -fstack-protector-strong.  Export stack_protector to
26395         the best ssp flag.
26396         * configure: Regenerated.
26397         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
26398         * nscd/Makefile (CFLAGS-nscd): Likewise.
26399         * resolv/Makefile (CFLAGS-libresolv): Likewise.
26401 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
26403         [BZ #19122]
26404         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
26405         attribute_hidden.
26407 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26409         [BZ #18743]
26410         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
26411         code to...
26412         (ELIDE_LOCK): ...here.
26413         (__get_new_count): New function with part of the code from
26414         __elide_lock that updates the value of adapt_count after a
26415         transaction abort.
26416         (__elided_trylock): Moved this code to...
26417         (ELIDE_TRYLOCK): ...here.
26419 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
26421         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
26422         * configure: Regenerate.
26423         * INSTALL: Regenerate.
26424         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
26425         and tweak grammar.
26427 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
26429         * login/programs/pt_chown.c: Include signal.h
26430         (main): Clear any signal mask from the parent process.
26432 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
26434         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
26435         * configure: Regenerated.
26436         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
26437         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
26438         $(gnu89-inline-CFLAGS).
26440         * configure.ac (libc_cv_asm_weak_directive): Remove configure
26441         test.
26442         (libc_cv_asm_weakext_directive): Likewise.
26443         * configure: Regenerated.
26444         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
26445         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
26446         * include/libc-symbols.h
26447         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
26448         #error.
26449         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
26450         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
26452         * sysdeps/arm/backtrace.c (__backtrace): Convert to
26453         prototype-style function definition.
26454         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26455         * sysdeps/i386/ffs.c (__ffs): Likewise.
26456         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26457         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
26458         Likewise.
26459         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26460         Likewise.
26461         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
26462         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
26463         Likewise.
26464         * sysdeps/m68k/ffs.c (__ffs): Likewise.
26465         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
26466         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
26467         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
26468         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
26469         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
26470         * sysdeps/mach/hurd/access.c (__access): Likewise.
26471         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
26472         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
26473         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
26474         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
26475         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
26476         (cthread_getspecific): Likewise.
26477         (cthread_setspecific): Likewise.
26478         (__libc_getspecific): Likewise.
26479         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
26480         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
26481         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
26482         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
26483         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
26484         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
26485         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
26486         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
26487         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
26488         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
26489         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
26490         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
26491         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
26492         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
26493         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
26494         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
26495         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
26496         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
26497         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
26498         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
26499         * sysdeps/mach/hurd/link.c (__link): Likewise.
26500         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
26501         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
26502         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
26503         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
26504         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26505         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
26506         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
26507         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
26508         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
26509         * sysdeps/mach/hurd/rename.c (rename): Likewise.
26510         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
26511         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
26512         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
26513         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
26514         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
26515         * sysdeps/mach/hurd/send.c (__send): Likewise.
26516         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
26517         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
26518         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
26519         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
26520         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
26521         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
26522         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
26523         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
26524         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
26525         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
26526         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
26527         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
26528         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
26529         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
26530         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
26531         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
26532         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
26533         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
26534         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
26535         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
26536         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
26537         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
26538         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
26539         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
26540         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
26541         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
26542         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
26543         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
26544         * sysdeps/posix/alarm.c (alarm): Likewise.
26545         * sysdeps/posix/cuserid.c (cuserid): Likewise.
26546         * sysdeps/posix/dirfd.c (dirfd): Likewise.
26547         * sysdeps/posix/dup.c (__dup): Likewise.
26548         * sysdeps/posix/dup2.c (__dup2): Likewise.
26549         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
26550         (main): Likewise.
26551         * sysdeps/posix/flock.c (__flock): Likewise.
26552         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
26553         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
26554         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
26555         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
26556         * sysdeps/posix/isatty.c (__isatty): Likewise.
26557         * sysdeps/posix/killpg.c (killpg): Likewise.
26558         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26559         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
26560         * sysdeps/posix/raise.c (raise): Likewise.
26561         * sysdeps/posix/remove.c (remove): Likewise.
26562         * sysdeps/posix/rename.c (rename): Likewise.
26563         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
26564         * sysdeps/posix/seekdir.c (seekdir): Likewise.
26565         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
26566         * sysdeps/posix/sigignore.c (sigignore): Likewise.
26567         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
26568         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
26569         * sysdeps/posix/sigset.c (sigset): Likewise.
26570         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
26571         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
26572         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
26573         * sysdeps/posix/time.c (time): Likewise.
26574         * sysdeps/posix/ttyname.c (getttyname): Likewise.
26575         (ttyname): Likewise.
26576         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
26577         * sysdeps/posix/utime.c (utime): Likewise.
26578         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
26579         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26580         Likewise.
26581         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
26582         (pthread_spin_trylock): Likewise.
26583         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
26584         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
26585         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
26586         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
26587         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
26588         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
26589         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
26590         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
26591         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
26592         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
26593         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
26594         * sysdeps/s390/ffs.c (__ffs): Likewise.
26595         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
26596         Likewise.
26597         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26598         Likewise.
26599         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
26600         Likewise.
26601         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
26602         (pthread_barrier_destroy): Likewise.
26603         * sysdeps/sparc/nptl/pthread_barrier_wait.c
26604         (__pthread_barrier_wait): Likewise.
26605         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
26606         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
26607         (__pthread_barrier_wait): Likewise.
26608         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
26609         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
26610         (memcmp_not_common_alignment): Likewise.
26611         (MEMCMP): Likewise.
26612         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
26613         (_wordcopy_fwd_dest_aligned): Likewise.
26614         (_wordcopy_bwd_aligned): Likewise.
26615         (_wordcopy_bwd_dest_aligned): Likewise.
26616         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
26617         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
26618         * sysdeps/unix/bsd/stty.c (stty): Likewise.
26619         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
26620         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
26621         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
26622         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
26623         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
26624         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
26625         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
26626         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
26627         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
26628         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
26629         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
26630         * sysdeps/unix/stime.c (stime): Likewise.
26631         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
26632         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
26633         Likewise.  Use internal_function.
26634         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
26635         Convert to prototype-style function definition.
26636         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26637         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26638         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
26639         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26640         Likewise.  Use internal_function.
26641         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
26642         prototype-style function definition
26643         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26644         Likewise.
26645         (__getlogin_r): Likewise.
26646         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
26647         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
26648         (__pthread_cond_broadcast): Likewise.
26649         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
26650         (__pthread_cond_destroy): Likewise.
26651         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
26652         (__pthread_cond_init): Likewise.
26653         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
26654         (__pthread_cond_signal): Likewise.
26655         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
26656         (__pthread_cond_wait): Likewise.
26657         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
26658         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26659         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
26660         Likewise.
26661         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
26662         Likewise.
26663         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
26664         Likewise.
26665         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
26666         Likewise.
26667         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
26668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
26669         (__ftruncate64): Likewise.
26670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
26671         (truncate64): Likewise.
26672         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
26673         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
26674         (pthread_getcpuclockid): Likewise.
26675         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
26676         Likewise.
26677         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
26678         Likewise.
26679         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
26680         Likewise.
26681         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
26682         Likewise.
26683         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
26684         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
26685         (__libc_sigaction): Likewise.
26686         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
26687         Likewise.
26688         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
26689         (__sigprocmask): Likewise.
26690         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
26691         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
26692         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
26693         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26694         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26695         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
26696         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26697         Likewise.
26698         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
26699         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
26700         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26701         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
26702         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
26703         Likewise.
26704         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
26705         (__sigprocmask): Likewise.
26706         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
26707         (cfgetispeed): Likewise.
26708         (cfsetospeed): Likewise.
26709         (cfsetispeed): Likewise.
26710         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
26711         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
26712         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26713         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26714         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
26715         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
26716         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
26717         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
26718         Likewise.
26719         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
26720         Likewise.
26721         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
26722         Likewise.
26723         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
26724         Likewise.
26725         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26727 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26729         sunrpc: Rewrite with explicit TLS access using __thread.
26730         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
26731         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
26732         directly.
26733         (__rpc_thread_variables): Access thread_rpc_vars directly.
26734         Eliminate redundant assignment of the tvp variable.
26736 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26738         malloc: Rewrite with explicit TLS access using __thread.
26739         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
26740         (tsd_setspecific, tsd_getspecific): Remove.
26741         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
26742         (tsd_setspecific, tsd_getspecific): Likewise.
26743         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
26744         (tsd_setspecific, tsd_getspecific): Likewise.
26745         * malloc/arena.c (thread_arena): New TLS variable.
26746         (arena_key): Remove variable.
26747         (arena_get): Use thread_arena.
26748         (arena_lookup): Remove macro.
26749         (malloc_atfork, free_atfork, ptmalloc_lock_all)
26750         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
26751         (_int_new_arena, get_free_list, reused_arena)
26752         (arena_thread_freeres): Use thread_arena.
26753         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
26754         tsd_getspecific, tsd_setspecific from safety annotations.
26755         (Allocating Cleared Space): Remove arena_lookup from safety
26756         annotations.
26758 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26760         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
26761         struct scratch_buffer instead of extend_alloca.
26763 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26765         * sysdeps/unix/sysv/linux/kernel-features.h
26766         (__ASSUME_SOCK_CLOEXEC): Remove.
26767         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
26768         (__have_paccept): Remove unused macro.
26769         * include/unistd.h (__have_sock_cloexec): Remove declaration.
26770         * misc/syslog.c (openlog_internal): Remove fallback code for
26771         !__ASSUME_SOCK_CLOEXEC.
26772         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
26773         missing SOCK_CLOEXEC.
26774         * nscd/connections.c (have_sock_cloexec): Remove definition.
26775         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26776         * nscd/nscd_helper.c (open_socket): Remove fallback code for
26777         !__ASSUME_SOCK_CLOEXEC.
26778         * resolv/res_send.c (__have_o_nonblock): Remove definition.
26779         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
26780         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
26781         definition.
26782         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
26783         code for !__ASSUME_SOCK_CLOEXEC.
26785 2015-10-17  Florian Weimer  <fweimer@redhat.com>
26787         [BZ #18982]
26788         * manual/stdio.texi (Variable Arguments Output): Add portability
26789         note, explaining that vfprintf clobbers the va_list pointer.
26791 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26793         * math/libm-test.inc (fabs_test_data): Add more tests.
26794         (fdim_test_data): Likewise.
26795         (fma_test_data): Likewise.
26796         (fmax_test_data): Likewise.
26797         (fmin_test_data): Likewise.
26798         (fmod_test_data): Likewise.
26800 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
26802         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
26803         data.
26805 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
26807         * math/libm-test.inc (ceil_test_data): Add more tests and more
26808         expectations for "inexact".
26809         (floor_test_data): Add more tests.
26810         (round_test_data): Likewise.
26811         (trunc_test_data): Likewise.
26813         * crypt/cert.c (good_bye): Convert to prototype-style function
26814         definition.
26815         (get8): Likewise.
26816         (put8): Likewise.
26817         * crypt/crypt-entry.c (crypt): Likewise.
26818         (__fcrypt): Likewise.
26819         * crypt/crypt_util.c (_ufc_prbits): Likewise.
26820         (_ufc_set_bits): Likewise.
26821         (_ufc_clearmem): Likewise.
26822         (__init_des_r): Likewise.
26823         (shuffle_sb): Likewise.
26824         (shuffle_sb): Likewise.
26825         (_ufc_setup_salt_r): Likewise.
26826         (_ufc_mk_keytab_r): Likewise.
26827         (_ufc_dofinalperm_r): Likewise.
26828         (encrypt): Likewise.
26829         (__setkey_r): Likewise.
26830         (setkey): Likewise.
26831         * crypt/md5.c (md5_init_ctx): Likewise.
26832         (md5_read_ctx): Likewise.
26833         (md5_finish_ctx): Likewise.
26834         (md5_stream): Likewise.
26835         (md5_buffer): Likewise.
26836         (md5_process_bytes): Likewise.
26837         * crypt/sha256.c (__sha256_init_ctx): Likewise.
26838         (__sha256_finish_ctx): Likewise.
26839         (__sha256_process_bytes): Likewise.
26840         * crypt/sha512.c (__sha512_init_ctx): Likewise.
26841         (__sha512_finish_ctx): Likewise.
26842         (__sha512_process_bytes): Likewise.
26843         * ctype/isctype.c (__isctype): Likewise.
26844         * debug/backtrace.c (__backtrace): Likewise.
26845         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
26846         * debug/fgets_chk.c (__fgets_chk): Likewise.
26847         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
26848         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
26849         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26850         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26851         * debug/memset_chk.c (__memset_chk): Likewise.
26852         * debug/strcat_chk.c (__strcat_chk): Likewise.
26853         * debug/strncat_chk.c (__strncat_chk): Likewise.
26854         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
26855         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
26856         * dirent/dirfd.c (dirfd): Likewise.
26857         * dirent/getdents.c (__getdirentries): Likewise.
26858         * dirent/getdents64.c (getdirentries64): Likewise.
26859         * dirent/rewinddir.c (__rewinddir): Likewise.
26860         * dirent/seekdir.c (seekdir): Likewise.
26861         * dirent/telldir.c (telldir): Likewise.
26862         * elf/sln.c (makesymlinks): Likewise.
26863         (makesymlink): Likewise.
26864         * gmon/gmon.c (__moncontrol): Likewise.
26865         (__monstartup): Likewise.
26866         (write_hist): Likewise.
26867         (write_call_graph): Likewise.
26868         (write_bb_counts): Likewise.
26869         * grp/setgroups.c (setgroups): Likewise.
26870         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26871         * inet/inet_net.c (inet_network): Likewise.
26872         * inet/inet_netof.c (inet_netof): Likewise.
26873         * inet/rcmd.c (rresvport_af): Likewise.
26874         (rresvport): Likewise.
26875         * io/access.c (__access): Likewise.
26876         * io/chdir.c (__chdir): Likewise.
26877         * io/chmod.c (__chmod): Likewise.
26878         * io/chown.c (__chown): Likewise.
26879         * io/close.c (__close): Likewise.
26880         * io/creat.c (creat): Likewise.
26881         * io/creat64.c (creat64): Likewise.
26882         * io/dup.c (__dup): Likewise.
26883         * io/dup2.c (__dup2): Likewise.
26884         * io/dup3.c (__dup3): Likewise.
26885         * io/euidaccess.c (__euidaccess): Likewise.
26886         * io/faccessat.c (faccessat): Likewise.
26887         * io/fchmod.c (__fchmod): Likewise.
26888         * io/fchmodat.c (fchmodat): Likewise.
26889         * io/fchown.c (__fchown): Likewise.
26890         * io/fchownat.c (fchownat): Likewise.
26891         * io/fcntl.c (__fcntl): Likewise.
26892         * io/flock.c (__flock): Likewise.
26893         * io/fts.c (fts_load): Likewise.
26894         (fts_close): Likewise.
26895         (fts_read): Likewise.
26896         (fts_set): Likewise.
26897         (fts_children): Likewise.
26898         (fts_build): Likewise.
26899         (fts_stat): Likewise.
26900         (fts_sort): Likewise.
26901         (fts_alloc): Likewise.
26902         (fts_lfree): Likewise.
26903         (fts_palloc): Likewise.
26904         (fts_padjust): Likewise.
26905         (fts_maxarglen): Likewise.
26906         (fts_safe_changedir): Likewise.
26907         * io/getwd.c (getwd): Likewise.
26908         * io/isatty.c (__isatty): Likewise.
26909         * io/lchown.c (__lchown): Likewise.
26910         * io/link.c (__link): Likewise.
26911         * io/linkat.c (linkat): Likewise.
26912         * io/lseek.c (__libc_lseek): Likewise.
26913         * io/mkdir.c (__mkdir): Likewise.
26914         * io/mkdirat.c (mkdirat): Likewise.
26915         * io/mkfifo.c (mkfifo): Likewise.
26916         * io/mkfifoat.c (mkfifoat): Likewise.
26917         * io/open.c (__libc_open): Likewise.
26918         * io/open64.c (__libc_open64): Likewise.
26919         * io/readlink.c (__readlink): Likewise.
26920         * io/readlinkat.c (readlinkat): Likewise.
26921         * io/rmdir.c (__rmdir): Likewise.
26922         * io/symlink.c (__symlink): Likewise.
26923         * io/symlinkat.c (symlinkat): Likewise.
26924         * io/ttyname.c (ttyname): Likewise.
26925         * io/ttyname_r.c (__ttyname_r): Likewise.
26926         * io/umask.c (__umask): Likewise.
26927         * io/unlink.c (__unlink): Likewise.
26928         * io/unlinkat.c (unlinkat): Likewise.
26929         * io/utime.c (utime): Likewise.
26930         * libio/clearerr.c (clearerr): Likewise.
26931         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
26932         * libio/feof.c (_IO_feof): Likewise.
26933         * libio/feof_u.c (feof_unlocked): Likewise.
26934         * libio/ferror.c (_IO_ferror): Likewise.
26935         * libio/ferror_u.c (ferror_unlocked): Likewise.
26936         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26937         * libio/fileno.c (__fileno): Likewise.
26938         * libio/fputc.c (fputc): Likewise.
26939         * libio/fputc_u.c (fputc_unlocked): Likewise.
26940         * libio/fputwc.c (fputwc): Likewise.
26941         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
26942         * libio/freopen.c (freopen): Likewise.
26943         * libio/freopen64.c (freopen64): Likewise.
26944         * libio/fseek.c (fseek): Likewise.
26945         * libio/fseeko.c (fseeko): Likewise.
26946         * libio/fseeko64.c (fseeko64): Likewise.
26947         * libio/ftello.c (__ftello): Likewise.
26948         * libio/ftello64.c (ftello64): Likewise.
26949         * libio/fwide.c (fwide): Likewise.
26950         * libio/genops.c (_IO_un_link): Likewise.
26951         (_IO_link_in): Likewise.
26952         (_IO_least_marker): Likewise.
26953         (_IO_switch_to_main_get_area): Likewise.
26954         (_IO_switch_to_backup_area): Likewise.
26955         (_IO_switch_to_get_mode): Likewise.
26956         (_IO_free_backup_area): Likewise.
26957         (_IO_switch_to_put_mode): Likewise.
26958         (__overflow): Likewise.
26959         (__underflow): Likewise.
26960         (__uflow): Likewise.
26961         (_IO_setb): Likewise.
26962         (_IO_doallocbuf): Likewise.
26963         (_IO_default_underflow): Likewise.
26964         (_IO_default_uflow): Likewise.
26965         (_IO_default_xsputn): Likewise.
26966         (_IO_sgetn): Likewise.
26967         (_IO_default_xsgetn): Likewise.
26968         (_IO_sync): Likewise.
26969         (_IO_default_setbuf): Likewise.
26970         (_IO_default_seekpos): Likewise.
26971         (_IO_default_doallocate): Likewise.
26972         (_IO_init): Likewise.
26973         (_IO_old_init): Likewise.
26974         (_IO_default_sync): Likewise.
26975         (_IO_default_finish): Likewise.
26976         (_IO_default_seekoff): Likewise.
26977         (_IO_sputbackc): Likewise.
26978         (_IO_sungetc): Likewise.
26979         (_IO_set_column): Likewise.
26980         (_IO_set_column): Likewise.
26981         (_IO_adjust_column): Likewise.
26982         (_IO_get_column): Likewise.
26983         (_IO_init_marker): Likewise.
26984         (_IO_remove_marker): Likewise.
26985         (_IO_marker_difference): Likewise.
26986         (_IO_marker_delta): Likewise.
26987         (_IO_seekmark): Likewise.
26988         (_IO_unsave_markers): Likewise.
26989         (_IO_nobackup_pbackfail): Likewise.
26990         (_IO_default_pbackfail): Likewise.
26991         (_IO_default_seek): Likewise.
26992         (_IO_default_stat): Likewise.
26993         (_IO_default_read): Likewise.
26994         (_IO_default_write): Likewise.
26995         (_IO_default_showmanyc): Likewise.
26996         (_IO_default_imbue): Likewise.
26997         (_IO_iter_next): Likewise.
26998         (_IO_iter_file): Likewise.
26999         * libio/getc.c (_IO_getc): Likewise.
27000         * libio/getwc.c (_IO_getwc): Likewise.
27001         * libio/iofclose.c (_IO_new_fclose): Likewise.
27002         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27003         * libio/iofflush.c (_IO_fflush): Likewise.
27004         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
27005         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
27006         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
27007         * libio/iofgets.c (_IO_fgets): Likewise.
27008         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
27009         * libio/iofgetws.c (fgetws): Likewise.
27010         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27011         * libio/iofopen64.c (_IO_fopen64): Likewise.
27012         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27013         (_IO_cookie_write): Likewise.
27014         (_IO_cookie_seek): Likewise.
27015         (_IO_cookie_close): Likewise.
27016         (_IO_cookie_seekoff): Likewise.
27017         (_IO_old_cookie_seek): Likewise.
27018         * libio/iofputs.c (_IO_fputs): Likewise.
27019         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27020         * libio/iofputws.c (fputws): Likewise.
27021         * libio/iofputws_u.c (fputws_unlocked): Likewise.
27022         * libio/iofread.c (_IO_fread): Likewise.
27023         * libio/iofread_u.c (__fread_unlocked): Likewise.
27024         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27025         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27026         * libio/ioftell.c (_IO_ftell): Likewise.
27027         * libio/iofwrite.c (_IO_fwrite): Likewise.
27028         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27029         * libio/iogets.c (_IO_gets): Likewise.
27030         * libio/iopadn.c (_IO_padn): Likewise.
27031         * libio/iopopen.c (_IO_new_proc_open): Likewise.
27032         (_IO_new_popen): Likewise.
27033         (_IO_new_proc_close): Likewise.
27034         * libio/ioputs.c (_IO_puts): Likewise.
27035         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27036         (_IO_seekoff): Likewise.
27037         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27038         (_IO_seekpos): Likewise.
27039         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27040         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27041         * libio/ioungetc.c (_IO_ungetc): Likewise.
27042         * libio/ioungetwc.c (ungetwc): Likewise.
27043         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27044         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27045         * libio/iowpadn.c (_IO_wpadn): Likewise.
27046         * libio/libc_fatal.c (__libc_fatal): Likewise.
27047         * libio/memstream.c (__open_memstream): Likewise.
27048         (_IO_mem_sync): Likewise.
27049         (_IO_mem_finish): Likewise.
27050         * libio/oldfileops.c (_IO_old_file_init): Likewise.
27051         (_IO_old_file_close_it): Likewise.
27052         (_IO_old_file_finish): Likewise.
27053         (_IO_old_file_fopen): Likewise.
27054         (_IO_old_file_attach): Likewise.
27055         (_IO_old_file_setbuf): Likewise.
27056         (_IO_old_do_write): Likewise.
27057         (old_do_write): Likewise.
27058         (_IO_old_file_underflow): Likewise.
27059         (_IO_old_file_overflow): Likewise.
27060         (_IO_old_file_sync): Likewise.
27061         (_IO_old_file_seekoff): Likewise.
27062         (_IO_old_file_write): Likewise.
27063         (_IO_old_file_xsputn): Likewise.
27064         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
27065         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27066         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
27067         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
27068         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27069         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
27070         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
27071         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
27072         (_IO_old_popen): Likewise.
27073         (_IO_old_proc_close): Likewise.
27074         * libio/oldpclose.c (__old_pclose): Likewise.
27075         * libio/pclose.c (__new_pclose): Likewise.
27076         * libio/peekc.c (_IO_peekc_locked): Likewise.
27077         * libio/putc.c (_IO_putc): Likewise.
27078         * libio/putc_u.c (putc_unlocked): Likewise.
27079         * libio/putchar.c (putchar): Likewise.
27080         * libio/putchar_u.c (putchar_unlocked): Likewise.
27081         * libio/putwc.c (putwc): Likewise.
27082         * libio/putwc_u.c (putwc_unlocked): Likewise.
27083         * libio/putwchar.c (putwchar): Likewise.
27084         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
27085         * libio/rewind.c (rewind): Likewise.
27086         * libio/setbuf.c (setbuf): Likewise.
27087         * libio/setlinebuf.c (setlinebuf): Likewise.
27088         * libio/vasprintf.c (_IO_vasprintf): Likewise.
27089         * libio/vscanf.c (_IO_vscanf): Likewise.
27090         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
27091         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
27092         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27093         * libio/wgenops.c (_IO_least_wmarker): Likewise.
27094         (_IO_switch_to_main_wget_area): Likewise.
27095         (_IO_switch_to_wbackup_area): Likewise.
27096         (_IO_wsetb): Likewise.
27097         (_IO_wdefault_pbackfail): Likewise.
27098         (_IO_wdefault_finish): Likewise.
27099         (_IO_wdefault_uflow): Likewise.
27100         (__woverflow): Likewise.
27101         (__wuflow): Likewise.
27102         (__wunderflow): Likewise.
27103         (_IO_wdefault_xsputn): Likewise.
27104         (_IO_wdefault_xsgetn): Likewise.
27105         (_IO_wdoallocbuf): Likewise.
27106         (_IO_wdefault_doallocate): Likewise.
27107         (_IO_switch_to_wget_mode): Likewise.
27108         (_IO_free_wbackup_area): Likewise.
27109         (_IO_switch_to_wput_mode): Likewise.
27110         (_IO_sputbackwc): Likewise.
27111         (_IO_sungetwc): Likewise.
27112         (_IO_adjust_wcolumn): Likewise.
27113         (_IO_init_wmarker): Likewise.
27114         (_IO_wmarker_delta): Likewise.
27115         (_IO_seekwmark): Likewise.
27116         (_IO_unsave_wmarkers): Likewise.
27117         * libio/wmemstream.c (open_wmemstream): Likewise.
27118         (_IO_wmem_sync): Likewise.
27119         (_IO_wmem_finish): Likewise.
27120         * locale/nl_langinfo.c (nl_langinfo): Likewise.
27121         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
27122         * locale/programs/simple-hash.c (init_hash): Likewise.
27123         (delete_hash): Likewise.
27124         (insert_entry): Likewise.
27125         (set_entry): Likewise.
27126         (next_prime): Likewise.
27127         (is_prime): Likewise.
27128         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
27129         (xmalloc): Likewise.
27130         (xrealloc): Likewise.
27131         * locale/programs/xstrdup.c (xstrdup): Likewise.
27132         * localedata/collate-test.c (xstrcoll): Likewise.
27133         * localedata/xfrm-test.c (xstrcmp): Likewise.
27134         * login/getlogin_r.c (__getlogin_r): Likewise.
27135         * login/getpt.c (__posix_openpt): Likewise.
27136         * login/login_tty.c (login_tty): Likewise.
27137         * login/setlogin.c (setlogin): Likewise.
27138         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
27139         (mach_msg_destroy_port): Likewise.
27140         (mach_msg_destroy_memory): Likewise.
27141         * malloc/mcheck.c (flood): Likewise.
27142         * misc/acct.c (acct): Likewise.
27143         * misc/brk.c (__brk): Likewise.
27144         * misc/chflags.c (chflags): Likewise.
27145         * misc/chroot.c (chroot): Likewise.
27146         * misc/fchflags.c (fchflags): Likewise.
27147         * misc/fstab.c (getfsspec): Likewise.
27148         (getfsfile): Likewise.
27149         * misc/fsync.c (fsync): Likewise.
27150         * misc/ftruncate.c (__ftruncate): Likewise.
27151         * misc/ftruncate64.c (__ftruncate64): Likewise.
27152         * misc/getdomain.c (getdomainname): Likewise.
27153         (getdomainname): Likewise.
27154         * misc/gethostname.c (__gethostname): Likewise.
27155         * misc/getpass.c (getpass): Likewise.
27156         * misc/getttyent.c (skip): Likewise.
27157         (value): Likewise.
27158         * misc/gtty.c (gtty): Likewise.
27159         * misc/hsearch.c (hsearch): Likewise.
27160         (hcreate): Likewise.
27161         * misc/hsearch_r.c (__hcreate_r): Likewise.
27162         (__hdestroy_r): Likewise.
27163         * misc/ioctl.c (__ioctl): Likewise.
27164         * misc/mkdtemp.c (mkdtemp): Likewise.
27165         * misc/mkostemp.c (mkostemp): Likewise.
27166         * misc/mkostemp64.c (mkostemp64): Likewise.
27167         * misc/mkostemps.c (mkostemps): Likewise.
27168         * misc/mkostemps64.c (mkostemps64): Likewise.
27169         * misc/mkstemp.c (mkstemp): Likewise.
27170         * misc/mkstemp64.c (mkstemp64): Likewise.
27171         * misc/mkstemps.c (mkstemps): Likewise.
27172         * misc/mkstemps64.c (mkstemps64): Likewise.
27173         * misc/mktemp.c (__mktemp): Likewise.
27174         * misc/preadv.c (preadv): Likewise.
27175         * misc/preadv64.c (preadv64): Likewise.
27176         * misc/pwritev.c (pwritev): Likewise.
27177         * misc/pwritev64.c (pwritev64): Likewise.
27178         * misc/readv.c (__readv): Likewise.
27179         * misc/revoke.c (revoke): Likewise.
27180         * misc/setdomain.c (setdomainname): Likewise.
27181         * misc/setegid.c (setegid): Likewise.
27182         * misc/seteuid.c (seteuid): Likewise.
27183         * misc/sethostid.c (sethostid): Likewise.
27184         * misc/sethostname.c (sethostname): Likewise.
27185         * misc/setregid.c (__setregid): Likewise.
27186         * misc/setreuid.c (__setreuid): Likewise.
27187         * misc/sstk.c (sstk): Likewise.
27188         * misc/stty.c (stty): Likewise.
27189         * misc/syscall.c (syscall): Likewise.
27190         * misc/syslog.c (setlogmask): Likewise.
27191         * misc/truncate.c (__truncate): Likewise.
27192         * misc/truncate64.c (truncate64): Likewise.
27193         * misc/ualarm.c (ualarm): Likewise.
27194         * misc/usleep.c (usleep): Likewise.
27195         * misc/ustat.c (ustat): Likewise.
27196         * misc/writev.c (__writev): Likewise.
27197         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
27198         * nptl/old_pthread_cond_broadcast.c
27199         (__pthread_cond_broadcast_2_0): Likewise.
27200         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
27201         Likewise.
27202         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
27203         Likewise.
27204         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
27205         Likewise.
27206         * nptl/pt-raise.c (raise): Likewise.
27207         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
27208         Likewise.
27209         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
27210         * nptl/pthread_barrierattr_destroy.c
27211         (pthread_barrierattr_destroy): Likewise.
27212         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
27213         Likewise.
27214         * nptl/pthread_barrierattr_setpshared.c
27215         (pthread_barrierattr_setpshared): Likewise.
27216         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
27217         Likewise.
27218         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
27219         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
27220         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
27221         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
27222         Likewise.
27223         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
27224         Likewise.
27225         * nptl/pthread_condattr_getpshared.c
27226         (pthread_condattr_getpshared): Likewise.
27227         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
27228         Likewise.
27229         * nptl/pthread_condattr_setpshared.c
27230         (pthread_condattr_setpshared): Likewise.
27231         * nptl/pthread_detach.c (pthread_detach): Likewise.
27232         * nptl/pthread_equal.c (__pthread_equal): Likewise.
27233         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
27234         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
27235         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
27236         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
27237         Likewise.
27238         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
27239         Likewise.
27240         * nptl/pthread_mutex_getprioceiling.c
27241         (pthread_mutex_getprioceiling): Likewise.
27242         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
27243         Likewise.
27244         * nptl/pthread_mutexattr_getprotocol.c
27245         (pthread_mutexattr_getprotocol): Likewise.
27246         * nptl/pthread_mutexattr_getpshared.c
27247         (pthread_mutexattr_getpshared): Likewise.
27248         * nptl/pthread_mutexattr_getrobust.c
27249         (pthread_mutexattr_getrobust): Likewise.
27250         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
27251         Likewise.
27252         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
27253         Likewise.
27254         * nptl/pthread_mutexattr_setprioceiling.c
27255         (pthread_mutexattr_setprioceiling): Likewise.
27256         * nptl/pthread_mutexattr_setprotocol.c
27257         (pthread_mutexattr_setprotocol): Likewise.
27258         * nptl/pthread_mutexattr_setpshared.c
27259         (pthread_mutexattr_setpshared): Likewise.
27260         * nptl/pthread_mutexattr_setrobust.c
27261         (pthread_mutexattr_setrobust): Likewise.
27262         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
27263         Likewise.
27264         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
27265         Likewise.
27266         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
27267         Likewise.
27268         * nptl/pthread_rwlockattr_getkind_np.c
27269         (pthread_rwlockattr_getkind_np): Likewise.
27270         * nptl/pthread_rwlockattr_getpshared.c
27271         (pthread_rwlockattr_getpshared): Likewise.
27272         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
27273         Likewise.
27274         * nptl/pthread_rwlockattr_setkind_np.c
27275         (pthread_rwlockattr_setkind_np): Likewise.
27276         * nptl/pthread_rwlockattr_setpshared.c
27277         (pthread_rwlockattr_setpshared): Likewise.
27278         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
27279         Likewise.
27280         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
27281         Likewise.
27282         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
27283         Likewise.
27284         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
27285         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
27286         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
27287         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
27288         * nptl/sem_close.c (sem_close): Likewise.
27289         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
27290         * nptl/sem_init.c (__old_sem_init): Likewise.
27291         * nptl/sigaction.c (__sigaction): Likewise.
27292         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27293         * posix/_exit.c (_exit): Likewise.
27294         * posix/alarm.c (alarm): Likewise.
27295         * posix/confstr.c (confstr): Likewise.
27296         * posix/fpathconf.c (__fpathconf): Likewise.
27297         * posix/getgroups.c (__getgroups): Likewise.
27298         * posix/getpgid.c (__getpgid): Likewise.
27299         * posix/group_member.c (__group_member): Likewise.
27300         * posix/pathconf.c (__pathconf): Likewise.
27301         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
27302         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
27303         * posix/setgid.c (__setgid): Likewise.
27304         * posix/setpgid.c (__setpgid): Likewise.
27305         * posix/setuid.c (__setuid): Likewise.
27306         * posix/sleep.c (__sleep): Likewise.
27307         * posix/sysconf.c (__sysconf): Likewise.
27308         * posix/times.c (__times): Likewise.
27309         * posix/uname.c (__uname): Likewise.
27310         * posix/waitid.c (__waitid): Likewise.
27311         * pwd/getpw.c (__getpw): Likewise.
27312         * resolv/base64.c (b64_pton): Likewise.
27313         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
27314         * resolv/gethnamaddr.c (Dprintf): Likewise.
27315         (gethostbyname): Likewise.
27316         (gethostbyname2): Likewise.
27317         (gethostbyaddr): Likewise.
27318         (_sethtent): Likewise.
27319         (_gethtbyname): Likewise.
27320         (_gethtbyname2): Likewise.
27321         (_gethtbyaddr): Likewise.
27322         (map_v4v6_address): Likewise.
27323         (map_v4v6_hostent): Likewise.
27324         (addrsort): Likewise.
27325         (ht_sethostent): Likewise.
27326         (ht_gethostbyname): Likewise.
27327         (ht_gethostbyaddr): Likewise.
27328         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
27329         (inet_net_ntop_ipv4): Likewise.
27330         * resolv/inet_neta.c (inet_neta): Likewise.
27331         * resolv/inet_ntop.c (inet_ntop): Likewise.
27332         (inet_ntop4): Likewise.
27333         (inet_ntop6): Likewise.
27334         * resolv/inet_pton.c (__inet_pton): Likewise.
27335         (inet_pton4): Likewise.
27336         (inet_pton6): Likewise.
27337         * resolv/res_debug.c (loc_aton): Likewise.
27338         (loc_ntoa): Likewise.
27339         * resource/getpriority.c (__getpriority): Likewise.
27340         * resource/getrusage.c (__getrusage): Likewise.
27341         * resource/nice.c (nice): Likewise.
27342         * resource/setpriority.c (__setpriority): Likewise.
27343         * resource/setrlimit64.c (setrlimit64): Likewise.
27344         * resource/vlimit.c (vlimit): Likewise.
27345         * resource/vtimes.c (vtimes): Likewise.
27346         * rt/aio_error.c (aio_error): Likewise.
27347         * rt/aio_return.c (aio_return): Likewise.
27348         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
27349         * signal/kill.c (__kill): Likewise.
27350         * signal/killpg.c (killpg): Likewise.
27351         * signal/raise.c (raise): Likewise.
27352         * signal/sigaction.c (__sigaction): Likewise.
27353         * signal/sigaddset.c (sigaddset): Likewise.
27354         * signal/sigaltstack.c (sigaltstack): Likewise.
27355         * signal/sigandset.c (sigandset): Likewise.
27356         * signal/sigblock.c (__sigblock): Likewise.
27357         * signal/sigdelset.c (sigdelset): Likewise.
27358         * signal/sigempty.c (sigemptyset): Likewise.
27359         * signal/sigfillset.c (sigfillset): Likewise.
27360         * signal/sighold.c (sighold): Likewise.
27361         * signal/sigignore.c (sigignore): Likewise.
27362         * signal/sigintr.c (siginterrupt): Likewise.
27363         * signal/sigisempty.c (sigisemptyset): Likewise.
27364         * signal/sigismem.c (sigismember): Likewise.
27365         * signal/signal.c (signal): Likewise.
27366         * signal/sigorset.c (sigorset): Likewise.
27367         * signal/sigpause.c (__sigpause): Likewise.
27368         * signal/sigpending.c (sigpending): Likewise.
27369         * signal/sigprocmask.c (__sigprocmask): Likewise.
27370         * signal/sigrelse.c (sigrelse): Likewise.
27371         * signal/sigreturn.c (__sigreturn): Likewise.
27372         * signal/sigset.c (sigset): Likewise.
27373         * signal/sigsetmask.c (__sigsetmask): Likewise.
27374         * signal/sigstack.c (sigstack): Likewise.
27375         * signal/sigsuspend.c (__sigsuspend): Likewise.
27376         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
27377         * signal/sysv_signal.c (__sysv_signal): Likewise.
27378         * socket/accept.c (accept): Likewise.
27379         * socket/accept4.c (__libc_accept4): Likewise.
27380         * socket/bind.c (__bind): Likewise.
27381         * socket/connect.c (__connect): Likewise.
27382         * socket/getpeername.c (getpeername): Likewise.
27383         * socket/getsockname.c (__getsockname): Likewise.
27384         * socket/getsockopt.c (getsockopt): Likewise.
27385         * socket/listen.c (__listen): Likewise.
27386         * socket/recv.c (__recv): Likewise.
27387         * socket/recvmsg.c (__recvmsg): Likewise.
27388         * socket/send.c (__send): Likewise.
27389         * socket/sendmsg.c (__sendmsg): Likewise.
27390         * socket/shutdown.c (shutdown): Likewise.
27391         * socket/sockatmark.c (sockatmark): Likewise.
27392         * socket/socket.c (__socket): Likewise.
27393         * stdio-common/ctermid.c (ctermid): Likewise.
27394         * stdio-common/cuserid.c (cuserid): Likewise.
27395         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
27396         * stdio-common/remove.c (remove): Likewise.
27397         * stdio-common/rename.c (rename): Likewise.
27398         * stdio-common/renameat.c (renameat): Likewise.
27399         * stdio-common/tempname.c (__gen_tempname): Likewise.
27400         * stdio-common/xbug.c (InitBuffer): Likewise.
27401         (AppendToBuffer): Likewise.
27402         (ReadFile): Likewise.
27403         * stdlib/a64l.c (a64l): Likewise.
27404         * stdlib/drand48_r.c (drand48_r): Likewise.
27405         * stdlib/getcontext.c (getcontext): Likewise.
27406         * stdlib/getenv.c (getenv): Likewise.
27407         * stdlib/l64a.c (l64a): Likewise.
27408         * stdlib/llabs.c (llabs): Likewise.
27409         * stdlib/lldiv.c (lldiv): Likewise.
27410         * stdlib/lrand48_r.c (lrand48_r): Likewise.
27411         * stdlib/mrand48_r.c (mrand48_r): Likewise.
27412         * stdlib/putenv.c (putenv): Likewise.
27413         * stdlib/random.c (__srandom): Likewise.
27414         (__initstate): Likewise.
27415         (__setstate): Likewise.
27416         * stdlib/random_r.c (__srandom_r): Likewise.
27417         (__setstate_r): Likewise.
27418         (__random_r): Likewise.
27419         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
27420         * stdlib/setcontext.c (setcontext): Likewise.
27421         * stdlib/setenv.c (setenv): Likewise.
27422         (unsetenv): Likewise.
27423         * stdlib/srand48.c (srand48): Likewise.
27424         * stdlib/srand48_r.c (__srand48_r): Likewise.
27425         * stdlib/swapcontext.c (swapcontext): Likewise.
27426         * stdlib/system.c (__libc_system): Likewise.
27427         * stdlib/tst-strtod.c (expand): Likewise.
27428         * stdlib/tst-strtol.c (expand): Likewise.
27429         * stdlib/tst-strtoll.c (expand): Likewise.
27430         * streams/fattach.c (fattach): Likewise.
27431         * streams/fdetach.c (fdetach): Likewise.
27432         * streams/getmsg.c (getmsg): Likewise.
27433         * streams/isastream.c (isastream): Likewise.
27434         * string/ffs.c (__ffs): Likewise.
27435         * string/ffsll.c (ffsll): Likewise.
27436         * string/memcmp.c (memcmp_common_alignment): Likewise.
27437         (memcmp_not_common_alignment): Likewise.
27438         (MEMCMP): Likewise.
27439         * string/memcpy.c (memcpy): Likewise.
27440         * string/memmove.c (MEMMOVE): Likewise.
27441         * string/memset.c (memset): Likewise.
27442         * string/rawmemchr.c (RAWMEMCHR): Likewise.
27443         * string/strchrnul.c (STRCHRNUL): Likewise.
27444         * string/strerror.c (strerror): Likewise.
27445         * string/strndup.c (__strndup): Likewise.
27446         * string/strverscmp.c (__strverscmp): Likewise.
27447         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
27448         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
27449         (clnttcp_freeres): Likewise.
27450         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
27451         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
27452         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
27453         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
27454         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
27455         (xdr_callhdr): Likewise.
27456         * sunrpc/rpcinfo.c (udpping): Likewise.
27457         (tcpping): Likewise.
27458         (pstatus): Likewise.
27459         (pmapdump): Likewise.
27460         (brdcst): Likewise.
27461         (deletereg): Likewise.
27462         (getprognum): Likewise.
27463         (getvers): Likewise.
27464         (get_inet_address): Likewise.
27465         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
27466         * sunrpc/svc_udp.c (svcudp_create): Likewise.
27467         (svcudp_stat): Likewise.
27468         (svcudp_recv): Likewise.
27469         (svcudp_reply): Likewise.
27470         (svcudp_getargs): Likewise.
27471         (svcudp_freeargs): Likewise.
27472         (svcudp_destroy): Likewise.
27473         * sunrpc/xdr.c (xdr_bytes): Likewise.
27474         (xdr_netobj): Likewise.
27475         (xdr_string): Likewise.
27476         (xdr_wrapstring): Likewise.
27477         * sunrpc/xdr_float.c (xdr_float): Likewise.
27478         (xdr_double): Likewise.
27479         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
27480         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
27481         * sysvipc/ftok.c (ftok): Likewise.
27482         * sysvipc/msgctl.c (msgctl): Likewise.
27483         * sysvipc/msgget.c (msgget): Likewise.
27484         * sysvipc/msgrcv.c (msgrcv): Likewise.
27485         * sysvipc/msgsnd.c (msgsnd): Likewise.
27486         * sysvipc/semget.c (semget): Likewise.
27487         * sysvipc/semop.c (semop): Likewise.
27488         * sysvipc/shmat.c (shmat): Likewise.
27489         * sysvipc/shmctl.c (shmctl): Likewise.
27490         * sysvipc/shmdt.c (shmdt): Likewise.
27491         * sysvipc/shmget.c (shmget): Likewise.
27492         * termios/cfmakeraw.c (cfmakeraw): Likewise.
27493         * termios/speed.c (cfgetospeed): Likewise.
27494         (cfgetispeed): Likewise.
27495         (cfsetospeed): Likewise.
27496         (cfsetispeed): Likewise.
27497         * termios/tcflow.c (tcflow): Likewise.
27498         * termios/tcflush.c (tcflush): Likewise.
27499         * termios/tcgetattr.c (__tcgetattr): Likewise.
27500         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
27501         * termios/tcgetsid.c (tcgetsid): Likewise.
27502         * termios/tcsendbrk.c (tcsendbreak): Likewise.
27503         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
27504         * time/adjtime.c (__adjtime): Likewise.
27505         * time/dysize.c (dysize): Likewise.
27506         * time/ftime.c (ftime): Likewise.
27507         * time/getitimer.c (__getitimer): Likewise.
27508         * time/gettimeofday.c (__gettimeofday): Likewise.
27509         * time/gmtime.c (__gmtime_r): Likewise.
27510         (gmtime): Likewise.
27511         * time/localtime.c (__localtime_r): Likewise.
27512         (localtime): Likewise.
27513         * time/offtime.c (__offtime): Likewise.
27514         * time/settimeofday.c (__settimeofday): Likewise.
27515         * time/stime.c (stime): Likewise.
27516         * time/strftime_l.c (tm_diff): Likewise.
27517         (iso_week_days): Likewise.
27518         * time/strptime.c (strptime): Likewise.
27519         * time/time.c (time): Likewise.
27520         * time/timespec_get.c (timespec_get): Likewise.
27521         * time/tzset.c (tzset_internal): Likewise.
27522         (compute_change): Likewise.
27523         (__tz_compute): Likewise.
27524         * wcsmbs/btowc.c (__btowc): Likewise.
27525         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
27526         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
27527         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
27528         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
27529         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
27530         * wcsmbs/wcscat.c (__wcscat): Likewise.
27531         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27532         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
27533         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
27534         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27535         * wcsmbs/wcsdup.c (wcsdup): Likewise.
27536         * wcsmbs/wcslen.c (__wcslen): Likewise.
27537         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
27538         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
27539         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
27540         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
27541         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27542         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
27543         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27544         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27545         * wcsmbs/wcstok.c (wcstok): Likewise.
27546         * wcsmbs/wctob.c (wctob): Likewise.
27547         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
27548         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27549         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
27550         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
27551         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
27552         * wcsmbs/wmemset.c (__wmemset): Likewise.
27553         * wctype/wcfuncs.c (__towlower): Likewise.
27554         (__towupper): Likewise.
27556         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
27557         (lll_unlock_elision): Add adapt_count parameter.
27559 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27561         * sysdeps/nptl/configure.ac: Do not give errors based on the
27562         results of top-level configure tests.
27563         * sysdeps/nptl/configure: Regenerated.
27565         * configure.ac (libc_cv_Bgroup): Remove configure test.
27566         * configure: Regenerated.
27567         * config.make.in (have-Bgroup): Remove variable.
27569         * configure.ac (sizeof_long_double): Remove configure test.
27570         * configure: Regenerated.
27571         * config.make.in (sizeof-long-double): Remove variable.
27573         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
27574         * configure: Regenerated.
27575         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
27576         variable.
27577         (exceptions): Likewise.
27578         * sysdeps/arm/configure: Regenerated.
27579         * config.make.in (exceptions): Remove variable.
27580         * Makeconfig (uses-callbacks): Use -fexceptions instead of
27581         $(exceptions).
27582         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
27583         (CFLAGS-vdprintf_chk.c): Likewise.
27584         (CFLAGS-printf_chk.c): Likewise.
27585         (CFLAGS-fprintf_chk.c): Likewise.
27586         (CFLAGS-vprintf_chk.c): Likewise.
27587         (CFLAGS-vfprintf_chk.c): Likewise.
27588         (CFLAGS-gets_chk.c): Likewise.
27589         (CFLAGS-fgets_chk.c): Likewise.
27590         (CFLAGS-fgets_u_chk.c): Likewise.
27591         (CFLAGS-fread_chk.c): Likewise.
27592         (CFLAGS-fread_u_chk.c): Likewise.
27593         (CFLAGS-wprintf_chk.c): Likewise.
27594         (CFLAGS-fwprintf_chk.c): Likewise.
27595         (CFLAGS-vwprintf_chk.c): Likewise.
27596         (CFLAGS-vfwprintf_chk.c): Likewise.
27597         (CFLAGS-fgetws_chk.c): Likewise.
27598         (CFLAGS-fgetws_u_chk.c): Likewise.
27599         * libio/Makefile (CFLAGS-fileops.c): Likewise.
27600         (CFLAGS-fputc.c): Likewise.
27601         (CFLAGS-fputwc.c): Likewise.
27602         (CFLAGS-freopen64.c): Likewise.
27603         (CFLAGS-freopen.c): Likewise.
27604         (CFLAGS-fseek.c): Likewise.
27605         (CFLAGS-fseeko64.c): Likewise.
27606         (CFLAGS-fseeko.c): Likewise.
27607         (CFLAGS-ftello64.c): Likewise.
27608         (CFLAGS-ftello.c): Likewise.
27609         (CFLAGS-fwide.c): Likewise.
27610         (CFLAGS-genops.c): Likewise.
27611         (CFLAGS-getc.c): Likewise.
27612         (CFLAGS-getchar.c): Likewise.
27613         (CFLAGS-getwc.c): Likewise.
27614         (CFLAGS-getwchar.c): Likewise.
27615         (CFLAGS-iofclose.c): Likewise.
27616         (CFLAGS-iofflush.c): Likewise.
27617         (CFLAGS-iofgetpos64.c): Likewise.
27618         (CFLAGS-iofgetpos.c): Likewise.
27619         (CFLAGS-iofgets.c): Likewise.
27620         (CFLAGS-iofgetws.c): Likewise.
27621         (CFLAGS-iofputs.c): Likewise.
27622         (CFLAGS-iofputws.c): Likewise.
27623         (CFLAGS-iofread.c): Likewise.
27624         (CFLAGS-iofsetpos64.c): Likewise.
27625         (CFLAGS-iofsetpos.c): Likewise.
27626         (CFLAGS-ioftell.c): Likewise.
27627         (CFLAGS-iofwrite.c): Likewise.
27628         (CFLAGS-iogetdelim.c): Likewise.
27629         (CFLAGS-iogetline.c): Likewise.
27630         (CFLAGS-iogets.c): Likewise.
27631         (CFLAGS-iogetwline.c): Likewise.
27632         (CFLAGS-ioputs.c): Likewise.
27633         (CFLAGS-ioseekoff.c): Likewise.
27634         (CFLAGS-ioseekpos.c): Likewise.
27635         (CFLAGS-iosetbuffer.c): Likewise.
27636         (CFLAGS-iosetvbuf.c): Likewise.
27637         (CFLAGS-ioungetc.c): Likewise.
27638         (CFLAGS-ioungetwc.c): Likewise.
27639         (CFLAGS-oldfileops.c): Likewise.
27640         (CFLAGS-oldiofclose.c): Likewise.
27641         (CFLAGS-oldiofgetpos64.c): Likewise.
27642         (CFLAGS-oldiofgetpos.c): Likewise.
27643         (CFLAGS-oldiofsetpos64.c): Likewise.
27644         (CFLAGS-oldiofsetpos.c): Likewise.
27645         (CFLAGS-peekc.c): Likewise.
27646         (CFLAGS-putc.c): Likewise.
27647         (CFLAGS-putchar.c): Likewise.
27648         (CFLAGS-putwc.c): Likewise.
27649         (CFLAGS-putwchar.c): Likewise.
27650         (CFLAGS-rewind.c): Likewise.
27651         (CFLAGS-wfileops.c): Likewise.
27652         (CFLAGS-wgenops.c): Likewise.
27653         (CFLAGS-oldiofopen.c): Likewise.
27654         (CFLAGS-iofopen.c): Likewise.
27655         (CFLAGS-iofopen64.c): Likewise.
27656         (CFLAGS-oldtmpfile.c): Likewise.
27657         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
27658         (CFLAGS-fprintf.c): Likewise.
27659         (CFLAGS-printf.c): Likewise.
27660         (CFLAGS-vfwprintf.c): Likewise.
27661         (CFLAGS-vfscanf.c): Likewise.
27662         (CFLAGS-vfwscanf.c): Likewise.
27663         (CFLAGS-fscanf.c): Likewise.
27664         (CFLAGS-scanf.c): Likewise.
27665         (CFLAGS-isoc99_vfscanf.c): Likewise.
27666         (CFLAGS-isoc99_vscanf.c): Likewise.
27667         (CFLAGS-isoc99_fscanf.c): Likewise.
27668         (CFLAGS-isoc99_scanf.c): Likewise.
27669         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
27670         (CFLAGS-isoc99_fwscanf.c): Likewise.
27671         (CFLAGS-isoc99_vwscanf.c): Likewise.
27672         (CFLAGS-isoc99_vfwscanf.c): Likewise.
27674         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
27675         after mkstemp64.
27676         * login/tst-utmp.c (do_prepare): Likewise.
27677         * rt/tst-aio.c (do_prepare): Likewise.
27678         * rt/tst-aio64.c (do_prepare): Likewise.
27680 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27682         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27683         (__lll_lock_elision): Remove adapt_count decrement...
27684         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
27685         (__lll_trylock_elision): Likewise.
27686         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
27687         (__lll_unlock_elision): ... to here. And utilize
27688         new adapt_count parameter.
27689         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27690         (__lll_unlock_elision): Update to include adapt_count
27691         parameter.
27692         (lll_unlock_elision): Pass pointer to adapt_count
27693         variable.
27695 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27697         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
27698         Add elision adapt_count parameter to list of arguments.
27699         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
27700         (lll_unlock_elision): Update with new parameter list
27701         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
27702         (lll_unlock_elision): Likewise.
27703         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
27704         (lll_unlock_elision): Likewise.
27706 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27708         [BZ #19122]
27709         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
27710         attribute_hidden.
27712         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
27713         attribute_hidden.
27714         [IS_IN (rtld)] (__strdup): Likewise.
27715         [IS_IN (rtld)] (__strerror_r): Likewise.
27716         [IS_IN (rtld)] (__strsep_g): Likewise.
27717         [IS_IN (rtld)] (memchr): Likewise.
27718         [IS_IN (rtld)] (memcmp): Likewise.
27719         [IS_IN (rtld)] (memcpy): Likewise.
27720         [IS_IN (rtld)] (memmove): Likewise.
27721         [IS_IN (rtld)] (memset): Likewise.
27722         [IS_IN (rtld)] (rawmemchr): Likewise.
27723         [IS_IN (rtld)] (stpcpy): Likewise.
27724         [IS_IN (rtld)] (strchr): Likewise.
27725         [IS_IN (rtld)] (strcmp): Likewise.
27726         [IS_IN (rtld)] (strlen): Likewise.
27727         [IS_IN (rtld)] (strnlen): Likewise.
27728         [IS_IN (rtld)] (strsep): Likewise.
27730         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
27731         attribute_hidden.
27732         [IS_IN (rtld)] (__strtoul_internal): Likewise.
27734         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
27735         attribute_hidden.
27736         [IS_IN (rtld)] (__libc_sigaction): Likewise.
27738         * include/setjmp.h (__longjmp): Add attribute_hidden.
27739         [IS_IN (rtld)] (__sigsetjmp): Likewise.
27741         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
27742         Add attribute_hidden.
27744         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
27745         [IS_IN (rtld)] (__open): Likewise.
27746         [IS_IN (rtld)] (__fcntl): Likewise.
27748         * include/dirent.h (__opendirat): Add attribute_hidden.
27749         (__getdents): Likewise.
27750         (__getdents64): Likewise.
27751         (__alloc_dir): Likewise.
27752         [IS_IN (rtld)] (__closedir): Likewise.
27753         [IS_IN (rtld)] (__fdopendir): Likewise.
27754         [IS_IN (rtld)] (__readdir): Likewise.
27755         [IS_IN (rtld)] (__readdir64): Likewise.
27756         [IS_IN (rtld)] (__rewinddir): Likewise.
27758         * include/dlfcn.h (_dl_catch_error): Moved to ...
27759         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
27760         attribute_hidden.
27762         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
27763         (_itoa_word): Likewise.
27765         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
27766         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
27767         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
27768         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
27769         (_dl_higher_prime_number): Likewise.
27770         (_dl_debug_printf_c): Likewise.
27771         (_dl_signal_cerror): Likewise.
27772         (_dl_receive_error): Likewise.
27773         (_dl_reloc_bad_type): Likewise.
27774         (_dl_resolve_conflicts): Likewise.
27775         (_dl_check_all_versions): Likewise.
27776         (_dl_check_map_versions): Likewise.
27777         (_dl_sort_fini): Likewise.
27778         (_dl_debug_initialize): Likewise.
27779         (_dl_init_paths): Likewise.
27780         (_dl_show_auxv): Likewise.
27781         (_dl_next_ld_env_entry): Likewise.
27782         (_dl_important_hwcaps): Likewise.
27783         (_dl_load_cache_lookup): Likewise.
27784         (_dl_update_slotinfo): Likewise.
27785         (_dl_show_scope): Likewise.
27787         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
27788         attribute_hidden.
27789         (_wordcopy_fwd_dest_aligned): Likewise.
27790         (_wordcopy_bwd_aligned): Likewise.
27791         (_wordcopy_bwd_dest_aligned): Likewise.
27793         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27794         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27795         Likewise.
27796         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
27797         Likewise.
27798         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
27800 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27802         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
27803         GCC 5 requirement.
27805 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
27807         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
27808         test.
27809         * sysdeps/i386/configure: Regenerated.
27810         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
27811         code unconditional.
27813         * configure.ac (libc_cv_asm_previous_directive): Remove configure
27814         test.
27815         (libc_cv_asm_popsection_directive): Likewise.
27816         * configure: Regenerated.
27817         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
27818         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
27819         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
27820         (__make_section_unallocated): Make definition unconditional.
27821         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
27822         Remove conditional definition.
27823         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
27824         (__make_section_unallocated): Likewise.
27826         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
27827         * configure: Regenerated.
27828         * config.make.in (static-libgcc): Remove variable.
27829         * Makerules (build-shlib-helper): Use -static-libgcc instead of
27830         $(static-libgcc).
27831         (build-module-helper): Likewise.
27833         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
27834         * configure: Regenerated.
27836 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27838         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
27839         (struct char_buffer): New type.
27840         (char_buffer_start, char_buffer_size, char_buffer_error)
27841         (char_buffer_rewind, char_buffer_add): New functions.
27842         (ADDW): Remove macro, replaced by the char_buffer_add function.
27843         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
27844         of extend_alloca.  Make control flow more explicit.
27846 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27848         [BZ #19137]
27849         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27850         Add -fomit-frame-pointer.
27851         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
27853 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27855         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
27856         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
27857         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
27858         only if !__GNUC_PREREQ (5,0).
27859         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
27860         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
27861         (INTERNAL_SYSCALL_NCS): Likewise.
27862         (LOADREGS_0): New macro for GCC 5.
27863         (ASMARGS_0): Likewise.
27864         (LOADREGS_1): Likewise.
27865         (ASMARGS_1): Likewise.
27866         (LOADREGS_2): Likewise.
27867         (ASMARGS_2): Likewise.
27868         (LOADREGS_3): Likewise.
27869         (ASMARGS_3): Likewise.
27870         (LOADREGS_4): Likewise.
27871         (ASMARGS_4): Likewise.
27872         (LOADREGS_5): Likewise.
27873         (ASMARGS_5): Likewise.
27874         (LOADREGS_6): Likewise.
27875         (ASMARGS_6): Likewise.
27877 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
27879         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
27880         -fomit-frame-pointer.
27881         (CFLAGS-mmap64.c): Likewise.
27882         (CFLAGS-semtimedop.c): Likewise.
27883         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
27884         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
27885         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27886         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27888 2015-10-15  Florian Weimer  <fweimer@redhat.com>
27890         [BZ #18928]
27891         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
27892         _dl_pointer_guard member.
27893         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
27894         initializer.
27895         (security_init): Always set up pointer guard.
27896         (process_envvars): Do not process LD_POINTER_GUARD.
27898 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
27900         [BZ #19134]
27901         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
27902         (.LC2): Likewise.
27903         (.LC3): Likewise.
27904         (__lround): Do not add 0.5 to integer or out-of-range arguments.
27906 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27908         [BZ #19129]
27909         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
27910         r0 and r1.
27912 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
27914         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
27916 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
27918         * include/stap-probe.h: Fix macro definition formatting.
27920 2015-10-14  Florian Weimer  <fweimer@redhat.com>
27922         [BZ #19074]
27923         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
27924         load and store num_ifs.
27926 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27928         [BZ #18822]
27929         * sysdeps/unix/sysv/linux/sched_getaffinity.c
27930         (__sched_getaffinity_new): Add libc_hidden_proto and
27931         libc_hidden_def.
27933 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27935         [BZ #19007]
27936         * scripts/localplt.awk: Also allow GOT references.
27937         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
27938         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
27939         with "+ REL R_386_GLOB_DAT".
27940         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
27941         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
27943 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
27945         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
27946         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27947         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
27948         Likewise.
27949         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27950         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
27951         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27952         INTERNAL_SYSCALLINTERNAL_SYSCALL and
27953         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27954         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27955         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27956         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27957         Likewise.
27958         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27960 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
27962         [BZ #19125]
27963         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
27964         <math_private.h> and <stdint.h>.
27965         (__llround): Avoid conversions to and from long long int, and
27966         subtractions, where those might raise spurious exceptions.
27967         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
27968         <math_private.h> and <stdint.h>.
27969         (__llroundf): Avoid conversions to and from long long int, and
27970         subtractions, where those might raise spurious exceptions.
27972 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
27974         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
27975         INLINE_SYSCALL_ERROR_RETURN_VALUE.
27976         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27977         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
27978         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27979         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27980         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
27981         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
27982         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
27983         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27984         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27985         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27986         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
27987         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27988         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27989         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
27990         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
27991         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
27992         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
27993         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
27994         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27995         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
27996         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
27997         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27998         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
27999         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28000         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
28001         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28002         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28003         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
28004         (__xstat64_conv): Likewise.
28005         (__xstat32_conv): Likewise.
28007 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28009         * sysdeps/unix/sysv/linux/sysdep.h: New file.
28010         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28011         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28012         <sysdeps/unix/sysv/linux/sysdep.h>.
28013         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28014         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28015         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28016         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28017         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28018         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28019         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28020         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28021         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28024         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28025         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28026         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28027         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28029         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28030         (sysdep-dl-routines): Add sysdep.
28031         [$(subdir) == nptl] (libpthread-routines): Likewise.
28032         [$(subdir) == rt] (librt-routines): Likewise.
28033         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28034         PIC when branching to SYSCALL_ERROR_LABEL.
28035         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28036         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28037         <sysdeps/unix/sysv/linux/sysdep.h>.
28038         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28039         (SYSCALL_ERROR_ERRNO): Removed.
28040         (SYSCALL_ERROR_HANDLER): Changed to empty.
28041         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28042         (__syscall_error): New prototype.
28043         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28044         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28046 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28048         [BZ #19124]
28049         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28050         (_dl_runtime_resolve_avx512): Make it a hidden alias of
28051         _dl_runtime_resolve_avx.
28052         (_dl_runtime_profile_avx512): Make it a hidden alias of
28053         _dl_runtime_profile_avx.
28055 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28057         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28058         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28059         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28060         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28062         [BZ #16422]
28063         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28064         New configure test.
28065         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
28066         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
28067         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
28068         <math_private.h> and <stdint.h>.
28069         (__llrint): Avoid conversions to long long int where those might
28070         raise spurious exceptions.
28071         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
28072         <math_private.h> and <stdint.h>.
28073         (__llrintf): Avoid conversions to long long int where those might
28074         raise spurious exceptions.
28076 2015-10-12  Andreas Schwab  <schwab@suse.de>
28078         [BZ #18969]
28079         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
28080         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
28081         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
28082         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
28083         $(gen-locales).
28084         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
28085         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
28086         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
28087         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
28088         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
28089         $(gen-locales).
28090         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
28091         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
28092         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
28093         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
28094         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
28095         ($(objpfx)tst-ftell-active-handler.out)
28096         ($(objpfx)tst-ftell-append.out)
28097         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
28098         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
28099         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
28100         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
28101         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
28102         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
28103         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
28104         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
28105         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
28106         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
28107         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
28108         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
28109         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
28110         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
28111         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
28112         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
28113         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
28114         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
28115         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
28116         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
28117         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
28118         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
28119         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
28120         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
28121         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
28122         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
28123         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
28124         $(gen-locales).
28125         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
28126         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
28127         $(gen-locales).
28128         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
28129         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
28130         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
28131         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
28132         $(gen-locales).
28133         * libio/tst_wprintf2.c (main): Use explicit locale.
28134         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
28136 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28138         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
28139         __msg_sig_post.
28140         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
28142 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28144         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28145         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28147         * sysdeps/arm/libm-test-ulps: Regenerated.
28149         [BZ #15470]
28150         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
28152         [BZ #16399]
28153         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
28154         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
28155         and <fix-fp-int-convert-overflow.h>.
28156         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28157         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28158         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
28159         and <fix-fp-int-convert-overflow.h>.
28160         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
28161         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28162         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
28163         <fix-fp-int-convert-overflow.h>.
28164         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
28165         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28166         * sysdeps/ieee754/dbl-64/s_lround.c: Include
28167         <fix-fp-int-convert-overflow.h>.
28168         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
28169         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28170         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
28171         and <fix-fp-int-convert-overflow.h>.
28172         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28173         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28174         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
28175         <limits.h> and <fix-fp-int-convert-overflow.h>.
28176         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28177         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28178         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
28179         and <fix-fp-int-convert-overflow.h>.
28180         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
28181         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28182         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
28183         and <fix-fp-int-convert-overflow.h>.
28184         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
28185         FIX_DBL_LLONG_CONVERT_OVERFLOW.
28186         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
28188 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
28190         [BZ #18589]
28191         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
28192         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
28193         $(gen-locales).
28195 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28196             Phil Blundell <pb@pbcl.net>
28198         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
28199         * nptl/tst-cancel26.c: New file.
28200         * nptl/tst-cancel27.c: Likewise.
28202 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
28204         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
28205         __ILP32__ isn't defined.
28206         (lrint): Likewise.
28207         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
28208         (lrintf): Likewise.
28209         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
28210         (lrintl): Likewise.
28211         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
28212         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
28213         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
28215 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28217         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
28218         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
28220         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
28221         file.
28222         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
28223         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
28225 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
28227         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
28228         configure test.
28229         * sysdeps/i386/configure: Regenerated.
28230         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
28231         configure test.
28232         * sysdeps/x86_64/configure: Regenerated.
28233         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
28234         Make code unconditional.
28236         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
28237         test.
28238         * sysdeps/i386/configure: Regenerated.
28239         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
28240         test.
28241         * sysdeps/x86_64/configure: Regenerated.
28242         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
28243         Make code unconditional.
28244         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28245         Likewise.
28246         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
28247         Likewise.
28248         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28249         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
28250         code unconditional.
28251         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28252         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
28253         code unconditional.
28254         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28255         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
28256         code unconditional.
28257         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
28258         code unconditional.
28259         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28260         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
28261         code unconditional.
28262         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28263         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
28264         code unconditional.
28265         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28266         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
28267         code unconditional.
28268         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28269         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
28270         code unconditional.
28271         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
28272         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
28274         [BZ #19095]
28275         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
28276         mantissa to long int before shifting left.
28278 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28280         [BZ #19094]
28281         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
28282         <limits.h>.
28283         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28284         when result overflows but exception would not result from cast.
28285         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
28286         <limits.h>.
28287         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28288         when result overflows but exception would not result from cast.
28289         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
28290         <limits.h>.
28291         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28292         when result overflows but exception would not result from cast.
28293         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
28294         <limits.h>.
28295         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28296         when result overflows but exception would not result from cast.
28297         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
28298         <limits.h>.
28299         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
28300         when result overflows but exception would not result from cast.
28301         * math/libm-test.inc (lrint_test_data): Add more tests.
28302         (llrint_test_data): Likewise.
28304 2015-10-08  Roland McGrath  <roland@hack.frob.com>
28306         [BZ #18872]
28307         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
28308         Move out from under [$(run-built-tests) = yes] conditional.
28309         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
28310         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
28312 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
28314         [BZ #18589]
28315         * string/Makefile (tests): Add bug-strcoll2.
28316         (LOCALES): Add cs_CZ.UTF-8.
28317         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
28319         [BZ #18589]
28320         * string/bug-strcoll2.c: New file.
28321         * locale/categories.def: Revert commit
28322         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
28323         * locale/langinfo.h: Likewise.
28324         * locale/localeinfo.h: Likewise.
28325         * locale/C-collate.c: Likewise.
28326         * locale/programs/ld-collate.c (collate_output): Likewise.
28327         * string/strcoll_l.c (STRDIFF): Likewise.
28328         (STRCOLL): Likewise.
28329         * wcsmbs/wcscoll_l.c: Likewise.
28331 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
28333         * math/libm-test.inc (lround_test_data): Do not expect the absence
28334         of "inexact" for some tests with non-integer arguments.
28335         (llround_test_data): Likewise.
28337         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
28338         test.
28339         (libc_cv_cc_sse2avx): Likewise.
28340         * sysdeps/i386/configure: Regenerated.
28341         * sysdeps/i386/i686/multiarch/Makefile
28342         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
28343         [$(subdir) = math].
28344         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
28345         code unconditional.
28346         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28347         Likewise.
28348         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
28349         Likewise.
28350         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28351         Likewise.
28352         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
28353         test.
28354         (libc_cv_cc_sse2avx): Likewise.
28355         * sysdeps/x86_64/configure: Regenerated.
28356         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
28357         unconditional.
28358         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
28359         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
28360         unconditional.
28361         (_dl_runtime_profile)
28362         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
28363         conditional code.
28364         * sysdeps/x86_64/fpu/multiarch/Makefile
28365         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
28366         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28367         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28368         * sysdeps/x86_64/fpu/multiarch/e_exp.c
28369         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28370         * sysdeps/x86_64/fpu/multiarch/e_log.c
28371         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28372         * sysdeps/x86_64/fpu/multiarch/s_atan.c
28373         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28374         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
28375         Likewise.
28376         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
28377         Likewise.
28378         * sysdeps/x86_64/fpu/multiarch/s_sin.c
28379         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28380         * sysdeps/x86_64/fpu/multiarch/s_tan.c
28381         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
28382         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
28383         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
28384         (HAVE_SSE2AVX_SUPPORT): Likewise.
28386 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
28388         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
28389         instead of #pragma optimize.
28391 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28393         [BZ #17195]
28394         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
28395         as is similarly done in systrim and _int_free already.
28397 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28399         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
28401 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28403         [BZ #19088]
28404         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
28405         <limits.h>.
28406         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28407         overflows but exception would not result from cast.
28408         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
28409         and <limits.h>.
28410         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
28411         overflows but exception would not result from cast.
28412         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
28413         <limits.h>.
28414         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28415         overflows but exception would not result from cast.
28416         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
28417         <limits.h>.
28418         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28419         overflows but exception would not result from cast.
28420         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
28421         <limits.h>.
28422         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
28423         overflows but exception would not result from cast.
28424         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
28425         <limits.h>.
28426         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
28427         overflows but exception would not result from cast.
28428         * math/libm-test.inc (lround_test_data): Add more tests.
28429         (llround_test_data): Likewise.
28431 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
28433         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
28434         (CFLAGS-ialloc.c): Ditto.
28435         (CFLAGS-scheck.c): Ditto.
28437 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
28439         [BZ #19086]
28440         * manual/filesys.texi (Storage Allocation): Fix argument order for
28441         posix_fallocate64.
28443 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28445         [BZ #19085]
28446         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
28447         exponent below 48 inside case for non-overflowing exponent.
28448         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
28450 2015-10-07  Florian Weimer  <fweimer@redhat.com>
28452         * iconvdata/cp737.h (from_idx): Add const.
28453         * iconvdata/cp775.h (from_idx): Likewise.
28455 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
28457         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
28458         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
28459         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
28461         [BZ #19079]
28462         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
28463         file, conditioned on [!_LP64].
28464         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
28465         [!_LP64] (__lround): Do not define as function or alias.
28466         [!_LP64] (lround): Likewise.
28467         [!_LP64] (__lroundl): Likewise.
28468         [!_LP64] (lroundl): Likewise.
28469         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
28470         macro.
28471         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28472         Likewise.
28474 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28476         * math/libm-test.inc (lrint_test_data): Add more tests.
28477         (llrint_test_data): Likewise.
28478         (lround_test_data): Likewise.
28479         (llround_test_data): Likewise.
28481         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
28482         (llrint_test_data): Add tests used for lrint.
28484         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
28485         test.
28486         * sysdeps/i386/configure: Regenerated.
28487         * sysdeps/i386/i686/multiarch/Makefile
28488         [$(config-cflags-sse4) = yes]: Make code unconditional.
28489         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28490         Likewise.
28491         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
28492         Likewise.
28493         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
28494         test.
28495         * sysdeps/x86_64/configure: Regenerated.
28496         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
28497         Make code unconditional.
28498         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
28499         Likewise.
28500         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
28501         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
28503         * scripts/rpm2dynsym.sh: Remove file.
28505 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28507         * configure.ac (libc_cv_cxx_thread_local): Define.
28508         * configure: Regenerate.
28509         * config.make.in (have-cxx-thread_local): Define.
28510         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
28511         (LDLIBS-tst-thread_local1): Define.
28512         (tests): Add tst-thread_local1.
28513         [have-cxx-thread_local != yes] (tests-unsupported): Add
28514         tst-thread_local1.
28515         * nptl/tst-thread_local1.cc: New file.
28517 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
28519         [BZ #19078]
28520         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
28521         (u_thres): Likewise.
28522         (__expl): Determine whether to call __kernel_standard_l based on
28523         value of result, not argument.
28525         * math/libm-test.inc (scalb_test_data): Add more expectations for
28526         the "inexact" exception.
28528         [BZ #19077]
28529         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
28530         0.0L for argument 1.0L.
28532         [BZ #19076]
28533         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
28534         constant 0.0L when computing infinite result.
28536 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28538         [BZ #10432]
28539         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
28540         malloc_usable_size.
28542 2015-10-06  Florian Weimer  <fweimer@redhat.com>
28544         [BZ #19018]
28545         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28546         Mangle function pointer before storing it.
28547         (__call_tls_dtors): Demangle function pointer before calling it.
28549 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28551         [BZ #19012]
28552         * iconv/gconv_db.c (gen_steps): Check for additional errors.
28553         Clean up on failure.
28555 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
28557         [BZ #19071]
28558         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
28559         long int variable to store possibly incremented high part of
28560         mantissa.
28561         * math/libm-test.inc (lround_test_data): Add tests used for
28562         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
28563         for tests requiring 64-bit long.  Do not condition tests on
28564         [TEST_FLOAT] unnecessarily.
28565         (llround_test_data): Add tests used for lround.  Add another
28566         expectation for the "inexact" exception.  Do not condition tests
28567         on [TEST_FLOAT] unnecessarily.
28569         [BZ #887]
28570         [BZ #19049]
28571         [BZ #19050]
28572         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
28573         * sysdeps/ieee754/dbl-64/e_log10.c: Include
28574         <fix-int-fp-convert-zero.h>.
28575         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28576         * sysdeps/ieee754/dbl-64/e_log2.c: Include
28577         <fix-int-fp-convert-zero.h>.
28578         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28579         * sysdeps/ieee754/dbl-64/s_erf.c: Include
28580         <fix-int-fp-convert-zero.h>.
28581         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28582         * sysdeps/ieee754/dbl-64/s_logb.c: Include
28583         <fix-int-fp-convert-zero.h>.
28584         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28585         * sysdeps/ieee754/flt-32/e_log10f.c: Include
28586         <fix-int-fp-convert-zero.h>.
28587         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28588         * sysdeps/ieee754/flt-32/e_log2f.c: Include
28589         <fix-int-fp-convert-zero.h>.
28590         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28591         * sysdeps/ieee754/flt-32/s_erff.c: Include
28592         <fix-int-fp-convert-zero.h>.
28593         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28594         * sysdeps/ieee754/flt-32/s_logbf.c: Include
28595         <fix-int-fp-convert-zero.h>.
28596         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28597         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
28598         <fix-int-fp-convert-zero.h>.
28599         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28600         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
28601         <fix-int-fp-convert-zero.h>.
28602         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
28603         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
28604         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
28605         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
28606         file.
28607         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
28609 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
28611         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28613 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
28615         [BZ #19059]
28616         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
28617         overflowing computation.
28618         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28619         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
28620         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28621         Likewise.
28622         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28623         Likewise.
28624         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
28625         Likewise.
28626         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28627         Likewise.
28628         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28629         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28630         Likewise.
28631         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28632         Likewise.
28633         * math/libm-test.inc (nexttoward_test_data): Add more tests.
28635         * nss/rewrite_field.c (__nss_rewrite_field): Use
28636         internal_function.
28637         * nss/valid_field.c (__nss_valid_field): Likewise.
28638         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
28640 2015-10-02  Florian Weimer  <fweimer@redhat.com>
28642         [BZ #18724]
28643         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
28644         (__nss_invalid_field_characters, __nss_valid_field)
28645         (__nss_valid_list_field, __nss_rewrite_field): Declare.
28646         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
28647         tst-field.c: New file.
28648         * nss/Makefile (routines): Add valid_field, rewrite_field.
28649         (tests-static): Define unconditionally.
28650         (tests): Include tests-static.
28651         [build-static-nss] (tests-static): Use append.
28652         [build-static-nss] (tests): Remove modification.
28653         * nss/getent.c (print_group): Call putgrent.  Report error.
28654         (print_gshadow): Call putsgent.  Report error.
28655         (print_passwd): Call putpwent.  Report error.
28656         (print_shadow): Call putspent.  Report error.
28657         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
28658         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
28659         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
28660         name, password, directory, shell fields for valid syntax.  Rewrite
28661         GECOS field to match syntax.
28662         * pwd/Makefile (tests): Add tst-putpwent.
28663         * pwd/tst-putpwent.c: New file.
28664         * grp/putgrent.c (putgrent): Convert to ISO function definition.
28665         Check grName, grpasswd, gr_mem fields for valid syntax.
28666         Change loop variable i to size_t.
28667         * grp/Makefile (tests): Add tst-putgrent.
28668         * grp/tst-putgrent.c: New file.
28669         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
28670         valid syntax.
28671         * shadow/Makefile (tests): Add tst-putspent.
28672         * shadow/tst-putspent.c: New file.
28673         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
28674         sg_mem fields for valid syntax.
28675         * gshadow/Makefile (tests): Add tst-putsgent.
28676         * gshadow/tst-putsgent.c: New file.
28678 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28680         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
28681         assembly instructions.
28683 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
28685         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
28686         prefix from operands.
28688 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
28690         [BZ #16347]
28691         [BZ #19046]
28692         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
28693         <libc-internal.h>.
28694         (MAXLGM): Do not use diagnostic control macros.
28695         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
28696         threshold for ldbl-128ibm.
28697         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
28698         instead of multiplying by log then subtracting.
28699         * math/auto-libm-test-in: Add more tests of lgamma.
28700         * math/auto-libm-test-out: Regenerated.
28702         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
28703         (TYPE_HEX_DIG): Likewise.
28704         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
28705         precisions when printing floating-point numbers.
28706         (check_float_internal): Likewise.
28708 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28710         [BZ #16620]
28711         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
28712         of log (10) rounded downward to 48 bits.
28713         (log10_low): Use corresponding low part of log (10).
28715         [BZ #19032]
28716         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
28717         compute result as (x - x) / (x - x) not as 0 / 0.
28718         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
28719         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
28721         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28722         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
28723         and expm1.
28724         * math/auto-libm-test-out: Regenerated.
28725         * math/libm-test.inc (acos_test_data): Add more tests.
28726         (asin_test_data): Likewise.
28727         (asinh_test_data): Likewise.
28728         (atan_test_data): Likewise.
28729         (atanh_test_data): Likewise.
28730         (atan2_test_data): Likewise.
28731         (cbrt_test_data): Likewise.
28732         (ceil_test_data): Likewise.
28733         (copysign_test_data): Likewise.
28734         (cos_test_data): Likewise.
28735         (cosh_test_data): Likewise.
28736         (erf_test_data): Likewise.
28737         (erfc_test_data): Likewise.
28738         (exp_test_data): Likewise.
28739         (exp10_test_data): Likewise.
28740         (exp2_test_data): Likewise.
28741         (expm1_test_data): Likewise.
28742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28744 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
28746         [BZ #19006]
28747         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
28748         to ...
28749         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
28750         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
28751         to ...
28752         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
28753         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
28754         to ...
28755         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
28756         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
28757         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
28758         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
28759         to ...
28760         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
28761         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
28762         Moved to ...
28763         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
28764         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
28765         Moved to ...
28766         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
28767         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
28768         to ...
28769         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
28770         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
28771         Moved to ...
28772         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
28773         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
28774         to ...
28775         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
28776         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
28777         Removed.
28778         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
28779         Likewise.
28780         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
28781         Likewise.
28782         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
28783         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
28784         Likewise.
28785         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28786         Likewise.
28787         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
28788         Likewise.
28789         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
28790         Likewise.
28791         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28792         Likewise.
28793         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
28794         Likewise.
28795         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
28796         Likewise.
28797         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
28798         Likewise.
28799         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
28800         Likewise.
28801         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
28802         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
28803         Likewise.
28804         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
28805         Likewise.
28806         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
28807         Likewise.
28808         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
28809         Likewise.
28810         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
28811         Likewise.
28812         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
28813         Replace ../i486/pthread_cond_timedwait.S with
28814         ../pthread_cond_timedwait.S.
28816 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
28818         * math/libm-test.inc (acos_test_data): Refine expectations for
28819         errno and "inexact" exceptions.
28820         (acosh_test_data): Likewise.
28821         (asin_test_data): Likewise.
28822         (asinh_test_data): Likewise.
28823         (atan_test_data): Likewise.
28824         (atanh_test_data): Likewise.
28825         (atan2_test_data): Likewise.
28826         (cbrt_test_data): Likewise.
28827         (ceil_test_data): Likewise.
28828         (copysign_test_data): Likewise.
28829         (cosh_test_data): Likewise.
28830         (erf_test_data): Likewise.
28831         (erfc_test_data): Likewise.
28832         (exp_test_data): Likewise.
28833         (exp10_test_data): Likewise.
28834         (exp2_test_data): Likewise.
28835         (expm1_test_data): Likewise.
28836         (fabs_test_data): Likewise.
28837         (floor_test_data): Likewise.
28838         (fma_test_data): Likewise.
28839         (fmax_test_data): Likewise.
28840         (fmin_test_data): Likewise.
28841         (fmod_test_data): Likewise.
28842         (fpclassify_test_data): Likewise.
28843         (frexp_test_data): Likewise.
28844         (hypot_test_data): Likewise.
28845         (ilogb_test_data): Likewise.
28846         (isgreater_test_data): Likewise.
28847         (isgreaterequal_test_data): Likewise.
28848         (isinf_test_data): Likewise.
28849         (isless_test_data): Likewise.
28850         (islessequal_test_data): Likewise.
28851         (islessgreater_test_data): Likewise.
28852         (isnan_test_data): Likewise.
28853         (isnormal_test_data): Likewise.
28854         (issignaling_test_data): Likewise.
28855         (isunordered_test_data): Likewise.
28856         (j0_test_data): Likewise.
28857         (j1_test_data): Likewise.
28858         (jn_test_data): Likewise.
28859         (lgamma_test_data): Likewise.
28860         (lrint_test_data): Likewise.
28861         (llrint_test_data): Likewise.
28862         (log_test_data): Likewise.
28863         (log10_test_data): Likewise.
28864         (log1p_test_data): Likewise.
28865         (log2_test_data): Likewise.
28866         (logb_test_data): Likewise.
28867         (lround_test_data): Likewise.
28868         (llround_test_data): Likewise.
28869         (modf_test_data): Likewise.
28870         (nearbyint_test_data): Likewise.
28871         (nextafter_test_data): Likewise.
28872         (nexttoward_test_data): Likewise.
28873         (pow_test_data): Likewise.
28874         (remainder_test_data): Likewise.
28875         (remquo_test_data): Likewise.
28876         (rint_test_data): Likewise.
28877         (round_test_data): Likewise.
28878         (signbit_test_data): Likewise.
28879         (sinh_test_data): Likewise.
28880         (sqrt_test_data): Likewise.
28881         (tanh_test_data): Likewise.
28882         (tgamma_test_data): Likewise.
28883         (trunc_test_data): Likewise.
28884         (y0_test_data): Likewise.
28885         (y1_test_data): Likewise.
28886         (yn_test_data): Likewise.
28887         (significand_test_data): Likewise.
28889 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
28891         * manual/filesys.texi (Storage Allocation): Document that
28892         posix_fallocate emulation fails when fd is open with O_WRONLY.
28894 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
28896         [BZ #19016]
28897         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
28898         allow more cases with X^2 + Y^2 >= 0.5.
28899         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
28900         normal element in sum instead of special-casing based on values of
28901         arguments.
28902         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
28903         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
28904         -1 as normal element in sum instead of special-casing based on
28905         values of arguments.
28906         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
28907         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
28908         (__x2y2m1): Update comment.
28909         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
28910         as normal element in sum instead of special-casing based on values
28911         of arguments.
28912         * math/s_clog.c (__clog): Handle more cases using log1p without
28913         hypot.
28914         * math/s_clog10.c (__clog10): Likewise.
28915         * math/s_clog10f.c (__clog10f): Likewise.
28916         * math/s_clog10l.c (__clog10l): Likewise.
28917         * math/s_clogf.c (__clogf): Likewise.
28918         * math/s_clogl.c (__clogl): Likewise.
28919         * math/auto-libm-test-in: Add more tests of clog and clog10.
28920         * math/auto-libm-test-out: Regenerated.
28921         * sysdeps/i386/fpu/libm-test-ulps: Update.
28922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28924 2015-09-28  Martin Sebor  <msebor@redhat.com>
28926         [BZ #18969]
28927         * string/Makefile (LOCALES): Define.
28928         (gen-locales.mk): Include.
28929         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
28930         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
28931         * string/tst-strxfrm2.c (do_test): Print the name of the locale
28932         on setlocale failure.
28934 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28936         [BZ #18985]
28937         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
28938         (__strftime_internal): Likewise.
28939         * time/tst-strftime.c (do_bz18985): New test.
28940         (do_test): Call it.
28942 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
28944         [BZ #18956]
28945         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
28946         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
28947         extracting high part.
28948         * math/auto-libm-test-in: Add another test of pow.
28949         * math/auto-libm-test-out: Regenerated.
28950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28952 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28954         [BZ #18825]
28955         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
28956         New macro.
28957         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
28958         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
28959         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
28960         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
28961         DBL_NARROW_EVAL, reloading the PIC register as needed.
28962         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
28963         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
28964         FLT_NARROW_EVAL.  Use separate return path for case when first
28965         argument is NaN.
28966         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
28967         DEFINE_LDBL_MIN.
28968         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
28969         PIC register.
28970         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
28971         math_check_force_underflow_nonneg.
28972         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
28973         underflow for subnormal result.
28974         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
28975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
28976         math_check_force_underflow_nonneg.
28977         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
28978         math_check_force_underflow.
28979         * sysdeps/x86_64/fpu/x86_64-math-asm.h
28980         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
28981         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
28982         DEFINE_LDBL_MIN.
28983         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
28984         * math/auto-libm-test-in: Add more tests of pow.
28985         * math/auto-libm-test-out: Regenerated.
28987 2015-09-25  Florian Weimer  <fweimer@redhat.com>
28989         * nss/bug17079.c (init_test_items): Add diagnostic for
28990         inconsistent entries.
28991         (test_buffer_size): Skip inconsistent entries.
28993 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
28995         [BZ #13304]
28996         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
28997         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
28998         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
29000         [BZ #13304]
29001         * sysdeps/microblaze/s_fma.c: New file.
29002         * sysdeps/microblaze/s_fmaf.c: Likewise.
29003         * sysdeps/microblaze/sfp-machine.h: Likewise.
29005 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
29007         [BZ #17250]
29008         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
29009         member.
29011 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29013         [BZ #18803]
29014         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29015         (MO): New macro.
29016         (__ieee754_hypot) [PIC]: Load PIC register.
29017         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29018         DBL_NARROW_EVAL.
29019         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29020         math_check_force_underflow_nonneg in case where result might be
29021         tiny.
29022         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29023         Likewise.
29024         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29025         Likewise.
29026         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29027         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29028         * math/auto-libm-test-in: Add more tests of hypot.
29029         * math/auto-libm-test-out: Regenerated.
29031 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
29033         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29035 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29037         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29038         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29039         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29040         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29041         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29042         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29043         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29045         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29046         LOAD_PIC_REG.
29048         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29049         (FLT_CHECK_FORCE_UFLOW): Likewise.
29050         (DBL_CHECK_FORCE_UFLOW): Likewise.
29051         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29052         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29053         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29054         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29055         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29056         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29057         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29058         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29059         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29060         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29061         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29062         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29063         (flt_min): Replace with use of DEFINE_FLT_MIN.
29064         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
29065         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
29066         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29067         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
29068         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
29069         (flt_min): Replace with use of DEFINE_FLT_MIN.
29070         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
29071         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
29072         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29073         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
29074         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
29075         (flt_min): Replace with use of DEFINE_FLT_MIN.
29076         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
29077         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
29078         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29079         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29080         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
29081         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29082         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29083         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
29084         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29085         (__atan): Use DBL_CHECK_FORCE_UFLOW.
29086         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
29087         (flt_min): Replace with use of DEFINE_FLT_MIN.
29088         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
29089         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
29090         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29091         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
29092         main computation.
29093         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
29094         (flt_min): Replace with use of DEFINE_FLT_MIN.
29095         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
29096         main computation.
29097         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
29098         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29099         (MO): New macro.
29100         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
29101         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
29102         (flt_min): Replace with use of DEFINE_FLT_MIN.
29103         (MO): New macro.
29104         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
29105         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
29106         (__log1pl): Use MO.
29108         [BZ #19003]
29109         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
29110         $(config-cflags-nofma).
29112 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29114         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29116 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
29118         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
29119         (TWO127): Likewise.
29121         * sysdeps/generic/math_private.h (fabs_tg): New macro.
29122         (min_of_type): Likewise.
29123         (math_check_force_underflow): Likewise.
29124         (math_check_force_underflow_nonneg): Likewise.
29125         (math_check_force_underflow_complex): Likewise.
29126         * math/e_exp2l.c (__ieee754_exp2l): Use
29127         math_check_force_underflow_nonneg.
29128         * math/k_casinh.c (__kernel_casinh): Likewise.
29129         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29130         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29131         * math/s_catan.c (__catan): Use
29132         math_check_force_underflow_complex.
29133         * math/s_catanf.c (__catanf): Likewise.
29134         * math/s_catanh.c (__catanh): Likewise.
29135         * math/s_catanhf.c (__catanhf): Likewise.
29136         * math/s_catanhl.c (__catanhl): Likewise.
29137         * math/s_catanl.c (__catanl): Likewise.
29138         * math/s_ccosh.c (__ccosh): Likewise.
29139         * math/s_ccoshf.c (__ccoshf): Likewise.
29140         * math/s_ccoshl.c (__ccoshl): Likewise.
29141         * math/s_cexp.c (__cexp): Likewise.
29142         * math/s_cexpf.c (__cexpf): Likewise.
29143         * math/s_cexpl.c (__cexpl): Likewise.
29144         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
29145         * math/s_clog10.c (__clog10): Likewise.
29146         * math/s_clog10f.c (__clog10f): Likewise.
29147         * math/s_clog10l.c (__clog10l): Likewise.
29148         * math/s_clogf.c (__clogf): Likewise.
29149         * math/s_clogl.c (__clogl): Likewise.
29150         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
29151         * math/s_csinf.c (__csinf): Likewise.
29152         * math/s_csinh.c (__csinh): Likewise.
29153         * math/s_csinhf.c (__csinhf): Likewise.
29154         * math/s_csinhl.c (__csinhl): Likewise.
29155         * math/s_csinl.c (__csinl): Likewise.
29156         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
29157         * math/s_csqrtf.c (__csqrtf): Likewise.
29158         * math/s_csqrtl.c (__csqrtl): Likewise.
29159         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
29160         * math/s_ctanf.c (__ctanf): Likewise.
29161         * math/s_ctanh.c (__ctanh): Likewise.
29162         * math/s_ctanhf.c (__ctanhf): Likewise.
29163         * math/s_ctanhl.c (__ctanhl): Likewise.
29164         * math/s_ctanl.c (__ctanl): Likewise.
29165         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
29166         instead of volatile.
29167         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
29168         math_check_force_underflow.
29169         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
29170         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
29171         volatile when forcing underflow.
29172         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
29173         math_check_force_underflow_nonneg.
29174         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
29175         Likewise.
29176         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
29177         math_check_force_underflow.
29178         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29179         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29180         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
29181         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
29182         math_check_force_underflow_nonneg.
29183         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
29184         math_check_force_underflow.
29185         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
29186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
29187         instead of volatile.
29188         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
29189         math_check_force_underflow.
29190         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29191         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29192         math_check_force_underflow_nonneg.
29193         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
29194         math_check_force_underflow.
29195         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
29196         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
29197         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
29198         math_check_force_underflow_nonneg.
29199         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29200         Likewise.
29201         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
29202         math_check_force_underflow.
29203         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29204         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29205         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
29206         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
29207         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
29208         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
29209         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
29210         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
29211         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
29212         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
29213         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
29214         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
29215         Likewise.
29216         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
29217         math_check_force_underflow_nonneg.
29218         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29219         Likewise.
29220         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
29221         math_check_force_underflow.
29222         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29223         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
29224         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29225         Likewise.
29226         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
29227         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
29228         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
29229         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
29230         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
29231         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
29232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
29233         instead of volatile.
29234         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
29235         math_check_force_underflow.
29236         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
29237         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
29238         math_check_force_underflow.
29239         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
29240         Likewise.
29241         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29242         Use math_check_force_underflow_nonneg.
29243         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
29244         math_check_force_underflow.
29245         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
29246         Likewise.
29247         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29248         Likewise.
29249         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29250         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29251         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29252         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29253         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
29254         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29255         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
29256         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
29257         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
29258         math_check_force_underflow_nonneg.
29259         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
29260         math_check_force_underflow.
29261         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29262         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
29263         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
29264         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
29265         math_check_force_underflow_nonneg.
29266         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
29267         math_check_force_underflow.
29268         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
29269         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
29270         instead of volatile.
29271         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
29272         math_check_force_underflow.
29274         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
29275         * stdlib/strtod_l.c: Include <math_private.h>.
29276         (overflow_value): Use math_narrow_eval.
29277         (underflow_value): Likewise.
29278         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29279         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29280         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
29281         (__ieee754_gamma_r): Likewise.
29282         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
29283         Likewise.
29284         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
29285         Likewise.
29286         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
29287         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
29288         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
29289         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
29290         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
29291         (__ieee754_gammaf_r): Likewise.
29292         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
29293         Likewise.
29294         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
29295         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
29296         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
29297         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
29298         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
29299         volatile.
29300         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
29301         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
29302         math_narrow_eval.
29303         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29304         Likewise.
29305         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29306         Likewise.
29307         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
29308         Likewise.
29309         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
29310         volatile.
29311         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
29312         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
29313         math_narrow_eval.
29314         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29315         Likewise.
29316         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29317         Likewise.
29319 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
29321         * nptl/Versions: Remove ignored symbols.
29323 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29325         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
29326         * nss/Makefile (tests): Update.
29328 2015-09-22  Florian Weimer  <fweimer@redhat.com>
29330         * nss/bug18287.c: New file.
29331         * nss/Makefile (tests): Add bug18287.
29333 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29335         * mach/Versions (__mach_host_self_): Add symbol.
29337 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29339         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
29340         vm_page_size.
29342 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29344         Really fix sysdeps/i386/fpu/s_scalbn.S build
29346         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
29347         (libc: GLIBC_2_22): Remove unused version set.
29349 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29351         * config.make.in (enable-timezone-tools): New variable.
29352         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
29353         (enable_timezone_tools): Export to generated files.
29354         * configure: Regenerate.
29355         * INSTALL: Regenerate.
29356         * manual/install.texi (--disable-timezone-tools): Document new flag.
29357         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
29358         ifeq ($(enable-timezone-tools),yes) check.
29360 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29362         * timezone/Makefile: Revert previous change.
29364         [BZ #18980]
29365         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
29366         (DEFINE_DBL_MIN): Likewise.
29367         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29368         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
29369         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29370         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
29371         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
29372         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29373         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29374         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
29375         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
29376         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29377         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29378         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
29379         (flt_min): Replace with use of DEFINE_FLT_MIN.
29380         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29381         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
29382         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29383         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
29384         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
29385         (flt_min): Replace with use of DEFINE_FLT_MIN.
29386         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29387         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
29388         (flt_min): Replace with use of DEFINE_FLT_MIN.
29389         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
29390         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
29391         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
29392         (__ieee754_hypot): Use DBL_NARROW_EVAL.
29393         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
29394         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
29395         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
29396         (__ieee754_pow): Use DBL_NARROW_EVAL.
29397         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
29398         (__ieee754_powf): Use FLT_NARROW_EVAL.
29399         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
29400         (__ieee754_expf_sse2): Convert double-precision result to single
29401         precision.
29402         * sysdeps/i386/fpu/libm-test-ulps: Update.
29404 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29406         * timezone/Makefile: Ignore unused variable errors due to private.h
29407         (time_t_min) and (time_t_max).
29408         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
29409         Likewise.
29411 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29413         [BZ #18981]
29414         * sysdeps/i386/fpu/i386-math-asm.h: New file.
29415         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
29416         (__ieee754_scalb): Use DBL_NARROW_EVAL.
29417         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
29418         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
29419         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
29420         (__scalbn): Use DBL_NARROW_EVAL.
29421         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
29422         (__scalbnf): Use FLT_NARROW_EVAL.
29424 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29426         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
29427         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
29428         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
29429         * stdio-common/printf_fp.c (___printf_fp):
29430         Use signbit to get the sign. Use isinf macro to allow inlining.
29431         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
29432         * stdio-common/printf_size.c (__printf_size): Likewise.
29434 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
29436         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
29438 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
29440         [BZ #18980]
29441         * sysdeps/generic/math_private.h: Include <float.h>.
29442         (math_narrow_eval): New macro.
29443         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
29444         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
29445         math_narrow_eval on overflowing return value.
29446         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
29447         Likewise.
29448         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
29449         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
29450         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
29451         Likewise.
29452         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
29454 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29456         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
29457         * math/Makefile: Remove isinf_ns.c.
29458         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
29459         * math/multc3.c (__multc3): Likewise.
29460         * math/s_casin.c (__casin): Likewise.
29461         * math/s_casinf.c (__casinf): Likewise.
29462         * math/s_casinl.c (__casinl): Likewise.
29463         * math/s_cproj.c (__cproj): Likewise.
29464         * math/s_cprojf.c (__cprojf): Likewise.
29465         * math/s_cprojl.c (__cprofl): Likewise.
29466         * math/s_ctan.c (__ctan): Likewise.
29467         * math/s_ctanf.c (__ctanf): Likewise.
29468         * math/s_ctanh.c (__ctanh): Likewise.
29469         * math/s_ctanhf.c (__ctanhf): Likewise.
29470         * math/s_ctanhl.c (__ctanhl): Likewise.
29471         * math/s_ctanl.c (__ctanl): Likewise.
29472         * math/w_fmod.c (__fmod): Likewise.
29473         * math/w_fmodf.c (__fmodf): Likewise.
29474         * math/w_fmodl.c (_fmodl): Likewise.
29475         * math/w_remainder.c (__remainder): Likewise.
29476         * math/w_remainderf.c (__remainderf): Likewise.
29477         * math/w_remainderl.c (__remainderl): Likewise.
29478         * math/w_scalb.c (__scalb): Likewise.
29479         * math/w_scalbf.c (__scalbf): Likewise.
29480         * math/w_scalbl.c (__scalbl): Likewise.
29481         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29482         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
29483         with isinf.
29484         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
29485         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
29486         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
29487         __isinf_nsf with isinf.
29488         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
29489         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
29490         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
29491         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
29492         with isinf.
29493         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
29494         __isinf_nsl with isinf.
29495         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
29496         with isinf.
29497         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
29498         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
29499         __isinf_nsl with isinf.
29500         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
29501         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
29502         with isinf.
29504 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29506         * resolv/base64.c (rcsid): Remove unused static.
29507         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
29508         static.  (tqpi1): Likewise.
29509         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
29510         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
29511         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
29512         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
29513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
29514         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
29515         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
29516         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
29517         Likewise.
29519 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
29521         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
29522         <nptl/pthreadP.h>.
29523         (_longjmp_unwind): Use __libc_ptf_call.
29524         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
29526 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
29528         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
29529         * sysdeps/arm/__longjmp.S: Likewise.
29531 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29533         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
29534         Use __builtin_signbit.
29535         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
29536         Use __builtin_signbitf.
29537         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
29538         Use __builtin_signbitl.
29539         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29540         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
29542 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29544         [BZ #15367]
29545         [BZ #17441]
29547         * math/Makefile: Build test-snan.c with -fsignaling-nans.
29548         * math/math.h (fpclassify): Use __builtin_fpclassify when
29549         available.  (signbit): Use __builtin_signbit(f/l).
29550         (isfinite): Use__builtin_isfinite.  (isnormal): Use
29551         __builtin_isnormal.  (isnan): Use __builtin_isnan.
29552         (isinf): Use __builtin_isinf_sign.
29554 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
29556         * benchtests/Makefile: Add bench-math-inlines, link with libm.
29557         * benchtests/bench-math-inlines.c: New benchmark.
29558         * benchtests/bench-util.h: New file.
29559         * benchtests/bench-util.c: New file.
29560         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
29562 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
29564         * elf/tst-dlmopen1.c: Define TEST_SO.
29565         (do_test): Use TEST_SO.
29567         * elf/dl-load.c: Include libc-internal.h.
29568         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
29570 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29572         [BZ #17887]
29573         * time/strptime_l.c (__strptime_internal): Make %z accept
29574         [+-]HH:MM time zones.
29576 2015-09-18  Vincent Bernat  <vincent@bernat.im>
29578         [BZ #17886]
29579         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
29580         valid time zone.
29582 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
29584         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
29585         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
29586         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29587         (__ASSUME_FDATASYNC): Delete.
29589 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29591         * conform/linknamespace.pl: Require weak undefined symbols to be
29592         in the standard namespace.
29593         (%strong_syms): Rename to %seen_syms.
29594         (%strong_seen): Rename to %seen_where.
29596 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
29598         [BZ #18970]
29599         * misc/error.c (error): Replace pthread_setcancelstate with
29600         __pthread_setcancelstate.
29601         (error_at_line): Likewise.
29602         * posix/wordexp.c (parse_comm): Likewise.
29603         * stdlib/fmtmsg.c (fmtmsg): Likewise.
29604         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
29605         (__pthread_setcancelstate): This.
29606         (pthread_setcancelstate): Add an alias.
29607         * nptl/nptl-init.c (pthread_functions): Replace
29608         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
29609         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
29610         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
29611         hidden_proto.
29612         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
29613         it with hidden_def.
29614         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
29615         (pthread_setcancelstate): Renamed to ...
29616         (__pthread_setcancelstate): This.
29617         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
29618         __libc_ptf_call with __pthread_setcancelstate.
29620 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29621             Andreas Schwab  <schwab@suse.de>
29623         [BZ #17118]
29624         * math/s_ctan.c (__ctan): Determine sign of zero real part of
29625         result when imaginary part of argument is infinite using sine and
29626         cosine.
29627         * math/s_ctanf.c (__ctanf): Likewise.
29628         * math/s_ctanl.c (__ctanl): Likewise.
29629         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
29630         of result when real part of argument is infinite using sine and
29631         cosine.
29632         * math/s_ctanhf.c (__ctanhf): Likewise.
29633         * math/s_ctanhl.c (__ctanhl): Likewise.
29634         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
29635         (ctanh_test_data): Add more tests of ctanh.
29637 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
29639         [BZ #15384]
29640         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
29641         bit-mask as in subtraction.
29642         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
29643         Likewise.
29644         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
29645         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
29646         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
29648         [BZ #18951]
29649         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
29650         underflow exception for small results.
29651         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
29652         Likewise.
29653         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
29654         Likewise.
29655         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29656         Likewise.
29657         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
29658         Likewise.
29659         * math/auto-libm-test-in: Add more tests of tgamma.
29660         * math/auto-libm-test-out: Regenerated.
29662 2015-09-17  Andreas Schwab  <schwab@suse.de>
29664         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
29666 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29668         [BZ #18977]
29669         * math/bits/mathcalls.h
29670         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
29671         not declare.
29672         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
29673         Likewise.
29674         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
29675         Likewise.
29676         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
29677         Likewise.
29678         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
29679         Likewise.
29680         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
29681         Likewise.
29682         * conform/data/math.h-data
29683         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
29684         function.
29685         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
29686         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
29687         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
29688         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
29689         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29690         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
29691         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
29692         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
29693         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
29694         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
29695         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
29697         [BZ #6803]
29698         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
29699         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
29700         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
29701         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
29702         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
29703         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
29704         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
29705         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
29706         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29707         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
29708         Likewise.
29709         [NO_LONG_DOUBLE] (scalbnl): Likewise.
29710         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
29711         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
29712         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
29713         long_double_symbol calls.
29714         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
29715         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
29716         strong alias of __ldexpl.
29717         (scalbnl): Define using long_double_symbol.
29718         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
29719         Remove alias.
29720         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
29721         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
29722         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
29723         (scalbln_test_data): Add more errno expectations.
29725 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
29727         Cache the host port like we cache the task port.  This way we do not
29728         need to call the kernel just to get the port.  Furthermore, we no
29729         longer increase the reference count on every invocation of
29730         `mach_host_self'.
29732         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
29733         Protect declarations against the macro expansion.
29734         * mach/mach_init.c (__mach_host_self_): New variable.
29735         (mach_init): Initialize `__mach_host_self_'.
29736         * mach/mach_init.h (__mach_host_self_): New declaration.
29737         (__mach_host_self, mach_host_self): New macros.
29738         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
29739         Release reference.
29741 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
29743         [BZ #4404]
29744         * po/de.po: Update from Translation Project.
29746         [BZ #16415]
29747         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
29748         (__expm1l): Remove code to handle positive infinity and overflow.
29749         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
29750         variable.
29751         (__expm1l): Remove code to handle positive infinity and overflow.
29753 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
29754             Paul Pluzhnikov  <ppluzhnikov@google.com>
29756         [BZ #18872]
29757         * stdio-common/Makefile (tst-printf-bz18872): New test.
29758         (tst-printf-bz18872-mem.out): Likewise.
29759         * stdio-common/tst-printf-bz18872.sh: Generate new test.
29760         * stdio-common/vfprintf.c: Fix memory leaks.
29762 2015-09-16  Andreas Schwab  <schwab@suse.de>
29764         [BZ #17244]
29765         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
29766         Remove extra va_start/va_end calls.
29768         [BZ #17243]
29769         * posix/execl.c (execl): Add missing va_end.
29770         * posix/execle.c (execle): Likewise.
29771         * posix/execlp.c (execlp): Likewise.
29773 2015-09-15  Roland McGrath  <roland@hack.frob.com>
29775         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
29776         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
29778 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
29780         [BZ #18967]
29781         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
29782         undefine around includes of <bits/mathcalls.h>.
29783         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
29784         not declare function.
29785         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
29786         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
29787         (scalb): Likewise.
29788         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
29789         not define macro.
29790         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
29791         variable.
29792         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29793         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29794         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29796         [BZ #18857]
29797         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
29798         return non-finite argument without doing ordered comparisons on
29799         it.
29801         [BZ #16296]
29802         * math/fenv.h (fegetround): Use __attribute_pure__.
29803         * include/fenv.h (__fegetround): Likewise.
29805         [BZ #18595]
29806         * math/s_ctan.c (__ctan): Force underflow exception for results
29807         whose real or imaginary part has small absolute value.
29808         * math/s_ctanf.c (__ctanf): Likewise.
29809         * math/s_ctanh.c (__ctanh): Likewise.
29810         * math/s_ctanhf.c (__ctanhf): Likewise.
29811         * math/s_ctanhl.c (__ctanhl): Likewise.
29812         * math/s_ctanl.c (__ctanl): Likewise.
29813         * math/auto-libm-test-in: Do not allow missing underflow for ctan
29814         and ctanh.  Add more tests of ctan and ctanh.
29816         [BZ #15918]
29817         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
29818         handling of cases where one argument is an infinity.
29820         [BZ #18875]
29821         [BZ #18966]
29822         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
29823         (MO): New macro.
29824         (__ieee754_exp10): For small results, force underflow exception
29825         and remove excess range and precision from return value.
29826         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
29827         (MO): New macro.
29828         (__ieee754_exp10f): For small results, force underflow exception
29829         and remove excess range and precision from return value.
29830         * math/auto-libm-test-in: Add more tests of exp10.
29831         * math/auto-libm-test-out: Regenerated.
29833 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
29835         [BZ #18875]
29836         [BZ #18961]
29837         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
29838         (MO): New macro.
29839         (__ieee754_exp): For small results, force underflow exception and
29840         remove excess range and precision from return value.
29841         (__exp_finite): Likewise.
29842         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
29843         (MO): New macro.
29844         (__ieee754_expf): For small results, force underflow exception and
29845         remove excess range and precision from return value.
29846         (__expf_finite): Likewise.
29847         * math/auto-libm-test-in: Add more tests of exp.
29848         * math/auto-libm-test-out: Regenerated.
29850         [BZ #16521]
29851         [BZ #18875]
29852         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
29853         small results.
29854         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
29855         (MO): New macro.
29856         (__ieee754_exp2): For small results, force underflow exception and
29857         remove excess range and precision from return value.
29858         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
29859         (MO): New macro.
29860         (__ieee754_exp2f): For small results, force underflow exception
29861         and remove excess range and precision from return value.
29862         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
29863         (MO): New macro.
29864         (__ieee754_exp2l): Force underflow exception for small results.
29865         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29866         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29867         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
29868         (MO): New macro.
29869         (__ieee754_exp2l): Force underflow exception for small results.
29870         * math/auto-libm-test-in: Add more tests or exp2.
29871         * math/auto-libm-test-out: Regenerated.
29873 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
29875         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
29877         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
29878         /dev/null.
29880 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29882         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
29883         io fs process)): Drop spurious backslash.
29885 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29887         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
29888         Use sysinfo system call instead of parsing /proc/meminfo.
29889         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
29890         Likewise.
29892 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
29894         [BZ #16985]
29895         * programs/localedef.c (main): Display argv[remaining] when
29896         output_path is NULL.
29898 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29900         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29901         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
29902         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
29903         tanh.
29904         * math/auto-libm-test-out: Regenerated.
29905         * sysdeps/i386/fpu/libm-test-ulps: Update.
29906         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29907         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29910 2015-09-11  Roland McGrath  <roland@hack.frob.com>
29912         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
29913         Use 'override' keyword to freeze the value here, preventing
29914         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
29916 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
29918         [BZ #14912]
29919         * sysdeps/aarch64/bits/atomic.h: Move to ...
29920         * sysdeps/aarch64/atomic-machine.h: ...here.
29921         (_AARCH64_BITS_ATOMIC_H): Rename macro to
29922         _AARCH64_ATOMIC_MACHINE_H.
29923         * sysdeps/alpha/bits/atomic.h: Move to ...
29924         * sysdeps/alpha/atomic-machine.h: ...here.
29925         * sysdeps/arm/bits/atomic.h: Move to ...
29926         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
29927         * bits/atomic.h: Move to ...
29928         * sysdeps/generic/atomic-machine.h: ...here.
29929         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29930         * sysdeps/i386/bits/atomic.h: Move to ...
29931         * sysdeps/i386/atomic-machine.h: ...here.
29932         * sysdeps/ia64/bits/atomic.h: Move to ...
29933         * sysdeps/ia64/atomic-machine.h: ...here.
29934         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
29935         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
29936         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29937         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
29938         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
29939         * sysdeps/microblaze/bits/atomic.h: Move to ...
29940         * sysdeps/microblaze/atomic-machine.h: ...here.
29941         * sysdeps/mips/bits/atomic.h: Move to ...
29942         * sysdeps/mips/atomic-machine.h: ...here.
29943         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
29944         * sysdeps/powerpc/bits/atomic.h: Move to ...
29945         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
29946         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
29947         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
29948         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
29949         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
29950         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
29951         <atomic-machine.h> instead of <bits/atomic.h>.
29952         * sysdeps/s390/bits/atomic.h: Move to ...
29953         * sysdeps/s390/atomic-machine.h: ...here.
29954         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
29955         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
29956         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29957         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
29958         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
29959         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
29960         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
29961         * sysdeps/tile/bits/atomic.h: Move to ...
29962         * sysdeps/tile/atomic-machine.h: ...here.
29963         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
29964         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
29965         <sysdeps/tile/atomic-machine.h> instead of
29966         <sysdeps/tile/bits/atomic.h>.
29967         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29968         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
29969         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
29970         <sysdeps/tile/atomic-machine.h> instead of
29971         <sysdeps/tile/bits/atomic.h>.
29972         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29973         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
29974         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
29975         <sysdeps/arm/atomic-machine.h> instead of
29976         <sysdeps/arm/bits/atomic.h>.
29977         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
29978         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
29979         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29980         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
29981         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
29982         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
29983         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
29984         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
29985         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
29986         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
29987         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
29988         * sysdeps/x86_64/bits/atomic.h: Move to ...
29989         * sysdeps/x86_64/atomic-machine.h: ...here.
29990         * include/atomic.h: Include <atomic-machine.h> instead of
29991         <bits/atomic.h>.
29993         * sysdeps/mips/mips32/libm-test-ulps: Update.
29994         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29996         [BZ #18952]
29997         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
29998         not convert non-integer negative arguments to int to determine the
29999         value of signgam.
30000         * math/auto-libm-test-in: Add more tests of lgamma.
30001         * math/auto-libm-test-out: Regenerated.
30003         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
30004         cosh, csqrt, erfc, expm1 and lgamma.
30005         * math/auto-libm-test-out: Regenerated.
30006         * sysdeps/i386/fpu/libm-test-ulps: Update.
30007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30009 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
30011         [BZ #2542]
30012         [BZ #2543]
30013         [BZ #2558]
30014         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30015         __lgamma_neg for arguments from -28.0 to -2.0.
30016         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30017         __lgamma_negf for arguments from -15.0 to -2.0.
30018         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30019         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30020         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30021         Call __lgamma_negl for arguments from -33.0 to -2.0.
30022         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30023         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30024         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30025         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30026         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30027         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30028         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30029         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30030         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30031         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30032         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30033         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30034         (__lgamma_neg): Likewise.
30035         (__lgamma_negl): Likewise.
30036         (__lgamma_product): Likewise.
30037         (__lgamma_productl): Likewise.
30038         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30039         * math/auto-libm-test-in: Add more tests of lgamma.
30040         * math/auto-libm-test-out: Regenerated.
30041         * sysdeps/i386/fpu/libm-test-ulps: Update.
30042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30044 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
30046         [BZ #18675]
30047         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30049 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
30051         [BZ #14912]
30052         * bits/libc-lock.h: Move to ...
30053         * sysdeps/generic/libc-lock.h: ...here.
30054         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30055         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30056         * sysdeps/mach/hurd/libc-lock.h: ...here.
30057         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30058         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30059         * sysdeps/mach/bits/libc-lock.h: Move to ...
30060         * sysdeps/mach/libc-lock.h: ...here.
30061         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30062         * sysdeps/nptl/bits/libc-lock.h: Move to ...
30063         * sysdeps/nptl/libc-lock.h: ...here.
30064         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30065         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
30066         * sysdeps/nptl/libc-lockP.h: ...here.
30067         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
30068         * crypt/crypt_util.c: Include <libc-lock.h> instead of
30069         <bits/libc-lock.h>.
30070         * dirent/scandir-tail.c: Likewise.
30071         * dlfcn/dlerror.c: Likewise.
30072         * elf/dl-close.c: Likewise.
30073         * elf/dl-iteratephdr.c: Likewise.
30074         * elf/dl-lookup.c: Likewise.
30075         * elf/dl-open.c: Likewise.
30076         * elf/dl-support.c: Likewise.
30077         * elf/dl-writev.h: Likewise.
30078         * elf/rtld.c: Likewise.
30079         * grp/fgetgrent.c: Likewise.
30080         * gshadow/fgetsgent.c: Likewise.
30081         * gshadow/sgetsgent.c: Likewise.
30082         * iconv/gconv_conf.c: Likewise.
30083         * iconv/gconv_db.c: Likewise.
30084         * iconv/gconv_dl.c: Likewise.
30085         * iconv/gconv_int.h: Likewise.
30086         * iconv/gconv_trans.c: Likewise.
30087         * include/link.h: Likewise.
30088         * inet/getnameinfo.c: Likewise.
30089         * inet/getnetgrent.c: Likewise.
30090         * inet/getnetgrent_r.c: Likewise.
30091         * intl/bindtextdom.c: Likewise.
30092         * intl/dcigettext.c: Likewise.
30093         * intl/finddomain.c: Likewise.
30094         * intl/gettextP.h: Likewise.
30095         * intl/loadmsgcat.c: Likewise.
30096         * intl/localealias.c: Likewise.
30097         * intl/textdomain.c: Likewise.
30098         * libidn/idn-stub.c: Likewise.
30099         * libio/libioP.h: Likewise.
30100         * locale/duplocale.c: Likewise.
30101         * locale/freelocale.c: Likewise.
30102         * locale/newlocale.c: Likewise.
30103         * locale/setlocale.c: Likewise.
30104         * login/getutent_r.c: Likewise.
30105         * login/getutid_r.c: Likewise.
30106         * login/getutline_r.c: Likewise.
30107         * login/utmp-private.h: Likewise.
30108         * login/utmpname.c: Likewise.
30109         * malloc/mtrace.c: Likewise.
30110         * misc/efgcvt.c: Likewise.
30111         * misc/error.c: Likewise.
30112         * misc/fstab.c: Likewise.
30113         * misc/getpass.c: Likewise.
30114         * misc/mntent.c: Likewise.
30115         * misc/syslog.c: Likewise.
30116         * nis/nis_call.c: Likewise.
30117         * nis/nis_callback.c: Likewise.
30118         * nis/nss-default.c: Likewise.
30119         * nis/nss_compat/compat-grp.c: Likewise.
30120         * nis/nss_compat/compat-initgroups.c: Likewise.
30121         * nis/nss_compat/compat-pwd.c: Likewise.
30122         * nis/nss_compat/compat-spwd.c: Likewise.
30123         * nis/nss_nis/nis-alias.c: Likewise.
30124         * nis/nss_nis/nis-ethers.c: Likewise.
30125         * nis/nss_nis/nis-grp.c: Likewise.
30126         * nis/nss_nis/nis-hosts.c: Likewise.
30127         * nis/nss_nis/nis-network.c: Likewise.
30128         * nis/nss_nis/nis-proto.c: Likewise.
30129         * nis/nss_nis/nis-pwd.c: Likewise.
30130         * nis/nss_nis/nis-rpc.c: Likewise.
30131         * nis/nss_nis/nis-service.c: Likewise.
30132         * nis/nss_nis/nis-spwd.c: Likewise.
30133         * nis/nss_nisplus/nisplus-alias.c: Likewise.
30134         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
30135         * nis/nss_nisplus/nisplus-grp.c: Likewise.
30136         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
30137         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
30138         * nis/nss_nisplus/nisplus-network.c: Likewise.
30139         * nis/nss_nisplus/nisplus-proto.c: Likewise.
30140         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
30141         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
30142         * nis/nss_nisplus/nisplus-service.c: Likewise.
30143         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
30144         * nis/ypclnt.c: Likewise.
30145         * nptl/libc_pthread_init.c: Likewise.
30146         * nss/getXXbyYY.c: Likewise.
30147         * nss/getXXent.c: Likewise.
30148         * nss/getXXent_r.c: Likewise.
30149         * nss/nss_db/db-XXX.c: Likewise.
30150         * nss/nss_db/db-netgrp.c: Likewise.
30151         * nss/nss_db/nss_db.h: Likewise.
30152         * nss/nss_files/files-XXX.c: Likewise.
30153         * nss/nss_files/files-alias.c: Likewise.
30154         * nss/nsswitch.c: Likewise.
30155         * posix/regex_internal.h: Likewise.
30156         * posix/wordexp.c: Likewise.
30157         * pwd/fgetpwent.c: Likewise.
30158         * resolv/res_hconf.c: Likewise.
30159         * resolv/res_libc.c: Likewise.
30160         * shadow/fgetspent.c: Likewise.
30161         * shadow/lckpwdf.c: Likewise.
30162         * shadow/sgetspent.c: Likewise.
30163         * socket/opensock.c: Likewise.
30164         * stdio-common/reg-modifier.c: Likewise.
30165         * stdio-common/reg-printf.c: Likewise.
30166         * stdio-common/reg-type.c: Likewise.
30167         * stdio-common/vfprintf.c: Likewise.
30168         * stdio-common/vfscanf.c: Likewise.
30169         * stdlib/abort.c: Likewise.
30170         * stdlib/cxa_atexit.c: Likewise.
30171         * stdlib/fmtmsg.c: Likewise.
30172         * stdlib/random.c: Likewise.
30173         * stdlib/setenv.c: Likewise.
30174         * string/strsignal.c: Likewise.
30175         * sunrpc/auth_none.c: Likewise.
30176         * sunrpc/bindrsvprt.c: Likewise.
30177         * sunrpc/create_xid.c: Likewise.
30178         * sunrpc/key_call.c: Likewise.
30179         * sunrpc/rpc_thread.c: Likewise.
30180         * sysdeps/arm/backtrace.c: Likewise.
30181         * sysdeps/generic/ldsodefs.h: Likewise.
30182         * sysdeps/generic/stdio-lock.h: Likewise.
30183         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
30184         * sysdeps/i386/backtrace.c: Likewise.
30185         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30186         * sysdeps/m68k/backtrace.c: Likewise.
30187         * sysdeps/mach/hurd/cthreads.c: Likewise.
30188         * sysdeps/mach/hurd/dirstream.h: Likewise.
30189         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30190         * sysdeps/nptl/malloc-machine.h: Likewise.
30191         * sysdeps/nptl/stdio-lock.h: Likewise.
30192         * sysdeps/posix/dirstream.h: Likewise.
30193         * sysdeps/posix/getaddrinfo.c: Likewise.
30194         * sysdeps/posix/system.c: Likewise.
30195         * sysdeps/pthread/aio_suspend.c: Likewise.
30196         * sysdeps/s390/s390-32/backtrace.c: Likewise.
30197         * sysdeps/s390/s390-64/backtrace.c: Likewise.
30198         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30199         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30200         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
30201         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
30202         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
30203         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
30204         * sysdeps/unix/sysv/linux/system.c: Likewise.
30205         * sysdeps/x86_64/backtrace.c: Likewise.
30206         * time/alt_digit.c: Likewise.
30207         * time/era.c: Likewise.
30208         * time/tzset.c: Likewise.
30209         * wcsmbs/wcsmbsload.c: Likewise.
30210         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
30211         instead of <bits/libc-lock.h> in comment.
30213 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
30215         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
30216         Only use .set mips2 if the current ISA is below mips2.
30217         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
30218         Likewise.
30219         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
30220         mips32r2 if the current ISA is below mips32r2.
30221         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
30222         (TLS_IE): Updated to use the TLD_RDHWR macro.
30223         (TLS_LE): Likewise.
30224         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
30225         __ASSEMBLER__ condition.
30227 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30229         Fix parallel build of before-compile targets.
30231         * sysdeps/mach/Makefile ($(patsubst
30232         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
30233         mach-before-compile target.
30234         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30235         io fs process)): Move rule to dedicated hurd-before-compile target.
30237 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30239         Fix rules generating headers in hurd/ and mach/ when initial make call
30240         has subdir= explicitly set.
30242         * sysdeps/mach/Makefile ($(patsubst
30243         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
30244         calling $(MAKE).
30245         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30246         io fs process)): Force subdir to hurd when calling $(MAKE).
30247         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
30248         subdir to mach when calling $(MAKE).
30250 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
30252         Check sysheaders when looking for Mach and Hurd headers
30254         * sysdeps/mach/configure.ac: Add sysheaders check.
30255         * sysdeps/mach/configure: Regenerate.
30256         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
30257         * sysdeps/mach/hurd/configure: Regenerate.
30259 2015-09-04  Roland McGrath  <roland@hack.frob.com>
30261         [BZ #18921]
30262         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
30263         Fix inverted sense of test of 'o_directory_works' value.
30264         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
30265         Bernhard Voelker <mail@bernhard-voelker.de>.
30267 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30269         [BZ #14912]
30270         * bits/linkmap.h: Move to ...
30271         * sysdeps/generic/linkmap.h: ...here.
30272         * sysdeps/aarch64/bits/linkmap.h: Move to ...
30273         * sysdeps/aarch64/linkmap.h: ...here.
30274         * sysdeps/arm/bits/linkmap.h: Move to ...
30275         * sysdeps/arm/linkmap.h: ...here.
30276         * sysdeps/hppa/bits/linkmap.h: Move to ...
30277         * sysdeps/hppa/linkmap.h: ...here.
30278         * sysdeps/ia64/bits/linkmap.h: Move to ...
30279         * sysdeps/ia64/linkmap.h: ...here.
30280         * sysdeps/mips/bits/linkmap.h: Move to ...
30281         * sysdeps/mips/linkmap.h: ...here.
30282         * sysdeps/s390/bits/linkmap.h: Move to ...
30283         * sysdeps/s390/linkmap.h: ...here.
30284         * sysdeps/sh/bits/linkmap.h: Move to ...
30285         * sysdeps/sh/linkmap.h: ...here.
30286         * sysdeps/x86/bits/linkmap.h: Move to ...
30287         * sysdeps/x86/linkmap.h: ...here.
30288         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
30290 2015-09-04  Andreas Schwab  <schwab@suse.de>
30292         [BZ #18635]
30293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
30294         (__makecontext): Terminate FDE before return label.
30295         (__novec_makecontext): Likewise.
30297 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30299         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
30300         first member of struct sv in syscall macro.
30302 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
30304         [BZ #14912]
30305         * bits/stdio-lock.h: Move to ...
30306         * sysdeps/generic/stdio-lock.h: ...here.
30307         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30308         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
30309         * sysdeps/nptl/stdio-lock.h: ...here.
30310         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
30311         * include/libio.h: Include <stdio-lock.h> instead of
30312         <bits/stdio-lock.h>.
30313         * sysdeps/nptl/fork.c: Likewise.
30314         * sysdeps/pthread/flockfile.c: Likewise.
30315         * sysdeps/pthread/ftrylockfile.c: Likewise.
30316         * sysdeps/pthread/funlockfile.c: Likewise.
30318         [BZ #14912]
30319         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
30320         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
30321         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
30322         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
30323         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
30324         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30325         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
30327 2015-09-03  Roland McGrath  <roland@hack.frob.com>
30329         * elf/Makefile (test-xfail-tst-protected1a): New variable.
30330         (test-xfail-tst-protected1b): New variable.
30332 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
30334         [BZ #14912]
30335         * bits/libc-tsd.h: Move to ...
30336         * sysdeps/generic/libc-tsd.h: ...here.
30337         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
30338         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
30339         * sysdeps/mach/hurd/libc-tsd.h: ...here.
30340         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
30341         * include/ctype.h: Include <libc-tsd.h> instead of
30342         <bits/libc-tsd.h>.
30343         * include/rpc/rpc.h: Likewise.
30344         * locale/localeinfo.h: Likewise.
30345         * sunrpc/rpc_thread.c: Likewise.
30346         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
30347         * sysdeps/nptl/malloc-machine.h: Likewise.
30349         * Makefile (headers): Remove bits/libc-lock.h.
30350         * libio/Makefile (headers): Remove bits/stdio-lock.h.
30352         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
30353         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
30354         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
30355         <bits/stdio-lock.h>.
30356         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
30357         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
30359 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30361         [BZ #18757]
30362         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
30363         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
30364         BZ #18757.
30366 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
30368         * malloc/mtrace.pl: Filter out NULL entries.
30370 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
30372         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
30373         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
30374         macro.
30376         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
30377         (TCP_CC_INFO): Likewise.
30378         (TCP_SAVE_SYN): Likewise.
30379         (TCP_SAVED_SYN): Likewise.
30381 2015-08-31  Brett Neumeier <brett@neumeier.us>
30383         [BZ #18870]
30384         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
30386 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
30388         [BZ #18873]
30389         Fix broken overflow check in posix_fallocate
30390         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
30391         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30392         Fix parenthesization typo.
30394 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
30396         [BZ #18887]
30397         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
30398         tst-mntent-blank-passno.
30399         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
30400         * misc/tst-mntent-blank-corrupt.c: New test.
30401         * misc/tst-mntent-blank-passno.c: New test ripped from ...
30402         * misc/tst-mntent.c (do_test): ... here.
30404 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
30406         [BZ #4404]
30407         * po/de.po: Fix SIGALRM typo.
30409 2015-08-28  James Perkins  <james@loowit.net>
30411         * time/tst-strptime2.c (tests): Replace short list of test
30412         strings for strptime %z specifier with code which exhaustively
30413         tests every combination of sign and 0 to 5 digits. Tests for
30414         rejection of invalid strings.
30416 2015-08-28  James Perkins  <james@loowit.net>
30418         [BZ #16141]
30419         * time/strptime_l.c (__strptime_internal): Fix %z minutes
30420         calculation, removing incorrect decimal time rounding, so that
30421         all minute values result in a valid seconds value.
30422         * time/strptime_l.c (__strptime_internal): Extend %z time zone
30423         offset range limits to UTC-99:59 through UTC+99:59 to parse
30424         current and historical use cases.
30425         * time/tst-strptime2.c (tests): Modify and add tests for the
30426         strptime %z input field descriptor, specifically conversion of
30427         minutes to seconds and validating an offset range of -9959 to
30428         +9959.
30430 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30431             Dmitry V. Levin  <ldv@altlinux.org>
30433         [BZ #18877]
30434         * posix/Makefile (tests): Add tst-mmap-offset.
30435         * posix/tst-mmap.c: New file.
30436         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
30437         offset calculation for negative values.
30439 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30441         * sysdeps/i386/init-arch.h: New file.
30442         * sysdeps/i386/i586/init-arch.h: Likewise.
30443         * sysdeps/i386/i686/init-arch.h: Likewise.
30444         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
30445         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
30446         * sysdeps/x86/cpu-features.h (bit_I586): New.
30447         (bit_I686): Likewise.
30448         (bit_CX8): Likewise.
30449         (bit_CMOV): Likewise.
30450         (index_CX8): Likewise.
30451         (index_CMOV): Likewise.
30452         (index_I586): Likewise.
30453         (index_I686): Likewise.
30454         (reg_CX8): Likewise.
30455         (reg_CMOV): Likewise.
30456         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
30457         available at compile-time.
30458         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
30459         available at compile-time.
30460         * sysdeps/x86/init-arch.h (USE_I586): New macro.
30461         (USE_I686): Likewise.
30463 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30465         * sysdeps/i386/bcopy.S: New file.
30466         * sysdeps/i386/bzero.S: Likewise.
30467         * sysdeps/i386/memcpy.S: Likewise.
30468         * sysdeps/i386/memmove.S: Likewise.
30469         * sysdeps/i386/mempcpy.S: Likewise.
30470         * sysdeps/i386/memset.S: Likewise.
30471         * sysdeps/i386/bzero.c: Removed.
30472         * sysdeps/i386/memset.c: Likewise.
30473         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
30474         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
30475         * sysdeps/i386/i586/memset_chk.S: Likewise.
30476         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
30477         * sysdeps/i386/memcpy_chk.S: Here.
30478         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
30479         * sysdeps/i386/memmove_chk.S: Here.
30480         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
30481         * sysdeps/i386/mempcpy_chk.S: Likewise.
30482         * sysdeps/i386/i686/memset_chk.S: Moved to ...
30483         * sysdeps/i386/memset_chk.S: Likewise.
30485 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
30487         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
30488         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
30489         file, move DIAG_POP_NEEDS_COMMENT to end of file.
30490         * soft-fp/fmadf4.c: Ditto.
30491         * soft-fp/fmatf4.c: Ditto.
30493 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30495         * sysdeps/i386/i586/Implies: Removed.
30496         * sysdeps/i386/i686/Implies: Likewise.
30498 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30500         * sysdeps/i386/i486/strlen.S: Moved to ...
30501         * sysdeps/i386/strlen.S: Here.
30503 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30505         * sysdeps/i386/i486/strcat.S: Moved to ...
30506         * sysdeps/i386/strcat.S: Here.
30508 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30510         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
30511         * sysdeps/i386/pthread_spin_trylock.S: Here.
30512         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
30513         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
30515 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30517         * sysdeps/i386/i486/string-inlines.c: Moved to ...
30518         * sysdeps/i386/string-inlines.c: Here.
30520 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30522         * sysdeps/i386/i486/htonl.S: Moved ...
30523         * sysdeps/i386/htonl.S: here.
30525 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30527         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
30528         * sysdeps/i386/bits/atomic.h: Here.
30530 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
30532         * sysdeps/i386/i486/Versions: Removed.
30534 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30536         [BZ #2898]
30537         * misc/mktemp.c: Add mkdtemp to the link_warning message.
30538         Based on patch by Aurelien Jarno.
30540 2015-08-26  Stan Shebs  <stanshebs@google.com>
30542         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
30543         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30545 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
30547         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
30548         * sysdeps/powerpc/dl-procinfo.c:
30549         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
30550         feature so it shows when LD_SHOW_AUXV=1.
30552 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
30554         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
30555         (__arch_compare_and_exchange_val_32_acq): Remove and use common
30556         definition.  ISA 2.07B no longer requires full sync.
30558 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
30560         [BZ #18863]
30561         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
30562         (si_call_addr): Define.
30563         (si_syscall): Define.
30564         (si_arch): Define.
30566 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
30568         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
30569         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
30570         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
30571         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30572         (__memset_zero_constant_len_parameter): New.
30573         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
30574         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
30575         (__memset_zero_constant_len_parameter): Don't define if
30576         __memset_chk or USE_AS_BZERO are defined.
30578         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
30579         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
30580         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
30582         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
30583         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
30584         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
30585         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
30586         comments.
30587         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
30588         -mno-mmx for $(all-rtld-routines).
30589         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
30590         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
30591         i386.
30593 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30595         * sysdeps/generic/unwind.h
30596         (_Unwind_Word): Use __mode__(__unwind_word__)
30597         instead of __mode__(__word__).
30598         (_Unwind_Sword): Likewise.
30600         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30601         (MAX_NEEDED_INPUT): New define.
30602         (MAX_NEEDED_OUTPUT): New define.
30604         * NEWS: New item for IBM z13 string optimizations.
30606         * sysdeps/s390/multiarch/memrchr-c.c: New File.
30607         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
30608         * sysdeps/s390/multiarch/memrchr.c: Likewise.
30609         * sysdeps/s390/multiarch/Makefile
30610         (sysdep_routines): Add memrchr functions.
30611         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30612         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
30614         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
30615         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
30616         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
30617         * sysdeps/s390/multiarch/Makefile
30618         (sysdep_routines): Add wmemcmp functions.
30619         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30620         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
30621         * benchtests/bench-wmemcmp.c: New File.
30622         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
30624         * sysdeps/s390/multiarch/wmemset-c.c: New File.
30625         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
30626         * sysdeps/s390/multiarch/wmemset.c: Likewise.
30627         * sysdeps/s390/multiarch/Makefile
30628         (sysdep_routines): Add wmemset functions.
30629         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30630         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
30631         * wcsmbs/wmemset.c: Use WMEMSET if defined.
30632         * string/test-memset.c: Add wmemset support.
30633         * wcsmbs/test-wmemset.c: New File.
30634         * wcsmbs/Makefile (strop-tests): Add wmemset.
30635         * benchtests/bench-memset.c: Add wmemset support.
30636         * benchtests/bench-wmemset.c: New File.
30637         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
30639         * sysdeps/s390/multiarch/memccpy-c.c: New File.
30640         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
30641         * sysdeps/s390/multiarch/memccpy.c: Likewise.
30642         * sysdeps/s390/multiarch/Makefile
30643         (sysdep_routines): Add memccpy functions.
30644         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30645         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
30646         * string/memccpy.c: Use MEMCCPY if defined.
30648         * sysdeps/s390/multiarch/memchr-vx.S: New File.
30649         * sysdeps/s390/multiarch/memchr.c: Likewise.
30650         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
30651         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
30652         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
30653         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
30654         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
30655         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
30656         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
30657         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
30658         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
30659         and rawmemchr functions.
30660         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
30661         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
30662         and wmemchr.
30663         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
30664         * string/test-memchr.c: Add wmemchr support.
30665         * wcsmbs/test-wmemchr.c: New File.
30666         * wcsmbs/Makefile (strop-tests): Add wmemchr.
30667         * benchtests/bench-memchr.c: Add wmemchr support.
30668         * benchtests/bench-wmemchr.c: New File.
30669         * benchtests/Makefile (wcsmbs-bench): wmemchr.
30671         * sysdeps/s390/multiarch/strcspn-c.c: New File.
30672         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
30673         * sysdeps/s390/multiarch/strcspn.c: Likewise.
30674         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
30675         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
30676         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
30677         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
30678         wcscspn functions.
30679         * sysdeps/s390/multiarch/ifunc-impl-list.c
30680         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
30681         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
30682         * string/test-strcspn.c: Add wcscspn support.
30683         * wcsmbs/test-wcscspn.c: New File.
30684         * wcsmbs/Makefile (strop-tests): Add wcscspn.
30685         * benchtests/bench-strcspn.c: Add wcscspn support.
30686         * benchtests/bench-wcscspn.c: New File.
30687         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
30689         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
30690         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
30691         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
30692         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
30693         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
30694         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
30695         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
30696         wcspbrk functions.
30697         * sysdeps/s390/multiarch/ifunc-impl-list.c
30698         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
30699         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
30700         * string/test-strpbrk.c: Add wcspbrk support.
30701         * wcsmbs/test-wcspbrk.c: New File.
30702         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
30703         * benchtests/bench-strpbrk.c: Add wcspbrk support.
30704         * benchtests/bench-wcspbrk.c: New File.
30705         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
30707         * sysdeps/s390/multiarch/strspn-c.c: New File.
30708         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
30709         * sysdeps/s390/multiarch/strspn.c: Likewise.
30710         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
30711         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
30712         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
30713         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
30714         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
30715         wcsspn functions.
30716         * sysdeps/s390/multiarch/ifunc-impl-list.c
30717         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
30718         * string/test-strspn.c: Add wcsspn support.
30719         * wcsmbs/test-wcsspn.c: New File.
30720         * wcsmbs/Makefile (strop-tests): Add wcsspn.
30721         * benchtests/bench-strspn.c: Add wcsspn support.
30722         * benchtests/bench-wcsspn.c: New File.
30723         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
30725         * sysdeps/s390/multiarch/strrchr-c.c: New File.
30726         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
30727         * sysdeps/s390/multiarch/strrchr.c: Likewise.
30728         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
30729         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
30730         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
30731         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
30732         wcsrchr functions.
30733         * sysdeps/s390/multiarch/ifunc-impl-list.c
30734         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
30735         * benchtests/bench-wcsrchr.c: New File.
30736         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
30738         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
30739         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
30740         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
30741         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
30742         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
30743         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
30744         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
30745         wcschrnul functions.
30746         * sysdeps/s390/multiarch/ifunc-impl-list.c
30747         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
30748         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
30749         * string/test-strchr.c: Add wcschrnul support.
30750         * wcsmbs/test-wcschrnul.c: New File.
30751         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
30752         * benchtests/bench-strchr.c: Add wcschrnul support.
30753         * benchtests/bench-wcschrnul.c: New File.
30754         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
30756         * sysdeps/s390/multiarch/strchr-c.c: New File.
30757         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
30758         * sysdeps/s390/multiarch/strchr.c: Likewise.
30759         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
30760         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
30761         * sysdeps/s390/multiarch/wcschr.c: Likewise.
30762         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
30763         wcschr functions.
30764         * sysdeps/s390/multiarch/ifunc-impl-list.c
30765         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
30766         * string/strchr.c (STRCHR): Define and use macro.
30767         * benchtests/bench-wcschr.c: New File.
30768         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
30770         * sysdeps/s390/multiarch/strncmp-c.c: New File.
30771         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
30772         * sysdeps/s390/multiarch/strncmp.c: Likewise.
30773         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
30774         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
30775         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
30776         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
30777         wcsncmp functions.
30778         * sysdeps/s390/multiarch/ifunc-impl-list.c
30779         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
30780         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
30781         * benchtests/bench-strncmp.c: Add wcsncmp support.
30782         * benchtests/bench-wcsncmp.c: New File.
30783         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
30785         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
30786         * sysdeps/s390/multiarch/strcmp.c: Likewise.
30787         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
30788         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
30789         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
30790         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
30791         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
30792         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
30793         wcscmp functions.
30794         * sysdeps/s390/multiarch/ifunc-impl-list.c
30795         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
30796         * string/strcmp.c (STRCMP): Define and use macro.
30797         * benchtests/bench-wcscmp.c: New File.
30798         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
30799         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
30800         instead of _HAVE_STRING_ARCH_memchr.
30802         * sysdeps/s390/multiarch/strncat-c.c: New File.
30803         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
30804         * sysdeps/s390/multiarch/strncat.c: Likewise.
30805         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
30806         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
30807         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
30808         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
30809         wcsncat functions.
30810         * sysdeps/s390/multiarch/ifunc-impl-list.c
30811         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
30812         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
30813         * string/test-strncat.c: Add wcsncat support.
30814         * wcsmbs/test-wcsncat.c: New File.
30815         * wcsmbs/Makefile (strop-tests): Add wcsncat.
30816         * benchtests/bench-strncat.c: Add wcsncat support.
30817         * benchtests/bench-wcsncat.c: New File.
30818         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
30820         * sysdeps/s390/multiarch/strcat-c.c: New File.
30821         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
30822         * sysdeps/s390/multiarch/strcat.c: Likewise.
30823         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
30824         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
30825         * sysdeps/s390/multiarch/wcscat.c: Likewise.
30826         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
30827         wcscat functions.
30828         * sysdeps/s390/multiarch/ifunc-impl-list.c
30829         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
30830         * string/strcat.c (STRCAT): Define and use macro.
30831         * wcsmbs/wcscat.c: Use WCSCAT if defined.
30832         * string/test-strcat.c: Add wcscat support.
30833         * wcsmbs/test-wcscat.c: New File.
30834         * wcsmbs/Makefile (strop-tests): Add wcscat.
30835         * benchtests/bench-strcat.c: Add wcscat support.
30836         * benchtests/bench-wcscat.c: New File.
30837         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
30839         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
30840         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
30841         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
30842         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
30843         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
30844         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
30845         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
30846         wcpncpy functions.
30847         * sysdeps/s390/multiarch/ifunc-impl-list.c
30848         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
30849         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
30850         * string/test-stpncpy.c: Add wcpncpy support.
30851         * wcsmbs/test-wcpncpy.c: New File.
30852         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
30853         * benchtests/bench-stpncpy.c: Add wcpncpy support.
30854         * benchtests/bench-wcpncpy.c: New File.
30855         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
30857         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
30858         * sysdeps/s390/multiarch/strncpy.c: Likewise.
30859         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
30860         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
30861         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
30862         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
30863         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
30864         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
30865         wcsncpy functions.
30866         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
30867         * sysdeps/s390/multiarch/ifunc-impl-list.c
30868         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
30869         * string/test-strncpy.c: Add wcsncpy support.
30870         * wcsmbs/test-wcsncpy.c: New File.
30871         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
30872         * benchtests/bench-strncpy.c: Add wcsncpy support.
30873         * benchtests/bench-wcsncpy.c: New File.
30874         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
30876         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
30877         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
30878         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
30879         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
30880         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
30881         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
30882         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
30883         wcpcpy functions.
30884         * string/stpcpy.c: Use STPCPY if defined.
30885         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
30886         * sysdeps/s390/multiarch/ifunc-impl-list.c
30887         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
30888         * string/test-stpcpy.c: Add wcpcpy support.
30889         * wcsmbs/test-wcpcpy.c: New File.
30890         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
30891         * benchtests/bench-stpcpy.c: Add wcpcpy support.
30892         * benchtests/bench-wcpcpy.c: New File.
30893         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
30895         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
30896         * sysdeps/s390/multiarch/strcpy.c: Likewise.
30897         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
30898         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
30899         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
30900         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
30901         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
30902         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
30903         wcscpy functions.
30904         * sysdeps/s390/multiarch/ifunc-impl-list.c
30905         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
30906         * benchtests/bench-wcscpy.c: New File.
30907         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
30909         * sysdeps/s390/multiarch/strnlen-c.c: New File.
30910         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
30911         * sysdeps/s390/multiarch/strnlen.c: Likewise.
30912         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
30913         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
30914         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
30915         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
30916         wcsnlen functions.
30917         * sysdeps/s390/multiarch/ifunc-impl-list.c
30918         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
30919         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
30920         * string/test-strnlen.c: Add wcsnlen support.
30921         * wcsmbs/test-wcsnlen.c: New File.
30922         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
30923         * benchtests/bench-strnlen.c: Add wcsnlen support.
30924         * benchtests/bench-wcsnlen.c: New File.
30925         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
30927         * sysdeps/s390/multiarch/Makefile: New File.
30928         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
30929         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
30930         * sysdeps/s390/multiarch/strlen.c: Likewise.
30931         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
30932         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
30933         * sysdeps/s390/multiarch/wcslen.c: Likewise.
30934         * string/strlen.c (STRLEN): Define and use macro.
30935         * sysdeps/s390/multiarch/ifunc-impl-list.c
30936         (IFUNC_VX_IMPL): New macro function.
30937         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
30938         * benchtests/Makefile (wcsmbs-bench): New variable.
30939         (string-bench-all): Added wcsmbs-bench.
30940         * benchtests/bench-wcslen.c: New File.
30942         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
30943         s390_vx_libc_ifunc2): New macro function.
30945         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
30946         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
30947         assembler support.
30948         * sysdeps/s390/configure: Regenerated.
30950         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
30951         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
30953         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
30954         * sysdeps/s390/dl-procinfo.h: Add vector capability.
30955         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
30957         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
30958         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
30959         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
30960         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
30961         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
30962         (memcmp, bcmp): Use __memcmp_default as alias source.
30963         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
30964         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
30965         Rename to __memcmp_default.
30966         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
30967         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
30968         (memcpy): Use __memcpy_default as alias source.
30969         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
30970         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
30971         Rename to __memcpy_default.
30972         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
30973         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
30974         (memset): Use __memset_default as alias source.
30975         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
30976         * sysdeps/s390/s390-32/memset.S (__memset_g5):
30977         Rename to __memset_default.
30978         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
30979         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
30980         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
30981         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
30982         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
30983         (memcmp, bcmp): Use __memcmp_default as alias source.
30984         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
30985         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
30986         Rename to __memcmp_default.
30987         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
30988         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
30989         (memcpy): Use __memcpy_default as alias source.
30990         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
30991         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
30992         Rename to __memcpy_default.
30993         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
30994         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
30995         (memset): Use __memset_default as alias source.
30996         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
30997         * sysdeps/s390/s390-64/memset.S (__memset_z900):
30998         Rename to __memset_default.
30999         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
31000         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
31002         [BZ #18610]
31003         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
31004         __ieee_instruction_pointer to __unused.
31005         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
31006         __ieee_instruction_pointer.
31007         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
31008         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
31009         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31010         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31011         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31012         Mark dxc-field as reserved.
31014 2015-08-25  Roland McGrath  <roland@hack.frob.com>
31016         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31017         if the weak reference is not null.
31019 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31021         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31023         [BZ #11214]
31024         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31026 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31028         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31029         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31030         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31031         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31032         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31033         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31034         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31035         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31036         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31037         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31038         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31039         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31040         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31041         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31042         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31043         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31044         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31045         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31047 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31049         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31050         register other than r0 for tabort, it has special meaning.
31051         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31052         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31053         transaction before starting syscall.
31055 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31057         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31059 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31061         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31063         * sysdeps/x86_64/rtld-memcmp.c: Removed.
31064         * sysdeps/x86_64/rtld-memset.S: Likewise.
31065         * sysdeps/x86_64/rtld-strchr.S: Likewise.
31066         * sysdeps/x86_64/rtld-strlen.S: Likewise.
31067         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
31068         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31070         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
31072 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
31074         * debug/strcpy_chk.c: Improve performance.
31075         * debug/stpcpy_chk.c: Likewise.
31076         * sysdeps/x86_64/strcpy_chk.S: Remove.
31077         * sysdeps/x86_64/stpcpy_chk.S: Remove.
31079         [BZ #18240]
31080         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
31082 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31084         [BZ #15128]
31085         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
31086         ifuncmain8.
31087         (modules-names): Add ifuncmod8.
31088         ($(objpfx)ifuncmain8): New rule.
31089         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
31090         <cpuid.h>.
31091         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
31092         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
31093         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
31094         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
31095         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
31096         * sysdeps/x86_64/dl-trampoline.h: Likewise.
31097         * sysdeps/x86_64/ifuncmain8.c: New file.
31098         * sysdeps/x86_64/ifuncmod8.c: Likewise.
31099         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
31100         Removed.
31101         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
31102         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
31103         Change rtld_savespace_sse to __glibc_unused2.
31104         (RTLD_CHECK_FOREIGN_CALL): Removed.
31105         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
31106         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
31107         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
31109 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31111         * sysdeps/aarch64/bzero.S (__bzero): Remove.
31113 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
31115         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
31116         Unconditionally set __fpcr to avoid uninialized warning.
31117         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
31119 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31121         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
31122         is corrupt.
31124         * malloc/arena.c (arena_get2): Drop unused argument.
31125         (arena_lock): Adjust.
31126         (arena_get_retry): Likewise.
31128 2015-08-24  Andreas Schwab  <schwab@suse.de>
31130         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
31131         Don't define.
31132         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
31133         (__ASSUME_IPC64): Don't undef.
31134         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
31135         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31136         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31137         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
31138         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
31139         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
31140         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
31141         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
31142         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
31143         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
31144         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
31145         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
31146         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
31147         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
31148         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
31149         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
31150         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
31151         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
31152         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
31153         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
31154         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
31156 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
31158         * manual/Makefile (install): Only build manual when perl is available.
31160 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31162         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
31163         '#undef memcpy' by '#undef memchr'.
31165 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31167         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
31168         memchr not point to the internal __GI_memchr implementation.
31170 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31172         * timezone/Makefile (CFLAGS-zdump.c): Remove
31173         -Wno-strict-prototypes.
31174         (CFLAGS-zic.c): Likewise.
31175         (CFLAGS-ialloc.c): Likewise.
31176         (CFLAGS-scheck.c): Likewise.
31178         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
31179         -Wno-error=undef.
31181 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31183         * i386/i686/multiarch/strcasestr-c.c: Removed.
31184         * x86_64/multiarch/strcasestr.c: Likewise.
31185         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31186         Remove strcasestr.
31188 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
31190         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
31192         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
31193         variables for high and low parts before possibly modifying them.
31195 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31197         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
31198         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
31199         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
31200         of "multiarch/init-arch.h".
31201         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
31202         * sysdeps/x86/init-arch.h: This.
31204 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
31206         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
31207         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
31209 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
31211         [BZ #17787]
31212         * manual/macros.texi: Add twoexp macro.
31213         * manual/filesys.texi: Fix exponents.
31214         * manual/llio.texi: Likewise.
31215         * manual/stdio.texi: Likewise.
31217 2015-08-20  Florian Weimer  <fweimer@redhat.com>
31219         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
31220         incorrect use.
31222 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31224         [BZ #18370]
31225         * math/s_csqrt.c (__csqrt): Force underflow exception for results
31226         whose real or imaginary part has small absolute value.
31227         * math/s_csqrtf.c (__csqrtf): Likewise.
31228         * math/s_csqrtl.c (__csqrtl): Likewise.
31229         * math/auto-libm-test-in: Add more tests of csqrt.
31230         * math/auto-libm-test-out: Regenerated.
31231         * sysdeps/i386/fpu/libm-test-ulps: Update.
31233 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
31235         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
31236         __ppc_set_ppr_very_low): New functions.
31237         * manual/platform.texi: Add documentation about
31238         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
31240 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
31242         * string/stpncpy.c (stpncpy): Improve performance using
31243         __strnlen/memcpy/memset.
31245 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
31247         [BZ #18796]
31248         * scripts/test-installation.pl: Don't add -lmvec to build options if
31249         libmvec wasn't built.
31251 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31253         [BZ #14341]
31254         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
31255         case when there is a gap between DT_REL and DT_JMPREL sections.
31256         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
31257         (LDFLAGS-tst-split-dynreloc): New.
31258         (tst-split-dynreloc-ENV): Likewise.
31259         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
31260         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
31262 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31264         [BZ #18822]
31265         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
31266         attribute_hidden.
31267         (__xstat64_conv): Likewise.
31268         (__xstat32_conv): Likewise.
31270 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31272         [BZ #18822]
31273         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
31274         Don't load %ebx when calling __setcontext.  Call __setcontext
31275         with HIDDEN_JUMPTARGET.
31276         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
31277         libc_hidden_def.
31279 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31281         * sysdeps/i386/i686/Makefile
31282         [$(subdir) == string] (sysdep_routines): Moved to ...
31283         * sysdeps/i386/Makefile: Here.
31284         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
31285         * sysdeps/i386/cacheinfo.c: Here.
31286         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
31287         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
31288         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
31289         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
31291 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
31293         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
31294         __i586__ is defined.
31295         (HAS_I686): Defined to 1 if __i686__ is defined.
31297 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
31299         * elf/Makefile [$(have-z-execstack) = yes]
31300         (CPPFLAGS-tst-execstack.c): New variable.
31302         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
31303         conditional to [defined UTMPX || _HAVE_UT_TYPE].
31304         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
31305         UTMPX || _HAVE_UT_TV].
31306         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
31307         UTMPX || _HAVE_UT_TV - 0].
31309 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
31311         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
31312         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
31313         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
31315 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31317         * sysdeps/powerpc/dl-procinfo.c:
31318         (_dl_powerpc_cap_flags): Added missing strings for some
31319         hwcap features.
31320         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
31322 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
31324         Port the 0x7efe...feff pattern to GCC 6.
31325         See Steve Ellcey's bug report in:
31326         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
31327         * string/memrchr.c (MEMRCHR):
31328         * string/rawmemchr.c (RAWMEMCHR):
31329         * string/strchr.c (strchr):
31330         * string/strchrnul.c (STRCHRNUL):
31331         Rewrite code to avoid issues with signed shift overflow.
31333 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
31335         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
31336         whether cpuid is available only if HAS_CPUID is 0.
31337         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
31338         (HAS_I586): Likewise.
31339         (HAS_I686): Likewise.
31341 2015-08-18  Zack Weinberg  <zackw@panix.com>
31343         * misc/Versions (libc): Add GLIBC_2.23.
31345 2015-08-18  Alan Modra  <amodra@gmail.com>
31347         [BZ #18421]
31348         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
31349         .Lp__global.
31350         (_start): Load %dp via .Lp__global.
31351         [!SHARED]: Use .section .rodata.
31353 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31355         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
31356         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
31358 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31360         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
31361         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
31363 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31365         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
31366         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
31368 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31370         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
31371         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
31373 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31375         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
31376         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
31378 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31380         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
31381         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
31383 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31385         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
31387 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31389         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
31390         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
31391         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31392         (__ASSUME_LWS_CAS): Delete.
31394 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
31396         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
31397         * sysdeps/hppa/configure: Regenerated.
31398         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
31399         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
31400         * sysdeps/hppa/nptl/tls.h: Likewise.
31402 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
31404         [BZ #18823]
31405         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
31406         for scaling up small arguments.
31407         * math/s_csqrtf.c (__csqrtf): Likewise.
31408         * math/s_csqrtl.c (__csqrtl): Likewise.
31409         * math/auto-libm-test-in: Add more tests of csqrt.
31410         * math/auto-libm-test-out: Regenerated.
31412 2015-08-17  Andreas Schwab  <schwab@suse.de>
31414         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
31415         version set GLIBC_2.19.
31417 2015-08-16  Zack Weinberg  <zackw@panix.com>
31419         [BZ #18681]
31420         * misc/regexp.h: This interface is no longer supported.
31421         Remove all contents, leaving only an #error directive.
31422         * misc/regexp.c (loc1, loc2, locs, step, advance):
31423         Demote to compatibility symbols.
31425 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
31427         [BZ #18084]
31428         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
31429         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
31430         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
31431         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
31432         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
31433         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
31434         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
31435         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
31436         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
31438 2015-08-15  Zack Weinberg  <zackw@panix.com>
31440         [BZ #18795]
31441         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
31442         buffer length is known to be too large, not if it's known to be
31443         small enough.
31444         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
31445         overflow at runtime, involving a length parameter, twice: once
31446         with a compile-time constant length parameter, once without.
31448 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
31450         [BZ #18824]
31451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
31452         scaling x * y up instead of down.
31453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31454         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31455         * math/auto-libm-test-in: Add more tests of fma.
31456         * math/auto-libm-test-out: Regenerated.
31458 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
31462 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31464         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
31465         unnecessary movq.
31466         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
31467         Likewise.
31469 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
31471         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31472         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
31473         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
31474         and tgamma.
31475         * math/auto-libm-test-out: Regenerated.
31476         * sysdeps/i386/fpu/libm-test-ulps: Update.
31477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31479         [BZ #16520]
31480         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
31481         (__tanh): Force underflow exception for arguments with small
31482         absolute value.
31483         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
31484         (__tanhf): Force underflow exception for arguments with small
31485         absolute value.
31486         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
31487         (__tanhl): Force underflow exception for arguments with small
31488         absolute value.
31489         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
31490         (__tanhl): Force underflow exception for arguments with small
31491         absolute value.
31492         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
31493         (__tanhl): Force underflow exception for arguments with small
31494         absolute value.
31495         * math/auto-libm-test-in: Add more tests of tanh.
31496         * math/auto-libm-test-out: Regenerated.
31497         * sysdeps/i386/fpu/libm-test-ulps: Update.
31499 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31501         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
31502         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
31504 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31506         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
31507         <cpuid.h>.
31509 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31511         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
31512         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
31514 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31516         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
31517         Remove $(objpfx)init-arch.o.
31518         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
31519         init-arch.
31520         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
31521         (INIT_ARCH_EXT): Defined as empty.
31522         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
31523         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
31524         __init_cpu_features call.  Replace HAS_XXX with
31525         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31526         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
31527         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
31528         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
31529         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
31530         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
31531         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
31532         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
31533         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
31534         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
31535         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
31536         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
31537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
31538         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
31539         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
31540         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
31541         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
31542         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
31543         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
31544         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
31545         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
31546         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
31547         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
31548         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
31549         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
31550         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
31551         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
31552         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
31553         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
31554         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
31555         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
31556         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
31557         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
31558         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
31559         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
31560         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
31562 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31564         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
31565         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31566         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31567         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
31568         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
31569         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
31570         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
31571         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
31572         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
31573         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
31574         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
31575         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
31576         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31577         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31578         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31579         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31580         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31581         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31582         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31583         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31584         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31585         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31586         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31587         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31588         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31589         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31590         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31591         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31592         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31593         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31594         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31595         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31596         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31597         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31598         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31599         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31600         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31601         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31602         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31603         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31604         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31605         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31606         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31608 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31610         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
31611         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31612         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31613         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31614         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31615         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
31616         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31617         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
31618         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31619         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31620         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31621         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
31622         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
31623         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
31624         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
31625         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
31626         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
31627         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
31628         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
31629         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
31630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
31631         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
31632         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
31633         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31634         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31635         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
31636         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
31637         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
31638         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
31639         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31640         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31641         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31642         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31643         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31644         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31645         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31646         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31647         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31648         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31649         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31650         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31651         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31652         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31654 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
31656         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
31657         (dl_platform_init): Call init_cpu_features.
31658         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
31659         * sysdeps/i386/i686/cacheinfo.c
31660         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
31661         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
31662         * sysdeps/i386/i686/multiarch/Versions: Removed.
31663         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
31664         Removed.
31665         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
31666         * sysdeps/unix/sysv/linux/x86/Makefile
31667         (libpthread-sysdep_routines): Remove init-arch.
31668         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
31669         <sysdeps/x86_64/dl-procinfo.c> instead of
31670         sysdeps/generic/dl-procinfo.c>.
31671         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
31672         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
31673         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
31674         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
31675         [$(subdir) == elf] (tests-static): Add
31676         tst-get-cpu-features-static.
31677         * sysdeps/x86/Versions: New file.
31678         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
31679         * sysdeps/x86/cpu-features.c: Likewise.
31680         * sysdeps/x86/cpu-features.h: Likewise.
31681         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
31682         * sysdeps/x86/libc-start.c: Likewise.
31683         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
31684         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
31685         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
31686         * sysdeps/x86_64/dl-procinfo.c: Likewise.
31687         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
31688         Assume USE_MULTIARCH is defined and don't check it.
31689         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
31690         (is_amd): Likewise.
31691         (max_cpuid): Likewise.
31692         (intel_check_word): Likewise.
31693         (__cache_sysconf): Don't call __init_cpu_features.
31694         (__x86_preferred_memory_instruction): Removed.
31695         (init_cacheinfo): Don't call __init_cpu_features. Replace
31696         __cpu_features with GLRO(dl_x86_cpu_features).
31697         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
31698         (dl_platform_init): Call init_cpu_features.
31699         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
31700         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
31701         * sysdeps/x86_64/multiarch/Versions: Removed.
31702         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
31703         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
31704         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
31705         Removed.
31706         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
31708 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31710         [BZ #18820]
31711         * libio/Makefile (test-fmemopen-mem): New test.
31712         * libio/test-fmemopen.c (do_bz18820): New test.
31713         * libio/fmemopen.c (__fmemopen): Fix memory leak.
31714         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
31716 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31718         [BZ #16734]
31719         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
31720         (FREE_BUF): Delete.
31721         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
31722         * libio/genops.c (_IO_setb): Use malloc and free directly.
31723         (_IO_default_doallocate, _IO_default_finish): Likewise.
31724         ( _IO_unbuffer_all): Likewise.
31725         ( libc_freeres_fn): Likewise.
31726         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
31727         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
31728         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
31729         (_IO_wdefault_doallocate): Likewise.
31731 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31733         [BZ #18086]
31734         * sysdeps/posix/nice.c (nice): Restore old errno.
31735         * posix/tst-nice.c (do_test): Add test for BZ #18086.
31737 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
31739         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
31741 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31743         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
31744         __bcopy and add a weak_alias to bcopy.
31745         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
31746         for static build.
31748         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
31749         cleanup macro usage.
31750         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
31751         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
31752         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
31753         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
31754         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
31755         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
31756         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
31757         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31758         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31759         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
31760         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31761         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
31762         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31763         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
31764         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
31765         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
31766         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
31767         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
31768         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
31770         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
31771         libc_hidden_def.
31772         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
31774         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
31775         (sysdep_routines): Add strstr-ppc64.
31776         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
31778 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
31780         [BZ #18778]
31781         * elf/Makefile (tests): Add Add tst-nodelete2.
31782         (modules-names): Add tst-nodelete2mod.
31783         (tst-nodelete2mod.so-no-z-defs): New.
31784         ($(objpfx)tst-nodelete2): Likewise.
31785         ($(objpfx)tst-nodelete2.out): Likewise.
31786         (LDFLAGS-tst-nodelete2): Likewise.
31787         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
31788         out of loop through all loaded libraries.
31789         * elf/tst-nodelete2.c: New file.
31790         * elf/tst-nodelete2mod.c: Likewise.
31791         * elf/tst-znodelete-zlib.cc: Delete.
31793 2015-08-11  Andreas Schwab  <schwab@suse.de>
31795         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
31796         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
31797         (__openat64_nocancel): Likewise.
31799 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
31801         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
31802         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
31803         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
31804         * math/auto-libm-test-out: Regenerated.
31805         * sysdeps/i386/fpu/libm-test-ulps: Update.
31806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31808 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31810         [BZ #18790]
31811         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
31812         threshold for returning +/- 1.
31813         * math/auto-libm-test-in: Add more tests of tanh.
31814         * math/auto-libm-test-out: Regenerated.
31815         * sysdeps/i386/fpu/libm-test-ulps: Update.
31817 2015-08-10  Andreas Schwab  <schwab@suse.de>
31819         [BZ #18781]
31820         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
31821         MORE_OFLAGS to oflag.
31822         * io/test-lfs.c (do_test): Test openat64.
31824 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
31826         [BZ #18789]
31827         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
31828         smaller threshold for returning the argument.
31829         * math/auto-libm-test-in: Add more tests of sinh.
31830         * math/auto-libm-test-out: Regenerated.
31831         * sysdeps/i386/fpu/libm-test-ulps: Update.
31833 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31835         [BZ #18674]
31836         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
31837         break.
31839 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
31841         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
31842         (generated): Don't add $(addprefix z.,$(tzfiles)).
31844 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31846         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
31847         * scripts/sysd-rules.awk: Likewise.
31849 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31851         * iconvdata/tst-tables.sh: Change echo -n to printf.
31852         * nss/db-Makefile: Likewise.
31853         * posix/tst-getconf.sh: Likewise.
31854         * stdio-common/tst-unbputc.sh: Likewise.
31856 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
31858         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
31859         MADV_*_PAGES defines behind this feature check.
31861 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
31863         [BZ #18480]
31864         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
31865         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
31866         Define.
31867         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
31868         LOAD_REGS_5, LOAD_REGS_6): Update.
31869         (INTERNAL_SYSCALL): Update using new LOAD defines.
31870         (INTERNAL_SYSCALL_NCS): Likewise.
31871         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
31873 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31875         [BZ #16734]
31876         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
31878 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31880         [BZ #17905]
31881         * catgets/Makefile (tst-catgets-mem): New test.
31882         * catgets/catgets.c (catopen): Don't use unbounded alloca.
31883         * catgets/open_catalog.c (__open_catalog): Likewise.
31884         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
31886 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
31888         [BZ #18787]
31889         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
31890         clobber registers.
31891         (atomic_compare_and_exchange_val_acq): Use register asms to assign
31892         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
31893         Cast return to __typeof (oldval).
31895 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
31897         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
31898         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
31899         and delete sys/syscall.h include.
31901 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
31903         [BZ #16517]
31904         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
31905         (tan): Force underflow exception for arguments with small absolute
31906         value.
31907         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
31908         (__kernel_tanf): Force underflow exception for arguments with
31909         small absolute value.
31910         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
31911         (__kernel_tanl): Force underflow exception for arguments with
31912         small absolute value.
31913         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
31914         (__kernel_tanl): Force underflow exception for arguments with
31915         small absolute value.
31916         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
31917         (__kernel_tanl): Force underflow exception for arguments with
31918         small absolute value.
31919         * math/auto-libm-test-in: Add more tests of tan.
31920         * math/auto-libm-test-out: Regenerated.
31922 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31924         Fix sysdeps/i386/fpu/s_scalbn.S build
31926         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
31928 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
31930         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31932 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31934         Fix gcrt0.o compilation
31936         When static-start-installed-name is different from
31937         start-installed-name, we must not use the shared objects.
31939         * csu/Makefile
31940         (extra-objs): Add gmon-start.o when building shared library and
31941         $(static-start-installed-name) is different from
31942         $(start-installed-name).
31943         $(objpfx)g$(static-start-installed-name): When building shared
31944         library and $(static-start-installed-name) is different from
31945         $(static-start-installed-name), revert to non-shared rule,
31946         i.e. using $(objpfx)% and gmon-start.o.
31948 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
31950         [BZ #16519]
31951         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
31952         (__ieee754_sinh): Force underflow exception for arguments with
31953         small absolute value.
31954         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
31955         (__ieee754_sinhf): Force underflow exception for arguments with
31956         small absolute value.
31957         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
31958         (__ieee754_sinhl): Force underflow exception for arguments with
31959         small absolute value.
31960         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
31961         (__ieee754_sinhl): Force underflow exception for arguments with
31962         small absolute value.
31963         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
31964         (__ieee754_sinhl): Force underflow exception for arguments with
31965         small absolute value.
31966         * math/auto-libm-test-in: Add more tests of sinh.
31967         * math/auto-libm-test-out: Regenerated.
31968         * sysdeps/i386/fpu/libm-test-ulps: Update.
31970 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31972         * libio/oldfileops.c: Include unistd.h.
31974 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
31976         * stdlib/isomac.c: Include ctype.h.
31978 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
31980         * dirent/tst-seekdir.c (main): Converted to ...
31981         (do_test): ... this.
31982         (TEST_FUNCTION): New macro.
31983         Include test-skeleton.c.
31984         * elf/tst-dlmodcount.c (main): Converted to ...
31985         (do_test): ... this.
31986         (TEST_FUNCTION): New macro.
31987         Include test-skeleton.c.
31988         * elf/tst-order-main.c (main): Converted to ...
31989         (do_test): ... this.
31990         (TEST_FUNCTION): New macro.
31991         Include test-skeleton.c.
31992         * elf/tst-pie2.c (main): Converted to ...
31993         (do_test): ... this.
31994         (TEST_FUNCTION): New macro.
31995         Include test-skeleton.c.
31996         * inet/tst-ether_aton.c (main): Converted to ...
31997         (do_test): ... this.
31998         (TEST_FUNCTION): New macro.
31999         Include test-skeleton.c.
32000         * misc/tst-mntent.c (main): Converted to ...
32001         (do_test): ... this.
32002         (TEST_FUNCTION): New macro.
32003         Include test-skeleton.c.
32004         * misc/tst-tsearch.c (main): Converted to ...
32005         (do_test): ... this.
32006         (TEST_FUNCTION): New macro.
32007         Include test-skeleton.c.
32008         * posix/tst-regexloc.c (main): Converted to ...
32009         (do_test): ... this.
32010         (TEST_FUNCTION): New macro.
32011         Include test-skeleton.c.
32012         * resolv/tst-aton.c (main): Converted to ...
32013         (do_test): ... this.
32014         (TEST_FUNCTION): New macro.
32015         Include test-skeleton.c.
32016         * stdio-common/test-fwrite.c (main): Converted to ...
32017         (do_test): ... this.
32018         (TEST_FUNCTION): New macro.
32019         Include test-skeleton.c.
32020         * stdio-common/tst-ferror.c (main): Converted to ...
32021         (do_test): ... this.
32022         (TEST_FUNCTION): New macro.
32023         Include test-skeleton.c.
32024         * stdio-common/tst-printf.c (main): Converted to ...
32025         (do_test): ... this.
32026         (TEST_FUNCTION): New macro.
32027         Include test-skeleton.c.
32028         * stdio-common/tst-printfsz.c (main): Converted to ...
32029         (do_test): ... this.
32030         (TEST_FUNCTION): New macro.
32031         Include test-skeleton.c.
32032         * stdlib/tst-strtod.c (main): Converted to ...
32033         (do_test): ... this.
32034         (TEST_FUNCTION): New macro.
32035         Include test-skeleton.c.
32036         * string/tst-strlen.c (main): Converted to ...
32037         (do_test): ... this.
32038         (TEST_FUNCTION): New macro.
32039         Include test-skeleton.c.
32040         * string/tst-svc.c (main): Converted to ...
32041         (do_test): ... this.
32042         (TEST_FUNCTION): New macro.
32043         Include test-skeleton.c.
32044         * time/tst-strptime.c (main): Converted to ...
32045         (do_test): ... this.
32046         (TEST_FUNCTION): New macro.
32047         Include test-skeleton.c.
32048         * timezone/tst-timezone.c (main): Converted to ...
32049         (do_test): ... this.
32050         (TEST_FUNCTION): New macro.
32051         Include test-skeleton.c.
32053 2015-08-05  Zack Weinberg  <zackw@panix.com>
32055         * misc/regexp.h: Update comments.
32057 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
32059         [BZ #18635]
32060         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32061         before return label.
32063 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32065         [BZ #18661]
32066         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
32067         when calling __errno_location.
32068         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
32069         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
32071 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32073         [BZ #18661]
32074         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
32075         (__lll_timedwait_tid): Align stack to 16 bytes when calling
32076         __gettimeofday.
32078 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32080         [BZ #18661]
32081         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32082         (__start_context): Don't use pop to restore %rdi so that stack
32083         is aligned to 16 bytes when calling __setcontext.
32085 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32087         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
32088         only for libc.
32089         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
32091 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32093         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
32094         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
32095         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
32097 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32099         * string/memccpy.c (memccpy):
32100         Improve performance by using memchr/memcpy/__mempcpy.
32102 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32104         * string/strncpy.c (strncpy):
32105         Improve performance by using __strnlen/memcpy.
32107 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32109         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32110         Optimize to avoid an unnecessary FPCR read.
32112 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
32114         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
32115         Optimize to reduce FPCR/FPSR accesses.
32117 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
32119         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
32120         dead->data[category] != NULL.
32122 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
32124         [BZ #18647]
32125         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
32126         and |x| close to 1, use absolute value of x when computing log.
32127         * math/auto-libm-test-in: Add more tests of pow.
32128         * math/auto-libm-test-out: Regenerated.
32130 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32132         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
32133         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
32134         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
32136 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
32138         [BZ #18525]
32139         * locales/km_KH: Remove timezone definition.
32140         * locales/lo_LA: Likewise.
32141         * locales/my_MM: Likewise.
32142         * locales/nan_TW@latin: Likewise.
32143         * locales/th_TH: Likewise.
32144         * locales/uk_UA: Likewise.
32146 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32148         [BZ #18265]
32149         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
32150         (wcsncat): Likewise.
32151         (wcscmp): Likewise.
32152         (wcsncmp): Likewise.
32154 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32156         * test-skeleton.c (usage): New function.
32157         (main): Call usage when opt is '?'.
32159 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32161         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
32162         before first use.
32164 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
32166         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
32167         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
32168         in there too.
32170 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
32172         * version.h (RELEASE): Set to "development".
32173         (VERSION): Set to "2.22.90"
32175         * version.h (RELEASE): Set to "stable".
32176         (VERSION): Set to "2.22"
32177         * include/features.h (__GLIBC_MINOR__): Set to 22.
32179 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
32181         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
32182         Restructure macro to avoid "value computed is not used" warning.
32183         (atomic_compare_and_exchange_val_acq): Likewise.
32185 2015-08-04  Andreas Schwab  <schwab@suse.de>
32187         [BZ #18635]
32188         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
32189         ret.
32190         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
32192 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
32194         * po/pl.po: Updated translation.
32195         * po/uk.po: Likewise.
32196         * po/fi.po: Likewise.
32197         * po/ko.po: Likewise.
32198         * po/ru.po: Likewise.
32199         * po/vi.po: Likewise.
32201 2015-07-31  Zack Weinberg  <zackw@panix.com>
32203         [BZ #18681]
32204         * regexp.h: Add unconditional #warning stating that this header
32205         will be removed soon.  Revise banner comment to match.
32206         (compile): Consistently use ERROR instead of RETURN to report
32207         errors (partial fix for BZ #18681).
32208         * regexp.c: Don't include regexp.h. Remove some unnecessary
32209         declarations.
32211 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
32213         * po/libc.pot: Regenerated.
32215 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
32217         [BZ #18740]
32218         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
32219         float-vlen4-arch-ext-cflags): Removed.
32220         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
32221         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
32223 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32225         [BZ #14113]
32226         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
32227         aligned to __aligned__.
32228         (pthread_cond_t, pthread_rwlock_t): Likewise.
32230 2015-07-30  Torvald Riegel  <triegel@redhat.com>
32232         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
32234 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32236         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
32237         (struct sigaction): Change sa_flags from a long to an int, and add
32238         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
32240 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32242         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
32243         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
32244         sysdeps/generic/sysdep.h include.
32245         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
32246         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
32247         sysdeps/hppa/sysdep.h.
32248         (ENTRY, PSEUDO): Undefine before defining.
32250 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
32252         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
32253         from scratch to use INTERNAL_SYSCALL.
32255 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
32257         [BZ #18078]
32258         * scripts/check-localplt.awk: Support alternate relocations.
32259         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
32260         sections.
32261         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
32262         malloc entries with + REL R_386_GLOB_DAT.
32263         * sysdeps/x86_64/localplt.data: New file.
32265 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
32267         [BZ #18731]
32268         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
32269         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32270         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32272 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32274         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
32276 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32278         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
32279         directly in terms of __sync_fetch_and_add and delete (int) cast.
32281 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32283         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
32284         the -D_ASM_IA64_CURRENT_H flag.
32286 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
32288         [BZ #18641]
32289         * pwd/pwd.h (putpwent): Delete __nonnull markings.
32291 2015-07-27  Andreas Schwab  <schwab@suse.de>
32293         * conform/conformtest.pl (checknamespace): Filter out string
32294         literals while tokenizing.
32296 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32298         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32299         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
32300         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32302 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
32304         * nptl/tst-join7mod.c: Add #include <string.h>.
32306 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32308         * sysdeps/nios2/libm-test-ulps: Update.
32310 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
32312         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
32313         Fix order of arguments to the rt_sigprocmask syscall.
32314         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
32315         Likewise.
32317 2015-07-24  Roland McGrath  <roland@hack.frob.com>
32319         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
32321 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32323         [BZ #18457]
32324         * nptl/Makefile (tests): New test case tst-join7.
32325         (modules-names): New test case module tst-join7mod.
32326         * nptl/tst-join7.c: New file.
32327         * nptl/tst-join7mod.c: New file.
32328         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
32329         all translation units in libc.so, libpthread.so and rtld.
32331 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32335 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32337         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
32338         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32339         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32340         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32341         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32342         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32343         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32344         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32345         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32347         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32348         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32349         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
32350         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32351         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
32352         implementation.
32354 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32356         [BZ #17711]
32357         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32358         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
32359         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32360         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
32361         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
32362         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
32364 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32366         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
32367         instead of just saying load lock in the comments.
32369 2015-07-23  Roland McGrath  <roland@hack.frob.com>
32371         * sysdeps/unix/Subdirs: Moved ...
32372         * sysdeps/posix/Subdirs: ... here.
32373         * login/pty.h (struct termios, struct winsize): Add forward decls.
32374         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
32375         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
32376         * sysdeps/arm/nacl/libc.abilist: Updated.
32377         * sysdeps/nacl/libutil.abilist: New file.
32379         * bits/signum.h: Update comments to mention 1003.1-2013 too.
32380         (SIGWINCH): New macro.
32382         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
32383         * sysdeps/arm/nacl/libc.abilist: Add it.
32385 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32387         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
32389 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
32391         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32392         Swap __glibc_reserved0 and sa_flags order.
32394 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32396         [BZ #18657]
32397         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
32398         are pending TLS destructor calls.
32399         * include/link.h (struct link_map): Add concurrency note for
32400         L_TLS_DTOR_COUNT.
32401         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32402         Don't touch the link map flag.  Atomically increment
32403         l_tls_dtor_count.
32404         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
32405         Avoid taking the load lock and don't touch the link map flag.
32406         * stdlib/tst-tls-atexit-nodelete.c: New test case.
32407         * stdlib/Makefile (tests): Use it.
32408         * stdlib/tst-tls-atexit.c (do_test): dlopen
32409         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
32410         to allow tst-tls-atexit-nodelete test case to use it.
32412 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32414         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
32415         to bits/types.h.
32416         (msgqnum_t): New typedef.
32417         (msglen_t): Likewise.
32418         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
32419         and msg_qbytes type to msglen_t.
32421 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32423         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
32424         pad0 to __glibc_reserved0.
32425         (struct stat64): Likewise.
32427 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32429         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
32430         Change sa_flags from a long to an int and add __glibc_reserved0 before
32431         it for padding.
32433 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
32435         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
32436         anonymous by deleting "siginfo" name.
32438 2015-07-21  Roland McGrath  <roland@hack.frob.com>
32440         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
32441         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
32442         rather than __nacl_irt_filename.
32443         * sysdeps/nacl/xstat.c (__xstat): Likewise.
32445         * NEWS: New item for arm-nacl port.
32446         * sysdeps/arm/nacl/libc.abilist: New file.
32447         * sysdeps/nacl/ld.abilist: New file.
32448         * sysdeps/nacl/libBrokenLocale.abilist: New file.
32449         * sysdeps/nacl/libanl.abilist: New file.
32450         * sysdeps/nacl/libcrypt.abilist: New file.
32451         * sysdeps/nacl/libdl.abilist: New file.
32452         * sysdeps/nacl/libm.abilist: New file.
32453         * sysdeps/nacl/libpthread.abilist: New file.
32454         * sysdeps/nacl/libresolv.abilist: New file.
32455         * sysdeps/nacl/librt.abilist: New file.
32457 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
32459         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
32460         __startcontext to initialize the new context.
32461         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
32462         up CFI directive to forbid further backtracing.
32464 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
32466         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
32467         reference.
32468         * charmaps/ANSI_X3.4-1968: Likewise.
32469         * charmaps/BS_4730: Likewise.
32470         * charmaps/BS_VIEWDATA: Likewise.
32471         * charmaps/CP1250: Likewise.
32472         * charmaps/CP1251: Likewise.
32473         * charmaps/CP1252: Likewise.
32474         * charmaps/CP1253: Likewise.
32475         * charmaps/CP1254: Likewise.
32476         * charmaps/CP1255: Likewise.
32477         * charmaps/CP1256: Likewise.
32478         * charmaps/CSN_369103: Likewise.
32479         * charmaps/EBCDIC-DK-NO: Likewise.
32480         * charmaps/GB_1988-80: Likewise.
32481         * charmaps/GREEK-CCITT: Likewise.
32482         * charmaps/GREEK7: Likewise.
32483         * charmaps/INIS-8: Likewise.
32484         * charmaps/ISIRI-3342: Likewise.
32485         * charmaps/ISO_2033-1983: Likewise.
32486         * charmaps/ISO_5427-EXT: Likewise.
32487         * locales/POSIX: Likewise.
32488         * locales/ar_SA: Likewise.
32489         * locales/be_BY: Likewise.
32490         * locales/be_BY@latin: Likewise.
32491         * locales/ca_ES: Likewise.
32492         * locales/cs_CZ: Likewise.
32493         * locales/da_DK: Likewise.
32494         * locales/de_BE: Likewise.
32495         * locales/de_CH: Likewise.
32496         * locales/de_LU: Likewise.
32497         * locales/en_AU: Likewise.
32498         * locales/en_BW: Likewise.
32499         * locales/en_CA: Likewise.
32500         * locales/en_DK: Likewise.
32501         * locales/en_GB: Likewise.
32502         * locales/en_IE: Likewise.
32503         * locales/en_NZ: Likewise.
32504         * locales/en_ZA: Likewise.
32505         * locales/en_ZW: Likewise.
32506         * locales/es_AR: Likewise.
32507         * locales/es_BO: Likewise.
32508         * locales/es_CL: Likewise.
32509         * locales/es_CO: Likewise.
32510         * locales/es_DO: Likewise.
32511         * locales/es_EC: Likewise.
32512         * locales/es_ES: Likewise.
32513         * locales/es_HN: Likewise.
32514         * locales/es_MX: Likewise.
32515         * locales/es_PA: Likewise.
32516         * locales/es_PE: Likewise.
32517         * locales/es_PY: Likewise.
32518         * locales/es_SV: Likewise.
32519         * locales/es_US: Likewise.
32520         * locales/es_UY: Likewise.
32521         * locales/es_VE: Likewise.
32522         * locales/et_EE: Likewise.
32523         * locales/fa_IR: Likewise.
32524         * locales/fo_FO: Likewise.
32525         * locales/fr_CA: Likewise.
32526         * locales/fr_CH: Likewise.
32527         * locales/gv_GB: Likewise.
32528         * locales/he_IL: Likewise.
32529         * locales/hr_HR: Likewise.
32530         * locales/id_ID: Likewise.
32531         * locales/is_IS: Likewise.
32532         * locales/it_CH: Likewise.
32533         * locales/iw_IL: Likewise.
32534         * locales/kl_GL: Likewise.
32535         * locales/ko_KR: Likewise.
32536         * locales/kw_GB: Likewise.
32537         * locales/lg_UG: Likewise.
32538         * locales/lt_LT: Likewise.
32539         * locales/lv_LV: Likewise.
32540         * locales/mi_NZ: Likewise.
32541         * locales/nhn_MX: Likewise.
32542         * locales/nl_BE: Likewise.
32543         * locales/pl_PL: Likewise.
32544         * locales/sk_SK: Likewise.
32545         * locales/sl_SI: Likewise.
32546         * locales/sv_FI: Likewise.
32547         * locales/tl_PH: Likewise.
32548         * locales/tr_TR: Likewise.
32549         * locales/vi_VN: Likewise.
32551 2015-07-21  Khem Raj  <raj.khem@gmail.com>
32553         [BZ #17475]
32554         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
32555         of tu_IN and bh_IN.
32557 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
32559         [BZ #18694]
32560         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
32561         bits/wordsize.h.
32562         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
32564 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32566         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
32567         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
32568         (spawn_thread): New function.
32569         (load): Rename to reg_dtor_and_close.  Move dlopen to...
32570         (do_test): ... here.  Use IS_LOADED to test for its
32571         availability.
32573 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
32575         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32577 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
32579         [BZ #18696]
32580         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
32581         si_addr_bnd.
32582         (si_lower): New.
32583         (si_upper): Likewise.
32585 2015-07-16  David S. Miller  <davem@davemloft.net>
32587         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
32589 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32591         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
32592         buffer.
32593         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
32594         fail output information.
32596 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
32599         and strstr-ppc64..
32600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
32601         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
32602         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
32603         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
32604         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
32606 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32608         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32609         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32610         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
32611         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
32613 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
32615         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32616         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
32617         rtld_hidden_proto.
32618         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
32620 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32622         * tst-nodelete-opened.c (do_test): Add comment to clarify how
32623         the test can fail.
32625         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
32627         [BZ #18676]
32628         * elf/tst-nodelete-opened.c: New test case.
32629         * elf/tst-nodelete-opened-lib.c: New test case module.
32630         * elf/Makefile (tests, modules-names): Use them.
32631         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
32632         early.
32634 2015-07-15  David S. Miller  <davem@davemloft.net>
32636         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
32637         futex-intenal.h
32638         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
32639         * sysdeps/sparc/sparc64/Makefile: Likewise.
32640         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
32641         Remove space from macro define.
32642         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
32644 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
32646         [BZ #17475]
32647         * locale/iso-639.def: Update Bhili and Tulu language codes as
32648         per iso639-3.
32650 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
32652         * elf/tst-leaks1.c (main): Converted to ...
32653         (do_test): ... this.
32654         (TEST_FUNCTION): New macro.
32655         Include test-skeleton.c.
32656         * localedata/tst-langinfo.c (main): Converted to ...
32657         (do_test): ... this.
32658         (TEST_FUNCTION): New macro.
32659         Include test-skeleton.c.
32660         * math/test-fpucw.c (main): Converted to ...
32661         (do_test): ... this.
32662         (TEST_FUNCTION): New macro.
32663         Include test-skeleton.c.
32664         * math/test-tgmath.c (main): Converted to ...
32665         (do_test): ... this.
32666         (TEST_FUNCTION): New macro.
32667         Include test-skeleton.c.
32668         * math/test-tgmath2.c (main): Converted to ...
32669         (do_test): ... this.
32670         (TEST_FUNCTION): New macro.
32671         Include test-skeleton.c.
32672         * setjmp/tst-setjmp.c (main): Converted to ...
32673         (do_test): ... this.
32674         (TEST_FUNCTION): New macro.
32675         Include test-skeleton.c.
32676         * stdio-common/tst-sscanf.c (main): Converted to ...
32677         (do_test): ... this.
32678         (TEST_FUNCTION): New macro.
32679         Include test-skeleton.c.
32680         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
32681         (do_test): ... this.
32682         (TEST_FUNCTION): New macro.
32683         Include test-skeleton.c.
32685         * elf/tst-audit9.c (main): Converted to ...
32686         (do_test): ... this.
32687         (TEST_FUNCTION): New macro.
32688         Include test-skeleton.c.
32690 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
32692         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
32694 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32696         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
32697         New variable.
32699 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
32701         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32703 2015-07-14  Roland McGrath  <roland@hack.frob.com>
32705         * sysdeps/generic/dl-fileid.h: New file.
32706         * sysdeps/posix/dl-fileid.h: New file.
32707         * sysdeps/nacl/dl-fileid.h: New file.
32708         * include/link.h: Include <dl-fileid.h>.
32709         (struct link_map): Replace l_dev and l_ino with l_file_id.
32710         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
32711         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
32712         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
32714 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32716         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
32718 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32720         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
32721         Add iff $CXX is set.
32722         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
32723         Likewise.
32724         (tst-nodelete-zmodiff): Likewise.
32725         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
32727 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32729         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
32731 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32733         * sysdeps/aarch64/fpu/math_private.h
32734         (define math_opt_barrier): Add AArch64 version.
32735         (math_force_eval): Likewise.
32737 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
32739         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
32741 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
32743         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
32744         %ld with %jd and cast to intmax_t.
32745         (do_test_length_zero): Likewise.
32747 2015-07-10  Roland McGrath  <roland@hack.frob.com>
32749         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
32751 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
32753         * sysdeps/tile/libm-test-ulps: Regenerated.
32755         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
32756         Comment out the whole function, not just its body.
32758 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32760         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
32761         locks.
32763         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
32765 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32767         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
32768         (sem_assume_only_signals_cause_futex_EINTR): Remove.
32770 2015-07-10  Torvald Riegel  <triegel@redhat.com>
32772         * sysdeps/nptl/futex-internal.h: New file.
32773         * sysdeps/nacl/futex-internal.h: New file.
32774         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
32775         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
32776         error checking.
32777         (setxid_unmark_thread): Likewise.
32778         (__nptl_setxid): Likewise.
32779         (__wait_lookup_done): Likewise.
32780         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
32781         * nptl/nptl-init.c (sighandler_setxid): Likewise.
32782         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
32783         * nptl/pthread_once.c (clear_once_control): Likewise.
32784         (__pthread_once_slow): Likewise.
32785         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
32786         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
32787         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
32788         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
32789         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
32790         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
32791         Likewise.
32792         (__pthread_rwlock_rdlock): Likewise.
32793         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32794         Likewise.
32795         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32796         Likewise.
32797         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
32798         Likewise.
32799         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
32800         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
32801         Likewise.
32802         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
32803         __ASSUME_PRIVATE_FUTEX check.
32804         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
32805         Check that shared futexes are supported.
32806         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
32807         wrappers with error checking.
32808         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
32809         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
32810         * nptl/pthread_barrierattr_setpshared.c
32811         (pthread_barrierattr_setpshared): Check that shared futexes are
32812         supported.
32813         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
32814         Likewise.
32815         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
32816         Likewise.
32817         * nptl/sem_init.c (futex_private_if_supported): Remove.
32818         (__new_sem_init): Adapt and check that shared futexes are supported.
32819         * nptl/sem_open.c (sem_open): Likewise.
32820         * nptl/sem_post.c (futex_wake): Remove.
32821         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
32822         (do_futex_wait): Use futex wrappers with error checking.
32823         * nptl/sem_wait.c: Include lowlevellock.h.
32824         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
32825         Use futex_supports_pshared.
32826         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
32827         Use futex wrappers with error checking.
32828         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
32829         Likewise.
32830         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
32831         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
32832         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
32833         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
32834         (futex_wake): Likewise.
32835         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
32836         (do_futex_wait): Use futex wrappers with error checking.
32837         (__new_sem_wait_slow): Update EINTR handling.
32838         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
32840 2015-07-09  Martin Sebor  <msebor@redhat.com>
32842         [BZ #18435]
32843         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
32844         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
32845         * nptl/Makefile (test-xfail-tst-once5): Define.
32847 2015-07-09  Roland McGrath  <roland@hack.frob.com>
32849         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
32850         * elf/dl-minimal.c: For readability, reorder some definitions and
32851         introduce more page breaks.  Include <stdio.h>.
32852         (__libc_fatal): New function.
32854         * include/unistd.h: Add rtld_hidden_proto for _exit.
32855         * posix/_exit.c: Add rtld_hidden_def.
32856         * sysdeps/mach/hurd/_exit.c: Likewise.
32857         * sysdeps/nacl/_exit.c: Likewise.
32858         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
32859         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
32861 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
32863         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
32864         bndmov encoding with zero displacement.
32866 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32867             H.J. Lu  <hongjiu.lu@intel.com>
32869         [BZ #18134]
32870         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
32871         * sysdeps/i386/configure: Regenerated.
32872         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32873         (_dl_runtime_profile): Save and restore Intel MPX return bound
32874         registers when calling _dl_call_pltexit.  Add
32875         PRESERVE_BND_REGS_PREFIX before return.
32876         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
32877         (LRV_BND1_OFFSET): Likewise.
32878         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
32879         lrv_bnd1.
32880         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
32881         typo in bndmov encoding.
32882         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
32883         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
32884         branch instructions to preserve bounds.
32886 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
32889         [GLIBC_2.22]: Add fmemopen.
32891 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32893         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
32894         returns an error, also try to use host port from __mach_host_self for
32895         the __vm_wire call.
32896         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
32898 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32900         [BZ #18400]
32901         [BZ #18648]
32902         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
32903         Fix pr_uid and pr_gid members.
32904         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
32905         definition to elf_greg_t.
32907 2015-07-08  Roland McGrath  <roland@hack.frob.com>
32909         [BZ #18383]
32910         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
32911         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
32912         * sysdeps/arm/configure: Regenerated.
32913         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
32914         (test-xfail-tst-tlsalign-static): Variable removed.
32916         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
32917         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
32918         rather than explicit 'ln -s'.
32920         * resolv/rpc/netdb.h: New file.
32921         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
32923 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32925         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
32926         length buffers.
32927         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
32928         test-skeleton.c.
32930         [BZ #6544]
32931         [BZ #11216]
32932         [BZ #12836]
32933         [BZ #13151]
32934         [BZ #13152]
32935         [BZ #14292]
32936         * include/stdio.h (fmemopen): Remove hidden prototype.
32937         (__fmemopen): Add new hidden prototype.
32938         * libio/Makefile: Add oldfmemopen object.
32939         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
32940         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
32941         compliance.
32942         * libio/oldfmemopen.c: New file: old fmemopen implementation for
32943         symbol compatibility.
32944         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32945         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
32946         fmemopen.
32947         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
32948         on append and read mode.
32949         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
32950         fmemopen.
32951         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
32952         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
32953         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32954         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
32955         Likewise.
32956         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
32957         [GLIBC_2.22]: Likewise.
32958         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
32959         Likewise.
32960         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
32961         Likewise.
32962         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
32963         [GLIBC_2.22]: Likewise.
32964         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
32965         [GLIBC_2.22]: Likewise.
32966         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
32967         [GLIBC_2.22]: Likewise.
32968         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
32969         [GLIBC_2.22]: Likewise.
32970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
32971         [GLIBC_2.22]: Likewise.
32972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
32973         [GLIBC_2.22]: Likewise.
32974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
32975         [GLIBC_2.22]: Likewise.
32976         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
32977         Likewise.
32978         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
32979         Likewise.
32980         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
32981         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
32982         [GLIBC_2.22]: Likewise.
32983         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
32984         [GLIBC_2.22]: Likewise.
32985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
32986         [GLIBC_2.22]: Likewise.
32987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
32988         [GLIBC_2.22]: Likewise.
32989         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
32990         Likewise.
32991         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
32992         Likewise.
32993         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
32994         Likewise.
32995         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
32996         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
32998 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33000         [BZ #18643]
33001         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
33002         IPV6_PATHMTU, and IPV6_DONTFRAG.
33004 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
33006         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
33007         and _IO_UNBUFFERED.
33008         * libio/oldfileops.c: Likewise.
33009         * libio/wfileops.c: Likewise.
33011 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33013         * nscd/selinux.c: Delete selinux/flask.h include.
33015 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33017         [BZ #18641]
33018         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33019         (putpwent): Likewise.
33020         (getpwnam): Likewise.
33021         (getpwent_r): Likewise.
33022         (getpwuid_r): Likewise.
33023         (getpwnam_r): Likewise.
33024         (fgetpwent_r): Likewise.
33026 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33028         [BZ #18557]
33029         * inet/rcmd.c (__validuser2_sa): Check user first to
33030         short-circuit host check.
33032 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
33033             Mikhail Ilin  <m.ilin@samsung.com>
33035         [BZ #17833]
33036         * elf/Makefile (tests): Add tst-nodelete.
33037         (modules-names): Add tst-nodelete-uniquemod.
33038         (tst-nodelete-uniquemod.so-no-z-defs): New.
33039         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33040         (tst-nodelete-zmod.so-no-z-defs): Likewise.
33041         ($(objpfx)tst-nodelete): Likewise.
33042         ($(objpfx)tst-nodelete.out): Likewise.
33043         (LDFLAGS-tst-nodelete): Likewise.
33044         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33045         * elf/dl-close.c (_dl_close_worker): Add a parameter to
33046         implement forced object deletion.
33047         (_dl_close): Pass false to _dl_close_worker.
33048         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33049         * elf/tst-nodelete.cc: New file.
33050         * elf/tst-nodeletelib.cc: Likewise.
33051         * elf/tst-znodeletelib.cc: Likewise.
33052         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33054 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33056         [BZ #18508]
33057         * stdlib/Makefile ($(objpfx)tst-makecontext3):
33058         Depend on $(libdl).
33059         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33060         is not called infinitely times.
33061         (backtrace_helper): New function.
33062         (trace_arg): New struct.
33063         (st1): Enlarge stack size.
33064         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
33065         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
33066         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
33067         Likewise.
33069 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33071         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33073 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33075         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
33076         Include sys/types.h instead of bits/types.h.
33077         Remove inclusion of bits/wordsize.h.
33079 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33081         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
33082         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
33083         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
33084         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
33085         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
33086         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
33088 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33090         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
33091         link-defines.sym.
33092         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
33093         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
33094         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
33095         and LR_SIZE.
33096         * sysdeps/i386/link-defines.sym: New file.
33098 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
33100         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
33101         (modules-names): Add tst-auditmod3a tst-auditmod3b.
33102         ($(objpfx)tst-audit3): New rule.
33103         ($(objpfx)tst-audit3.out): Likewise.
33104         * sysdeps/i386/tst-audit3.c: New file.
33105         * sysdeps/i386/tst-audit3.h: Likewise.
33106         * sysdeps/i386/tst-auditmod3a.c: Likewise.
33107         * sysdeps/i386/tst-auditmod3b.c: Likewise.
33109 2015-07-07  Torvald Riegel  <triegel@redhat.com>
33111         [BZ #18633]
33112         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
33113         pointer in C code.
33114         (__strcat_c): Likewise.
33115         (__strcat_g): Likewise.
33117 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
33119         [BZ #18592]
33120         * misc/sbrk.c: Set errno to ENOMEM on overflow.
33122 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33124         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
33125         New function.  (__ieee754_sqrtf): New function.
33126         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
33127         New function.
33128         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
33129         New function.
33131 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
33133         * sysdeps/ieee754/support.c: Remove unused file.
33135 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33137         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
33138         registers instead of d ones so the layout is kernel abi compatible.
33139         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
33140         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
33141         Likewise.
33143 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33145         * sysdeps/aarch64/libm-test-ulps: Regenerated.
33147 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33149         [BZ #18619]
33150         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
33151         and return argument in case of subnormal argument.
33153 2015-07-01  Martin Sebor  <msebor@redhat.com>
33155         [BZ #18435]
33156         * nptl/Makefile: Add tst-once5.cc.
33157         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33158         Remove macro redefinitions.
33159         * nptl/tst-once5.cc: New test.
33161 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
33163         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33165         * sysdeps/arm/libm-test-ulps: Regenerated.
33167         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33168         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33170 2015-06-30  Torvald Riegel  <triegel@redhat.com>
33172         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
33173         lll_lock_wait_private and lll_futex_wake probes.
33175         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33176         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
33177         Likewise.
33178         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
33179         atomic_spin_nop.
33180         * sysdeps/x86_64/bits/atomic.h: Likewise.
33181         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
33182         to atomic_spin_nop and move ...
33183         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33184         ... here and ...
33185         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
33186         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
33187         atomic_spin_nop instead of BUSY_WAIT_NOP.
33188         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
33189         Likewise.
33190         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
33191         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
33192         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
33193         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
33194         instead of atomic_delay.
33196 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
33198         [BZ #18613]
33199         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
33200         X_ADJ not X when adjusting exponent.
33201         (__ieee754_gamma_r): Do intermediate computations in
33202         round-to-nearest then adjust overflowing and underflowing results
33203         as needed.
33204         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
33205         of X_ADJ not X when adjusting exponent.
33206         (__ieee754_gammaf_r): Do intermediate computations in
33207         round-to-nearest then adjust overflowing and underflowing results
33208         as needed.
33209         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
33210         log of X_ADJ not X when adjusting exponent.
33211         (__ieee754_gammal_r): Do intermediate computations in
33212         round-to-nearest then adjust overflowing and underflowing results
33213         as needed.  Use 1.0L not 1.0f as numerator of division.
33214         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
33215         log of X_ADJ not X when adjusting exponent.
33216         (__ieee754_gammal_r): Do intermediate computations in
33217         round-to-nearest then adjust overflowing and underflowing results
33218         as needed.  Use 1.0L not 1.0f as numerator of division.
33219         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
33220         of X_ADJ not X when adjusting exponent.
33221         (__ieee754_gammal_r): Do intermediate computations in
33222         round-to-nearest then adjust overflowing and underflowing results
33223         as needed.  Use 1.0L not 1.0f as numerator of division.
33224         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
33225         to auto-libm-test-in.
33226         (tgamma_test): Use ALL_RM_TEST.
33227         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
33228         tests of tgamma with spurious-overflow.
33229         * math/auto-libm-test-out: Regenerated.
33230         * math/gen-libm-have-vector-test.sh: Do not check for START.
33231         * sysdeps/i386/fpu/libm-test-ulps: Update.
33232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33234         [BZ #18612]
33235         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
33236         arguments, just return 0.5 times the argument, with underflow
33237         forced as needed.
33238         * math/auto-libm-test-in: Add more tests of j1.
33239         * math/auto-libm-test-out: Regenerated.
33241         [BZ #16559]
33242         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
33243         (__ieee754_j1): Force underflow exception for small results.
33244         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
33245         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
33246         (__ieee754_j1f): Force underflow exception for small results.
33247         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33248         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33249         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33250         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
33251         (__ieee754_j1l): Force underflow exception for small results.
33252         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33253         * math/auto-libm-test-in: Add more tests of j1 and jn.
33254         * math/auto-libm-test-out: Regenerated.
33256         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
33257         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
33258         (PF_MPLS): Likewise.
33259         (AF_IB): Likewise.
33260         (AF_MPLS): Likewise.
33261         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
33262         value and macro.
33263         (MS_RMT_MASK): Include MS_LAZYTIME.
33265 2015-06-26  Mel Gorman  <mgorman@suse.de>
33267         [BZ #18502]
33268         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
33269         already minimal.
33271 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
33273         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
33274         (DT_MIPS_NUM): Update.
33275         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
33276         DT_MIPS_RLD_MAP_REL.
33278 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
33280         [BZ #16559]
33281         [BZ #18602]
33282         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
33283         round-to-nearest internally then recompute results that
33284         underflowed to zero in the original rounding mode.
33285         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
33286         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
33287         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33288         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
33289         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
33290         * sysdeps/i386/fpu/libm-test-ulps: Update.
33291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33293 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
33295         * NEWS: Fixed description of link with vector math library.
33297 2015-06-25  Andreas Schwab  <schwab@suse.de>
33299         [BZ #18549]
33300         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
33301         * libio/test-fmemopen.c (do_test): Add test for it.
33303 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33305         [BZ #17841]
33306         * Makeconfig (no-pie-ldflag): New.
33307         (+link): Set to $(+link-pie) if default to PIE.
33308         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
33309         * config.make.in (build-pie-default): New.
33310         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
33311         is default.  AC_SUBST.
33312         * configure: Regenerated.
33313         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
33315 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33317         * nptl/descr.h (struct pthread): Change type of field setxid_futex
33318         to 'unsigned int'.
33320         * resolv/gai_misc.h (struct waitlist): Change type of field
33321         counterp to 'volatile unsigned int *'.
33322         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
33323         FUTEXADDR and OLDVAL.
33324         * resolv/getaddrinfo_a.c (getaddrinfo_a):
33325         Give local variable TOTAL type 'volatile unsigned int'.
33326         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33327         * resolv/gai_suspend.c (gai_suspend):
33328         Give local variable CNTR type 'unsigned int'.
33330         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
33331         counterp to 'volatile unsigned int *'.
33332         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
33333         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
33334         (aio_suspend): Give local variable CNTR type 'unsigned int'.
33335         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
33336         Give local variable TOTAL type 'volatile unsigned int'.
33337         (struct async_waitlist): Change type of field counter to 'unsigned int'.
33339 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33341         [BZ #18383]
33342         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
33343         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
33344         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
33345         comment for i386/x86-64.
33346         (test-xfail-tst-tlsalign-extern-static): Removed.
33348 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33350         * math/test-double.h: New file.
33351         * math/test-float.h: Likewise.
33352         * math/test-ldouble.h: Likewise.
33353         * math/test-math-inline.h: Likewise.
33354         * math/test-math-no-inline.h: Likewise.
33355         * math/test-math-scalar.h: Likewise.
33356         * math/test-math-vector.h: Likewise.
33357         * math/test-vec-loop.h: Remove file.  Contents moved into
33358         test-math-vector.h.
33359         * math/libm-test.inc (MATHCONST): Do not document macro.
33360         * math/test-double.c: Include test-double.h, test-math-no-inline.h
33361         and test-math-scalar.h.
33362         (FUNC): Remove macro.
33363         (FUNC_TEST): Likewise.
33364         (FLOAT): Likewise.
33365         (MATHCONST): Likewise.
33366         (PRINTF_EXPR): Likewise.
33367         (PRINTF_XEXPR): Likewise.
33368         (PRINTF_NEXPR): Likewise.
33369         (TEST_DOUBLE): Likewise.
33370         (TEST_MATHVEC): Likewise.
33371         (__NO_MATH_INLINES): Likewise.
33372         * math/test-float.c: Include test-float.h, test-math-no-inline.h
33373         and test-math-scalar.h.
33374         (FUNC): Remove macro.
33375         (FUNC_TEST): Likewise.
33376         (FLOAT): Likewise.
33377         (MATHCONST): Likewise.
33378         (PRINTF_EXPR): Likewise.
33379         (PRINTF_XEXPR): Likewise.
33380         (PRINTF_NEXPR): Likewise.
33381         (TEST_FLOAT): Likewise.
33382         (TEST_MATHVEC): Likewise.
33383         (__NO_MATH_INLINES): Likewise.
33384         * math/test-idouble.c: Include test-double.h, test-math-inline.h
33385         and test-math-scalar.h.
33386         (FUNC): Remove macro.
33387         (FUNC_TEST): Likewise.
33388         (FLOAT): Likewise.
33389         (MATHCONST): Likewise.
33390         (PRINTF_EXPR): Likewise.
33391         (PRINTF_XEXPR): Likewise.
33392         (PRINTF_NEXPR): Likewise.
33393         (TEST_DOUBLE): Likewise.
33394         (TEST_MATHVEC): Likewise.
33395         (TEST_INLINE): Likewise.
33396         (__NO_MATH_INLINES): Likewise.
33397         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
33398         test-math-scalar.h.
33399         (FUNC): Remove macro.
33400         (FUNC_TEST): Likewise.
33401         (FLOAT): Likewise.
33402         (MATHCONST): Likewise.
33403         (PRINTF_EXPR): Likewise.
33404         (PRINTF_XEXPR): Likewise.
33405         (PRINTF_NEXPR): Likewise.
33406         (TEST_FLOAT): Likewise.
33407         (TEST_MATHVEC): Likewise.
33408         (TEST_INLINE): Likewise.
33409         (__NO_MATH_INLINES): Likewise.
33410         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
33411         and test-math-scalar.h.
33412         (FUNC): Remove macro.
33413         (FUNC_TEST): Likewise.
33414         (FLOAT): Likewise.
33415         (MATHCONST): Likewise.
33416         (PRINTF_EXPR): Likewise.
33417         (PRINTF_XEXPR): Likewise.
33418         (PRINTF_NEXPR): Likewise.
33419         (TEST_LDOUBLE): Likewise.
33420         (TEST_MATHVEC): Likewise.
33421         (TEST_INLINE): Likewise.
33422         (__NO_MATH_INLINES): Likewise.
33423         * math/test-ldouble.c: Include test-ldouble.h,
33424         test-math-no-inline.h and test-math-scalar.h.
33425         (FUNC): Remove macro.
33426         (FUNC_TEST): Likewise.
33427         (FLOAT): Likewise.
33428         (MATHCONST): Likewise.
33429         (PRINTF_EXPR): Likewise.
33430         (PRINTF_XEXPR): Likewise.
33431         (PRINTF_NEXPR): Likewise.
33432         (TEST_LDOUBLE): Likewise.
33433         (TEST_MATHVEC): Likewise.
33434         (__NO_MATH_INLINES): Likewise.
33435         * math/test-double-vlen2.h: Include test-double.h,
33436         test-math-no-inline.h and test-math-vector.h.
33437         (FLOAT): Remove macro.
33438         (FUNC): Likewise.
33439         (MATHCONST): Likewise.
33440         (PRINTF_EXPR): Likewise.
33441         (PRINTF_XEXPR): Likewise.
33442         (PRINTF_NEXPR): Likewise.
33443         (TEST_DOUBLE): Likewise.
33444         (TEST_MATHVEC): Likewise.
33445         (__NO_MATH_INLINES): Likewise.
33446         (CNCT): Likewise.
33447         (CONCAT): Likewise.
33448         (WRAPPER_NAME): Likewise.
33449         (WRAPPER_DECL): Likewise.
33450         (WRAPPER_DECL_ff): Likewise.
33451         (WRAPPER_DECL_fFF): Likewise.
33452         (VECTOR_WRAPPER): Likewise.
33453         (VECTOR_WRAPPER_ff): Likewise.
33454         (VECTOR_WRAPPER_fFF): Likewise.
33455         (VEC_LEN): New macro.
33456         * math/test-double-vlen4.h: Include test-double.h,
33457         test-math-no-inline.h and test-math-vector.h.
33458         (FLOAT): Remove macro.
33459         (FUNC): Likewise.
33460         (MATHCONST): Likewise.
33461         (PRINTF_EXPR): Likewise.
33462         (PRINTF_XEXPR): Likewise.
33463         (PRINTF_NEXPR): Likewise.
33464         (TEST_DOUBLE): Likewise.
33465         (TEST_MATHVEC): Likewise.
33466         (__NO_MATH_INLINES): Likewise.
33467         (CNCT): Likewise.
33468         (CONCAT): Likewise.
33469         (WRAPPER_NAME): Likewise.
33470         (WRAPPER_DECL): Likewise.
33471         (WRAPPER_DECL_ff): Likewise.
33472         (WRAPPER_DECL_fFF): Likewise.
33473         (VECTOR_WRAPPER): Likewise.
33474         (VECTOR_WRAPPER_ff): Likewise.
33475         (VECTOR_WRAPPER_fFF): Likewise.
33476         (VEC_LEN): New macro.
33477         * math/test-double-vlen8.h: Include test-double.h,
33478         test-math-no-inline.h and test-math-vector.h.
33479         (FLOAT): Remove macro.
33480         (FUNC): Likewise.
33481         (MATHCONST): Likewise.
33482         (PRINTF_EXPR): Likewise.
33483         (PRINTF_XEXPR): Likewise.
33484         (PRINTF_NEXPR): Likewise.
33485         (TEST_DOUBLE): Likewise.
33486         (TEST_MATHVEC): Likewise.
33487         (__NO_MATH_INLINES): Likewise.
33488         (CNCT): Likewise.
33489         (CONCAT): Likewise.
33490         (WRAPPER_NAME): Likewise.
33491         (WRAPPER_DECL): Likewise.
33492         (WRAPPER_DECL_ff): Likewise.
33493         (WRAPPER_DECL_fFF): Likewise.
33494         (VECTOR_WRAPPER): Likewise.
33495         (VECTOR_WRAPPER_ff): Likewise.
33496         (VECTOR_WRAPPER_fFF): Likewise.
33497         (VEC_LEN): New macro.
33498         * math/test-float-vlen4.h: Include test-float.h,
33499         test-math-no-inline.h and test-math-vector.h.
33500         (FLOAT): Remove macro.
33501         (FUNC): Likewise.
33502         (MATHCONST): Likewise.
33503         (PRINTF_EXPR): Likewise.
33504         (PRINTF_XEXPR): Likewise.
33505         (PRINTF_NEXPR): Likewise.
33506         (TEST_FLOAT): Likewise.
33507         (TEST_MATHVEC): Likewise.
33508         (__NO_MATH_INLINES): Likewise.
33509         (CNCT): Likewise.
33510         (CONCAT): Likewise.
33511         (WRAPPER_NAME): Likewise.
33512         (WRAPPER_DECL): Likewise.
33513         (WRAPPER_DECL_ff): Likewise.
33514         (WRAPPER_DECL_fFF): Likewise.
33515         (VECTOR_WRAPPER): Likewise.
33516         (VECTOR_WRAPPER_ff): Likewise.
33517         (VECTOR_WRAPPER_fFF): Likewise.
33518         (VEC_LEN): New macro.
33519         * math/test-float-vlen8.h: Include test-float.h,
33520         test-math-no-inline.h and test-math-vector.h.
33521         (FLOAT): Remove macro.
33522         (FUNC): Likewise.
33523         (MATHCONST): Likewise.
33524         (PRINTF_EXPR): Likewise.
33525         (PRINTF_XEXPR): Likewise.
33526         (PRINTF_NEXPR): Likewise.
33527         (TEST_FLOAT): Likewise.
33528         (TEST_MATHVEC): Likewise.
33529         (__NO_MATH_INLINES): Likewise.
33530         (CNCT): Likewise.
33531         (CONCAT): Likewise.
33532         (WRAPPER_NAME): Likewise.
33533         (WRAPPER_DECL): Likewise.
33534         (WRAPPER_DECL_ff): Likewise.
33535         (WRAPPER_DECL_fFF): Likewise.
33536         (VECTOR_WRAPPER): Likewise.
33537         (VECTOR_WRAPPER_ff): Likewise.
33538         (VECTOR_WRAPPER_fFF): Likewise.
33539         (VEC_LEN): New macro.
33540         * math/test-float-vlen16.h: Include test-float.h,
33541         test-math-no-inline.h and test-math-vector.h.
33542         (FLOAT): Remove macro.
33543         (FUNC): Likewise.
33544         (MATHCONST): Likewise.
33545         (PRINTF_EXPR): Likewise.
33546         (PRINTF_XEXPR): Likewise.
33547         (PRINTF_NEXPR): Likewise.
33548         (TEST_FLOAT): Likewise.
33549         (TEST_MATHVEC): Likewise.
33550         (__NO_MATH_INLINES): Likewise.
33551         (CNCT): Likewise.
33552         (CONCAT): Likewise.
33553         (WRAPPER_NAME): Likewise.
33554         (WRAPPER_DECL): Likewise.
33555         (WRAPPER_DECL_ff): Likewise.
33556         (WRAPPER_DECL_fFF): Likewise.
33557         (VECTOR_WRAPPER): Likewise.
33558         (VECTOR_WRAPPER_ff): Likewise.
33559         (VECTOR_WRAPPER_fFF): Likewise.
33560         (VEC_LEN): New macro.
33561         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
33562         test-vec-loop.h.
33563         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33564         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33565         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33566         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33567         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33568         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33569         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33571 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33573         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
33574         (__getlogin_r): ... this.
33576 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33578         [BZ #18594]
33579         * math/s_ccosh.c (__ccosh): Compare with least normal value
33580         instead of comparing class with FP_SUBNORMAL.
33581         * math/s_ccoshf.c (__ccoshf): Likewise.
33582         * math/s_ccoshl.c (__ccoshl): Likewise.
33583         * math/s_cexp.c (__cexp): Likewise.
33584         * math/s_cexpf.c (__cexpf): Likewise.
33585         * math/s_cexpl.c (__cexpl): Likewise.
33586         * math/s_csin.c (__csin): Likewise.
33587         * math/s_csinf.c (__csinf): Likewise.
33588         * math/s_csinh.c (__csinh): Likewise.
33589         * math/s_csinhf.c (__csinhf): Likewise.
33590         * math/s_csinhl.c (__csinhl): Likewise.
33591         * math/s_csinl.c (__csinl): Likewise.
33592         * math/s_ctan.c (__ctan): Likewise.
33593         * math/s_ctanf.c (__ctanf): Likewise.
33594         * math/s_ctanh.c (__ctanh): Likewise.
33595         * math/s_ctanhf.c (__ctanhf): Likewise.
33596         * math/s_ctanhl.c (__ctanhl): Likewise.
33597         * math/s_ctanl.c (__ctanl): Likewise.
33598         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
33599         csin, csinh, ctan and ctanh.
33600         * math/auto-libm-test-out: Regenerated.
33601         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
33602         * sysdeps/i386/fpu/libm-test-ulps: Update.
33603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33605 2015-06-24  Roland McGrath  <roland@hack.frob.com>
33607         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
33608         return value is wrong, print the expected value too.
33610 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33612         [BZ #18585]
33613         * elf/readlib.c (is_gdb_python_file): New.
33614         (process_file): Don't issue errors on filenames with -gdb.py
33615         suffix.
33617 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
33619         * math/auto-libm-test-in: Add more tests of csin and csinh.
33620         * math/auto-libm-test-out: Regenerated.
33621         * math/libm-test.inc (csin_test_data): Remove tests moved to
33622         auto-libm-test-in.
33623         (csinh_test_data): Likewise.
33625         [BZ #18593]
33626         * math/s_csin.c (__csin): Negate before rather than after possibly
33627         overflowing multiplication.
33628         * math/s_csinf.c (__csinf): Likewise.
33629         * math/s_csinh.c (__csinh): Likewise.
33630         * math/s_csinhf.c (__csinhf): Likewise.
33631         * math/s_csinhl.c (__csinhl): Likewise.
33632         * math/s_csinl.c (__csinl): Likewise.
33633         * math/auto-libm-test-in: Add some tests of csin and csinh.
33634         * math/auto-libm-test-out: Regenerated.
33635         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
33636         (csinh_test_data): Likewise.
33637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33639         [BZ #18586]
33640         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
33641         underflow exception for small results.
33643 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33645         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33646         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
33647         variable and included header.
33648         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
33649         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
33650         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
33651         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
33652         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
33653         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
33654         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
33655         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
33656         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
33657         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
33658         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
33659         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
33660         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
33661         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
33662         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
33663         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
33665 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33667         [BZ #16526]
33668         [BZ #16538]
33669         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
33670         (__sin): Force underflow exception for arguments with small
33671         absolute value.
33672         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
33673         (__kernel_sinf): Force underflow exception for arguments with
33674         small absolute value.
33675         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
33676         (__kernel_sincosl): Force underflow exception for arguments with
33677         small absolute value.
33678         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
33679         (__kernel_sinl): Force underflow exception for arguments with
33680         small absolute value.
33681         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
33682         (__kernel_sincosl): Force underflow exception for arguments with
33683         small absolute value.
33684         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
33685         (__kernel_sinl): Force underflow exception for arguments with
33686         small absolute value.
33687         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
33688         (__kernel_sinl): Force underflow exception for arguments with
33689         small absolute value.
33690         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
33691         (__kernel_sinf): Force underflow exception for arguments with
33692         small absolute value.
33693         * math/auto-libm-test-in: Add more tests of sin and sincos.
33694         * math/auto-libm-test-out: Regenerated.
33696         [BZ #18245]
33697         [BZ #18583]
33698         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
33699         (__kernel_standard_l): Use feholdexcept and fesetenv around
33700         conversion to double instead of special-casing overflow and
33701         underflow.
33702         * math/libm-test.inc (fmod_test_data): Add more tests.
33703         (remainder_test_data): Likewise.
33704         (sqrt_test_data): Likewise.
33706 2015-06-23  Torvald Riegel  <triegel@redhat.com>
33708         [BZ #17403]
33709         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
33710         atomic_read_barrier, atomic_write_barrier): Define.
33711         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
33712         atomic_read_barrier, atomic_write_barrier): Define.
33714 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33716         * math/Makefile [$(PERL) != no]
33717         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
33718         dependency on libm-test.stmp below the inclusion of Rules.
33720 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
33722         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
33723         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
33724         and included header.
33725         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
33726         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
33727         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
33728         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
33729         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
33730         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
33731         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
33732         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
33733         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
33734         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
33735         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
33736         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
33737         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
33738         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
33739         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
33740         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
33741         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
33742         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
33743         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
33745 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
33747         [BZ #18371]
33748         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
33749         intermediate but not final result might underflow.
33750         * math/s_csqrtf.c (__csqrtf): Likewise.
33751         * math/s_csqrtl.c (__csqrtl): Likewise.
33752         * math/auto-libm-test-in: Add more tests of csqrt.
33753         * math/auto-libm-test-out: Regenerated.
33754         * sysdeps/i386/fpu/libm-test-ulps: Update.
33756         [BZ #18219]
33757         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
33758         threshold on absolute value of exponent for which scaling is used.
33759         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33760         * math/auto-libm-test-in: Add more tests of exp2.
33761         * math/auto-libm-test-out: Regenerated.
33763 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
33765         [BZ #17977]
33766         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
33767         when initializing interface list, based on the bug analysis
33768         and the patch proposed by Eric Newton.
33769         * resolv/tst-res_hconf_reorder.c: New test.
33770         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
33771         tst-res_hconf_reorder.
33772         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
33773         and $(shared-thread-library).
33774         (tst-res_hconf_reorder-ENV): New variable.
33776         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
33777         in comment.
33779 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
33781         [BZ #16353]
33782         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
33783         (__expm1): Force underflow exception for arguments with small
33784         absolute value.
33785         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
33786         (__expm1f): Force underflow exception for arguments with small
33787         absolute value.
33788         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
33789         (__expm1): Force underflow exception for arguments with small
33790         absolute value.
33791         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
33792         (__expm1f): Force underflow exception for arguments with small
33793         absolute value.
33794         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33795         Check for small arguments before calling __expm1.
33796         * math/auto-libm-test-in: Do not mark underflow exceptions as
33797         possibly missing for bug 16353.
33798         * math/auto-libm-test-out: Regenerated.
33800 2015-06-22  Andreas Schwab  <schwab@suse.de>
33802         [BZ #18513]
33803         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
33804         PTR queries.
33806 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
33808         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
33810         * string/strcoll_l.c: Remove unused struct element idxnow.
33812 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
33814         [BZ #18569]
33815         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
33816         underflow and return argument in case of subnormal argument.
33817         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33818         Likewise.
33819         * math/auto-libm-test-in: Add more tests of expm1.
33820         * math/auto-libm-test-out: Regenerated.
33822         [BZ #16361]
33823         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33824         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33825         tiny results.
33826         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
33827         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
33828         tiny results.
33829         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
33830         mark underflow exceptions as possibly missing for bug 16361.
33831         * math/auto-libm-test-out: Regenerated.
33833 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
33835         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
33836         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
33837         Remove variable.
33838         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
33839         (test-xfail-XOPEN2K8/utmpx.h/conform).
33841         * conform/conformtest.pl ($xerrors): New variable.
33842         (note_error): New function.
33843         (compiletest): New argument $xfail.  Use not_error.
33844         (runtest): Likewise.
33845         (top level): Handle xfail- lines.  Update calls to compiletest and
33846         runtest.  Handle xfail- and optional- in headers listed with
33847         allow-header.
33848         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
33849         (O_EXEC): Likewise.
33850         (O_SEARCH): Likewise.
33851         * conform/data/stropts.h-data (ioctl): Likewise.
33852         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
33853         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
33854         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
33855         (msghdr.msg_controllen): Likewise.
33856         (cmsghdr.cmsg_len): Likewise.
33857         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
33858         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
33859         variable.
33860         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
33861         (test-xfail-XPG4/stropts.h/conform): Likewise.
33862         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
33863         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
33864         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
33865         (test-xfail-UNIX98/stropts.h/conform): Likewise.
33866         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
33867         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
33868         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
33869         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
33870         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
33871         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
33872         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
33873         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
33874         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
33875         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
33876         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
33877         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
33878         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
33879         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
33880         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
33882 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33884         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
33885         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
33886         definitions for proper unfolding of __MATHDECL_VEC.
33888 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33890         * benchtests/bench-strcoll.c:
33891         Include string.h.
33892         (main): Remove unused variable res.
33894 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33896         * timezone/Makefile (%/UTC %/Universal):
33897         Generate test-result files for UTC and Universal.
33899 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
33901         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33903 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
33905         [BZ #16350]
33906         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
33907         for arguments with small absolute value.
33908         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
33909         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
33910         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
33911         (__asinh): Force underflow exception for arguments with small
33912         absolute value.
33913         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
33914         (__asinhf): Force underflow exception for arguments with small
33915         absolute value.
33916         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
33917         (__asinhl): Force underflow exception for arguments with small
33918         absolute value.
33919         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
33920         (__asinhl): Force underflow exception for arguments with small
33921         absolute value.
33922         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
33923         (__asinhl): Force underflow exception for arguments with small
33924         absolute value.
33925         * math/auto-libm-test-in: Do not mark underflow exceptions as
33926         possibly missing for bug 16350.
33927         * math/auto-libm-test-out: Regenerated.
33929         * include/bits/ipc.h: Remove file.
33930         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
33931         variable.
33932         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
33933         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
33934         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
33935         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
33936         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
33937         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
33938         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
33939         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
33940         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
33942         * math/auto-libm-test-in: Remove spurious underflow allowance for
33943         tests of cexp.
33944         * math/auto-libm-test-out: Regenerated.
33946         [BZ #18558]
33947         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
33948         unconditional definition.
33949         (MCAST_BLOCK_SOURCE): Likewise.
33950         (MCAST_UNBLOCK_SOURCE): Likewise.
33951         (MCAST_LEAVE_GROUP): Likewise.
33952         (MCAST_JOIN_SOURCE_GROUP): Likewise.
33953         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
33954         (MCAST_MSFILTER): Likewise.
33955         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
33956         Remove variable.
33957         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
33958         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
33959         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
33960         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
33961         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
33963 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
33965         * NEWS: Mention addition of x86_64 vector sincosf.
33966         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
33967         * math/test-float-vlen4.h: Likewise.
33968         * math/test-float-vlen8.h: Likewise.
33969         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33970         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
33971         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33972         * sysdeps/x86_64/fpu/Versions: New versions added.
33973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33974         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33975         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33976         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
33977         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
33978         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
33979         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
33980         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
33981         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
33982         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
33983         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
33984         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
33985         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
33986         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
33987         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
33988         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
33989         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
33990         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
33991         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33992         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33993         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33994         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33995         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33996         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33998         * NEWS: Mention addition of x86_64 vector sincos.
33999         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
34000         * math/math.h (__MATHDECL_VEC): New macro.
34001         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
34002         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
34003         declaration under condition.
34004         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
34005         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
34006         TEST_VEC_LOOP change.
34007         * math/test-double-vlen4.h: Likewise.
34008         * math/test-double-vlen8.h: Likewise.
34009         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34010         * math/test-float-vlen4.h: Likewise.
34011         * math/test-float-vlen8.h: Likewise.
34012         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34013         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34014         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34015         * sysdeps/x86_64/fpu/Versions: New versions added.
34016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34017         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34018         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34019         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34020         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34021         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34022         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34023         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34024         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34025         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34026         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34027         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34028         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34029         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34030         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34031         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34032         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34033         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34034         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34035         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34036         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34037         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34038         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34039         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34041         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34042         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34043         redirections for powf.
34044         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34045         * sysdeps/x86_64/fpu/Versions: New versions added.
34046         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34047         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34048         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34049         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34050         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34051         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34052         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34053         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34054         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34055         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34056         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34057         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34058         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34059         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34060         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34061         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34062         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34063         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34064         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34065         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34066         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34067         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34068         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34069         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34070         * math/test-float-vlen16.h: Fixed 2 argument macro.
34071         * math/test-float-vlen4.h: Likewise.
34072         * math/test-float-vlen8.h: Likewise.
34073         * NEWS: Mention addition of x86_64 vector powf.
34075 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
34077         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34078         and redefine.
34079         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34080         and redefine.
34081         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
34082         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34083         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34085         [BZ #18553]
34086         * resource/getpriority.c (getpriority): Rename to __getpriority
34087         and define as weak alias of __getpriority.
34088         * resource/setpriority.c (setpriority): Rename to __setpriority
34089         and define as weak alias of __setpriority.
34090         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
34091         __getpriority and define as weak alias of __getpriority.
34092         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
34093         __setpriority and define as weak alias of __setpriority.
34094         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
34095         strong name.
34096         (setpriority): Use __setpriority as strong name.
34097         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
34098         __getpriority and define as weak alias of __getpriority.
34099         * include/sys/resource.h (__getpriority): Declare.  Use
34100         libc_hidden_proto.
34101         (__setpriority): Likewise.
34102         (getpriority): Don't use libc_hidden_proto.
34103         (setpriority): Likewise.
34104         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
34105         getpriority.  Call __setpriority instead of setpriority.
34106         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
34107         Remove variable.
34109         [BZ #18547]
34110         * misc/getttyent.c (getttynam): Rename to __getttynam and define
34111         as weak alias of __getttynam.  Use prototype function definition.
34112         Call __setttyent, __getttyent and __endttyent instead of
34113         setttyent, getttyent and endttyent.
34114         (getttyent): Rename to __getttyent and define as weak alias of
34115         __getttyent.  Call __setttyent instead of setttyent.  Call
34116         __fgets_unlocked instead of fgets_unlocked.
34117         (setttyent): Rename to __setttyent and define as weak alias of
34118         __setttyent.
34119         (endttyent): Rename to __endttyent and define as weak alias of
34120         __endttyent.
34121         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
34122         (__setttyent): Likewise.
34123         (__endttyent): Likewise.
34124         (getttyent): Don't use libc_hidden_proto.
34125         (setttyent): Likewise.
34126         (endttyent): Likewise.
34127         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
34128         __endttyent instead of setttyent, getttyent and endttyent.
34129         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
34130         Remove variable.
34132         [BZ #18546]
34133         * socket/recv.c (__recv): Use libc_hidden_def.
34134         * socket/socket.c (__socket): Likewise.
34135         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
34136         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
34137         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
34138         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
34139         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
34140         libc_hidden_def.
34141         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
34142         libc_hidden_weak.
34143         * include/sys/socket.h (__socket): Do not use attribute_hidden.
34144         Use libc_hidden_proto.
34145         (__recv): Likewise.
34146         * socket/Versions (libc): Export __recv and __socket at version
34147         GLIBC_PRIVATE.
34148         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
34149         instead of recv.
34150         (init_mq_netlink): Call __socket instead of socket.
34151         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
34152         Remove variable.
34154         [BZ #18545]
34155         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
34156         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
34157         hidden_weak.
34158         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
34159         define as alias of __mq_timedsend.  Use hidden_weak.
34160         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
34161         __mq_timedsend as strong name.
34162         (mq_timedreceive): Use __mq_timedreceive as strong name.
34163         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
34164         (__mq_timedreceive): Likewise.
34165         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
34166         __mq_timedreceive instead of mq_timedreceive.
34167         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
34168         instead of mq_timedsend.
34169         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
34170         Remove variable.
34172         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
34173         hidden_def and hidden_weak instead of libc_hidden_def and
34174         libc_hidden_weak.
34175         (top level): Refer to hidden_def in comment.
34176         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
34177         macro.  Use it instead of libc_hidden_def.
34178         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
34179         specify __GI_* name explicitly.
34180         (mq_timedreceive): Likewise.
34181         (mq_setattr): Likewise.
34183         [BZ #18544]
34184         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
34185         __pthread_barrier_init and define as weak alias of
34186         __pthread_barrier_init.
34187         * sysdeps/sparc/nptl/pthread_barrier_init.c
34188         (pthread_barrier_init): Likewise.
34189         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
34190         __pthread_barrier_wait and define as weak alias of
34191         __pthread_barrier_wait.
34192         * sysdeps/sparc/nptl/pthread_barrier_wait.c
34193         (pthread_barrier_wait): Likewise.
34194         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
34195         (pthread_barrier_wait): Likewise.
34196         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
34197         (pthread_barrier_wait): Likewise.
34198         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
34199         (pthread_barrier_wait): Likewise.
34200         * nptl/Versions (libpthread): Export __pthread_barrier_init and
34201         __pthread_barrier_wait at version GLIBC_PRIVATE.
34202         * include/pthread.h (__pthread_barrier_init): Declare.
34203         (__pthread_barrier_wait): Likewise.
34204         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
34205         Call __pthread_barrier_wait instead of pthread_barrier_wait.
34206         (helper_thread): Likewise.
34207         (init_mq_netlink): Call __pthread_barrier_init instead of
34208         pthread_barrier_init.
34210         [BZ #18542]
34211         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
34212         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
34213         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
34214         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
34215         vswscanf.
34216         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
34217         Remove variable.
34219         [BZ #18540]
34220         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
34221         strong alias of _IO_fflush.  Use libc_hidden_def.
34222         * libio/iofflush_u.c (fflush_unlocked): Rename to
34223         __fflush_unlocked and define as weak alias of __fflush_unlocked.
34224         Use libc_hidden_weak.
34225         * include/stdio.h (__fflush_unlocked): Declare.  Use
34226         libc_hidden_proto.
34227         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
34228         fflush_unlocked.
34229         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
34230         Remove variable.
34232         [BZ #18539]
34233         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
34234         define as weak alias of __addseverity.
34235         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
34236         Remove variable.
34237         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34238         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34239         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34241         [BZ #18536]
34242         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
34243         (__tfind): Likewise.
34244         (__tdelete): Likewise.
34245         (__twalk): Likewise.
34246         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
34247         __twalk to GLIBC_PRIVATE.
34248         * include/search.h (__tsearch): Use libc_hidden_proto.
34249         (__tfind): Likewise.
34250         (__tdelete): Likewise.
34251         (__twalk): Likewise.
34252         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
34253         Call __tdelete instead of tdelete.
34254         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
34255         tfind.  Call __tsearch instead of tsearch.
34256         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
34257         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
34258         Remove variable.
34259         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34261         [BZ #18534]
34262         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
34263         (dprintf): Define as a weak alias of __dprintf, not a strong
34264         alias.
34265         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
34266         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
34267         dprintf.
34268         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
34269         Remove variable.
34270         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34271         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34273         [BZ #18533]
34274         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
34275         not a strong alias.
34276         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
34277         Remove variable.
34279         [BZ #18532]
34280         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
34281         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
34282         (in6addr_loopback): Rename to __in6addr_loopback and define as
34283         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
34284         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
34285         libc_hidden_proto.
34286         (__in6addr_any): Likewise.
34287         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
34288         in6addr_any.
34289         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
34290         variable.
34291         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34293 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
34295         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
34296         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
34297         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34298         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34299         redirections for pow.
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/svml_d_wrapper_impl.h: Added 2 argument wrappers.
34306         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
34307         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
34308         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
34309         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
34310         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
34311         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
34312         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
34313         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
34314         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
34315         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
34316         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
34317         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
34318         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
34319         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34320         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34321         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34322         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34323         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34324         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34325         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34326         * NEWS: Mention addition of x86_64 vector pow.
34328         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34329         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34330         redirections for expf.
34331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34332         * sysdeps/x86_64/fpu/Versions: New versions added.
34333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34334         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34335         build of SSE, AVX2 and AVX512 IFUNC versions.
34336         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
34337         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
34338         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
34339         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
34340         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
34341         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
34342         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
34343         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
34344         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
34345         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
34346         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
34347         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
34348         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
34349         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34350         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34351         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34352         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34353         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34354         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34355         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34356         * NEWS: Mention addition of x86_64 vector expf.
34358         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
34359         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
34360         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34361         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34362         redirections for exp.
34363         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34364         * sysdeps/x86_64/fpu/Versions: New versions added.
34365         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34366         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34367         build of SSE, AVX2 and AVX512 IFUNC versions.
34368         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
34369         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
34370         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
34371         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
34372         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
34373         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
34374         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
34375         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
34376         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
34377         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
34378         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
34379         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
34380         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
34381         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34382         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34383         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34384         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34385         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34386         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34387         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34388         * NEWS: Mention addition of x86_64 vector exp.
34390         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34391         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34392         redirections for logf.
34393         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34394         * sysdeps/x86_64/fpu/Versions: New versions added.
34395         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34396         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34397         build of SSE, AVX2 and AVX512 IFUNC versions.
34398         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
34399         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
34400         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
34401         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
34402         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
34403         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
34404         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
34405         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
34406         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
34407         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
34408         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
34409         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
34410         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
34411         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34412         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34413         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34414         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34415         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34416         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34417         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34418         * NEWS: Mention addition of x86_64 vector logf.
34420         * bits/libm-simd-decl-stubs.h: Added stubs for log.
34421         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
34422         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34423         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34424         redirections for log.
34425         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34426         * sysdeps/x86_64/fpu/Versions: New versions added.
34427         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34428         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34429         build of SSE, AVX2 and AVX512 IFUNC versions.
34430         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
34431         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
34432         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
34433         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
34434         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
34435         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
34436         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
34437         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
34438         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
34439         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
34440         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
34441         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
34442         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
34443         test.
34444         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34445         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34446         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34447         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34448         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34449         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34450         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34451         * NEWS: Mention addition of x86_64 vector log.
34453 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34455         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
34456         cfi_adjust_cfa_offset argument.
34457         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
34458         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
34460         [BZ #18034]
34461         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
34462         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
34463         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
34464         ordering using ldar.
34465         (_dl_tlsdesc_dynamic): Likewise.
34466         (_dl_tlsdesc_return_lazy): Likewise.
34467         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
34468         relaxed atomics instead of volatile and synchronize with release store.
34469         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
34470         volatile.
34471         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34473 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
34475         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34476         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
34477         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34478         * sysdeps/x86_64/fpu/Versions: New versions added.
34479         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34480         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
34481         build of SSE, AVX2 and AVX512 IFUNC versions.
34482         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
34483         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
34484         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
34485         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
34486         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
34487         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
34488         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
34489         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
34490         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
34491         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
34492         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
34493         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
34494         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
34495         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34496         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34497         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34498         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34499         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34500         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34501         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34502         * NEWS: Mention addition of x86_64 vector sinf.
34504 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
34506         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
34507         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
34508         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
34509         Remove variable.
34510         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34511         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34513 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34515         [BZ #18530]
34516         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
34517         strong alias of _IO_fputs.  Use libc_hidden_def.
34518         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
34519         and define as weak alias of __fputs_unlocked.  Use
34520         libc_hidden_weak.
34521         * include/stdio.h (__fputs_unlocked): Declare.  Use
34522         libc_hidden_proto.
34523         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
34524         fputs_unlocked.
34526         [BZ #18529]
34527         * resolv/netdb.h [__USE_POSIX]: Change condition to
34528         [__USE_XOPEN2K].
34529         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
34530         not expect.
34531         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
34532         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
34533         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
34534         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
34535         [XPG4 || UNIX98] (AI_ALL): Likewise.
34536         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
34537         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
34538         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
34539         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
34540         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
34541         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
34542         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
34543         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
34544         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
34545         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
34546         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
34547         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
34548         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
34549         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
34550         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
34551         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34552         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
34553         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
34554         [XPG4 || UNIX98] (gai_strerror): Likewise.
34555         [XPG4 || UNIX98] (getaddrinfo): Likewise.
34556         [XPG4 || UNIX98] (getnameinfo): Likewise.
34558         [BZ #18528]
34559         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
34560         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
34561         __USE_XOPEN2K8].
34562         (getgrent): Likewise.
34563         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
34564         expect.
34565         [XPG3 || POSIX2008] (endgrent): Likewise.
34566         [XPG3] (setgrent): Likewise.
34567         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
34568         variable.
34569         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34571         [BZ #18527]
34572         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
34573         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
34574         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
34575         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
34576         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
34577         * include/unistd.h (__getlogin_r): Declare.  Use
34578         libc_hidden_proto.
34579         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
34580         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
34581         variable.
34582         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34583         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34584         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34586 2015-06-12  Martin Sebor  <msebor@redhat.com>
34588         [BZ #18512]
34589         * Makerules (check-install-supported): New target.
34590         (install): Add check-install-supported as a dependency.
34591         * manual/install.texi (Installing the C Library): Document
34592         that overriding prefix and exec_prefix is not supported.
34593         Mention DESTDIR.
34594         * INSTALL: Regenerate from the above.
34596 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
34598         [BZ #18519]
34599         * posix/Versions (libc): Export __libc_pread at version
34600         GLIBC_PRIVATE.
34601         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
34602         instead of pread.
34603         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
34604         variable.
34606         [BZ #18522]
34607         * misc/efgcvt_r.c
34608         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
34609         (cvt_symbol): Use weak_alias instead of strong_alias.
34610         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
34611         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
34612         Remove variable.
34613         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34614         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34616         [BZ #18520]
34617         * inet/herrno.c (h_errno): Rename to __h_errno.
34618         (__libc_h_errno): Define as alias of __h_errno not h_errno.
34619         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
34620         to __h_errno instead of h_errno.
34621         * nptl/herrno.c (h_errno): Rename to __h_errno.
34622         (__h_errno_location): Refer to __h_errno not h_errno.
34623         * resolv/Versions (h_errno): Rename to __h_errno.
34624         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
34625         Remove variable.
34626         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34628 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
34630         * configure.ac: More strict check for AVX512 assembler support.
34631         * configure: Regenerated.
34633         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
34634         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
34635         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34636         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
34637         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34638         * sysdeps/x86_64/fpu/Versions: New versions added.
34639         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34640         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34641         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34642         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
34643         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
34644         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
34645         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
34646         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
34647         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
34648         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
34649         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
34650         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
34651         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
34652         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
34653         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
34654         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
34655         test.
34656         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34657         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34658         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34659         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34660         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34661         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34662         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34663         * NEWS: Mention addition of x86_64 vector sin.
34665 2015-06-11  Florian Weimer  <fweimer@redhat.com>
34667         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
34668         comment.
34670 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
34672         [BZ #18479]
34673         * nptl/pt-interp.c: New file.
34674         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
34675         Add pt-interp.
34676         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
34677         $(common-objpfx)runtime-linker.h.
34679 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
34681         * Makeconfig (+interp): Remove unused variable.
34682         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
34683         only.  Depend on $(common-objpfx)runtime-linker.h instead of
34684         $(elf-objpfx)runtime-linker.h.
34685         ($(elf-objpfx)runtime-linker.h): Rename to
34686         $(common-objpfx)runtime-linker.h and move ...
34687         * Makerules [$(build-shared) = yes]: ... here.
34688         * elf/interp.c: Include <runtime-linker.h> instead of
34689         <elf/runtime-linker.h>.
34691 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34693         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
34694         (__gettimeofday_syscall): Remove vsyscall fallback.
34695         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
34696         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
34697         Add syscall fallback function.
34698         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
34699         if vDSO is not present.
34700         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
34701         fallback function.
34702         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
34703         present.
34704         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
34705         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34707 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
34709         [BZ #18497]
34710         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
34711         of wcscmp.
34712         (wcscmp): Define as weak alias of WCSCMP.
34713         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
34714         wcscoll.
34715         (USE_HIDDEN_DEF): Define.
34716         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
34717         __wcscoll.  Don't use libc_hidden_weak.
34718         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
34719         wcscmp.
34720         * sysdeps/i386/i686/multiarch/wcscmp-c.c
34721         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
34722         __GI_wcscmp.
34723         (weak_alias): Undefine and redefine.
34724         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
34725         __wcscmp and define as weak alias of __wcscmp.
34726         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
34727         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
34728         (__wcscoll): Likewise.
34729         (wcscmp): Don't use libc_hidden_proto.
34730         (wcscoll): Likewise.
34731         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
34732         wcscoll.
34733         * posix/regexec.c (check_node_accept_bytes): Likewise.
34734         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
34735         variable.
34736         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34737         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34739         [BZ #18507]
34740         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
34741         __fstatvfs and define as weak alias of __fstatvfs.  Use
34742         libc_hidden_weak.
34743         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
34744         and define as weak alias of __statvfs.  Use libc_hidden_weak.
34745         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
34746         Define as alias of __fstatvfs, not fstatvfs.
34747         (fstatvfs64): Likewise.
34748         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
34749         Define as alias of __statvfs, not statvfs.
34750         (statvfs64): Likewise.
34751         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
34752         Remove variable.
34754 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34757         (HAVE_GETCPU_VSYSCALL): Define.
34758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34759         (HAVE_GETCPU_VSYSCALL): Likewise.
34760         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
34761         * sysdeps/unix/sysv/linux/sched_getcpu.c
34762         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
34763         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
34764         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
34765         prototype.
34766         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34767         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
34768         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
34769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
34770         Define.
34771         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
34772         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34773         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
34774         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34776 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
34778         * sysdeps/x86_64/fpu/Makefile: New file.
34779         * sysdeps/x86_64/fpu/Versions: New file.
34780         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
34781         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
34782         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
34783         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
34784         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
34785         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
34786         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
34787         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
34788         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
34789         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
34790         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
34791         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
34792         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
34793         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34794         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34795         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
34796         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
34797         * sysdeps/x86_64/configure.ac: Options for libmvec build.
34798         * sysdeps/x86_64/configure: Regenerated.
34799         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
34800         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
34801         * manual/install.texi (Configuring and compiling): Document
34802         --disable-mathvec.
34803         * INSTALL: Regenerated.
34804         * NEWS: Mention addition of libmvec and x86_64 vector cos.
34806         * math/Makefile: Added rules for vector tests.
34807         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
34808         declaration under condition.
34809         * math/test-double-vlen2.h: New file.
34810         * math/test-double-vlen4.h: New file.
34811         * math/test-double-vlen8.h: New file.
34812         * math/test-vec-loop.h: Added initialization macro.
34813         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
34814         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
34815         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
34816         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
34817         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
34818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
34819         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
34820         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
34821         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
34822         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
34823         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
34825         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34826         * sysdeps/x86_64/fpu/Versions: New versions added.
34827         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
34828         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
34829         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
34830         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
34831         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
34832         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
34833         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
34834         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
34835         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
34836         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
34837         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
34838         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
34839         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
34840         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34841         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34842         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
34843         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
34844         * NEWS: Mention addition of x86_64 vector cosf.
34846         * math/Makefile: Added CFLAGS for new tests.
34847         * math/test-float-vlen16.h: New file.
34848         * math/test-float-vlen4.h: New file.
34849         * math/test-float-vlen8.h: New file.
34850         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
34851         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
34852         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34853         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
34854         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
34855         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
34856         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
34857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
34858         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
34859         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
34860         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
34862 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
34864         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
34865         * locale/programs/ld-ctype.c: Likewise.
34867 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
34869         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
34870         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
34871         bit_ZMM16_31_state): New macro.
34872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34873         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
34875 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
34877         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
34879 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
34881         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
34883 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
34885         [BZ #18498]
34886         * libio/memstream.c (open_memstream): Rename to __open_memstream
34887         and define as weak alias of __open_memstream.
34888         * include/stdio.h (__open_memstream): Declare.  Use
34889         libc_hidden_proto.
34890         (open_memstream): Don't use libc_hidden_proto.
34891         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
34892         open_memstream.
34893         * posix/getopt.c (_getopt_internal_r): Likewise.
34894         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
34895         variable.
34896         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34897         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34898         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34900         [BZ #18496]
34901         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
34902         instead of wcrtomb.
34904         [BZ #18483]
34905         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
34906         [__USE_XOPEN2K8].  Remove redundant #endif.
34907         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
34908         Remove redundant #if.
34909         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
34910         Remove variable.
34911         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34912         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34914         [BZ #18495]
34915         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34916         (__iswlower): Likewise.
34917         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
34918         (__iswlower): Likewise.
34919         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
34920         instead of towlower.
34921         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
34922         instead of iswlower.  Call __towupper instead of towupper.
34923         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
34924         instead of iswalnum.
34926 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34928         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
34929         errors to stderr.
34931 2015-06-05  Florian Weimer  <fweimer@redhat.com>
34933         [BZ #15661]
34934         [BZ #17322]
34935         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
34936         Check for overflow properly.  Check for O_APPEND.  Ignore large
34937         file system block sizes.  Add comments about problems.
34938         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
34939         * manual/filesys.texi (Storage Allocation): New node.
34941 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34943         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
34944         cancellable syscalls.
34945         (SYS_ify): Add guard to no redefine it.
34946         (INLINE_SYSCALL): Likewise.
34947         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
34948         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
34949         SYSCALL_CANCEL instead.
34950         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
34951         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34952         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34953         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34954         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34955         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
34956         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
34957         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
34958         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
34959         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
34960         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
34961         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
34962         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
34963         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
34964         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
34965         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34966         Likewise.
34967         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34968         (__libc_pread64): Likewise.
34969         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
34970         (__libc_preadv): Likewise.
34971         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
34972         (__libc_readv64): Likewise.
34973         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34974         (__libc_pwrite): Likewise.
34975         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34976         (__libc_pwrite64): Likewise.
34977         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
34978         (__libc_pwritev): Likewise.
34979         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
34980         (__libc_pwritev64): Likewise.
34981         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
34982         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
34983         (sync_file_range): Likewise.
34984         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
34985         Likewise.
34986         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
34987         Likewise.
34988         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34989         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34990         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34991         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34992         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34993         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34994         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
34995         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
34996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34997         Likewise.
34998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34999         (__libc_read64): Likewise.
35000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
35001         Likewise.
35002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
35003         Likewise.
35004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
35005         Likewise.
35006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
35007         Likewise.
35008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35009         (__libc_pread64): Likewise.
35010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35011         Likewise.
35012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35013         (__libc_pwrite64): Likewise.
35014         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35015         (sync_file_range): Likewise.
35016         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35017         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35018         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35019         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35020         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35021         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35022         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35023         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35024         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35025         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35026         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35027         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35028         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35029         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35030         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35031         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35032         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35033         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35034         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35035         Likewise.
35036         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35037         Likewise.
35038         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35039         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35040         Likewise.
35041         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35042         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35043         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35044         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35045         Likewise.
35046         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35047         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35048         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35049         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35050         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35052 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
35054         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35055         Include dl-vdso.
35056         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35057         Use VDSO routines for gettimeofday, clock_gettime if
35058         available.
35059         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35060         Declare VDSO symbols.
35061         * sysdeps/unix/sysv/linux/arm/sysdep.h:
35062         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35063         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35064         * sysdeps/unix/sysv/linux/arm/Versions: Add
35065         __vdso_clock_gettime.
35067 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35069         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
35070         be an inline implementation regardless of library is built within.
35071         (open_not_cancel_2): Likewise.
35072         (__read_nocancel): Likewise.
35073         (__write_nocancel): Likewise.
35074         (openat_not_cancel): Likewise.
35075         (openat_not_cancel_3): Likewise.
35076         (openat64_not_cancel): Likewise.
35077         (openat64_not_cancel_3): Likewise.
35078         (__close_nocancel): Likewise.
35079         (pause_not_cancel): Likewise.
35080         (nanosleep_not_cancel): Likewise.
35081         (sigsuspend_not_cancel): Likewise.
35083 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35085         [BZ #14958]
35086         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
35087         wake-up.
35088         (__pthread_rwlock_rdlock_slow): Likewise.
35089         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35090         Likewise.
35091         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
35092         Likewise.
35093         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
35094         * nptl/tst-rwlock16.c: New file.
35095         * nptl/Makefile (tests): Add new test.
35097 2015-06-04  Torvald Riegel  <triegel@redhat.com>
35099         [BZ #18324]
35100         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
35101         missing wake-up of readers.
35102         * nptl/tst-rwlock15.c: New file.
35103         * nptl/Makefile (tests): Add new test.
35105 2015-06-03  Roland McGrath  <roland@hack.frob.com>
35107         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
35108         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
35109         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
35110         and __nacl_supply_interface_rtld.
35111         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
35112         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
35113         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
35114         Add __nacl_supply_interface_rtld.
35115         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
35117 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35119         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
35120         isfinite.
35121         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35122         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
35124 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
35126         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
35127         __signbit* with standard C99 macros.
35128         * math/e_exp10l.c: Likewise.
35129         * math/e_exp2l.c: Likewise.
35130         * math/e_scalb.c: Likewise.
35131         * math/e_scalbf.c: Likewise.
35132         * math/e_scalbl.c: Likewise.
35133         * math/s_ldexp.c: Likewise.
35134         * math/s_ldexpf.c: Likewise.
35135         * math/s_ldexpl.c: Likewise.
35136         * math/w_atan2.c: Likewise.
35137         * math/w_atan2f.c: Likewise.
35138         * math/w_atan2l.c: Likewise.
35139         * math/w_cosh.c: Likewise.
35140         * math/w_coshf.c: Likewise.
35141         * math/w_coshl.c: Likewise.
35142         * math/w_exp10.c: Likewise.
35143         * math/w_exp10f.c: Likewise.
35144         * math/w_exp10l.c: Likewise.
35145         * math/w_exp2.c: Likewise.
35146         * math/w_exp2f.c: Likewise.
35147         * math/w_exp2l.c: Likewise.
35148         * math/w_fmod.c: Likewise.
35149         * math/w_fmodf.c: Likewise.
35150         * math/w_fmodl.c: Likewise.
35151         * math/w_hypot.c: Likewise.
35152         * math/w_hypotf.c: Likewise.
35153         * math/w_hypotl.c: Likewise.
35154         * math/w_jnl.c: Likewise.
35155         * math/w_lgamma.c: Likewise.
35156         * math/w_lgamma_r.c: Likewise.
35157         * math/w_lgammaf.c: Likewise.
35158         * math/w_lgammaf_r.c: Likewise.
35159         * math/w_lgammal.c: Likewise.
35160         * math/w_lgammal_r.c: Likewise.
35161         * math/w_pow.c: Likewise.
35162         * math/w_powf.c: Likewise.
35163         * math/w_powl.c: Likewise.
35164         * math/w_remainder.c: Likewise.
35165         * math/w_remainderf.c: Likewise.
35166         * math/w_remainderl.c: Likewise.
35167         * math/w_scalb.c: Likewise.
35168         * math/w_scalbf.c: Likewise.
35169         * math/w_scalbl.c: Likewise.
35170         * math/w_scalbln.c: Likewise.
35171         * math/w_scalblnf.c: Likewise.
35172         * math/w_scalblnl.c: Likewise.
35173         * math/w_sinh.c: Likewise.
35174         * math/w_sinhf.c: Likewise.
35175         * math/w_sinhl.c: Likewise.
35176         * math/w_tgamma.c: Likewise.
35177         * math/w_tgammaf.c: Likewise.
35178         * math/w_tgammal.c: Likewise.
35179         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35180         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
35181         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35182         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35183         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35185         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35186         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35187         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35188         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35189         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35190         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35191         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35192         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35193         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35194         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35195         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35196         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35197         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35198         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35199         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35200         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35201         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35202         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35203         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35204         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35205         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
35206         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35207         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35208         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35209         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
35210         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
35211         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
35212         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
35213         * stdio-common/printf_fp.c: Likewise.
35214         * stdio-common/printf_fphex.c: Likewise.
35215         * stdio-common/printf_size.c: Likewise.
35217 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
35219         [BZ #18470]
35220         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
35221         strnlen.
35222         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
35223         Remove variable.
35224         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
35225         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
35226         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
35227         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
35228         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
35229         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
35230         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
35231         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
35232         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
35233         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
35235         [BZ #18468]
35236         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
35237         weak alias of __wmemchr.  Use libc_hidden_weak.
35238         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
35239         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
35240         instead of wmemchr.
35242 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35244         [BZ #18383]
35245         * elf/tst-tlsalign-extern.c: New file.
35246         * elf/tst-tlsalign-extern-static.c: New file.
35247         * elf/tst-tlsalign-vars.c: New file.
35248         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
35249         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
35250         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
35251         ($(objpfx)tst-tlsalign-extern-static): Likewise.
35252         (test-xfail-tst-tlsalign-extern-static): New variable.
35254 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
35256         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
35257         Use variable name _sc_err instead of err.
35258         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
35259         instead of ret.
35260         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
35261         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
35262         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
35263         (INLINE_SYSCALL): Likewise.
35265         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
35266         * include/string.h (__strnlen): Use libc_hidden_proto.
35267         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
35268         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
35269         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
35270         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
35271         (libc_hidden_def): Undefine and redefine.
35272         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
35273         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
35274         __GI_strnlen.
35275         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
35276         libc_hidden_def.
35277         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
35279         [BZ #18469]
35280         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
35281         weak alias of __towlower.  Use libc_hidden_weak.
35282         (towupper): Rename to __towupper and define as weak alias of
35283         __towupper.  Use libc_hidden_weak.
35284         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
35285         (__towupper): Likewise.
35286         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
35287         __towlower instead of towlower.
35289 2015-06-02  Roland McGrath  <roland@hack.frob.com>
35291         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
35292         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
35294 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35296         * sysdeps/aarch64/libm-test-ulps: Update.
35298 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35300         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
35301         Define.
35302         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
35304         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35305         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35306         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
35307         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
35308         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
35310 2015-06-01  Martin Sebor  <msebor@redhat.com>
35312         [BZ #18116]
35313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35314         (__setcontext): Use extended four-operand version of mtsf whenever
35315         possible.
35316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35317         (__novec_swapcontext): Likewise.
35319 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35321         * benchtests/scripts/compare_bench.py: New file.
35322         * benchtests/scripts/import_bench.py (mean): New function.
35323         (split_list): Likewise.
35324         (do_for_all_timings): Likewise.
35325         (compress_timings): Likewise.
35327         * benchtests/scripts/import_bench.py: New file.
35328         * benchtests/scripts/validate_benchout.py: Import import_bench
35329         instead of jsonschema.
35330         (validate_bench): Remove function.
35331         (main): Use import_bench.
35333 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
35335         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
35336         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
35338 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35342 2015-05-28  Roland McGrath  <roland@hack.frob.com>
35344         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
35345         set THREAD_SELF->tid to a magic value and futex-wake it.
35346         Pass its address to the thread_exit system call.
35347         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
35348         bit is clear.
35349         * sysdeps/nacl/lowlevellock.h: New file.
35350         * sysdeps/nacl/lll_timedwait_tid.c: New file.
35352         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
35353         Add TIMEOUT to current time, don't subtract it.
35355 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
35357         [BZ #2981]
35358         [BZ #18422]
35359         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
35360         ($(objpfx)tst-audit2.out): Also depend on
35361         $(objpfx)tst-auditmod9b.so.
35362         * elf/tst-audit2.c: Include <dlfcn.h>.
35363         (calloc_called): New.
35364         (calloc): Allow to be called more than once.
35365         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
35367 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
35369         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
35370         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
35372 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
35374         * stdlib/monetary.h: Fix comment.
35376 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
35378         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
35379         Avoid using variables in #defines that might cause shadowing.
35380         (INTERNAL_VSYSCALL_CALL): Likewise.
35382 2015-05-26  Roland McGrath  <roland@hack.frob.com>
35384         * sysdeps/nacl/lll_timedlock_wait.c: New file.
35386         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
35387         * nptl/lll_timedlock_wait.c: ... to this new file.
35388         * nptl/Makefile (libpthread-routines): Add it.
35389         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
35390         * nptl/lll_timedwait_tid.c: ... to this new file.
35391         * nptl/Makefile (libpthread-routines): Add it.
35392         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
35393         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
35394         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
35395         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
35396         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
35397         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
35398         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
35399         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
35400         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
35401         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
35403 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35405         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
35406         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
35407         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35408         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
35409         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
35410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35411         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35412         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35413         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35414         * sysdeps/unix/sysv/linux/tile/sysdep.h
35415         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
35416         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
35417         using vDSO syscall macro.
35419 2015-05-26  Andriy Rysin  <arysin@gmail.com>
35421         [BZ #17293]
35422         * uk_UA: Fix sorting order for Ukrainian locale
35424 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
35426         * stdlib/monetary.h: Fix comment.
35428 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35430         [BZ #18234]
35431         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
35432         st_mtim and st_ctim members.
35433         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
35434         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
35435         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
35436         (struct stat64): Likewise.
35437         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
35438         (struct stat64): Likewise.
35439         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
35440         (struct stat64): Likewise.
35442 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35444         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
35445         Define and include sysdep-vdso.h.
35446         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
35447         Likewise.
35448         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
35449         Likewise.
35450         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
35451         Define with VDSO_SYMBOL and use PTR_MANGLE.
35452         (__vdso_clock_gettime): Likewise.
35453         (__vdso_clock_getres): Likewise.
35454         (_libc_vdso_platform_setup): Likewise.
35455         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
35456         Likewise.
35457         (_libc_vdso_platform_setup): Likewise.
35458         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
35459         Likewise.
35460         (__vdso_clock_gettime): Likewise.
35461         (__vdso_clock_getres): Likewise.
35462         (__vdso_get_tbfreq): Likewise.
35463         (__vdso_getcpu): Likewise.
35464         (__vdso_time): Likewise.
35465         (__vdso_sigtramp_rt64): Likewise.
35466         (__vdso_signtramp32): Likewise.
35467         (__vdso_sigtramp_rt32): Likewise.
35468         (_libc_vdso_platform_setup): Likewise.
35469         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
35470         Likewise.
35471         (__vdso_clock_gettime): Likewise.
35472         (__vdso_clock_getres): Likewise.
35473         (_libc_vdso_platform_setup): Likewise.
35474         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
35475         Likewise.
35476         (__vdso_clock_gettime): Likewise.
35477         (_libc_vdso_platform_setup): Likewise.
35478         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35479         Likewise.
35480         (__vdso_getcpu): Likewise.
35481         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
35482         Use VDSO_SYMBOL macro to define.
35483         (__vdso_clock_gettime): Likewise.
35484         (__vdso_clock_getres): Likewise.
35485         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
35486         Likewise.
35487         (__vdso_clock_gettime): Likewise.
35488         (__vdso_clock_getres): Likewise.
35489         (__vdso_get_tbfreq): Likewise.
35490         (__vdso_getcpu): Likewise.
35491         (__vdso_time): Likewise.
35492         (__vdso_sigtramp_rt64): Likewise.
35493         (__vdso_signtramp32): Likewise.
35494         (__vdso_sigtramp_rt32): Likewise.
35495         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
35496         Likewise.
35497         (__vdso_clock_gettime): Likewise.
35498         (__vdso_clock_getres): Likewise.
35499         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
35500         Likewise.
35501         (__vdso_clock_gettime): Likewise.
35502         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
35503         Likewise.
35504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
35505         macro.
35506         (INTERNAL_VSYSCALL): Likewise.
35507         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
35508         Remove macro.
35509         (INTERNAL_VSYSCALL): Likewise.
35510         (INTERNAL_VSYSCALL_NCS): Likewise.
35511         (INTERNAL_VSYSCALL_CALL): New macro.
35512         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
35514         Likewise.
35515         (INTERNAL_VSYSCALL): Likewise.
35516         (INTERNAL_VSYSCALL_NCS): Likewise.
35517         (INTERNAL_VSYSCALL_CALL): New macro.
35518         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
35519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35520         (INLINE_VSYSCALL): Remove macro.
35521         (INTERNAL_VSYSCALL): Remove macro.
35522         (INTERNAL_VSYSCALL_NCS): Remove macro.
35523         (INTERNAL_VSYSCALL_CALL): New macro.
35524         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
35525         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
35526         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35527         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
35528         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
35529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35530         (INLINE_VSYSCALL): Remove macro.
35531         (INTERNAL_VSYSCALL): Likewise.
35532         (INTERNAL_VSYSCALL_NCS): Likewise.
35533         (INTERNAL_VSYSCALL_CALL): New macro.
35534         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
35535         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
35536         PTR_DEMANGLE on vDSO pointer.
35537         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
35538         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
35539         macro.
35540         (INTERNAL_SYSCALL): Likewise.
35541         (INTERNAL_VSYSCALL_NCS): Remove macro.
35542         (INTERNAL_VSYSCALL_CALL): New macro.
35543         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
35544         Remove macro.
35545         (INTERNAL_VSYSCALL): Likewise.
35546         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
35547         sysdep-vdso.h instead of libc-vdso.h.
35548         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
35549         definition.
35550         (INLINE_VSYSCALL): Likewise.
35551         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
35552         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
35553         definition.
35554         (INLINE_VSYSCALL): Likewise.
35555         (INTERNAL_VSYSCALL): Likewise.
35556         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35557         * sysdeps/unix/sysv/linux/timespec_get.c
35558         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35559         (timespec_get): Use ANSI prototype.
35560         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
35561         and definition for Linux.
35563 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
35565         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
35566         * include/libc-symbols.h: libmvec_hidden_* macro series added.
35568 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
35570         [BZ #2981]
35571         [BZ #18410]
35572         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
35573         for missing DT_PLTRELSZ.
35575 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
35577         Remove obsolete aliases that broke 'locale -a'
35578         [BZ #18412]
35579         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
35580         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
35581         breaking some applications that use 'locale -a' output.
35582         Change the encoding of this file from Latin-1 to ASCII to avoid
35583         other potential problems with people grepping this file.
35585 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35587         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
35588         -fasynchronous-unwind-tables.
35589         (CFLAGS-sendto.c): Likewise.
35590         (CFLAGS-sendmsg.c): Likewise.
35591         (CFLAGS-connect.c): Likewise.
35592         (CFLAGS-recvmsg.c): Likewise.
35593         (CFLAGS-recvfrom.c): Likewise.
35594         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
35595         (SOCKETCALL): New macro: non-cancellable socketcall.
35596         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
35597         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
35598         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
35599         * sysdeps/unix/sysv/linux/accept.c: New file.
35600         * sysdeps/unix/sysv/linux/bind.c: Likewise.
35601         * sysdeps/unix/sysv/linux/connect.c: Likewise.
35602         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
35603         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
35604         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
35605         * sysdeps/unix/sysv/linux/listen.c: Likewise.
35606         * sysdeps/unix/sysv/linux/recv.c: Likewise.
35607         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
35608         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
35609         * sysdeps/unix/sysv/linux/send.c: Likewise.
35610         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
35611         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
35612         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
35613         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
35614         * sysdeps/unix/sysv/linux/socket.c: Likewise.
35615         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
35616         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
35617         prototype.
35618         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
35619         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35620         instead of __internal_xxx function.
35621         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
35622         prototype.
35623         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
35624         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35625         instead of __internal_xxx function.
35626         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
35627         prototype.
35628         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
35629         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
35630         instead of __internal_xxx function.
35631         * sysdeps/unix/sysv/linux/accept.S: Remove file.
35632         * sysdeps/unix/sysv/linux/bind.S: Likewise.
35633         * sysdeps/unix/sysv/linux/connect.S: Likewise.
35634         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
35635         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
35636         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
35637         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
35638         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
35639         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
35640         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
35641         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
35642         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35643         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
35644         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
35645         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
35646         * sysdeps/unix/sysv/linux/listen.S: Likewise.
35647         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
35648         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
35649         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
35650         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
35651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
35652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
35653         * sysdeps/unix/sysv/linux/recv.S: Likewise.
35654         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
35655         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
35656         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
35657         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
35658         * sysdeps/unix/sysv/linux/send.S: Likewise.
35659         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
35660         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
35661         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
35662         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
35663         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
35664         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
35665         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
35666         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
35667         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
35668         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
35669         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
35670         socketcall is implemented in GLIBC.
35672 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35674         * soft-fp/fmadf4.c: Include <libc-internal.h>.
35675         (__fma): Ignore uninitialized warnings around packing.
35676         * soft-fp/fmasf4.c: Include <libc-internal.h>.
35677         (__fmaf): Ignore uninitialized warnings around packing.
35678         * soft-fp/fmatf4.c: Include <libc-internal.h>.
35679         (__fmal): Ignore uninitialized warnings around packing.
35681         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
35682         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35683         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
35684         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
35686         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
35687         switch statement into default case.
35688         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
35690         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
35691         a conditional in forcing "inexact".
35692         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35693         Likewise.
35695 2015-05-22  Roland McGrath  <roland@hack.frob.com>
35697         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35698         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
35699         for each INTERNAL_SYSCALL use.
35701 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
35703         [BZ #438]
35704         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
35705         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
35706         variable.
35708         [BZ #18444]
35709         * string/basename.c (basename): Rename to __basename and define as
35710         weak alias of __basename.  Use libc_hidden_weak.
35711         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
35712         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
35713         __basename instead of basename.
35714         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
35715         Remove variable.
35716         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
35718 2015-05-18  Florian Weimer  <fweimer@redhat.com>
35720         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
35721         (_IO_JUMPS_FILE_plus): New.
35722         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
35723         _IO_CAST_FIELD_ACCESS.
35724         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
35725         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
35726         * libio/freopen.c (freopen): Likewise.
35727         * libio/freopen64.c (freopen64): Likewise.
35728         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
35729         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
35730         * libio/iofwide.c (_IO_fwide): Likewise.
35731         * libio/memstream.c (open_memstream): Likewise.
35732         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35733         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
35734         * libio/oldiopopen.c (_IO_old_popen): Likewise.
35736 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
35738         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
35739         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
35740         NADJ.
35741         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
35742         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
35743         NADJ.
35744         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
35745         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
35746         NADJ.
35748         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
35749         (p == 4) case.
35751         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
35752         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
35753         Remove variable.
35754         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
35755         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
35756         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
35758 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35760         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
35761         Adjust jump table label generation macros.
35763 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35765         * stdio-common/vfprintf.c (vfprintf): Move local variables
35766         args_malloced, specs, specs_malloced, and the code after
35767         do_positional to the printf_positional function.
35768         (printf_positional): New function.
35770 2015-05-21  Florian Weimer  <fweimer@redhat.com>
35772         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
35773         function.
35774         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
35775         STEP4_TABLE, process_arg): Move macro definitions
35776         out of the vfprintf function.  (Cosmetic change only.)
35778 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
35780         * benchtests/Makefile (stdio-common-bench): Define.
35781         (benchset): Add stdio-common-bench.
35782         * sprintf-inputs: New file.
35783         * sprintf-source.c: New file.
35785 2015-05-21  Andreas Schwab  <schwab@suse.de>
35787         [BZ #13028]
35788         [BZ #17053]
35789         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
35790         of struct __res_state.
35791         * resolv/res_send.c (__libc_res_nsend): Likewise.
35792         (get_nsaddr): New function.
35793         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
35794         statp directly.
35796 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
35798         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
35799         -D_POSIX_C_SOURCE=199506L.
35801         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
35803         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
35804         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
35805         Do not mention otherwise.
35806         [POSIX] (_XOPEN_VERSION): Do not expect.
35807         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
35808         [POSIX] (_POSIX2_C_BIND): Likewise.
35809         [POSIX] (_POSIX2_VERSION): Likewise.
35810         [POSIX] (_XOPEN_XPG2): Likewise.
35811         [POSIX] (_XOPEN_XPG3): Likewise.
35812         [POSIX] (_XOPEN_XPG4): Likewise.
35813         [POSIX] (_XOPEN_UNIX): Likewise.
35814         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
35815         [POSIX] (_POSIX_BARRIERS): Likewise.
35816         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
35817         [POSIX] (_POSIX_CPUTIME): Likewise.
35818         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
35819         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
35820         [POSIX] (_POSIX_SHELL): Likewise.
35821         [POSIX] (_POSIX_SPAWN): Likewise.
35822         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
35823         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
35824         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
35825         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
35826         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
35827         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
35828         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
35829         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35830         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
35831         [POSIX] (_POSIX_TIMEOUTS): Likewise.
35832         [POSIX] (_POSIX2_PBS): Likewise.
35833         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
35834         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35835         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
35836         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
35837         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
35838         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
35839         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
35840         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
35841         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
35842         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
35843         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
35844         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
35845         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
35846         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
35847         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
35848         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
35849         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
35850         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
35851         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
35852         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
35853         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
35854         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
35855         [POSIX] (_SC_2_C_BIND): Likewise.
35856         [POSIX] (_SC_2_C_VERSION): Likewise.
35857         [POSIX] (_SC_2_PBS): Likewise.
35858         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
35859         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
35860         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
35861         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
35862         [POSIX] (_SC_2_PBS_TRACK): Likewise.
35863         [POSIX] (_SC_ATEXIT_MAX): Likewise.
35864         [POSIX] (_SC_BARRIERS): Likewise.
35865         [POSIX] (_SC_BASE): Likewise.
35866         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
35867         [POSIX] (_SC_DEVICE_IO): Likewise.
35868         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
35869         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
35870         [POSIX] (_SC_FD_MGMT): Likewise.
35871         [POSIX] (_SC_FIFO): Likewise.
35872         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
35873         [POSIX] (_SC_FILE_LOCKING): Likewise.
35874         [POSIX] (_SC_FILE_SYSTEM): Likewise.
35875         [POSIX] (_SC_IOV_MAX): Likewise.
35876         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
35877         [POSIX] (_SC_NETWORKING): Likewise.
35878         [POSIX] (_SC_PAGE_SIZE): Likewise.
35879         [POSIX] (_SC_PASS_MAX): Likewise.
35880         [POSIX] (_SC_PIPE): Likewise.
35881         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
35882         [POSIX] (_SC_REGEXP): Likewise.
35883         [POSIX] (_SC_SHELL): Likewise.
35884         [POSIX] (_SC_SIGNALS): Likewise.
35885         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
35886         [POSIX] (_SC_SPIN_LOCKS): Likewise.
35887         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
35888         [POSIX] (_SC_USER_GROUPS): Likewise.
35889         [POSIX] (_SC_USER_GROUPS_R): Likewise.
35890         [POSIX] (_SC_STREAMS): Likewise.
35891         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
35892         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
35893         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
35894         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
35895         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
35896         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
35897         [POSIX] (_PC_FILESIZEBITS): Likewise.
35898         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
35899         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
35900         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
35901         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
35902         [POSIX] (uid_t): Likewise.
35903         [POSIX] (gid_t): Likewise.
35904         [POSIX] (off_t): Likewise.
35905         [POSIX] (pid_t): Likewise.
35906         [POSIX] (cuserid): Allow.
35907         (_SC_2_CHAR_TERM): Require constant.
35908         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
35909         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
35910         variable.
35912 2015-05-20  Roland McGrath  <roland@hack.frob.com>
35914         * sysdeps/nacl/pthread-pids.h: New file.
35915         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
35916         (create_thread): Use __nacl_get_tid to initialize PD->tid.
35918         * nptl/pthread-pids.h: New file.
35919         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
35920         * nptl/nptl-init.c: Include <pthread-pids.h>.
35921         (__pthread_initialize_minimal_internal):
35922         Call __pthread_initialize_pids instead of set_tid_address syscall.
35924         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
35925         * sysdeps/posix/usleep.c: ... here.
35927 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35929         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
35930         call_pselect6 object.
35931         [$(subdir) = io]: Remove call_sync_file_range object.
35932         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
35933         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
35934         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
35935         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
35937 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
35939         * math/s_cproj.c: Add include "math_private.h".
35940         * math/s_cprojf.c: Likewise.
35941         * math/s_cprojl.c: Likewise.
35943 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
35945         [BZ #18244]
35946         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
35947         high mantissa bit when testing whether P is a NaN.
35948         * math/libm-test.inc (remainder_test_data): Add more tests.
35949         (remquo_test_data): Likewise.
35951         [BZ #18049]
35952         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
35953         below -32, return the argument, with underflow if subnormal.
35954         * math/auto-libm-test-in: Add more tests of atanh.
35955         * math/auto-libm-test-out: Regenerated.
35957 2015-05-19  Roland McGrath  <roland@hack.frob.com>
35959         [BZ #18434]
35960         * nptl/tst-sem15.c: New file.
35961         * nptl/Makefile (tests): Add it.
35962         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
35963         s/<</>>/ to fix typo in EOVERFLOW check.
35964         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
35966 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35968         * manual/strings.texi (envz_remove): Fix typo in safety
35969         annotations.
35971 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
35972             Steve Ellcey  <sellcey@imgtec.com>
35974         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
35975         in order to avoid strict alias warnings.
35976         (iruserok_af): Ditto for ra.
35978 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
35980         [BZ #17581]
35981         * malloc/hooks.c
35982         (magicbyte): Convert to a function and avoid returning 0x01.
35983         (mem2mem_check): Avoid using a length byte equal to the magic byte.
35984         (mem2chunk_check): Fix unsigned comparisons to zero.
35985         Hoist defs of sz and magic.
35987 2015-05-19  Richard Henderson  <rth@redhat.com>
35989         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
35991         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35993 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35995         [BZ #16159]
35996         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
35997         * malloc/arena.c (arena_lock): Check if arena is corrupt.
35998         (reused_arena): Find a non-corrupt arena.
35999         (heap_trim): Pass arena to unlink.
36000         * malloc/hooks.c (malloc_check_get_size): Pass arena to
36001         malloc_printerr.
36002         (top_check): Likewise.
36003         (free_check): Likewise.
36004         (realloc_check): Likewise.
36005         * malloc/malloc.c (malloc_printerr): Add arena argument.
36006         (unlink): Likewise.
36007         (munmap_chunk): Adjust.
36008         (ARENA_CORRUPTION_BIT): New macro.
36009         (arena_is_corrupt): Likewise.
36010         (set_arena_corrupt): Likewise.
36011         (sysmalloc): Use mmap if there are no usable arenas.
36012         (_int_malloc): Likewise.
36013         (__libc_malloc): Don't fail if arena_get returns NULL.
36014         (_mid_memalign): Likewise.
36015         (__libc_calloc): Likewise.
36016         (__libc_realloc): Adjust for additional argument to
36017         malloc_printerr.
36018         (_int_free): Likewise.
36019         (malloc_consolidate): Likewise.
36020         (_int_realloc): Likewise.
36021         (_int_memalign): Don't touch corrupt arenas.
36022         * malloc/tst-malloc-backtrace.c: New test case.
36024         * Makefile (summarize-tests): Fix return value on success.
36026         * manual/string.texi (Envz Functions): Add envz_remove.
36028 2015-05-18  Roland McGrath  <roland@hack.frob.com>
36030         * sysdeps/posix/opendir.c: Include <stdbool.h>.
36031         (invalid_name): New function, broken out of ...
36032         (__opendirat): ... here.  Call it.
36033         (need_isdir_precheck): New function, broken out of ...
36034         (__opendirat): ... here.  Call it.
36035         Use __fxstatat64, not __xstatat64.
36036         (opendir_oflags): New function, broken out of ...
36037         (__opendirat): ... here.  Call it.
36038         (opendir_tail): New function, broken out of ...
36039         (__opendirat): ... here.  Call it.
36040         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36041         opendir_tail, rather than punting to __opendirat.
36042         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36044 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36046         * .gitignore: Ignore generated *.pyc.
36048 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
36050         * include/stdio.h: Define __need_wint_t.
36051         * test-skeleton.c: Avoid `for' loop initial declaration.
36052         * nptl/tst-initializers1.c: Use test-skeleton.c.
36054 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36056         [BZ #18418]
36057         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36059 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36061         [BZ #16352]
36062         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36063         (__ieee754_atanh): Force underflow exception for results with
36064         small absolute value.
36065         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
36066         (__ieee754_atanhf): Force underflow exception for results with
36067         small absolute value.
36068         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
36069         (__ieee754_atanh): Force underflow exception for results with
36070         small absolute value.
36071         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
36072         (__ieee754_atanhf): Force underflow exception for results with
36073         small absolute value.
36074         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
36075         (__ieee754_atanhl): Force underflow exception for results with
36076         small absolute value.
36077         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
36078         (__ieee754_atanhl): Force underflow exception for results with
36079         small absolute value.
36080         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
36081         (__ieee754_atanhl): Force underflow exception for results with
36082         small absolute value.
36083         * math/auto-libm-test-in: Do not allow missing underflow
36084         exceptions from atanh.
36085         * math/auto-libm-test-out: Regenerated.
36087         [BZ #18221]
36088         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
36089         2**-28 as threshold for returning x or +/- 1/x.
36090         * math/auto-libm-test-in: Add more tests of tan.
36091         * math/auto-libm-test-out: Regenerated.
36093         [BZ #18220]
36094         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
36095         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
36096         * math/auto-libm-test-in: Add another test of lgamma.
36097         * math/auto-libm-test-out: Regenerated.
36099 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
36101         * stdio-common/printf_fp.c (___printf_fp): Use abs.
36102         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
36103         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
36104         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
36105         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
36106         (ADD2A): Use fabs.  (SUB2A): Use fabs.
36107         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
36108         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
36109         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
36110         (log1): Use fabs.  (my_log2): Use fabs.
36111         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
36112         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
36113         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
36114         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
36115         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
36116         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
36117         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
36118         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
36119         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
36120         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
36121         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
36123 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36125         [BZ #18217]
36126         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
36127         as threshold for returning 1 - x.
36128         * math/auto-libm-test-in: Add more tests of erfc.
36129         * math/auto-libm-test-out: Regenerated.
36131 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
36133         [BZ #18196]
36134         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
36135         threshold for large arguments.
36136         * math/auto-libm-test-in: Add another test of atan.
36137         * math/auto-libm-test-out: Regenerated.
36139         [BZ #16339]
36140         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
36141         (__log1p): Force underflow exception for results with small
36142         absolute value.
36143         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
36144         (__log1pf): Force underflow exception for results with small
36145         absolute value.
36146         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
36147         (__log1p): Force underflow exception for results with small
36148         absolute value.
36149         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
36150         (__log1pf): Force underflow exception for results with small
36151         absolute value.
36152         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
36153         (__log1pl): Force underflow exception for results with small
36154         absolute value.
36155         * math/auto-libm-test-in: Do not allow missing underflow
36156         exceptions from log1p.
36157         * math/auto-libm-test-out: Regenerated.
36159 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
36160             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36162         [BZ #16704]
36163         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
36165 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
36167         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
36168         (libmvec): New variable.
36169         * configure.ac: Added option for mathvec build.
36170         * configure: Regenerated.
36171         * mathvec/Depend: New file.
36172         * mathvec/Makefile: New file.
36173         * shlib-versions: Added libmvec.
36174         * math/Makefile: Added rule for libm.so installation.
36176         * bits/math-vector.h: New file.
36177         * bits/libm-simd-decl-stubs.h: New header.
36178         * math/Makefile (headers): Added new header
36179         libm-simd-decl-stubs.h.
36180         * math/math.h (__MATHCALL_VEC): New macro.
36182         * math/gen-libm-have-vector-test.sh: Script generates series of macros
36183         for conditions in testing functions.
36184         * math/Makefile: Added call of libm-have-vector-test.sh.
36185         * math/libm-test.inc (HAVE_VECTOR): New macros.
36187         * math/libm-test.inc: START refactored.
36188         * math/test-double.c (TEST_MATHVEC): Add define.
36189         * math/test-float.c: Likewise.
36190         * math/test-idouble.c: Likewise.
36191         * math/test-ifloat.c: Likewise.
36192         * math/test-ildoubl.c: Likewise.
36193         * math/test-ldouble.c: Likewise.
36194         * sysdeps/generic/math-tests-arch.h
36195         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
36196         architecture check.
36198         * math/test-double.c (FUNC_TEST): New macro.
36199         * math/test-float.c: Likewise.
36200         * math/test-idouble.c: Likewise.
36201         * math/test-ifloat.c: Likewise.
36202         * math/test-ildoubl.c: Likewise.
36203         * math/test-ldouble.c: Likewise.
36204         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
36206 2015-05-13  Roland McGrath  <roland@hack.frob.com>
36208         * sysdeps/nacl/fdopendir.c: New file.
36210         * dirent/scandir-tail.c: New file.
36211         * dirent/scandir64-tail.c: New file.
36212         * dirent/Makefile (routines): Add them.
36213         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
36214         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
36215         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
36216         [!SCANDIR] (SCANDIR_TAIL): New macro.
36217         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
36218         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
36219         (SCANDIRAT): Macro removed.
36220         (SCANDIR_TAIL): New macro.
36221         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
36222         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
36223         (SCANDIRAT): Just call __opendirat and __scandir_tail.
36224         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
36225         (READDIR): Macro removed.
36226         (SCANDIR_TAIL): New macro.
36227         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
36228         (SCANDIR_TAIL): New macro.
36230         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
36231         * dirent/scandir-cancel.c: ... to this new file.
36232         * dirent/Makefile (routines): Add it.
36233         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
36234         * sysdeps/unix/sysv/linux/i386/scandir64.c
36235         (SKIP_SCANDIR_CANCEL): Macro removed.
36236         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
36238         * dirent/tst-scandir.c: New file.
36239         * dirent/tst-scandir64.c: New file.
36240         * dirent/Makefile (tests): Add them.
36242 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
36244         [BZ #18409]
36245         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
36247 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36249         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
36250         list.
36252 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
36254         * benchtests/bench-strcoll.c: New benchmark.
36255         * benchtests/Makefile: Generate locales and run benchmark.
36256         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
36257         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
36258         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
36259         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
36260         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
36261         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
36262         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
36263         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
36264         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
36265         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
36266         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
36267         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
36268         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
36269         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
36270         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
36271         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
36272         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
36273         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
36274         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
36275         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
36276         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
36277         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
36278         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
36279         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
36281 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
36283         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
36284         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36286 2015-05-12  Roland McGrath  <roland@hack.frob.com>
36288         * posix/uname-values.h: New file.
36289         * posix/uname.c: Include that instead of <config-name.h>.
36290         * sysdeps/nacl/uname-values.h: New file.
36291         * sysdeps/arm/nacl/uname-values.h: New file.
36293 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
36295         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
36296         splitting into fields.
36298 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
36300         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
36301         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
36302         * locale/localeinfo.h: Add enum collation_encoding_type.
36303         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
36304         * programs/ld-collate.c (collate_output): Add encoding type info.
36305         * string/strcoll_l.c (STRDIFF): New function.
36306         * (STRCOLL): Use STRDIFF to skip over equal prefix.
36307         * wcsmbs/wcscoll_l.c: Define STRDIFF.
36309 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
36311         [BZ #18397]
36312         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
36313         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
36314         <fpu_control.h> instead of <math/fpu_control.c>.
36315         * sysdeps/mips/mips32/fpu/Makefile: New file.
36317 2015-05-11  Andreas Schwab  <schwab@suse.de>
36319         [BZ #18007]
36320         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
36321         nss_endgrent.
36322         (_nss_compat_endgrent): Call nss_endgrent.
36323         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
36324         nss_endpwent.
36325         (_nss_compat_endpwent): Call nss_endpwent.
36326         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
36327         needent, call nss_setspent only if non-zero.
36328         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
36329         (internal_endspent): Don't call nss_endspent.
36330         (_nss_compat_endspent): Call nss_endspent.
36331         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
36332         Remove.  All uses removed.
36333         (internal_setent): Remove parameter stayopen, add parameter
36334         stream.  Use it instead of global variable.
36335         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
36336         (internal_endent, internal_getent): Add parameter stream.  Use it
36337         instead of global variable.
36338         (CONCAT(_nss_files_end,ENTNAME))
36339         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
36340         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
36341         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
36342         uses removed.
36343         (internal_setent, internal_endent): Add parameter stream.  Use it
36344         instead of global variable.
36345         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
36346         stream.
36347         (get_next_alias): Add parameter stream.
36348         (_nss_files_getaliasent_r): Pass global stream.
36349         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
36350         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
36351         (_nss_files_gethostbyname4_r): Pass local stream to
36352         internal_setent, internal_getent and internal_endent.  Remove
36353         locking.
36355 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36357         * tst-strfmon1.c (tests): Update expected currency symbol.
36359 2015-05-08  Roland McGrath  <roland@hack.frob.com>
36361         * sysdeps/nacl/gethostname.c: New file.
36363 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
36365         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
36366         and sinh.
36367         * math/auto-libm-test-out: Regenerated.
36368         * sysdeps/i386/fpu/libm-test-ulps: Update.
36369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36371 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
36373         [BZ #18125]
36374         * stdlib/tst-setcontext3.c: New file.
36375         * stdlib/tst-setcontext3.sh: New file.
36376         * stdlib/Makefile (tests): Add tst-setcontext3.
36377         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
36378         to verify test program created output file.
36379         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
36380         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
36381         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
36382         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
36384 2015-05-06  Roland McGrath  <roland@hack.frob.com>
36386         [BZ #18383]
36387         * elf/tst-tlsalign.c: New file.
36388         * elf/tst-tlsalign-static.c: New file.
36389         * elf/tst-tlsalign-lib.c: New file.
36390         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
36391         (tests-static): Add tst-tlsalign-static.
36392         (modules-names): Add tst-tlsalign-lib.
36393         (test-xfail-tst-tlsalign): New variable.
36394         (test-xfail-tst-tlsalign-static): New variable.
36396         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
36397         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36399 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
36401         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
36402         csqrt, erfc, sin and sincos.
36403         * math/auto-libm-test-out: Regenerated.
36404         * sysdeps/i386/fpu/libm-test-ulps: Update.
36405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36407 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36409         * sysdeps/aarch64/libm-test-ulps: Update.
36411 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
36413         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
36414         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
36415         * math/auto-libm-test-out: Regenerated.
36416         * sysdeps/i386/fpu/libm-test-ulps: Update.
36417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36419 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
36421         [BZ #18265]
36422         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
36423         (wcsncpy): Likewise.
36425 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36427         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36428         Assume __ASSUME_FALLOCATE is always true.
36429         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36430         (__posix_fallocate64_l64): Likewise.
36431         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
36432         (posix_fallocate): Likewise.
36433         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
36434         (__posix_fallocate64_l64): Likewise.
36435         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36436         [!__ASSUME_FALLOCATE]: Add comment.
36438 2015-05-05  Florian Weimer  <fweimer@redhat.com>
36440         * sysdeps/unix/sysv/linux/i386/Makefile
36441         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
36442         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
36443         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
36444         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36445         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36446         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
36447         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
36449 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
36451         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
36452         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
36453         tgamma.
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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36460         * math/auto-libm-test-in: Add more tests of tgamma.
36461         * math/auto-libm-test-out: Regenerated.
36462         * sysdeps/i386/fpu/libm-test-ulps: Update.
36463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36465         * math/auto-libm-test-in: Add more tests of tanh.
36466         * math/auto-libm-test-out: Regenerated.
36467         * sysdeps/i386/fpu/libm-test-ulps: Update.
36468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36470         * math/auto-libm-test-in: Add more tests of tan.
36471         * math/auto-libm-test-out: Regenerated.
36472         * sysdeps/i386/fpu/libm-test-ulps: Update.
36473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36475         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
36476         * math/auto-libm-test-out: Regenerated.
36477         * sysdeps/i386/fpu/libm-test-ulps: Update.
36478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36480         * math/auto-libm-test-in: Add another test of pow.
36481         * math/auto-libm-test-out: Regenerated.
36482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36484         * math/auto-libm-test-in: Add more tests of lgamma.
36485         * math/auto-libm-test-out: Regenerated.
36486         * sysdeps/i386/fpu/libm-test-ulps: Update.
36487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36489         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
36490         log1p.
36491         * math/auto-libm-test-out: Regenerated.
36492         * sysdeps/i386/fpu/libm-test-ulps: Update.
36493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36495 2015-05-01  Mark Wielaard  <mjw@redhat.com>
36497         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
36498         Elf64_Chdr structs and ELFCOMPRESS constants.
36500 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
36502         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
36503         expm1.
36504         * math/auto-libm-test-out: Regenerated.
36505         * sysdeps/i386/fpu/libm-test-ulps: Update.
36506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36508         * math/auto-libm-test-in: Add more tests of erf and erfc.
36509         * math/auto-libm-test-out: Regenerated.
36510         * sysdeps/i386/fpu/libm-test-ulps: Update.
36511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36513 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36515         * config.h.in (HAVE_AARCH64_BE): Add.
36517 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
36519         * math/auto-libm-test-in: Add more tests of csqrt.
36520         * math/auto-libm-test-out: Regenerated.
36521         * sysdeps/i386/fpu/libm-test-ulps: Update.
36522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36524         * math/auto-libm-test-in: Add more tests of cosh and sinh.
36525         * math/auto-libm-test-out: Regenerated.
36526         * sysdeps/i386/fpu/libm-test-ulps: Update.
36527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36529         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
36531 2015-04-29  Roland McGrath  <roland@hack.frob.com>
36533         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
36534         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
36536         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
36537         (euidaccess, eaccess): Define as weak aliases.
36539         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
36540         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
36541         but __suseconds_t is often 'long int' so some sources assume that
36542         type is being used (e.g. they use %ld to print tv_usec).
36544 2015-04-29  Florian Weimer  <fweimer@redhat.com>
36546         [BZ #18007]
36547         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
36548         (CVE-2014-8121)
36549         * nss/tst-nss-getpwent.c: New file.
36550         * nss/Makefile (tests): Add new test.
36552 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
36554         [BZ #18346]
36555         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
36556         exponents less than 48 as cases where high part of mantissa needs
36557         examining to determine whether argument is integral.
36558         * math/libm-test.inc (round_test_data): Add more tests.
36560 2015-04-28  Mark Wielaard  <mjw@redhat.com>
36562         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
36564 2015-04-27  David S. Miller  <davem@davemloft.net>
36566         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
36567         __tls_get_addr.
36568         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36570 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
36572         [BZ #18333]
36573         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
36575 2015-04-27  Florian Weimer  <fweimer@redhat.com>
36577         [BZ #18333]
36578         * time/tzset.c (parse_tzname): Return error on memory allocation
36579         failure.
36580         * test-skeleton.c (struct temp_name_list): Change type of name
36581         member to non-const.
36582         (add_temp_file): Create a copy of the file name.
36583         (delete_temp_files): Deallocate memory.
36584         (create_temp_file): Add comment.
36586 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36588         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
36589         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
36591 2015-04-24  Roland McGrath  <roland@hack.frob.com>
36593         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
36594         * sysdeps/arm/configure: Regenerated.
36596 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36598         [BZ #17715]
36599         * time/tzfile.c (__tzfile_read): Check for large values of
36600         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
36601         * time/tzset.c (__tzstring_len): New function, based on the old
36602         __tzstring function.
36603         (__tzstring): Call __tzstring_len.
36604         (parse_tzname): New helper function extracted from
36605         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
36606         the input string.
36607         (parse_offset): New helper function extracted from
36608         __tzset_parse_tz.  Replace switch with fallthrough with
36609         initialization before sscanf.
36610         (parse_rule): Likewise.
36611         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
36612         new-style function definition.
36613         * timezone/Makefile (tests): Add tst-tzset.
36614         (tst-tzset.out): Dependencies on time zone files.
36615         (tst-tzset-ENV): Set TZDIR.
36616         (testdata/XT%): Copy crafted time zone files.
36617         * timezone/README: Mention crafted time zone files.
36618         * timezone/testdata/XT1, timezone/testdata/XT2,
36619         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
36620         files.
36621         * timezone/tst-tzset.c: New test.
36623 2015-04-24  Florian Weimer  <fweimer@redhat.com>
36625         * Makeconfig (+gccwarn): Remove -Winline.
36627 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36629         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
36631 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
36633         * NEWS: Mention sysconf() cache information support for s390.
36634         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
36636 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
36638         * math/k_casinh.c (__kernel_casinh): Use __copysign.
36639         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
36640         (__nearbyint): Likewise.
36641         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
36642         (copysignl): Likewise.
36644 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
36646         [BZ #18287]
36647         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
36648         based on padding.  (CVE-2015-1781)
36650 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36652         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
36653         libc-vdso.h.
36654         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
36655         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
36656         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
36657         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
36658         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
36659         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
36660         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
36661         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36662         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36663         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
36664         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36665         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36666         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36667         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
36668         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
36669         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
36670         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
36671         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
36672         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
36673         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
36674         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
36675         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
36676         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
36678 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
36680         * stdlib/setenv.c (__add_to_environ):
36681         Dump core quickly if setenv (..., NULL, ...) is called.
36682         This time, do it the right way, and pacify GCC with a pragma.
36684 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36686         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
36687         IMAP->l_prev cannot be null, and #if out the code for the contrary
36688         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
36689         believe that NS (&_dl_ns[NSID]) could point outside the array.
36691         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
36692         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
36693         before using NSID as an index.
36695 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
36697         [BZ #17825]
36698         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
36699         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
36700         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36702 2015-04-17  Roland McGrath  <roland@hack.frob.com>
36704         Add preliminary port to Google Native Client on ARM.
36705         * abi-tags (.*-.*-nacl.*): New entry.
36706         * sysdeps/arm/nacl: New directory.
36707         * sysdeps/nacl: New directory.
36709 2015-04-16  David S. Miller  <davem@davemloft.net>
36711         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
36712         lowlevellock-futex.h
36714 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
36716         * sysdeps/tile/configure.ac: New file.
36717         * sysdeps/tile/configure: Regenerated.
36719 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36721         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
36722         conditionals for weak_alias and libc_hidden_weak.
36723         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
36724         libc_hidden_weak and weak_alias.
36725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
36726         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
36727         and weak_alias for static one.
36729 2015-04-15  David S. Miller  <davem@davemloft.net>
36731         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
36733 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36735         [BZ #18206]
36736         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
36737           Use signed comparision instead of substraction to avoid
36738           overflow bug.
36739         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
36740           Take the sign of ret.
36741         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
36742           Do not expect precise return values. Only the sign matters.
36743         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
36744         * wcsmbs/test-wcsncmp.c: New File.
36745         * string/test-strncmp.c: Add wcsncmp support.
36747 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36749         [BZ #6792]
36750         * math/w_log1p.c: New file.
36751         * math/w_log1pf.c: Likewise.
36752         * math/w_log1pl.c: Likewise.
36753         * math/Makefile (libm-calls): Add w_log1p.
36754         * math/s_log1pl.c (log1pl): Remove weak_alias.
36755         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
36756         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
36757         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
36758         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
36759         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
36760         [NO_LONG_DOUBLE] (log1pl): Likewise.
36761         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
36762         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
36763         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
36764         (log1p): Remove long_double_symbol.
36765         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
36766         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
36767         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
36768         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
36769         remove weak_alias for corresponding log1p function.
36770         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
36771         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
36772         * sysdeps/ia64/fpu/w_log1p.c: New file.
36773         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
36774         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
36775         * math/libm-test.inc (log1p_test_data): Add errno expectations.
36777 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
36779         [BZ #18247]
36780         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
36781         decimal exponent by 1.
36782         * stdlib/tst-strtod-round-data: Add more tests.
36783         * stdlib/tst-strtod-round.c (tests): Regenerated.
36785 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
36787         * math/auto-libm-test-in: Add more tests of clog and clog10.
36788         * math/auto-libm-test-out: Regenerated.
36789         * sysdeps/i386/fpu/libm-test-ulps: Update.
36790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36792 2015-04-09  Roland McGrath  <roland@hack.frob.com>
36794         * Makeconfig (module-cppflags): Exclude all .v.i files.
36795         (skip-module-cppflags): Variable removed.
36797         * configure.ac (libc_config_ok): Initialize before reading
36798         preconfigure scripts, not after.
36799         * configure: Regenerated.
36801         * test-skeleton.c (TIMEOUT): Move #define to top level.
36802         (main): Grok environment variable TEST_DIRECT.  If set, print
36803         test expectation details into that file and then behave as if
36804         given --direct.
36806 2015-04-09  Florian Weimer  <fweimer@redhat.com>
36808         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
36809         warning on 32-bit.
36811 2015-04-08  David S. Miller  <davem@davemloft.net>
36813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36815 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36817         * math/auto-libm-test-in: Add more tests of atanh.
36818         * math/auto-libm-test-out: Regenerated.
36819         * sysdeps/i386/fpu/libm-test-ulps: Update.
36820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36822         * math/auto-libm-test-in: Add more tests of atan.
36823         * math/auto-libm-test-out: Regenerated.
36824         * sysdeps/i386/fpu/libm-test-ulps: Update.
36825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36827 2015-04-08  Florian Weimer  <fweimer@redhat.com>
36829         * elf/pldd.c (main): Rewrite to use struct
36830         scratch_buffer instead of extend_alloca.
36831         * elf/pldd-xx.c (find_maps): Likewise.
36832         * grp/initgroups.c: Include <scratch_buffer.h> instead of
36833         <alloca.h>.
36834         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
36835         scratch_buffer instead of extend_alloca.
36836         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
36837         grp/compat-initgroups.c.
36838         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
36839         Rewrite to use struct scratch_buffer instead of extend_alloca.
36840         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
36841         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36843 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
36845         * math/auto-libm-test-in: Add more tests of cbrt.
36846         * math/auto-libm-test-out: Regenerated.
36847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36849         * math/auto-libm-test-in: Add more tests of cabs.
36850         * math/auto-libm-test-out: Regenerated.
36851         * sysdeps/i386/fpu/libm-test-ulps: Update.
36852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36854         [BZ #18210]
36855         [BZ #18211]
36856         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
36857         (__ieee754_atan2): Set FE_TONEAREST mode for internal
36858         computations.
36859         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
36860         clog10.
36861         * math/auto-libm-test-out: Regenerated.
36862         * sysdeps/i386/fpu/libm-test-ulps: Update.
36863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36865         [BZ #18197]
36866         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
36867         (atan): Set FE_TONEAREST mode for internal computations.
36868         * math/auto-libm-test-in: Add more tests of atan.
36869         * math/auto-libm-test-out: Regenerated.
36871 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
36873         [BZ #17930]
36874         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
36876 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36878         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
36880 2015-04-07  Florian Weimer  <fweimer@redhat.com>
36882         * include/scratch_buffer.h: New file.
36883         * malloc/scratch_buffer_grow.c: Likewise.
36884         * malloc/scratch_buffer_grow_preserve.c: Likewise.
36885         * malloc/scratch_buffer_set_array_size.c: Likewise.
36886         * malloc/tst-scratch_buffer.c: Likewise.
36887         * malloc/Makefile (routines): Add scratch_buffer_grow.
36888         (tests): Add test case.
36889         * malloc/Versions (GLIBC_PRIVATE): Export
36890         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
36891         __libc_scratch_buffer_set_array_size.
36893 2015-04-06  Richard Henderson  <rth@redhat.com>
36895         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
36896         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36898         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
36899         unsigned int before printing.
36901 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36903         [BZ #17596]
36904         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
36905         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36907 2015-04-02  Florian Weimer  <fweimer@redhat.com>
36909         * include/libc-internal.h (libc_max_align_t): Define.
36911 2015-04-02  Andreas Schwab  <schwab@suse.de>
36913         [BZ #16850]
36914         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
36916 2015-04-02  Mel Gorman  <mgorman@suse.de>
36918         [BZ #17195]
36919         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
36920         as well as the main arena.
36922 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36924         [BZ #18185]
36925         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
36926         sharing L2 cache to 2 for Silvermont/Knights Landing.
36928 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36930         [BZ #17711]
36931         * config.make.in (have-protected-data): New.
36932         * configure.ac: Check linker support for protected data symbol.
36933         * configure: Regenerated.
36934         * elf/Makefile (modules-names): Add tst-protected1moda and
36935         tst-protected1modb if $(have-protected-data) is yes.
36936         (tests): Add tst-protected1a and tst-protected1b if
36937         $(have-protected-data) is yes.
36938         ($(objpfx)tst-protected1a): New.
36939         ($(objpfx)tst-protected1b): Likewise.
36940         (tst-protected1modb.so-no-z-defs): Likewise.
36941         * elf/tst-protected1a.c: New file.
36942         * elf/tst-protected1b.c: Likewise.
36943         * elf/tst-protected1mod.h: Likewise.
36944         * elf/tst-protected1moda.c: Likewise.
36945         * elf/tst-protected1modb.c: Likewise.
36947 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
36949         [BZ #17711]
36950         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
36951         indicates it is called from do_lookup_x on relocation against
36952         protected data, skip the data definion in the executable from
36953         copy reloc.
36954         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
36955         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
36956         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
36957         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
36958         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
36959         otherwise to 0.
36960         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36961         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
36962         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
36963         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
36964         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
36965         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
36967 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
36969         * sysdeps/nptl/pthread.h: Remove duplicate definition of
36970         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
36972 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
36974         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
36975         THREAD_SETMEM_NC.
36976         * sysdeps/x86_64/nptl/tls.h: Ditto.
36978 2015-03-27  Roland McGrath  <roland@hack.frob.com>
36980         * dlfcn/tststatic.c (main): Converted to ...
36981         (do_test): ... this.
36982         (TEST_FUNCTION): New macro.
36983         Include test-skeleton.c.
36985 2015-03-26  Alan Modra  <amodra@gmail.com>
36987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
36988         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
36989         zero for undefined weak.
36990         (elf_machine_plt_conflict): Similarly.
36992 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
36994         * math/auto-libm-test-in: Add more tests of acosh, asinh and
36995         atanh.
36996         * math/auto-libm-test-out: Regenerated.
36997         * sysdeps/i386/fpu/libm-test-ulps: Update.
36998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37000         * math/auto-libm-test-in: Add another test of asin.
37001         * math/auto-libm-test-out: Regenerated.
37002         * sysdeps/i386/fpu/libm-test-ulps: Update.
37003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37005         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
37006         Remove macro.
37007         (LLL_EBX_REG): Likewise.
37008         (LLL_ENTER_KERNEL): Likewise.
37010         * math/auto-libm-test-in: Add more tests of asin.
37011         * math/auto-libm-test-out: Regenerated.
37012         * sysdeps/i386/fpu/libm-test-ulps: Update.
37013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37015         [BZ #18138]
37016         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37017         libc_do_syscall_args): New structure.
37018         (INTERNAL_SYSCALL_MAIN_0): New macro.
37019         (INTERNAL_SYSCALL_MAIN_1): Likewise.
37020         (INTERNAL_SYSCALL_MAIN_2): Likewise.
37021         (INTERNAL_SYSCALL_MAIN_3): Likewise.
37022         (INTERNAL_SYSCALL_MAIN_4): Likewise.
37023         (INTERNAL_SYSCALL_MAIN_5): Likewise.
37024         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
37025         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37026         Replace conditional definitions by conditional definitions of ....
37027         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
37028         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37029         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37030         (libpthread-sysdep_routines): Add libc-do-syscall.
37031         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37032         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37033         to __NR_futex not 240.
37035 2015-03-25  Alan Modra  <amodra@gmail.com>
37037         * NEWS: Advertise TLS optimization.
37038         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37039         (DT_PPC_NUM): Increment.
37040         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37041         (CHECK_STATIC_TLS): Use here.
37042         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37043         TLS descriptors.
37044         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37045         * sysdeps/powerpc/dl-tls.c: New file.
37046         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37047         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37048         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37049         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37054 2015-03-25  Alan Modra  <amodra@gmail.com>
37056         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37057         for overlapping .opd entries" to "support...".
37058         * sysdeps/powerpc/powerpc64/configure: Regenerate
37060 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37062         * math/auto-libm-test-in: Add more tests of acos.
37063         * math/auto-libm-test-out: Regenerated.
37064         * sysdeps/i386/fpu/libm-test-ulps: Update.
37065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37067         * math/auto-libm-test-in: Add more tests of expm1.
37068         * math/auto-libm-test-out: Regenerated.
37069         * sysdeps/i386/fpu/libm-test-ulps: Update.
37070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37072 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
37074         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37075         * math/auto-libm-test-out: Regenerated.
37076         * sysdeps/i386/fpu/libm-test-ulps: Update.
37077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37079         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37082         * math/auto-libm-test-in: Add more tests of log2.
37083         * math/auto-libm-test-out: Regenerated.
37084         * sysdeps/i386/fpu/libm-test-ulps: Update.
37085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37087 2015-03-23  Roland McGrath  <roland@hack.frob.com>
37089         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
37090         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
37091         _IO_IS_APPENDING bit in READ_WRITE instead.
37093 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37095         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
37096         (__determine_cpumask_size): Replace extend_alloca with a
37097         variable-length array.  Do not treat res == 0 as an error.
37099 2015-03-23  Florian Weimer  <fweimer@redhat.com>
37101         [BZ #18100]
37102         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
37103         and integer overflow.
37104         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
37105         (main): Add integer overflow tests.
37106         * manual/pattern.texi (Calling Wordexp): Document additional use
37107         for WRDE_SYNTAX.
37109 2015-03-23  Alan Modra  <amodra@gmail.com>
37111         * config.h.in: Remove HAVE_ASM_PPC_REL16.
37112         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
37113         and false branch of conditional.
37114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37115         Likewise.
37117 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
37119         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
37120         libc-modules.h
37121         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
37122         unused declaration of _hurd_intr_rpc_msg_in_trap.
37123         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
37124         defined instead of whether it is non-zero.
37125         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
37126         input constraint instead of both input and output constraint.  Use ecx
37127         clobber instead of %ecx.
37128         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
37129         mutex_unlock): Use a statement expression instead of an expression list.
37130         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
37131         type to vm_size_t instead of vm_address_t.
37132         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
37133         defined instead of whether it is non-zero.
37134         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
37135         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
37136         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
37137         comparisons with mapaddr.
37138         * nscd/nscd-client.h: Include <time.h>.
37139         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
37140         9th parameter to __vm_region instead of int.
37141         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
37142         * scripts/check-local-headers.sh (exclude): Add device/,
37143         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
37144         cthreads.h.
37146 2015-03-19  Roland McGrath  <roland@hack.frob.com>
37148         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
37149         to account for alignment padding.
37150         * sysdeps/arm/memmove.S: Likewise.
37152 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
37154         * sysdeps/unix/sysv/linux/generic/README: New file.
37156 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
37158         [BZ #18138]
37159         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
37160         (futex_abstimed_wait)
37161         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
37162         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
37163         of lll_futex_timed_wait.
37165 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
37167         [BZ #17542]
37168         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
37170 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
37172         [BZ #17090]
37173         [BZ #17620]
37174         [BZ #17621]
37175         [BZ #17628]
37176         * NEWS: Update.
37177         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
37178         entries with Static TLS too.  Skip entries past the end of the
37179         allocated DTV, from Alan Modra.
37180         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
37181         Static TLS DTV entry set up from...
37182         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
37183         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
37184         * nptl/allocatestack.c (init_one_static_tls): ... and here...
37185         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
37186         for Static TLS.
37187         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
37188         that the slot we find is associated with the given map before
37189         using its generation count.
37190         * nptl_db/db_info.c: Include ldsodefs.h.
37191         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
37192         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
37193         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
37194         (link_map::l_tls_offset): New struct field.
37195         (dtv_t::counter): Likewise.
37196         (rtld_global): New struct.
37197         (_rtld_global): New rtld variable.
37198         (dl_tls_dtv_slotinfo_list): New rtld global field.
37199         (dtv_slotinfo_list): New struct.
37200         (dtv_slotinfo): Likewise.
37201         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
37202         (td_lookup): Rename to...
37203         (td_mod_lookup): ... this.  Use new mod parameter instead of
37204         LIBPTHREAD_SO.
37205         * nptl_db/td_thr_tlsbase.c: Include link.h.
37206         (dtv_slotinfo_list, dtv_slotinfo): New functions.
37207         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
37208         addresses even if the DTV is out of date or missing them.
37209         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
37210         index zero-length arrays.
37211         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
37212         (td_lookup): Make it a macro implemented in terms of...
37213         (td_mod_lookup): ... this declaration.
37214         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
37215         (DB_MAIN_VARIABLE): Likewise.
37217 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37219         [BZ #18134]
37220         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
37222 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
37224         * stdlib/setenv.c (__add_to_environ): Revert previous change.
37226 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
37228         [BZ #18128]
37229         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
37230         (atomic_add, atomic_increment_and_test)
37231         (atomic_decrement_and_test): Fix 64-bit arithmetic.
37233 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
37235         * stdlib/setenv.c (__add_to_environ):
37236         Dump core quickly if setenv (..., NULL, ...) is called.
37238 2015-03-13  Roland McGrath  <roland@hack.frob.com>
37240         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
37241         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
37242         all the necessary asm magic in one place.
37243         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
37244         using those.
37246 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
37248         [BZ #14906]
37249         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
37250         traced file mtime. Use consistent log message.
37251         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
37252         (register_traced_file): Call install_watches. Always set mtime.
37253         (invalidate_cache): Iterate over all trace files. Call install_watches.
37254         (inotify_check_files): Don't inline. Handle watching parent
37255         directories and configuration file movement in and out.
37256         (handle_inotify_events): New function.
37257         (main_loop_poll): Call handle_inotify_events.
37258         (main_loop_epoll): Likewise.
37259         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
37260         (struct traced_file): Use array of inotify fds. Add parent directory,
37261         and basename.
37262         (struct database_dyn): Remove unused file_mtime.
37263         (init_traced_file): New inline function.
37264         (define_traced_file): New macro.
37265         * nss/nss_db/db-init.c: Use define_traced_file.
37266         (_nss_db_init): Use init_traced_file.
37267         * nss/nss_files/files-init.c: Use define_traced_file.
37268         (_nss_files_init): Use init_traced_file.
37270 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
37272         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
37273         [_LIBC]: Do not include <stdlib.h>.
37274         [!_LIBC] (abort): Remove declaration.
37275         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
37276         _FP_STATIC_ASSERT instead of conditionally calling abort.
37277         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
37278         (_FP_EXTEND_CNAN): Likewise.
37279         (FP_TRUNC): Likewise.
37280         (__FP_CLZ): Likewise.
37281         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
37283 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
37285         * manual/string.texi (XPG basename): Fix prototype.
37287 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37289         [BZ #18080]
37290         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
37291         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37292         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
37293         (__setcontext): Likewise.
37294         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
37295         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
37296         Call rt_sigprocmask syscall one time to set new signal mask
37297         and retrieve the current signal mask instead of two calls.
37298         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
37299         (__swapcontext): Likewise.
37300         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
37301         * stdlib/tst-setcontext2.c: New file.
37303 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37305         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37307 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
37309         [BZ #18093]
37310         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
37311         the wrong size.
37313 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37315         [BZ #18043]
37316         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
37318 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37320         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
37321         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
37322         Remove define.
37323         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
37324         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
37325         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
37326         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
37327         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
37328         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
37329         define.
37330         * nptl_db/td_symbol_list.c (td_lookup): Remove
37331         HAVE_ASM_GLOBAL_DOT_NAME code.
37332         * sysdeps/powerpc/powerpc64/configure.ac: Remove
37333         HAVE_ASM_GLOBAL_DOT_NAME check.
37334         * sysdeps/powerpc/powerpc64/configure: Regenerate.
37335         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
37336         (DOT_LABEL): Remove define.
37337         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
37338         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
37339         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
37340         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
37341         (__TLS_GET_ADDR): Likewise.
37342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
37343         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
37345 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
37347         [BZ #18111]
37348         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
37349         (_FPU_SETCW): Initialize cw from fpsr before storing.
37350         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
37351         (fesetexceptflag): Rewrite using fpu_control.h.
37352         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
37354 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
37356         [BZ #18110]
37357         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
37358         asms.
37359         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
37361 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
37363         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
37364         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
37365         abort.
37366         (_FP_FMA): Likewise.
37367         (_FP_DIV): Likewise.
37369 2015-03-10  Roland McGrath  <roland@hack.frob.com>
37371         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
37372         with 0 in that case.
37373         * Makefile (summarize-tests): New canned sequence, factored out of
37374         commands for targets tests and xtests.  Display summary lines that
37375         don't start with PASS: or XFAIL: rather than ones that do start with
37376         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
37377         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
37378         do start with ERROR: or FAIL:.
37379         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
37380         (except for [$(build-shared) = yes]).
37381         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
37382         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
37383         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
37384         * nptl/Makefile: Revert 2015-03-04 changes.
37385         [$(CXX) empty] (tests-unsupported): New variable.
37386         * debug/Makefile: Likewise.
37388         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
37389         gnulib file.  Replace __attribute with __attribute__ throughout.
37391 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
37393         * sysdeps/hppa/fpu/libm-test-ulps: Update.
37395 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37397         [BZ #18104]
37398         * math/auto-libm-test-in: Add another test of pow.
37399         * math/auto-libm-test-out: Regenerated.
37401 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37403         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
37404         $(config-cflags-nofma).
37406 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
37408         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
37409         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
37410         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
37411         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
37412         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
37413         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
37414         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
37415         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
37416         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
37417         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
37418         Add comment on closing #endif.
37420 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37422         * posix/wordexp.c (CHAR_IN_SET): New macro.
37423         (parse_param): Use it.
37425 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37427         * sysdeps/powerpc/fpu/libm-test-ulps: update.
37429 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37431         [BZ #18043]
37432         * posix/wordexp.c (parse_param): Fix buffer overflow.
37433         * posix/wordexp-test.c (test_case): Add test case.
37435 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37437         [BZ #18042]
37438         * posix/wordexp.c (parse_backtick): Fix off-by-one.
37439         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
37441 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
37443         [BZ #18043]
37444         * posix/wordexp-test.c (test_case): Add test for BZ #18043
37445         (do_bz18043): Delete.
37446         (at_page_end): New.
37447         (testit): Refactor to have words at the edge of unreadable page.
37449 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37451         [BZ #16734]
37452         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
37453         Cleanup read-only streams as well.
37454         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
37456 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37458         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
37459         <bits/libc-lockP.h>
37461 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
37463         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
37464         on [__KERNEL__].
37465         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
37466         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
37467         * soft-fp/op-common.h (_FP_DECL): Likewise.
37469 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
37471         * elf/ifuncdep2.c (global): Replace
37472         __attribute__((visibility("protected"))) with
37473         asm (".protected global").
37474         * elf/ifuncmod1.c (global): Likewise.
37475         * elf/ifuncmod5.c (global): Likewise.
37477 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
37479         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
37480         <asm/sfp-machine.h> instead of <sfp-machine.h>.
37482 2015-03-06  Roland McGrath  <roland@hack.frob.com>
37484         * manual/install.texi (Configuring and compiling):
37485         Document test-wrapper-env-only.
37486         * INSTALL: Regenerated.
37488 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37490         [BZ #18043]
37491         * posix/wordexp.c (parse_param): Fix buffer overflow.
37492         * posix/wordexp-test.c (do_bz18043): Add test case.
37494 2015-03-06  Vincent Bernat  <vincent@bernat.im>
37496         * time/tst-strptime2.c (do_test): Ensure failing tests are
37497         reported correctly.
37498         * time/tst-strptime3.c (do_test): Likewise.
37500 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
37502         Fix aio_error thread-safety.
37503         * sysdeps/pthread/aio_error.c: New file
37504         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
37505         synchronization.
37507 2015-03-06  Florian Weimer  <fweimer@redhat.com>
37509         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
37510         (group_number, vfprintf): Use it.
37511         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
37512         (JUMP, REF): Use it.
37513         (WORK_BUFFER_SIZE): New enum constant.
37514         (process_arg, vfprintf): Use it.
37516 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
37518         * manual/errno.texi (Error Messages): Complete example function
37519         by adding missing #define.
37520         (program_invocation_name): Add statement indicating GNU
37521         extension and reference which header file declares the variable.
37522         (program_invocation_short_name): Likewise.
37524 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
37526         * manual/errno.texi (Error Messages): Delete strerror ISO C89
37527         compatibility note.
37529 2015-03-05  Roland McGrath  <roland@hack.frob.com>
37531         * Makeconfig (test-wrapper-env-only): New variable.
37532         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
37533         then use that with $(test-wrapper-env-only) rather than using
37534         $(test-wrapper-env) $(run-program-env) $($*-ENV).
37536 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37538         [BZ #18082]
37539         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
37540         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
37541         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
37542         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
37543         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
37544         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
37545         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
37546         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
37547         Likewise.
37548         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
37549         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
37550         Likewise.
37551         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
37552         Likewise.
37553         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
37554         Likewise.
37555         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
37556         Likewise.
37557         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
37558         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
37559         Likewise.
37560         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
37561         Likewise.
37562         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
37563         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
37565 2015-03-04  Roland McGrath  <roland@hack.frob.com>
37567         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
37568         (ETH_ALEN): New macro.
37569         (struct ether_addr): Use it for length of ether_addr_octet.
37571         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
37572         (setdb): Don't call __nss_configure_lookup for "rpc".
37573         (do_test): Don't call test_rpc.
37574         (output_rpcent, test_rpc): Functions moved ...
37575         * sunrpc/test-rpcent.c: ... to this new file.
37576         * sunrpc/Makefile (tests): Add it.
37578         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
37579         __xpg_sigpause.
37580         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
37581         * nptl/tst-signal6.c: Likewise.
37582         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
37583         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
37585         * configure.ac (libc_cv_cxx_link_ok): New check.
37586         Reset CXX to empty if it fails to link.
37587         * configure: Regenerated.
37588         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
37589         bug-atexit3-lib only if $(CXX) is nonempty.
37590         * nptl/Makefile (tests): Likewise for tst-cancel24.
37591         (tests, tests-static): Likewise for tst-cancel24-static.
37592         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
37593         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
37594         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
37595         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
37597 2015-03-04  Andreas Schwab  <schwab@suse.de>
37599         [BZ #17631]
37600         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
37601         for non-GCC compilers.
37602         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37603         Likewise.
37605 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37607         [BZ #17776]
37608         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
37609         integer before bitwise and assembly operations.
37610         (feclearexcept): Likewise.
37611         * math/test-fenvinline.c: New file.
37612         * math/Makefile: Add test-fenvinline test.
37614 2015-03-03  Alan Modra  <amodra@gmail.com>
37616         [BZ #16512]
37617         * scripts/localplt.awk: Strip off symbol version.
37618         * NEWS: Mention bug fix.
37620 2015-03-02  Roland McGrath  <roland@hack.frob.com>
37622         * sysdeps/pthread/timer_routines.c
37623         (timer_free_list, thread_free_list, thread_active_list): Make static.
37625 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
37627         [BZ #17779]
37628         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37629         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37630         Undefine.
37631         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37632         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37633         Likewise.
37634         * sysdeps/unix/sysv/linux/sh/kernel-features.h
37635         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
37636         Likewise.
37638 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
37640         [BZ #18036]
37641         * posix/fnmatch_loop.c (END): Detect invalid pattern.
37642         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
37644 2015-03-02  Andreas Schwab  <schwab@suse.de>
37646         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
37647         variable name.
37649 2015-03-02  Florian Weimer  <fweimer@redhat.com>
37651         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
37652         Return error status.
37654 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
37656         [BZ #15969]
37657         * locale/findlocale.c (_nl_find_locale): Introduce const
37658         version of loc_name and drop unsafe type casts.
37660 2015-02-27  Roland McGrath  <roland@hack.frob.com>
37662         * dlfcn/tststatic2.c (main): Converted to ...
37663         (do_test): ... this.
37664         (TEST_FUNCTION): New macro.
37665         Include test-skeleton.c.
37667 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
37669         [BZ #17711]
37670         * elf/Makefile (tests): Add vismain only if PIE is enabled.
37671         (tests-pie): Add vismain.
37672         (CFLAGS-vismain.c): New.
37673         * elf/vismain.c: Add comments for PIE requirement.
37675 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37677         [BZ #18046]
37678         [BZ #18047]
37679         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
37680         0x1p-56L as threshold for just returning the argument.
37681         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
37682         0x1p-32L as threshold for just returning the argument.
37683         * math/auto-libm-test-in: Add more tests of atanh.
37684         * math/auto-libm-test-out: Regenerated.
37685         * sysdeps/i386/fpu/libm-test-ulps: Update.
37686         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
37688 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37690         * string/bcopy.c (bcopy): Call memmove for performance.
37692 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
37694         * string/bzero.c (__bzero): Call memset for performance.
37696 2015-02-27  John David Anglin  <dave.anglin@bell.net>
37698         [BZ #18068]
37699         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
37700         to 00100000.
37702 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
37704         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
37706 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37708         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
37709         (__kernel_standard): Use CSTR macro when setting exc.name.
37710         * sysdeps/ieee754/Makefile [$(subdir) = math]
37711         (CFLAGS-k_standard.c): Remove variable.
37713         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
37714         setting p and q from "else if" to "else".
37715         (qzero): Likewise.
37716         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
37717         (qone): Likewise.
37718         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
37719         (qzerof): Likewise.
37720         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
37721         (qonef): Likewise.
37722         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
37723         (qzero): Likewise.
37724         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
37725         (qone): Likewise.
37727         [BZ #18038]
37728         [BZ #18039]
37729         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
37730         return pi/2 for arguments below 0x1p-113L.
37731         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
37732         return pi/2 for arguments below 0x1p-106L.
37733         * math/auto-libm-test-in: Add more tests of acos.
37734         * math/auto-libm-test-out: Regenerated.
37736         [BZ #16351]
37737         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
37738         (MO): New macro.
37739         (__ieee754_asin): Force underflow exception for results with small
37740         absolute value.
37741         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
37742         (MO): New macro.
37743         (__ieee754_asinf): Force underflow exception for results with
37744         small absolute value.
37745         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
37746         (__ieee754_asin): Force underflow exception for results with small
37747         absolute value.
37748         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
37749         (__ieee754_asinf): Force underflow exception for results with
37750         small absolute value.
37751         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
37752         (__ieee754_asinl): Force underflow exception for results with
37753         small absolute value.
37754         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
37755         (__ieee754_asinl): Force underflow exception for results with
37756         small absolute value.
37757         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
37758         (__ieee754_asinl): Force underflow exception for results with
37759         small absolute value.
37760         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
37761         Include <math.h>.
37762         * math/auto-libm-test-in: Do not mark underflow exceptions as
37763         possibly missing for bug 16351.
37764         * math/auto-libm-test-out: Regenerated.
37766         [BZ #18030]
37767         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
37768         of power of 2 down when low part has opposite sign.
37769         * math/libm-test.inc (logb_test_data): Add more tests.
37771 2015-02-26  Andreas Schwab  <schwab@suse.de>
37773         [BZ #18032]
37774         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
37775         over collating symbol inside a bracket expression.  Minor cleanup.
37776         * posix/tst-fnmatch3.c (do_test): Add test case.
37778 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
37780         [BZ #18029]
37781         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
37782         Adjust exponent of power of 2 down when low part has opposite
37783         sign.
37784         * math/libm-test.inc (ilogb_test_data): Add more tests.
37786 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
37788         [BZ #15969]
37789         * locale/findlocale.c (_nl_find_locale): Fix constness error in
37790         the previous change.
37792         [BZ #15969]
37793         * locale/findlocale.c (_nl_find_locale): Retry archive search
37794         after alias expansion.
37796 2015-02-25  Roland McGrath  <roland@hack.frob.com>
37798         * iconv/tst-iconv3.c (main): Converted to ...
37799         (do_test): ... this.
37800         (TEST_FUNCTION): New macro.
37801         Include test-skeleton.c.
37803         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
37804         (convert): Make function static.
37805         (test_unalign): Likewise.  Add const to argument pointee types.
37806         (main): Replace with static function do_test.
37807         Print "Succeeded." only if RET is zero.
37808         (TEST_FUNCTION): New macro.
37809         Include test-skeleton.c.
37811         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
37812         returns a null pointer.
37814 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37816         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
37817         to __memcpy_ppc only for static builds.
37819 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
37821         [BZ #18020]
37822         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
37823         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
37824         * math/auto-libm-test-in: Add more tests of asinh.
37825         * math/auto-libm-test-out: Regenerated.
37826         * sysdeps/i386/fpu/libm-test-ulps: Update.
37827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37829 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
37831         [BZ #15850]
37832         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
37833         and ip6_mtuinfo definitions here.
37834         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
37835         in this define too.  Update comment.
37837 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
37839         * elf/sprof.c (load_shobj): Tweak error message to match others.
37841 2015-02-24  Kevin Easton  <kevin@guarana.org>
37843         [BZ #16145] (partial fix)
37844         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
37845         to reduce lock contention.
37847 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
37849         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
37850         (struct timex): Update time comment.
37851         (ADJ_SETOFFSET): Define.
37853 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37855         [BZ #18019]
37856         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37857         2**56 not 2**28 as threshold for log (2x) formula.
37858         * math/auto-libm-test-in: Add more tests of acosh.
37859         * math/auto-libm-test-out: Regenerated.
37860         * sysdeps/i386/fpu/libm-test-ulps: Update.
37861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37863 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37865         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
37866         parenthesis around the buf assignment.
37867         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
37869 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
37871         [BZ #16783]
37872         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
37873         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
37874         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
37875         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37876         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
37877         * math/libm-test.inc (scalb_test_data): Add more tests.
37879 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37881         [BZ #17916]
37882         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
37883         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
37885 2015-02-24  Eric Rannaud  <e@nanocritical.com>
37887         [BZ #17523]
37888         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
37889         * io/bits/fcntl2.h (open): Use it.
37890         (openat): Likewise.
37891         * io/open.c (__libc_open): Likewise.
37892         * io/open64.c (__libc_open64): Likewise.
37893         * io/open64_2.c (__open64_2): Likewise.
37894         * io/open_2.c (__open_2): Likewise.
37895         * io/openat.c (__openat): Likewise.
37896         * io/openat64.c (__openat64): Likewise.
37897         * io/openat64_2.c (__openat64_2): Likewise.
37898         * io/openat_2.c (__openat_2): Likewise.
37899         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
37900         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
37901         * sysdeps/posix/open64.c (__libc_open64): Likewise.
37902         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
37903         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
37904         (__open_nocancel): Likewise.
37905         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
37906         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
37907         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
37909 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37911         [BZ #14841]
37912         * resolv/gethnamaddr.c (getanswer): Skip logging if
37913         RES_USE_DNSSEC is set.
37914         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
37916 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
37918         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
37920 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
37922         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
37923         201304L, for Unicode 7.
37925 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
37927         [BZ #17836]
37928         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
37929         shared library.  Add gmon-start.os otherwise.
37930         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
37931         $(objpfx)gmon-start.os if builing shared library.
37932         ($(objpfx)g$(static-start-installed-name)): Likewise.
37934 2015-02-23  Andreas Schwab  <schwab@suse.de>
37936         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
37938 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
37940         [BZ #17269]
37941         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
37942         (enlarge_userbuf): Likewise.
37944 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
37946         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
37947         * math/atest-exp.c (TIMEOUT): Adjust to 200.
37948         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
37949         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
37951 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
37953         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
37954         expression inside statement expression.
37956 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
37958         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
37959         <sysdeps/nptl/lowlevellock.h> and remove macros and
37960         functions that are now defined there.
37961         (SYS_futex): Remove.
37962         (lll_compare_and_swap): Remove.
37963         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
37965 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
37967         [BZ #17999]
37968         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
37969         instead of scandirat.
37970         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
37971         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
37972         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
37973         __scandirat.
37974         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
37975         (__scandirat): Declare.  Use libc_hidden_proto.
37976         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
37977         Remove variable.
37978         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37980 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
37982         [BZ #15319]
37983         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
37984         (MO): New macro.
37985         (__ieee754_atan2): For results with small absolute value, force
37986         underflow exception and remove excess range and precision from
37987         return value.
37988         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
37989         (MO): New macro.
37990         (__ieee754_atan2f): For results with small absolute value, force
37991         underflow exception and remove excess range and precision from
37992         return value.
37993         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
37994         (MO): New macro.
37995         (__atan): For results with small absolute value, force underflow
37996         exception and remove excess range and precision from return value.
37997         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
37998         (MO): New macro.
37999         (__atanf): For results with small absolute value, force underflow
38000         exception and remove excess range and precision from return value.
38001         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
38002         <math.h>.
38003         (__ieee754_atan2): Force underflow exception for results with
38004         small absolute value.
38005         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
38006         <math_private.h>.
38007         (atan): Force underflow exception for results with small absolute
38008         value.
38009         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38010         (__atanf): Force underflow exception for results with small
38011         absolute value.
38012         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38013         <math.h>.
38014         (__atanl): Force underflow exception for results with small
38015         absolute value.
38016         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38017         (__atanl): Force underflow exception for results with small
38018         absolute value.
38019         * sysdeps/x86/fpu/bits/mathinline.h
38020         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38021         (__ieee754_atan2): Only define inline for long double.
38022         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38023         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38024         * math/auto-libm-test-in: Do not mark underflow exceptions as
38025         possibly missing for bug 15319.  Add more tests of atan2.
38026         * math/auto-libm-test-out: Regenerated.
38027         * math/libm-test.inc (casin_test_data): Do not mark underflow
38028         exceptions as possibly missing for bug 15319.
38029         (casinh_test_data): Likewise.
38030         * sysdeps/i386/fpu/libm-test-ulps: Update.
38032 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
38034         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38035         * sysdeps/mips/bits/endian.h: Fix comments.
38037 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38039         [BZ #17996]
38040         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38041         (hdestroy_r): Likewise.
38042         (hsearch_r): Likewise.
38043         (__hcreate_r): Declare and use libc_hidden_proto.
38044         (__hdestroy_r): Likewise.
38045         (__hsearch_r): Likewise.
38046         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38047         (hcreate): Call __hcreate_r instead of hcreate_r.
38048         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38049         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38050         as weak alias of __hcreate_r.
38051         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38052         __hdestroy_r.
38053         (hsearch_r): Rename to __hsearch_r and define as weak alias of
38054         __hsearch_r.
38055         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38056         Remove variable.
38057         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38058         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38059         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38060         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38062 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38064         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
38065         arena_lock into a single arena_get.
38067 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
38069         * dl-reloc.c: Inlucde libc-internal.h.
38070         (_dl_try_allocate_static_tls): Call ALIGN_UP.
38071         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
38072         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
38073         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
38074         (grow_heap): Likewise.
38075         * malloc/malloc.c: Include libc-internal.h.
38076         (do_check_malloc): Call powerof2.
38077         (sysmalloc): Use pagesize. Call ALIGN_UP.
38078         (systrim): Use pagesize.
38079         (mremap_chunk): Use pagesize. Call ALIGN_UP.
38080         (__libc_valloc): Use pagesize.
38081         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
38083 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38085         [BZ #17991]
38086         * include/sys/resource.h (__getrlimit64): Declare.  Use
38087         libc_hidden_proto.
38088         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
38089         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
38090         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
38091         getrlimit64.
38092         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
38093         __getrlimit64.
38094         [!getrlimit64] (getrlimit64): Define as weak alias of
38095         __getrlimit64.  Use libc_hidden_weak.
38096         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
38097         using __getrlimit64 not __new_getrlimit64.
38098         (__GI_getrlimit64): Likewise.
38099         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
38100         Likewise.
38101         (__GI_getrlimit64): Likewise.
38102         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
38103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
38104         (getrlimit): Add __getrlimit64 alias.
38105         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
38106         Likewise.
38107         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
38108         Remove variable.
38109         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38110         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38112 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
38114         * libio/fileops.c: Add missing sys/mman.h
38115         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
38117 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
38119         * manual/math.texi (Errors in Math Functions): Clarify goals
38120         regarding inexact and underflow exceptions.
38122 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38124         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
38125         * sysdeps/mips/memset.S: Ditto.
38127 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
38129         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
38131 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
38133         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
38134         (__v1longjmp): Remove versioned symbol.
38135         (__v1siglongjmp): Remove alias and versioned symbol.
38136         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
38137         (__v2siglongjmp): Likewise.
38139 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38141         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
38143 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
38145         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
38147 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38149         [BZ #17987]
38150         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
38151         zero result does not depend on the sign resulting from
38152         subtraction.
38153         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38154         Likewise.
38155         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38156         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38157         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38158         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38159         * math/libm-test.inc (remquo_test_data): Add more tests.
38161 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
38163         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
38164         Problem reported by J William Piggott.
38166 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
38168         [BZ #17978]
38169         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
38170         products 4 * y and 2 * y where those would overflow.
38171         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38172         Likewise.
38173         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
38174         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
38175         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38176         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
38177         * math/libm-test.inc (remquo_test_data): Add more tests.
38179         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
38181         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
38182         [defined _COMPILING_NEWLIB].
38183         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
38184         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
38186         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
38187         [!defined __mips_isa_rev || __mips_isa_rev < 6].
38189 2015-02-16  Torvald Riegel  <triegel@redhat.com>
38191         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
38192         acquired.
38194 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
38196         [BZ #17792]
38197         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
38198         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
38199         HOST_STACK_END_ADDR): Likewise.
38201 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
38203         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
38204         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
38205         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
38207 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38209         * sysdeps/generic/c++-types.data: New file.
38210         * sysdeps/generic/ld.abilist: New file.
38211         * sysdeps/generic/libBrokenLocale.abilist: New file.
38212         * sysdeps/generic/libanl.abilist: New file.
38213         * sysdeps/generic/libc.abilist: New file.
38214         * sysdeps/generic/libcrypt.abilist: New file.
38215         * sysdeps/generic/libdl.abilist: New file.
38216         * sysdeps/generic/libm.abilist: New file.
38217         * sysdeps/generic/libpthread.abilist: New file.
38218         * sysdeps/generic/libresolv.abilist: New file.
38219         * sysdeps/generic/librt.abilist: New file.
38221 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38223         [BZ #17569]
38224         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
38225         Compute absolute value of x as modified by fmod, not original
38226         value of x.
38227         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
38228         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
38229         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
38230         RUN_TEST_ffI_f1_mod8.
38231         (remquo_test_data): Add more tests.
38233 2015-02-13  Roland McGrath  <roland@hack.frob.com>
38235         * sysdeps/init_array/pt-crti.S: New file.
38237 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
38239         [BZ #17967]
38240         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
38241         __builtin_fmaf instead of relying on contraction of a * b + c.
38243 2015-02-12  J William Piggott  <elseifthen@gmx.com>
38245         [BZ #17969]
38246         * manual/time.texi: correct the zoneinfo path in the TZ Variable
38247         node.
38249 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38251         [BZ #17964]
38252         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
38253         __builtin_fma instead of relying on contraction of a * b + c.
38255 2015-02-12  Roland McGrath  <roland@hack.frob.com>
38257         * Makeconfig (ASFLAGS): Add -Werror=undef.
38258         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
38259         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
38260         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
38262         * Makeconfig (after-link): New variable.
38263         (+link-pie, +link-pie-tests): Use it.
38264         (+link-static, +link-static-tests): Likewise.
38265         (+link, +link-tests): Likewise.
38266         * Makerules (build-module, build-module-asneeded): Likewise.
38267         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
38268         Likewise.
38269         * elf/Makefile ($(objpfx)ld.so): Likewise.
38271 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
38273         [BZ #17965]
38274         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
38275         both struct timeval and struct timespec.
38277 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
38279         [BZ #16560]
38280         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38281         and redefine.
38282         (__ieee754_exp2l): Do not multiply small fractional parts by
38283         M_LN2l.
38284         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
38285         small argument.
38286         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
38287         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
38288         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
38289         * math/auto-libm-test-in: Add more tests of exp2.
38290         * math/auto-libm-test-out: Regenerated.
38292 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38294         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
38295         unaligned path.
38297 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38299         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
38300         little endian.
38302 2015-02-12  Andreas Schwab  <schwab@suse.de>
38304         [BZ #15790]
38305         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
38306         Filter out elision flags from value returned in kind.
38307         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
38308         * nptl/tst-pthread-mutexattr.c: New file.
38310 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38312         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
38313         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
38314         into gnu-gnu, and update comment to refer to abi-tags.
38316 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
38318         [BZ #15467]
38319         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
38320         (__sincos): Set errno to EDOM for infinite argument.
38321         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
38322         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
38323         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
38324         (__sincosl): Set errno to EDOM for infinite argument.
38325         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
38326         (__sincosl): Set errno to EDOM for infinite argument.
38327         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
38328         (__sincosl): Set errno to EDOM for infinite argument.
38329         * math/libm-test.inc (sincos_test_data): Test errno setting.
38331 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
38333         * string/strxfrm_l.c: Remove #define STRCMP.
38334         * string/strcoll_l.c: Remove #define STRLEN.
38335         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
38336         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
38338 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
38340         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
38341         * sysdeps/mips/mips32/sfp-machine.h: ... here.
38342         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
38343         * sysdeps/mips/mips64/Makefile: ... here.
38344         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
38345         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
38346         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
38347         * sysdeps/mips/mips64/sfp-machine.h: ... here.
38348         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
38349         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
38350         * sysdeps/mips/mips64/n64/Implies: Likewise.
38352 2015-02-10  Roland McGrath  <roland@hack.frob.com>
38354         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
38355         <sys/time.h>, <string.h>, and <errno.h>.
38356         (dest_offset, dest_address, value, zero): Remove unused variables.
38357         (ldouble): Remove typedef.
38358         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
38359         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
38360         1).  Fix code style.
38361         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
38362         (check): Function removed.
38363         (CHECK): New macro.
38364         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
38365         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
38366         Don't call set_sigaction_FP and remove_sigaction_FP here.
38367         (ldouble_test): Just use 'long double' as macro argument, no need for
38368         the 'ldouble' typedef.
38369         (do_test): Set up SIGFPE handler at start, using plain signal rather
38370         than sigaction.  Fix code style.
38372 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
38374         [BZ #17949]
38375         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
38376         jump label.
38378 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38380         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
38381         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38383         * sysdeps/powerpc/configure.ac: Remove file.
38384         * sysdeps/powerpc/configure: Likewise.
38386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38387         [sysdep_routines]: Remove wordcopy-power6 object.
38388         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
38389         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
38390         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
38391         (__memmove_ppc32): Likewise.
38392         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
38393         file.
38394         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
38395         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
38396         Remove preprocessor.
38398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
38399         [sysdep_routines]: Remove wide chars objects.
38400         [wcsmbs]: New rule for wide char objects.
38402         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38403         Remove wordcopy-power6 obejct.
38404         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
38405         Use local call for wordcopy and memcpy symbols.
38406         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
38407         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
38408         implementation for loader.
38409         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
38411         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38412         Remove wordcopy-power7 object.
38413         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
38414         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
38415         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
38416         (_wordcopy_fwd_dest_aligned): Likewise.
38417         (_wordcopy_bwd_aligned): Likewise.
38418         (_wordcopy_bwd_dest_aligned): Likewise.
38420         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
38421         Rewrite to call __memmove_ppc instead of include default
38422         implementation.
38424         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38425         Remove wide chars objects.
38426         [wcsmbs]: New rule for wide char objects.
38428 2015-02-09  Andreas Schwab  <schwab@suse.de>
38430         [BZ #17912]
38431         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38432         in terms of __O_DIRECTORY.
38434 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38436         * time/getdate.c: Include <stdbool.h>.
38437         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
38438         call PTR_MANGLE.
38439         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
38440         PTR_DEMANGLE.
38442 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
38444         Add ersatz _Static_assert on older C hosts
38445         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
38446         pre-C11 C platform that is not known to support _Static_assert.
38448 2015-02-07  Richard Braun  <rbraun@sceen.net>
38450         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
38451         sigstate.
38452         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
38454 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38456         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
38457         priority against unexistent AIO_PRIO_DELTA_MAX.
38458         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
38459         instead of int.
38460         * misc/fchflags.c (fchflags): Likewise.
38461         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
38462         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
38463         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
38464         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
38465         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
38466         Declare macros.
38467         [__USE_MISC] (chflags, fchflags): Declare functions.
38468         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
38469         EINVAL when nfds is greater than FD_SETSIZE.
38470         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
38471         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
38472         45.
38473         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
38474         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
38475         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
38476         MACH_RCV_TIMED_OUT.
38477         * hurd/hurd/signal.h (_hurd_self_sigstate,
38478         _hurd_critical_section_lock, _hurd_critical_section_unlock):
38479         Explicit casts from void *.
38480         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
38481         * abi-tags: Rename gnu-gnu os into gnu.
38483         [BZ #4719]
38484         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
38485         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
38486         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
38487         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
38488         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
38489         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
38491         [BZ #17944]
38492         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
38493         duplicates ADDR->sun_path with sockaddr LEN limitation.
38494         * sysdeps/mach/hurd/connect.c: Include <string.h>
38495         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
38496         * sysdeps/mach/hurd/sendmsg.c: Likewise.
38497         * sysdeps/mach/hurd/sendto.c: Likewise.
38498         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
38499         implementing it by hand.
38501 2015-02-06  Roland McGrath  <roland@hack.frob.com>
38503         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
38504         Use sfi_breg on ldr.
38505         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
38506         Likewise.
38508         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
38509         it's defined.
38510         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
38511         Test SIGSETXID only if it's defined.
38513         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
38515         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
38516         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
38518         * nptl/tst-align2.c: Moved ...
38519         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
38520         * nptl/Makefile (tests): Remove tst-align2.
38521         * sysdeps/unix/sysv/linux/Makefile
38522         [$(subdir) = nptl] (tests): Add tst-align-clone.
38523         * nptl/tst-getpid1.c: Moved ...
38524         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
38525         * nptl/tst-getpid2.c: Moved ...
38526         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
38527         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
38528         * sysdeps/unix/sysv/linux/Makefile
38529         [$(subdir) = nptl] (tests): ... here.
38530         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
38531         * sysdeps/unix/sysv/linux/Makefile
38532         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
38534         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
38535         Drop trailing \n from perror argument.  Use return rather than exit.
38537         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38538         on [SA_SIGINFO].
38539         * nptl/tst-cancel21.c (do_test): Likewise.
38540         * debug/tst-backtrace6.c: Include <signal.h> first thing.
38541         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
38542         [!SA_SIGINFO]: Make it a stub test.
38544         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
38545         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
38547         * posix/tst-getlogin.c: Move to ...
38548         * login/tst-getlogin.c: ... here.
38549         * posix/Makefile (tests): Move tst-getlogin to ...
38550         * login/Makefile (tests): ... here.
38552         * libio/tst-atime.c (do_test): Move local variables SV and E
38553         inside [ST_NOATIME] conditional.
38555         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
38557         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
38559         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
38560         (wait_code): New function replaces macro.
38561         Call nanosleep rather than syscall.
38563         * nptl/pt-system.c: Rewritten.  Put everything under
38564         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38565         Use IFUNC to redirect when possible.
38567         * nptl/pt-longjmp.c: Rewritten.  Put everything under
38568         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38569         Use IFUNC to redirect when possible.
38571         * nptl/pt-fork.c: Rewritten.  Put everything under
38572         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
38573         Use IFUNC to redirect when possible.
38574         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
38576         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
38577         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
38578         unconditionally nowadays.  This included the only reference to
38579         __vdso_clock_gettime that appears outside libc proper.
38580         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
38581         Remove version set (containing only __vdso_clock_gettime).
38582         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
38583         Add attribute_hidden.
38584         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
38585         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
38586         libc_hidden_data_def.
38587         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38588         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38590         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
38591         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
38592         setrpcent, and getrpcport to ...
38593         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
38594         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
38595         getrpcbynumber_r, and getrpcent_r to ...
38596         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
38597         * inet/getrpcbyname.c: Moved ...
38598         * sunrpc/getrpcbyname.c: ... here.
38599         * inet/getrpcbyname_r.c: Moved ...
38600         * sunrpc/getrpcbyname_r.c: ... here.
38601         * inet/getrpcbynumber.c: Moved ...
38602         * sunrpc/getrpcbynumber.c: ... here.
38603         * inet/getrpcbynumber_r.c: Moved ...
38604         * sunrpc/getrpcbynumber_r.c: ... here.
38605         * inet/getrpcent.c: Moved ...
38606         * sunrpc/getrpcent.c: ... here.
38607         * inet/getrpcent_r.c: Moved ...
38608         * sunrpc/getrpcent_r.c: ... here.
38609         * inet/Makefile (routines): Move those to ...
38610         * sunrpc/Makefile (routines): ... here.
38611         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
38612         the $(subdirs) list.
38613         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
38614         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
38615         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
38616         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
38618         * elf/Makefile (routines): Include $(all-dl-routines), not just
38619         $(dl-routines).
38620         (rtld-routines): Likewise.  Use = rather than :=.
38621         * sysdeps/aarch64/Makefile [$(subdir) = elf]
38622         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
38623         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
38624         * sysdeps/arm/Makefile: Likewise.
38625         * sysdeps/i386/Makefile: Likewise.
38626         * sysdeps/x86_64/Makefile: Likewise.
38627         * sysdeps/hppa/Makefile [$(subdir) = elf]
38628         (sysdep_routines, sysdep-rtld-routines): Don't add
38629         $(sysdep-dl-routines) to these.
38630         * sysdeps/ia64/Makefile: Likewise.
38631         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
38632         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
38633         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
38634         Don't add dl-static to these; sysdep-dl-routines alone is enough.
38635         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
38636         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
38637         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
38638         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
38639         * sysdeps/powerpc/Makefile [$(subdir) = elf]
38640         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
38641         these; sysdep-dl-routines alone is enough.
38643 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
38645         [BZ #17932]
38646         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
38647         where multiplication results in zero and third argument is finite
38648         and nonzero.
38649         * math/auto-libm-test-in: Add more tests of fma.
38650         * math/auto-libm-test-out: Regenerated.
38652         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
38653         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
38654         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
38655         (_FP_CMP_EQ): Likewise.
38656         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
38658         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
38659         extra argument CHECK_NAN.  Redefine as wrapper around
38660         _FP_EXTEND_CNAN.
38662 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
38664         * version.h (RELEASE): Set to "stable".
38665         (VERSION): Set to "2.21"
38666         * include/features.h (__GLIBC_MINOR__): Set to 21.
38668         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
38670 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38671             Paul Eggert  <eggert@cs.ucla.edu>
38673         [BZ #16618]
38674         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
38675         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
38676         size in bytes. Store needed elements in wpmax. Use needed size
38677         in bytes for extend_alloca.
38679 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
38681         * manual/install.texi: Latest tested versions are GCC 4.9.2,
38682         binutls 2.25, and texinfo 5.2.
38683         * INSTALL: Regenerate.
38684         * sysdeps/nios2/configure: Regenerate.
38685         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
38686         * manual/contrib.texi: Update.
38687         * po/be.po: Update.
38688         * po/bg.po: Update.
38689         * po/ca.po: Update.
38690         * po/cs.po: Update.
38691         * po/da.po: Update.
38692         * po/de.po: Update.
38693         * po/el.po: Update.
38694         * po/eo.po: Update.
38695         * po/es.po: Update.
38696         * po/fi.po: Update.
38697         * po/fr.po: Update.
38698         * po/gl.po: Update.
38699         * po/hr.po: Update.
38700         * po/hu.po: Update.
38701         * po/ia.po: Update.
38702         * po/id.po: Update.
38703         * po/it.po: Update.
38704         * po/ja.po: Update.
38705         * po/ko.po: Update.
38706         * po/lt.po: Update.
38707         * po/nb.po: Update.
38708         * po/nl.po: Update.
38709         * po/pl.po: Update.
38710         * po/pt_BR.po: Update.
38711         * po/ru.po: Update.
38712         * po/rw.po: Update.
38713         * po/sk.po: Update.
38714         * po/sl.po: Update.
38715         * po/sv.po: Update.
38716         * po/tr.po: Update.
38717         * po/uk.po: Update.
38718         * po/vi.po: Update.
38719         * po/zh_CN.po: Update.
38720         * po/zh_TW.po: Update.
38722         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
38723         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
38724         * sysdeps/hppa/dl-irel.h: Remove #warning.
38725         * sysdeps/hppa/entry.h: Provide prototype for
38726         __canonicalize_funcptr_for_compare and cast argument.
38727         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
38728         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
38729         * sysdeps/hppa/sotruss-lib.c: New file.
38730         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
38731         (atomic_compare_and_exchange_val_acq): Use __typeof__.
38732         (atomic_compare_and_exchange_bool_acq): Likewise.
38733         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
38734         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
38736         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
38737         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
38738         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
38740 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
38742         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
38743         called function in non-PIC case.
38745 2015-01-31  David S. Miller  <davem@davemloft.net>
38747         * sysdeps/sparc/sparc32/bits/atomic.h
38748         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
38749         unlock not after it.
38750         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
38751         volatile register usage warnings from the compiler.
38753         * sysdeps/sparc/nptl/sem_init.c: Delete.
38754         * sysdeps/sparc/nptl/sem_post.c: Delete.
38755         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
38756         * sysdeps/sparc/nptl/sem_wait.c: Delete.
38757         * sysdeps/sparc/sparc32/sem_init.c: New file.
38758         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
38759         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
38760         padding explicitly initialized.
38761         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
38762         padding for in-semaphore spinlock.
38763         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
38764         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
38765         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
38766         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
38767         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
38768         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
38769         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
38770         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
38771         version.
38772         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
38773         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
38775 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
38777         [BZ #17801]
38778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38779         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
38780         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
38781         New.
38782         (index_AVX_Fast_Unaligned_Load): Likewise.
38783         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
38784         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
38785         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
38786         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
38787         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
38788         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
38789         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
38790         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
38791         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
38793 2015-01-29  Andreas Schwab  <schwab@suse.de>
38795         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
38797 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
38799         [BZ #17892]
38800         * nscd/nscd_stat.c (send_stats): Initialize DATA.
38802 2015-01-28  Martin Sebor  <msebor@redhat.com>
38804         * math/README.libm-test: Clarify. Add "How to read the test output."
38806 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
38808         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
38809         Define to 0.
38811 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
38813         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
38814         (__HAVE_64B_ATOMICS): Define to 0.
38816 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38818         [BZ #17885]
38819         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
38820         value to set as new flag.
38822         [BZ #16576]
38823         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
38824         and use _ARCH_PPCSQ instead.
38825         (__ieee754_sqrt): Likewise.
38826         (__ieee754_sqrtf): Likewise.
38827         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
38828         _ARCH_PPCSQ is defined.
38829         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
38830         fsqrt instruction.
38831         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
38832         _ARCH_PPCSQ is defined.
38833         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
38834         fsqrts instruction.
38835         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
38837 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38839         * iconv/loop.c: Suppress array out of bound warning caused by GCC
38840         bug (GCC BZ #64739).
38842 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
38844         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
38845         Mark _retval as used.
38846         (lll_futex_wake_unlock): Likewise.
38847         (lll_futex_timed_wait_requeue_pi): Likewise.
38849         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38850         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
38851         register variables.
38853         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
38854         libm_hidden_def.
38856         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
38857         (__bswap_64): Mark as __always_inline.
38859 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
38861         [BZ #15378]
38862         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
38863         when none of the search directories exist.
38865 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38867         [BZ #17869]
38868         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
38869         power8 in .machine directive.
38871         [BZ #17868]
38872         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
38873         set dependency from opd value.
38875 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38878         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
38879         architecture.
38881 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
38883         [BZ #17870]
38884         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
38885         with uint64_t.
38886         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
38887         (uint64_t) 1.
38888         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
38889         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
38890         Replace 1UL with (uint64_t) 1.
38891         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
38892         int with uint64_t.
38894 2015-01-23  Roland McGrath  <roland@hack.frob.com>
38896         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
38897         (if_freenameindex): Likewise.
38899         * resource/getrlimit64.c: Add missing libc_hidden_def.
38901 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
38903         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
38904         __label__.
38905         (_FP_FMA): Likewise.
38906         (_FP_TO_INT_ROUND): Likewise.
38907         (_FP_FROM_INT): Likewise.
38909 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38911         [BZ #16418]
38912         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
38913         Make code racy and cancel safe.
38915 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
38917         * sysdeps/arm/unwind-resume.h: Fix copyright year.
38918         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
38919         attribution.
38921         * pwd/tst-getpw.c: Rewrite.
38923         [BZ #17702]
38924         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
38925         (modules-names): Add moddummy1 and moddummy2.
38926         ($(objpfx)tst-rec-dlopen): Define.
38927         * dlfcn/moddummy1.c: New file.
38928         * dlfcn/moddummy2.c: New file.
38929         * dlfcn/tst-rec-dlopen.c: New file.
38930         * elf/dl-cache.c (_dl_load_cache_lookup):
38931         Return char*. Copy result with alloca/strcpy/strdup.
38932         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
38933         returns char*. Free cached. If not saving realname
38934         free cached.
38935         * elf/dl-open.c (dl_open_worker): Do not assert that
38936         _r_debug->r_state is RT_CONSISTENT.
38937         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
38938         returns char*.
38940 2015-01-21  Torvald Riegel  <triegel@redhat.com>
38941             Carlos O'Donell  <carlos@redhat.com>
38943         [BZ #12674]
38944         * nptl/sem_waitcommon.c: New file.
38945         * nptl/sem_wait.c: Include sem_waitcommon.c.
38946         (__sem_wait_cleanup, do_futex_wait): Remove.
38947         (__new_sem_wait): Adapt.
38948         (__new_sem_trywait): New function.
38949         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
38950         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
38951         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
38952         (sem_timedwait): Adapt.
38953         * nptl/sem_post.c (__new_sem_post): Adapt.
38954         (futex_wake): New function.
38955         (__old_sem_post): Add release MO fence.
38956         * nptl/sem_open.c (sem_open): Adapt.
38957         * nptl/sem_init.c (__new_sem_init): Adapt.
38958         (futex_private_if_supported): New function.
38959         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
38960         (__old_sem_getvalue): Add using previous code.
38961         * sysdeps/nptl/internaltypes.h: Adapt.
38962         * nptl/tst-sem13.c (do_test): Adapt.
38963         * nptl/tst-sem11.c (main): Adapt.
38964         * nptl/sem_trywait.c: Remove.
38965         * nptl/DESIGN-sem.txt: Remove.
38966         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
38967         (gen-as-const-headers): Remove structsem.sym.
38968         * nptl/structsem.sym: Remove.
38969         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
38970         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
38971         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
38972         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
38973         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
38974         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
38975         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
38976         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
38977         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
38978         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
38979         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
38980         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
38981         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
38982         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
38983         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
38984         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
38985         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
38986         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
38987         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
38988         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
38989         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
38990         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
38992 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
38994         * INSTALL: Regenerated.
38996         * po/libc.pot: Regenerated.
38998 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
38999             Sandra Loosemore  <sandra@codesourcery.com>
39000             Andrew Jenner  <andrew@codesourcery.com>
39001             Joseph Myers  <joseph@codesourcery.com>
39002             Nathan Sidwell  <nathan@codesourcery.com>
39004         * NEWS: Mention new Nios II port.
39005         * sysdeps/nios2/Implies: New file.
39006         * sysdeps/nios2/Makefile: New file.
39007         * sysdeps/nios2/Subdirs: New file.
39008         * sysdeps/nios2/Versions: New file.
39009         * sysdeps/nios2/__longjmp.S: New file.
39010         * sysdeps/nios2/abort-instr.h: New file.
39011         * sysdeps/nios2/backtrace.c: New file.
39012         * sysdeps/nios2/bits/endian.h: New file.
39013         * sysdeps/nios2/bits/fenv.h: New file.
39014         * sysdeps/nios2/bits/link.h: New file.
39015         * sysdeps/nios2/bits/setjmp.h: New file.
39016         * sysdeps/nios2/bsd-_setjmp.S: New file.
39017         * sysdeps/nios2/bsd-setjmp.S: New file.
39018         * sysdeps/nios2/configure: New generated file.
39019         * sysdeps/nios2/configure.ac: New file.
39020         * sysdeps/nios2/crti.S: New file.
39021         * sysdeps/nios2/crtn.S: New file.
39022         * sysdeps/nios2/dl-init.c: New file.
39023         * sysdeps/nios2/dl-machine.h: New file.
39024         * sysdeps/nios2/dl-sysdep.h: New file.
39025         * sysdeps/nios2/dl-tls.h: New file.
39026         * sysdeps/nios2/dl-trampoline.S: New file.
39027         * sysdeps/nios2/gccframe.h: New file.
39028         * sysdeps/nios2/gmp-mparam.h: New file.
39029         * sysdeps/nios2/jmpbuf-offsets.h: New file.
39030         * sysdeps/nios2/jmpbuf-unwind.h: New file.
39031         * sysdeps/nios2/ldsodefs.h: New file.
39032         * sysdeps/nios2/libc-tls.c: New file.
39033         * sysdeps/nios2/libm-test-ulps: New file.
39034         * sysdeps/nios2/machine-gmon.h: New file.
39035         * sysdeps/nios2/math-tests.h: New file.
39036         * sysdeps/nios2/math_private.h: New file.
39037         * sysdeps/nios2/memusage.h: New file.
39038         * sysdeps/nios2/nptl/Makefile: New file.
39039         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39040         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39041         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39042         * sysdeps/nios2/nptl/pthreaddef.h: New file.
39043         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39044         * sysdeps/nios2/nptl/tls.h: New file.
39045         * sysdeps/nios2/preconfigure: New file.
39046         * sysdeps/nios2/s_fma.c: New file.
39047         * sysdeps/nios2/s_fmaf.c: New file.
39048         * sysdeps/nios2/setjmp.S: New file.
39049         * sysdeps/nios2/sfp-machine.h: New file.
39050         * sysdeps/nios2/sotruss-lib.c: New file.
39051         * sysdeps/nios2/stackguard-macros.h: New file.
39052         * sysdeps/nios2/stackinfo.h: New file.
39053         * sysdeps/nios2/start.S: New file.
39054         * sysdeps/nios2/sysdep.h: New file.
39055         * sysdeps/nios2/tls-macros.h: New file.
39056         * sysdeps/nios2/tst-audit.h: New file.
39057         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39058         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39059         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39060         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39061         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39062         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39063         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39064         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
39065         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
39066         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
39067         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
39068         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
39069         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
39070         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
39071         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
39072         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
39073         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
39074         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
39075         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
39076         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
39077         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
39078         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
39079         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
39080         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
39081         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
39082         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
39083         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
39084         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
39085         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
39086         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
39087         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
39088         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
39089         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
39090         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
39091         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
39092         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
39093         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
39094         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
39095         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
39096         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
39097         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
39098         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
39099         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
39100         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
39102 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39104         [BZ #17844]
39105         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
39106         (getutent): Use weak_alias in non SHARED case
39107         and default_symbol_version in SHARED case.
39108         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
39109         (getutent_r, pututline): Likewise.
39110         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
39111         (getutid): Likewise.
39112         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
39113         (getutid_r): Likewise.
39114         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
39115         (getutline): Likewise.
39116         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
39117         (getutline_r): Likewise.
39118         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
39119         (updwtmp): Likewise.
39121 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39123         [BZ #17848]
39124         * sysdeps/s390/s390-32/memcmp.S
39125         (memcmp_g5): Rename to __memcmp_g5.
39126         * sysdeps/s390/s390-32/memcpy.S
39127         (memcpy_g5): Rename to __memcpy_g5.
39128         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39129         (memcpy_mvcle) Rename to __memcpy_mvcle.
39130         * sysdeps/s390/s390-32/memset.S
39131         (memset_g5): Rename to __memset_g5.
39132         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39133         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39134         and use prefixed functions.
39135         * sysdeps/s390/s390-32/multiarch/memcmp.S
39136         (memcmp_z196): Rename to __memcmp_z196.
39137         (memcmp_z10): Rename to __memcmp_z10.
39138         (memcmp): Set alias to __memcmp_g5.
39139         (bcmp): Set alias to __memcmp_g5.
39140         * sysdeps/s390/s390-32/multiarch/memcpy.S
39141         (memcpy_z196): Rename to __memcpy_z196.
39142         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39143         (memcpy_z10): Rename to __memcpy_z10.
39144         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39145         (memcpy): Set alias to __memcpy_g5.
39146         * sysdeps/s390/s390-32/multiarch/memset.S
39147         (memset_z196): Rename to __memset_z196.
39148         Jump to __memset_mvcle instead of memset_mvcle.
39149         (memset_z10): Rename to __memset_z10.
39150         Jump to __memset_mvcle instead of memset_mvcle.
39151         (memset_mvcle) Rename to __memset_mvcle.
39152         (memset): Set alias to __memset_g5.
39153         * sysdeps/s390/s390-64/memcmp.S
39154         (memcmp_z900): Rename to __memcmp_z900.
39155         * sysdeps/s390/s390-64/memcpy.S
39156         (memcpy_z900): Rename to __memcpy_z900.
39157         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39158         (memcpy_mvcle) Rename to __memcpy_mvcle.
39159         * sysdeps/s390/s390-64/memset.S
39160         (memset_z900): Rename to __memset_z900.
39161         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
39162         (IFUNC_RESOLVE): Prefix ifunc-resolve function
39163         and use prefixed functions.
39164         * sysdeps/s390/s390-64/multiarch/memcmp.S
39165         (memcmp_z196): Rename to __memcmp_z196.
39166         (memcmp_z10): Rename to __memcmp_z10.
39167         (memcmp): Set alias to __memcmp_z900.
39168         (bcmp): Set alias to __memcmp_z900.
39169         * sysdeps/s390/s390-64/multiarch/memcpy.S
39170         (memcpy_z196): Rename to __memcpy_z196.
39171         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39172         (memcpy_z10): Rename to __memcpy_z10.
39173         Jump to __memcpy_mvcle instead of memcpy_mvcle.
39174         (memcpy): Set alias to __memcpy_z900.
39175         * sysdeps/s390/s390-64/multiarch/memset.S
39176         (memset_z196): Rename to __memset_z196.
39177         Jump to __memset_mvcle instead of memset_mvcle.
39178         (memset_z10): Rename to __memset_z10.
39179         Jump to __memset_mvcle instead of memset_mvcle.
39180         (memset_mvcle) Rename to __memset_mvcle.
39181         (memset): Set alias to __memset_z900.
39183 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
39185         [BZ #17748]
39186         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
39187         __fesetenv instead of fesetenv.
39189 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39191         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
39192         macro.
39194 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39196         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
39197         regression on LE.
39199         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
39200         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
39201         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39202         strncmp-power8 object.
39203         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39204         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
39205         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
39206         * NEWS: Update.
39208 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39209             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39211         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
39212         trailing byte check.
39214 2015-01-13  David S. Miller  <davem@davemloft.net>
39216         * include/signal.h (__sigreturn): Guard with __USE_MISC.
39218 2015-01-13  Roland McGrath  <roland@hack.frob.com>
39220         * login/logout.c (logout): Use memset rather than bzero.
39221         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
39222         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
39223         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
39224         (_gethtbyaddr): Likewise.
39225         * locale/programs/simple-hash.c (bcopy): Macro removed.
39227 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39229         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39230         Add strcmp-power8 object.
39231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39232         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
39233         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
39234         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
39235         __strcmp_power8 implementation.
39236         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
39237         * NEWS: Update.
39239         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39240         Add strncpy-power8 and stpncpy-power8 objects.
39241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39242         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
39243         implementations.
39244         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
39245         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
39246         __stpncpy_power8 implementation.
39247         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
39248         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
39249         __strncpy_power8 implementation.
39250         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
39251         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
39252         * NEWS: Update.
39254         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
39255         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
39256         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
39258         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39259         strncat-power8 object.
39260         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
39261         __strcat_power8 implementation.
39262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39263         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
39264         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
39265         optimized strcat for power8.
39267         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
39268         strcpy-power8 and stpcpy-power8 objects.
39269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39270         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
39271         implementations.
39272         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
39273         multiarch stpcpy implementation for POWER8.
39274         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
39275         multiarch strcpy implementation for POWER8.
39276         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
39277         __strcpy_power8 function.
39278         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
39279         stpcpy for POWER8.
39280         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
39281         strcpy for POWER8.
39282         * NEWS: Update.
39284 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
39286         [BZ #16009]
39287         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
39288         weights and rules. Use do_xfrm_cached if data fits in cache,
39289         do_xfrm otherwise.  Moved former main loop to...
39290         * (do_xfrm_cached): New function.
39291         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
39292         find_idx, find_position and stack_push.
39293         * (find_idx): New function.
39294         * (find_position): Likewise.
39295         * localedata/sort-test.sh: Added test run for do_xfrm.
39296         * localedata/xfrm-test.c (main): Added command line option
39297         -nocache to run the test with strings that are too large for
39298         the STRXFRM cache.
39300 2015-01-13  Torvald Riegel  <triegel@redhat.com>
39302         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
39303         variable to lll_futex_wake call, not the value itself.
39305 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
39307         [BZ #17803]
39308         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
39309         twom64.  Adjust value to 0x1p-64L.
39310         (__scalblnl): Only return standard underflowing result for K <=
39311         -64 not K <= -63; adjust exponent for underflowing result by 64
39312         not 63.
39313         * math/libm-test.inc (scalbn_test_data): Add more tests.
39314         (scalbln_test_data): Likewise.
39316         [BZ #17834]
39317         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
39318         0x1p63L.
39319         (__scalblnl): Get new exponent of adjusted subnormal value from ES
39320         not HX.
39321         * math/libm-test.inc (scalbn_test_data): Add more tests.
39322         (scalbln_test_data): Likewise.
39324 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39325             Stefani Seibold  <stefani@seibold.net>
39327         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
39328         (sysdep_routines): Add dl-vdso here, ...
39329         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
39330         (sysdep_routines): ... not here.
39331         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
39332         fallback when vDSO is not presented.
39333         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
39334         Define with libc_hidden_proto/libc_hidden_data_def definitions.
39335         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
39336         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
39337         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
39338         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
39339         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
39340         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
39341         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
39342         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
39343         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
39344         fallback configurable symbol when vDSO is not available.
39345         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
39346         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
39347         be able to redefine fallback symbol when vDSO is not available.
39348         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
39349         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
39351 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39353         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
39354         (TLS_INIT_TP): Add tm_capable initialization.
39355         (TLS_DEFINE_INIT_TP): Likewise.
39356         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
39357         TCB.
39358         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
39359         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
39360         calculation.
39361         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
39362         transactoion is lock elision is built and TCB tm_capable is set.
39363         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
39364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39365         (INTERNAL_SYSCALL_NCS): Likewise.
39366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39367         (INTERNAL_SYSCALL_NCS): Likewise.
39368         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
39370         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
39371         for powerpc.
39372         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39373         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
39374         and remove it for 32 bits case.
39375         [pthread_rwlock_t] (__rwelision): New field for lock elision.
39376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
39377         initialization.
39378         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
39379         Disable lock elision with rdlocks if elision is not available.
39381         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
39382         (sysdep_routines): Add lock elision objects.
39383         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39384         [pthread_mutex_t] (__spins): Rework to add lock elision field.
39385         [pthread_mutex_t] (__elision): Add field.
39386         [__PTHREAD_SPINS]: Adjust to init lock elision field.
39387         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
39388         elision definitions for powerpc.
39389         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
39390         implementation of lock elision for powerpc.
39391         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
39392         implementation of timed lock elision for powerpc.
39393         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
39394         implementation of trylock with lock elision for powerpc.
39395         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
39396         implementaion of unlock for lock elision for powerpc.
39397         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
39398         automatic enable lock elision for mutexes.
39399         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
39400         transaction execution definitions for powerpc.
39401         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
39402         definitions.
39403         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
39404         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
39405         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
39406         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
39407         * NEWS: Update.
39409 2015-01-09  Roland McGrath  <roland@hack.frob.com>
39411         * sysdeps/posix/shm-directory.c: Use <> rather than ""
39412         for #include of <shm-directory.h>.
39414 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
39416         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
39417         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
39419 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
39421         [BZ #17791]
39422         * NEWS: Mention bug fix.
39423         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
39424         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
39425         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
39427 2015-01-09  Torvald Riegel <triegel@redhat.com>
39429         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
39431 2015-01-09  Torvald Riegel <triegel@redhat.com>
39433         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
39435 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39437         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
39438         pointer and cast to uintptr_t.
39440 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39442         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
39443         removed.
39444         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
39446 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
39448         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
39449         of 0.
39451 2015-01-08  Roland McGrath  <roland@hack.frob.com>
39453         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
39454         <nptl/pthreadP.h> instead.
39455         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
39457         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
39458         already defined.
39459         [__SIGRTMIN] (init): Function removed.
39460         [__SIGRTMIN] (initialized): Variable removed.
39461         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
39462         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
39463         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
39464         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
39465         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
39466         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
39467         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
39468         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
39469         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
39470         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
39471         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
39472         * sysdeps/nptl/allocrtsig.c: New file.
39473         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
39474         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
39475         * sysdeps/generic/testrtsig.h: File removed.
39477         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39478         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
39480         * nptl/nptl-init.c (pthread_functions): Conditionalize
39481         .ptr__nptl_setxid initialization on [SIGSETXID].
39483         * sysdeps/nptl/sys/procfs.h: New file.
39484         * nptl_db/Makefile (headers): Add it.
39485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
39487         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
39488         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
39489         * nptl/pthread_attr_setaffinity.c: Include it.
39490         * nptl/pthread_setattr_default_np.c: Likewise.
39491         * nptl/check-cpuset.h: New file.
39493 2015-01-08  Richard Henderson  <rth@redhat.com>
39495         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
39496         (CFLAGS-tst-execstack-prog.c): Likewise.
39497         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
39499 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
39500             Sandra Loosemore  <sandra@codesourcery.com>
39501             Andrew Jenner  <andrew@codesourcery.com>
39502             Joseph Myers  <joseph@codesourcery.com>
39503             Nathan Sidwell  <nathan@codesourcery.com>
39505         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
39506         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
39507         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
39508         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
39509         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
39510         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
39511         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
39512         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
39513         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
39514         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
39515         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
39516         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
39517         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
39518         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
39519         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
39520         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
39521         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
39523 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39525         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
39526         timespec struct member in syscall macro.
39527         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
39528         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
39529         first timeval struct member in syscall macro.
39530         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
39532 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
39534         [BZ #17748]
39535         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
39536         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
39537         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
39538         __feupdateenv and define as weak alias of __feupdateenv.  Use
39539         libm_hidden_weak.
39540         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
39541         libm_hidden_def.
39542         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
39543         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
39544         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39545         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
39546         libm_hidden_def.
39547         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
39548         __feupdateenv and define as weak alias of __feupdateenv.  Use
39549         libm_hidden_weak.
39550         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
39551         libm_hidden_def.
39552         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
39553         __feupdateenv and define as weak alias of __feupdateenv.  Use
39554         libm_hidden_weak.
39555         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
39556         libm_hidden_def.
39557         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39558         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39559         (__feupdateenv): Likewise.
39560         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
39561         __feupdateenv and define as weak alias of __feupdateenv.  Use
39562         libm_hidden_weak.
39563         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39564         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
39565         libm_hidden_def.
39566         * sysdeps/tile/math_private.h (__feupdateenv): New inline
39567         function.
39568         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
39569         libm_hidden_def.
39570         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
39571         __feupdateenv instead of feupdateenv.
39572         (default_libc_feupdateenv_test): Likewise.
39573         (libc_feresetround_ctx): Likewise.
39575 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39577         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
39578         prototype.
39580 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
39582         * posix/regcomp.c (parse_bracket_exp): Initialize type to
39583         COLL_SYM in a couple of places to avoid uninitialized variable
39584         wanings on tilegx gcc 4.8.2.
39586 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39588         * sysdeps/aarch64/strcpy.S: New file.
39589         * sysdeps/aarch64/stpcpy.S: New file.
39590         * NEWS: Updated.
39592 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
39594         * sysdeps/aarch64/strrchr.S: New file.
39595         * NEWS: Updated.
39597 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
39599         [BZ #17658]
39600         * stdlib/setenv.c: Fix memory leak when setting large,
39601         duplicate string.
39603 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
39605         [BZ #17273]
39606         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
39607         and tabs from buffer before parsing fstab entry.
39608         * misc/tst-mntent.c (main): Add test for mount entry with
39609         trailing spaces and tabs.
39611 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
39613         [BZ #17748]
39614         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
39615         * math/fesetround.c (fesetround): Rename to __fesetround and
39616         define as weak alias of __fesetround.  Use libm_hidden_weak.
39617         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
39618         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
39619         * sysdeps/arm/fesetround.c (fesetround): Likewise.
39620         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
39621         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
39622         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
39623         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
39624         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
39625         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
39626         __fesetround_inline.
39627         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
39628         __fesetround_inline instead of __fesetround.
39629         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
39630         __fesetround and define as weak alias of __fesetround.  Use
39631         libm_hidden_weak.  Call __fesetround_inline instead of
39632         __fesetround.
39633         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
39634         __fesetround and define as weak alias of __fesetround.  Use
39635         libm_hidden_weak.
39636         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
39637         Likewise.
39638         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
39639         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39640         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
39641         * sysdeps/tile/math_private.h (__fesetround): New inline function.
39642         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
39643         __fesetround and define as weak alias of __fesetround.  Use
39644         libm_hidden_weak.
39645         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
39646         __fesetround instead of fesetround.
39647         (default_libc_feholdexcept_setround): Likewise.
39648         (libc_feholdsetround_ctx): Likewise.
39649         (libc_feholdsetround_noex_ctx): Likewise.
39651         [BZ #17748]
39652         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
39653         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
39654         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39655         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39656         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39657         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
39658         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39659         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39660         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39661         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39662         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39663         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39664         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39665         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39666         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
39667         libm_hidden_def.
39668         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
39669         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
39670         Likewise.
39671         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
39672         define as weak alias of __fesetenv.  Use libm_hidden_weak.
39673         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39674         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
39675         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
39676         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
39677         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
39678         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
39679         __fesetenv instead of fesetenv.
39680         (libc_feresetround_noex_ctx): Likewise.
39681         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
39682         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
39683         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
39684         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
39685         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
39686         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
39687         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39688         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
39689         (__feupdateenv): Likewise.
39690         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39691         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39692         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39693         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
39695 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39697         [BZ #17806]
39698         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
39699         addresses have been freed.
39701 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
39703         * resolv/res_init.c (__res_vinit): Improve comments about nserv
39704         and nservall.
39706 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
39708         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
39709         Clean up check_pf allocation pattern. addresses
39711 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39713         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
39714         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
39715         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
39716         * nptl/pthread_exit.c (__pthread_exit): Likewise.
39717         * nptl/pthread_join.c (pthread_join): Likewise.
39718         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
39719         * sysdeps/posix/waitid.c (__waitid): Likewise.
39720         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
39721         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
39722         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
39723         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
39724         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
39725         Likewise.
39726         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
39727         (__libc_pread64): Likewise.
39728         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
39729         (__libc_pwrite): Likewise.
39730         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
39731         (__libc_pwrite64): Likewsie.
39732         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
39733         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
39734         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
39735         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
39736         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
39737         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
39738         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
39740         Likewise.
39741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39742         (__libc_pread64): Likewise.
39743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
39744         Likewise.
39745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39746         (__libc_pwrite64): Likewise.
39747         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
39748         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
39749         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
39750         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
39751         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
39752         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
39753         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
39754         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
39755         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
39756         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
39757         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
39758         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
39759         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
39760         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
39761         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
39762         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
39763         Likewise.
39765 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
39767         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
39768         (CFLAGS-test-double.c): Likewise.
39769         (CFLAGS-test-ldouble.c): Likewise.
39770         (CPPFLAGS-test-ifloat.c): Likewise.
39771         (CPPFLAGS-test-idouble.c): Likewise.
39772         (CPPFLAGS-test-ildoubl.c): Likewise.
39773         (CFLAGS-test-test-fenv.c): Remove variable.
39774         (CFLAGS-test-misc.c): Likewise.
39776 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
39778         [BZ #17797]
39779         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
39780         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
39781         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
39782         CLOCKS_PER_SEC == 1000000.
39783         * time/clocktest.c (main): Replace %ld with %jd and cast to
39784         intmax_t.
39786 2015-01-05  Roland McGrath  <roland@hack.frob.com>
39788         * sysdeps/generic/unwind-resume.h: New file.
39789         * sysdeps/gnu/unwind-resume.c: Include it.
39790         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
39791         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
39792         argument list.
39793         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
39794         global rather than static.
39795         (_Unwind_Resume): Update user.
39796         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
39797         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
39798         rather than static.  Add __attribute__ ((cold)).
39799         (_Unwind_Resume, __gcc_personality_v0): Update callers.
39800         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
39801         * sysdeps/arm/arm-unwind-resume.S: New file.
39802         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
39803         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
39804         * sysdeps/arm/Makefile [$(subdir) = csu]
39805         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
39806         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39807         Add rt-arm-unwind-resume.
39808         [$(subdir) = nptl]
39809         (libpthread-sysdep_routines, libpthread-shared-only-routines):
39810         Add pt-arm-unwind-resume.
39811         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
39812         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
39814 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39816         [BZ #17748]
39817         * include/fenv.h (__feholdexcept): Declare.  Use
39818         libm_hidden_proto.
39819         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
39820         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
39821         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39822         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
39823         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
39824         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
39825         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
39826         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39827         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
39828         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
39829         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39830         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
39831         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
39832         (feholdexcept): Likewise.
39833         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39834         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39835         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39836         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39837         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
39838         __feholdexcept instead of feholdexcept.
39839         (default_libc_feholdexcept_setround): Likewise.
39841 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39843         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
39844         to avoid using stl/str to align destination.
39846 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39848         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
39850 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39852         [BZ #17796]
39853         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
39854         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
39855         Define as weak alias not strong alias.
39857 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
39859         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
39860         bltzal with addiupc.
39861         (RTLD_START): Ditto.
39863 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
39865         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
39866         for __vdso_* functions in declarations.
39867         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
39868         definitions.
39869         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
39870         INTERNAL_VSYSCALL): Use struct return types to check for error.
39872         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
39873         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
39874         function with cast from llround().
39875         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
39876         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
39877         Define.
39879 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
39881         [BZ #17793]
39882         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
39883         Define as weak alias not strong alias.
39885         [BZ #17635]
39886         * ctype/ctype-c99.c: New file.  isblank implementation moved from
39887         ...
39888         * ctype/ctype-extn.c: ... here.
39889         (__isblank_l): Move to ...
39890         * ctype/ctype-c99_l.c: ... here.  New file.
39891         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
39892         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
39893         Remove variable.
39894         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
39895         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
39896         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
39897         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
39898         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
39900         [BZ #17777]
39901         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
39902         (posix_fadvise64): Define as weak alias not strong alias.
39903         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39904         (posix_fallocate64): Likewise.
39905         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
39906         Remove variable.
39907         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39908         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
39909         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
39910         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
39911         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
39913 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
39915         [BZ #16191]
39916         * NEWS: Mention bug fix.
39917         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
39918         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
39919         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
39920         (HOST_STACK_END_ADDR): Likewise.
39922 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
39924         [BZ #17748]
39925         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
39926         * math/fegetround.c (fegetround): Rename to __fegetround and
39927         define as weak alias of __fegetround.  Use libm_hidden_weak.
39928         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
39929         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
39930         * sysdeps/arm/fegetround.c (fegetround): Likewise.
39931         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
39932         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39933         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
39934         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
39935         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
39936         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39937         Undefine after rather than before function definition; use
39938         parentheses around function name in definition.
39939         (__fegetround): Also undefine macro after function definition.
39940         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
39941         __fegetround and define as weak alias of __fegetround.  Use
39942         libm_hidden_weak.  Do not undefine as macro.
39943         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39944         Likewise.
39945         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
39946         __fegetround and define as weak alias of __fegetround.  Use
39947         libm_hidden_weak.
39948         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39949         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39950         * sysdeps/tile/math_private.h (__fegetround): New inline function.
39951         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
39952         __fegetround and define as weak alias of __fegetround.  Use
39953         libm_hidden_weak.
39954         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
39955         __fegetround instead of fegetround.
39957         [BZ #17782]
39958         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
39959         Condition macro definition on [__USE_MISC].
39961         [BZ #17781]
39962         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
39963         (struct sigaction): Change type of sa_flags field to int.
39965         [BZ #17780]
39966         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
39967         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
39968         __glibc_reserved0.
39970         * nptl/version.c (banner): Use single year in copyright notice.
39972         * NEWS: Update copyright dates.
39973         * catgets/gencat.c (print_version): Likewise.
39974         * csu/version.c (banner): Likewise.
39975         * debug/catchsegv.sh: Likewise.
39976         * debug/pcprofiledump.c (print_version): Likewise.
39977         * debug/xtrace.sh (do_version): Likewise.
39978         * elf/ldconfig.c (print_version): Likewise.
39979         * elf/ldd.bash.in: Likewise.
39980         * elf/pldd.c (print_version): Likewise.
39981         * elf/sotruss.sh: Likewise.
39982         * elf/sprof.c (print_version): Likewise.
39983         * iconv/iconv_prog.c (print_version): Likewise.
39984         * iconv/iconvconfig.c (print_version): Likewise.
39985         * locale/programs/locale.c (print_version): Likewise.
39986         * locale/programs/localedef.c (print_version): Likewise.
39987         * login/programs/pt_chown.c (print_version): Likewise.
39988         * malloc/memusage.sh (do_version): Likewise.
39989         * malloc/memusagestat.c (print_version): Likewise.
39990         * malloc/mtrace.pl: Likewise.
39991         * manual/libc.texinfo: Likewise.
39992         * nptl/version.c (banner): Likewise.
39993         * nscd/nscd.c (print_version): Likewise.
39994         * nss/getent.c (print_version): Likewise.
39995         * nss/makedb.c (print_version): Likewise.
39996         * posix/getconf.c (main): Likewise.
39997         * scripts/test-installation.pl: Likewise.
39998         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
40000 2015-01-02  Will Newton  <will.newton@linaro.org>
40002         * sysdeps/arm/armv7/configure: Removed.
40003         * sysdeps/arm/armv7/configure.ac: Likewise.
40005 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40007         * All files with FSF copyright notices: Update copyright dates
40008         using scripts/update-copyrights.
40009         * intl/plural.c: Regenerated.
40010         * locale/programs/charmap-kw.h: Likewise.
40011         * locale/programs/locfile-kw.h: Likewise.
40013 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40015         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40017 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40019         [BZ #17748]
40020         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40021         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40022         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40023         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40024         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40025         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40026         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40027         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40028         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40029         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40030         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40031         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40032         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40033         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40034         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40035         libm_hidden_def.
40036         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40037         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40038         Likewise.
40039         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40040         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40041         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40042         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40043         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40044         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40045         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40046         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40047         __fegetenv instead of fegetenv.
40048         (libc_feholdsetround_noex_ctx): Likewise.
40050 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40052         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40053         (Elf_MIPS_ABIFlags_v0): New structure.
40054         (EF_MIPS_FP64): Define.
40055         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40056         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40057         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40058         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40059         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40060         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40061         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40062         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40063         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40064         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
40065         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
40066         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
40067         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
40068         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
40069         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
40070         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
40071         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
40072         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
40073         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
40074         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
40075         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
40076         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
40077         field.
40078         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
40079         EF_MIPS_FP64.
40080         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
40081         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
40082         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
40083         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
40084         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
40085         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
40086         * sysdeps/mips/tst-abi-interlink.c: Likewise.
40087         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
40088         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
40089         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
40090         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
40091         record the current FP ABI extension.
40092         (mips-mode-switch): Define to show if kernel headers support mode
40093         switching.
40094         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
40095         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
40096         supported SYSV ABI version to 3.
40097         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
40098         feature.
40100 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40101             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40103         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
40104         path.
40105         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
40107 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40109         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
40110         __fegetround and redefine to call __fegetround.  Remove condition
40111         on [!__NO_MATH_INLINES].
40112         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
40113         function.
40114         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
40115         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40116         Remove macro.
40117         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
40118         instead of <fenv_libc.h>.
40119         (__llrintl): Call fegetround instead of __fegetround.
40120         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
40121         instead of <fenv_libc.h>.
40122         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40123         (__lrintl): Call fegetround instead of __fegetround.
40124         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
40125         instead of <fenv_libc.h>.
40126         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40127         (__rintl): Call fegetround instead of __fegetround.
40129 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40131         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
40132         arrays.
40134 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40136         [BZ #17775]
40137         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
40138         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
40139         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
40141 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40143         * sysdeps/i386/tls-macros.h: Include <features.h>.
40144         (TLS_LE): Use non-PIC version for GCC >= 5.0.
40145         (TLS_IE): Likewise.
40146         (TLS_LD): Likewise.
40147         (TLS_GD): Likewise.
40148         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
40149         define for GCC >= 5.0.
40151 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
40153         * math/test-fenv.c (test_single_exception, set_single_exc,
40154         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
40155         feexcp_mask_test, feenable_test, fe_single_test): Add
40156         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
40157         case where they are not used.
40158         * math/libm-test.inc: Likewise.
40159         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
40160         unused in the absence of FP rounding/exception support.
40161         * stdio-common/tst-printf-round.c: Likewise.
40162         * stdlib/tst-strtod-round.c: Likewise.
40163         * stdlib/tst-strtod-underflow.c: Likewise.
40165 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
40167         [BZ #17723]
40168         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
40169         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
40170         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40171         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40172         libm_hidden_weak.
40173         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
40174         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40175         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
40176         libm_hidden_def.
40177         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40178         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40179         libm_hidden_weak.
40180         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
40181         Likewise.
40182         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
40183         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40184         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40185         libm_hidden_weak.
40186         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40187         libm_hidden_def.
40188         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40189         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
40190         (__feraiseexcept): Likewise.
40191         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
40192         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
40193         libm_hidden_weak.
40194         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
40195         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
40196         libm_hidden_def.
40197         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
40198         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
40199         Use libm_hidden_def.
40200         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
40201         libm_hidden_def.
40202         (feraiseexcept): Define as weak not strong alias.  Use
40203         libm_hidden_weak.
40204         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
40205         New inline function.  Factored out of ...
40206         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
40207         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
40208         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
40209         feraiseexcept.
40210         * math/w_acos.c (__acos): Likewise.
40211         * math/w_asin.c (__asin): Likewise.
40212         * math/w_ilogb.c (__ilogb): Likewise.
40213         * math/w_j0.c (y0): Likewise.
40214         * math/w_j1.c (y1): Likewise.
40215         * math/w_jn.c (yn): Likewise.
40216         * math/w_log.c (__log): Likewise.
40217         * math/w_log10.c (__log10): Likewise.
40218         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
40219         * sysdeps/aarch64/fpu/math_private.h
40220         (libc_feupdateenv_test_aarch64): Likewise.
40221         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40222         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
40223         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
40224         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40225         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40226         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40227         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
40228         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40229         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40230         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40232 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
40234         [BZ #17732]
40235         * io/test-utime.c (main): Replace %ld with %jd and cast to
40236         intmax_t.
40237         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
40238         * nptl/tst-mutex5.c: Include <stdint.h>.
40239         (do_test): Replace %ld with %jd and cast to intmax_t.
40240         * posix/tst-regex.c (run_test): Likewise.
40241         (run_test_backwards): Likewise.
40242         * rt/tst-clock.c: Include <stdint.h>.
40243         (clock_test): Replace %ld with %jd and cast to intmax_t.
40244         * rt/tst-cpuclock1.c: Include <stdint.h>.
40245         (do_test): Replace %lu with %ju and cast to uintmax_t.
40246         * rt/tst-cpuclock2.c: Include <stdint.h>.
40247         (do_test): Replace %lu with %ju and cast to uintmax_t.
40248         * rt/tst-mqueue1.c: Include <stdint.h>.
40249         (check_attrs): Replace %ld with %jd and cast to intmax_t.
40250         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
40251         intmax_t.
40252         * rt/tst-mqueue4.c (do_test): Likewise.
40253         * rt/tst-timer4.c: Include <stdint.h>.
40254         (check_ts): Replace %ld with %jd and cast to intmax_t.
40255         (do_test): Likewise.
40256         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
40257         and cast to intmax_t.
40258         * sysdeps/pthread/tst-timer.c (main): Likewise.
40259         * time/clocktest.c (main): Likewise.
40260         * time/tst-posixtz.c (do_test): Likewise.
40261         * timezone/tst-timezone.c (main): Likewise.
40263 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
40264             H.J. Lu  <hongjiu.lu@intel.com>
40266         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
40267         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
40268         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
40269         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
40270         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
40271         version if bit_Fast_Unaligned_Load is set.
40272         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40273         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40274         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40275         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40276         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40277         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40278         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40279         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
40280         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
40281         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
40282         to 4.
40283         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
40284         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
40285         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
40286         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
40288 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
40290         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
40291         instead of #if to avoid a Wundef warning.
40292         * stdlib/tst-limits.c (do_test): Likewise.
40294         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
40295         parallel other exception macros.
40296         (fegetenv): Convert from macro to extern inline so that it applies
40297         retroactively to inline functions already seen by the compiler.
40298         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
40300         * posix/Makefile (before-compile): Use $(objpfx) for
40301         posix-conf-vars-def.h.
40303 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40305         * posix/getconf.c (main): Use size_t for type of I.
40306         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
40307         NSPEC.
40309         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
40310         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
40311         * posix/posix-envs.def: Likewise.
40312         * sysdeps/posix/sysconf.c: Likewise.
40313         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
40314         (specs): Remove array.
40315         * scripts/gen-posix-conf-vars.awk: Support generation of specs
40316         array.
40318         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
40319         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
40320         (__sysconf): Use CONF_IS_* macros.
40322         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
40323         ($(objpfx)posix-conf-vars-def.h): New target.
40324         * posix/posix-conf-vars.list: New file.
40325         * posix/posix-conf-vars.h: New file.
40326         * posix/confstr.c: Include posix-conf-vars.h.
40327         (confstr): Use CONF_IS_* macros.
40328         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
40329         CONF_IS_* macros.
40330         * scripts/gen-posix-conf-vars.awk: New file.
40332 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
40334         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
40335         fegetround): Add no-op macros to avoid linknamespace issues.
40337         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
40338         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
40340         * sysdeps/unix/sysv/linux/tile/sysdep.h
40341         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40342         assembly-specific section to avoid a redefinition warning.
40344         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
40345         long before casting to pointer to avoid a cast warning.
40347 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
40349         * sysdeps/tile/tilegx/Implies: New file.
40351 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
40353         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
40355 2014-12-23  Florian Weimer  <fweimer@redhat.com>
40357         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
40359 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40361         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
40362         not define.
40363         * sysdeps/unix/sysv/linux/utimes.c: Do not include
40364         <kernel-features.h>.
40365         (__utimes) [__NR_utimes]: Make code unconditional.
40366         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
40367         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40368         (__ASSUME_UTIMES): Do not undefine.
40369         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40370         (__ASSUME_UTIMES): Likewise.
40371         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
40372         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
40373         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
40374         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
40376 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40378         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
40380 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
40382         [BZ #17747]
40383         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
40384         alias to weak alias for j0l, y0l.
40385         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
40386         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
40388         [BZ #17746]
40389         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
40390         conversion.
40392 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
40394         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
40395         to zero if not already defined.
40397 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40399         [BZ #17724]
40400         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
40401         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
40402         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
40403         (char *) casts added.
40404         * sysdeps/ieee754/k_standardf.c: New file.
40405         * sysdeps/ieee754/k_standardl.c: Likewise.
40406         * math/Makefile (libm-support): Remove k_standard.
40407         (libm-calls): Add k_standard.
40409 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40411         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
40412         Optimize to avoid an unnecessary FPCR read.
40414 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40416         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
40417         Optimize to reduce FPCR/FPSR accesses.
40419 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40421         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
40422         Call libc_fetestexcept_aarch64.
40424 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
40426         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
40427         Call libc_fesetround_aarch64.
40429 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
40431         [BZ #17733]
40432         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
40433         (__bind): Do not define as weak alias.
40434         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
40435         define.
40436         (__getsockname): Do not define as weak alias.
40438 2014-12-22  Will Newton  <will.newton@linaro.org>
40440         * manual/install.texi: Document that we require bison 2.7
40441         or above.
40442         * INSTALL: Regenerate.
40443         * configure.ac: Use AC_CHECK_PROG_VER instead of
40444         AC_PATH_PROG when checking for bison and check for
40445         version 2.7 or above.
40446         * configure: Regenerate.
40448 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
40450         [BZ #17745]
40451         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
40452         * sysdeps/tile/ffsll.c (ffsll): To here.
40454         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
40456 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40458         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
40459         if not defined.
40460         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
40461         definition.
40462         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40463         hidden ___tls_get_addr.
40464         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
40465         hidden __tls_get_addr.
40466         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
40467         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
40468         Likewise.
40470 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40472         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
40473         _dl_init call.
40475 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
40477         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
40478         from "call _dl_init@PLT".
40479         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
40481 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
40483         * manual/search.texi: (Array Sort Function): Clarify stable sorting
40484         guarantees.
40486 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
40488         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
40490 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40492         [BZ #17744]
40493         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
40494         strnlen.
40496 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40498         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
40499         of multu on MIPSr6.
40500         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
40501         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
40502         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
40503         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
40504         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
40506 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
40508         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
40509         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
40510         (PTR_SUBU): Use subu for mips32r6/mips64r6.
40511         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
40512         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
40513         mips32r6/mips64r6.
40514         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
40516 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
40518         * string/strncat.c (STRNCAT): Simplify implementation.
40520 2014-12-19  David S. Miller  <davem@davemloft.net>
40522         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
40523         access the quad as both a long double and as a series of 4 words.
40525         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
40526         link_map->l_info array access.
40528 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
40530         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
40532         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
40533         * math/atest-exp2.c (TIMEOUT): Likewise.
40534         * math/atest-sincos.c (TIMEOUT): Likewise.
40536 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40538         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
40539         -Wno-error with -fno-builtin-lround.
40541 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40543         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
40544         Contains futex constants and functions moved over from ...
40545         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
40546         <lowlevellock-futex.h>.
40547         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40548         (lll_timedwait_tid): Add comments and parentheses around macro
40549         arguments.
40551 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40553         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
40554         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
40555         (__lll_private_flag): Remove.
40556         (lll_futex_wait): Likewise.
40557         (lll_futex_timed_wait): Likewise.
40558         (lll_futex_wake): Likewise.
40559         (lll_futex_requeue): Likewise.
40560         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
40561         (__lll_timedwait_tid): Spell out argument names.
40562         (lll_timedwait_tid): Add comments and parentheses around macro
40563         arguments.
40564         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
40565         LLL_SHARED and LLL_PRIVATE usable from assembly code.
40567 2014-12-19  Torvald Riegel  <triegel@redhat.com>
40569         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
40570         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40571         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40572         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
40573         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
40574         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
40575         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
40576         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
40577         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
40578         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
40579         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
40580         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
40581         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
40582         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
40583         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
40584         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
40585         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
40586         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
40587         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
40589 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40591         * sysdeps/x86_64/x32/Makefile: New file.
40593 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
40595         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
40596         1L with (mp_limb_t) 1.
40598 2014-12-17  Roland McGrath  <roland@hack.frob.com>
40600         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
40601         * nptl/libc_pthread_init.c: ... here.
40602         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
40603         * nptl/register-atfork.c: ... here.
40605         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
40606         Use pthread_sigmask rather than INTERNAL_SYSCALL.
40607         Use assert_perror to check its return value.
40608         (__gai_create_helper_thread): Likewise.
40610         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
40612         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
40614 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
40616         [BZ #17725]
40617         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
40618         __profil_counter.
40619         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
40620         Likewise.
40621         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
40622         Likewise.
40623         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
40624         Likewise.
40625         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
40626         (profil_counter): Likewise.
40627         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
40628         (profil_counter): Likewise.
40629         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
40630         Likewise.
40631         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
40632         Likewise.
40633         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
40634         (profil_counter): Likewise.
40635         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
40636         Likewise.
40637         [!__profil_counter] (profil_counter): Define as weak alias of
40638         __profil_counter.
40639         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
40640         (profil_counter): Rename to __profil_counter.
40641         [!__profil_counter] (profil_counter): Define as weak alias of
40642         __profil_counter.
40643         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
40644         (profil_counter): Rename to __profil_counter.
40645         [!__profil_counter] (profil_counter): Define as weak alias of
40646         __profil_counter.
40647         * sysdeps/posix/profil.c: Update comment referring to
40648         profil_counter.
40649         (__profil): Use __profil_counter instead of profil_counter.
40650         * sysdeps/posix/sprofil.c (profil_counter): Rename to
40651         __profil_counter.  Use __profil_counter_ushort and
40652         __profil_counter_uint in definitions.
40653         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
40654         instead of profil_counter_uint and profil_counter_ushort.
40656         [BZ #17722]
40657         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
40658         define as weak alias of __inet_makeaddr.
40659         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
40660         as weak alias of __inet_addr.
40661         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
40662         as weak alias of __inet_pton.  Use libc_hidden_weak.
40663         * include/arpa/inet.h (__inet_pton): Declare.  Use
40664         libc_hidden_proto.
40665         (inet_makeaddr): Don't use libc_hidden_proto.
40666         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
40667         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
40668         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
40669         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
40670         Remove variable.
40671         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
40672         (test-xfail-POSIX/time.h/linknamespace): Likewise.
40674 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
40676         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
40678 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40680         * stdio-common/bug-vfprintf-nargs.c (do_test):
40681         Cast value to intptr_t to avoid format warning
40682         for usage with PRIdPTR printing macro.
40684 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
40686         * libio/tst-widetext.c (do_test):
40687         Use format type %td instead of %Zd for ptrdiff_t
40688         in order to avoid format warning.
40690 2014-12-17  Andreas Schwab  <schwab@suse.de>
40692         * nscd/mem.c (gc): Add size_t cast to match printf format.
40694 2014-12-16  Roland McGrath  <roland@hack.frob.com>
40696         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
40697         (init): Apply PTR_MANGLE to pointers before storing them.
40698         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
40699         before using them.
40701 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
40703         [BZ #17719]
40704         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
40705         define as weak alias of __memrchr.
40706         (__memrchr): Do not define as strong alias of memrchr.
40707         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
40708         Remove variable.
40709         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
40710         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
40711         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
40713         [BZ #17717]
40714         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
40715         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
40716         (if_indextoname): Rename to __if_indextoname and define as weak
40717         alias of __if_indextoname.  Use libc_hidden_weak.
40718         (if_freenameindex): Rename to __if_freenameindex and define as
40719         weak alias of __if_freenameindex.
40720         (if_nameindex): Rename to __if_nameindex and define as weak alias
40721         of __if_nameindex.
40722         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
40723         __if_nametoindex and define as weak alias of __if_nametoindex.
40724         Use libc_hidden_weak.
40725         (if_freenameindex): Rename to __if_freenameindex and define as
40726         weak alias of __if_freenameindex.
40727         (if_nameindex): Rename to __if_nameindex and define as weak alias
40728         of __if_nameindex.
40729         (if_indextoname): Rename to __if_indextoname and define as weak
40730         alias of __if_indextoname.  Use libc_hidden_weak.
40731         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
40732         __if_nametoindex and define as weak alias of __if_nametoindex.
40733         Use libc_hidden_weak.
40734         (if_freenameindex): Rename to __if_freenameindex and define as
40735         weak alias of __if_freenameindex.  Use libc_hidden_weak.
40736         (if_nameindex_netlink): Use __if_freenameindex instead of
40737         if_freenameindex.
40738         (if_nameindex): Rename to __if_nameindex and define as weak alias
40739         of __if_nameindex.  Use libc_hidden_weak.
40740         (if_indextoname): Rename to __if_indextoname and define as weak
40741         alias of __if_indextoname.  Use libc_hidden_weak.
40742         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
40743         libc_hidden_proto.
40744         [!_ISOMAC] (__if_freenameindex): Likewise.
40745         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
40746         if_nametoindex.
40747         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
40748         variable.
40749         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
40750         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
40751         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
40752         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
40753         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
40754         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
40755         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
40757         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
40758         Remove variable.
40759         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
40760         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
40762 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40764         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
40765         subscript above bounds'
40767         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
40768         bounds.
40770 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
40772         * libio/tst-fopenloc.c: Use test-skeleton.c.
40774         * stdlib/tst-bsearch.c: Use test-skeleton.c.
40775         (entry): Rename to ITEM.
40776         (do_test, comp): Adjust.
40778         * stdio-common/tst-fseek.c: Use test-skeleton.c.
40780 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40782         * string/tester.c: Include <libc-internal.h>.
40783         (test_memset): Ignore -Wmemset-transposed-args.
40785 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40787         * misc/tst-mntent2.c (do_test): Fix warning.
40789 2014-12-16  Torvald Riegel  <triegel@redhat.com>
40791         * elf/tst-unique4lib.cc(a): Mark as used.
40793 2014-12-16  Florian Weimer  <fweimer@redhat.com>
40795         [BZ #17630]
40796         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
40797         names.
40799 2014-12-16  Allan McRae  <allan@archlinux.org>
40801         * stdio-common/Makefile (tests): Re-add bug26.
40803 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
40805         [BZ #17657]
40806         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
40807         static array.
40809 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
40811         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
40812         (__lll_lock_wait): Likewise.
40813         (__lll_timedlock_wait): Likewise.
40814         (__lll_timedwait_tid): Likewise.
40815         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
40816         (__lll_robust_timedlock_wait): Likewise.
40817         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
40818         (lll_cond_trylock): Likewise.
40819         (__lll_lock): Likewise.
40820         (__lll_robust_lock): Likewise.
40821         (__lll_cond_lock): Likewise.
40822         (lll_robust_cond_lock): Likewise.
40823         (__lll_timedlock): Likewise.
40824         (__lll_robust_timedlock): Likewise.
40825         (__lll_unlock): Likewise.
40826         (__lll_robust_unlock): Likewise.
40827         (lll_wait_tid): Likewise.
40828         (lll_timedwait_tid): Likewise.
40830 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40832         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
40834 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40836         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
40838 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
40840         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
40841         * stdio-common/tst-sprintf.c: Likewise.
40843 2014-12-15  Torvald Riegel  <triegel@redhat.com>
40845         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
40847 2014-12-15  Jeff Law  <law@redhat.com>
40849         [BZ #16617]
40850         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
40851         on the heap.  (CVE-2012-3406)
40852         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
40853         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
40854         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
40856 2014-12-15  Will Newton  <will.newton@linaro.org>
40858         * manual/install.texi: Bump required version of texinfo
40859         to 4.7 from 4.5.
40860         * INSTALL: Regenerated.
40861         * configure.ac: Check for makeinfo version 4.7 and above.
40862         * configure: Regenerated.
40864 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40866         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
40867         PREFIX, string constant to insert between directory and name.
40868         * sysdeps/posix/shm_open.c: Update caller.
40869         * sysdeps/posix/shm_unlink.c: Likewise.
40870         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
40871         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
40872         (SEM_SHM_PREFIX): New macro.
40873         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
40874         [$(have-thread-library) = no].
40875         * nptl/Makefile (libpthread-routines): Add shm-directory.
40876         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
40877         * sysdeps/nptl/shm-directory.h: New file.
40878         * sysdeps/posix/shm-directory.c
40879         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
40880         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
40881         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
40882         INTERNAL_SYSCALL.
40883         (__where_is_shmfs): Function removed.
40884         (mountpoint, defaultmount, defaultdir, __namedsem_once):
40885         Variables removed.
40886         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
40887         Use SHM_GET_NAME.
40888         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
40890         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
40891         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
40892         unconditional for use inside libpthread.
40893         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
40895 2014-12-12  Roland McGrath  <roland@hack.frob.com>
40897         * nptl/pthread_getaffinity.c: New file.
40898         * nptl/pthread_setaffinity.c: New file.
40899         * nptl/pthread_getname.c: New file.
40900         * nptl/pthread_setname.c: New file.
40902         * nptl/pthread_create.c (START_THREAD_DEFN)
40903         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
40905 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40906             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40908         * resolv/res_send.c (send_vc): Disable warning resplen may
40909         be used uninitialized.
40911 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40913         * nptl/tst-mutex6.c
40914         (ATTR_NULL): New define checks ATTR against NULL.
40915         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
40916         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
40918 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
40920         [BZ #17581]
40921         * malloc/hooks.c
40922         (mem2mem_check): Revert my previous change.
40923         (malloc_check_get_size): Revert my previous change.
40924         (mem2chunk_check): Revert my previous change.
40926 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40928         * sysdeps/posix/shm-directory.c: New file.
40929         * sysdeps/posix/shm-directory.h: New file.
40930         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
40931         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
40932         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
40933         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
40934         Transmute EPERM to EACCES.
40935         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
40936         from ...
40937         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
40938         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
40940 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40942         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
40943         pointer and cast to uintptr_t.
40944         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
40945         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
40946         Add cast to avoid warning.
40947         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
40949 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40951         * nptl/semaphore.h: Move to ...
40952         * sysdeps/pthread/semaphore.h: ... here.
40953         * Makefile (installed-headers): Change nptl/semaphore.h to
40954         sysdeps/pthread/semaphore.h.
40956 2014-12-11  Roland McGrath  <roland@hack.frob.com>
40958         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
40959         generated error format strings.
40961         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
40962         -Wformat-extra-args warnings for scanf formats.
40963         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
40964         test of zero-length format (duh).
40965         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
40966         corner-case scanf format test.
40967         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
40968         generated fprintf format string.
40969         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
40970         corner-case sprintf format tests.
40971         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
40972         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
40973         -Wformat-extra-args warnings throughout.
40974         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
40975         (CFLAGS-scanf4.c): Likewise.
40976         (CFLAGS-scanf7.c): Likewise.
40977         (CFLAGS-tst-sprintf.c): Likewise.
40978         (CFLAGS-tst-printf.c): Likewise.
40979         (CFLAGS-tst-printfsz.c): Likewise.
40981 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
40983         * include/cpio.h: New file.
40984         * include/fmtmsg.h: Likewise.
40986         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
40987         corresponding format argument to size_t.
40988         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
40989         arguments.
40990         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
40991         corresponding format argument to size_t.
40992         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
40993         arguments.
40994         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
40995         corresponding format argument to size_t.
40996         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
40997         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
40998         (CFLAGS-tst-mbswcs2.c): Likewise.
40999         (CFLAGS-tst-mbswcs3.c): Likewise.
41000         (CFLAGS-tst-mbswcs4.c): Likewise.
41001         (CFLAGS-tst-mbswcs5.c): Likewise.
41002         (CFLAGS-tst-trans.c): Likewise.
41004 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41006         * posix/regexbug1.c (main): Use "%s" format with regerror results,
41007         rather than assuming they won't contain any '%'s.
41009 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
41011         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41012         inhibit_loop_to_libcall to avoid recursive calls.
41013         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41014         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41016 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41018         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41019         prototype.
41021 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41023         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41024         integer value instead of boolean.
41026 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41028         * malloc/malloc.c: Fix powerof2 check.
41030 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41032         * locale/programs/locfile.h (maybe_swap_uint32):
41033         Remove inline and add unused attribute.
41035 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41037         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41038         Truncating assembler expression to a .long expression.
41040 2014-12-11  Andreas Schwab  <schwab@suse.de>
41042         * elf/rtld.c (struct map_args): Constify str member.
41043         (do_preload): Constify fname argument.
41045 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41047         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41048         constants definition.
41050 2014-12-11  Andreas Schwab  <schwab@suse.de>
41052         [BZ #16657]
41053         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41054         FORCE_ELISION instead of DO_ELISION.
41055         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41056         Remove.
41057         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41058         Likewise.
41060         * iconvdata/gconv-modules: Remove duplicate entry.
41062 2014-12-11  Will Newton  <will.newton@linaro.org>
41064         Merge gettext 0.19.3 into intl/.
41066         This involves a number of cosmetic changes to comments
41067         and ANSI function definitions and prototypes throughout
41068         all the files. The gettext copyright header is used but
41069         with the date ranges taken from the glibc copy.
41071         * NEWS: Add gettext merge to 2.21.
41072         * intl/bindtextdom.c: Switch to gettext copyright.
41073         Use ANSI definitions and prototypes.
41074         Use gl_* locking primitives rather than __libc_* ones.
41075         Use __builtin_expect rather than __glibc_likely/unlikely.
41076         * intl/dcgettext.c: Switch to gettext copyright.
41077         Use ANSI definitions and prototypes.
41078         * intl/dcigettext.c: Switch to gettext copyright.
41079         Use ANSI definitions and prototypes.
41080         (INTDIV0_RAISES_SIGFPE): New define.
41081         Use gl_* locking primitives rather than __libc_* ones.
41082         Include eval-plural.h instead of plural-eval.c.
41083         Use __builtin_expect rather than __glibc_likely/unlikely.
41084         * intl/dcngettext.c: Switch to gettext copyright.
41085         Use ANSI definitions and prototypes.
41086         * intl/dgettext.c: Likewise.
41087         * intl/dngettext.c: Likewise.
41088         * intl/plural-eval.c: Renamed to...
41089         * intl/eval-plural.h: ...this.
41090         * intl/explodename.c: Switch to gettext copyright.
41091         Use ANSI definitions and prototypes.
41092         (_nl_explode_name): Use strchr instead of __rawmemchr.
41093         * intl/finddomain.c: Switch to gettext copyright.
41094         Use ANSI definitions and prototypes.
41095         Use gl_* locking primitives rather than __libc_* ones.
41096         (_nl_find_domain): Use malloc rather than alloca for
41097         allocation of temporary locale name.
41098         * intl/gettext.c: Switch to gettext copyright.
41099         Use ANSI definitions and prototypes.
41100         * intl/gettextP.h: Switch to gettext copyright.
41101         Use ANSI definitions and prototypes.
41102         Use gl_* locking primitives rather than __libc_* ones.
41103         * intl/gmo.h: Switch to gettext copyright.
41104         (struct sysdep_string): Move struct segment_pair outside of
41105         struct definition.
41106         * intl/hash-string.c: Use ANSI definitions and prototypes.
41107         * intl/hash-string.h: Switch to gettext copyright.
41108         Use ANSI definitions and prototypes.
41109         * intl/l10nflist.c: Switch to gettext copyright.
41110         Use ANSI definitions and prototypes.
41111         (_nl_normalize_codeset): Avoid integer overflow.
41112         * intl/loadinfo.h: Switch to gettext copyright.
41113         Use ANSI definitions and prototypes.
41114         (LIBINTL_DLL_EXPORTED): New define.
41115         (PATH_SEPARATOR): New define.
41116         * intl/loadmsgcat.c: Switch to gettext copyright.
41117         * intl/localealias.c: Switch to gettext copyright.
41118         Use ANSI definitions and prototypes.
41119         (_nl_expand_alias): Use PATH_SEPARATOR.
41120         * intl/ngettext.c: Switch to gettext copyright.
41121         Use ANSI definitions and prototypes.
41122         * intl/plural-exp.c: Likewise.
41123         * intl/plural-exp.h: Switch to gettext copyright.
41124         Use ANSI definitions and prototypes.
41125         (struct expression): Move definition of enum operator outside
41126         of struct definition.
41127         * intl/plural.c: Regenerate.
41128         * intl/plural.y: Switch to gettext copyright.
41129         Use ANSI definitions and prototypes.
41130         Port to bison 3.0.
41131         * intl/textdomain.c: Switch to gettext copyright.
41132         Use ANSI definitions and prototypes.
41133         Use gl_* locking primitives rather than __libc_* ones.
41135 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
41137         * debug/warning-nop.c: Add used atrribute.
41139 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41141         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
41143         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
41144         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
41145         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
41147 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41148             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41150         [BZ #17634]
41151         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
41152         Undefine after defining function.  Define as weak alias of
41153         __wcschr.  Use libc_hidden_weak.
41154         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
41155         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
41156         (libc_hidden_def): Also define __GI___wcschr alias.
41157         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
41158         __wcschr and define as weak alias of __wcschr.
41159         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
41160         __wcschr.
41161         [!WCSCHR] (DEFAULT_WCSCHR): Define.
41162         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
41163         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
41164         libc_hidden_weak.  Do not use libc_hidden_def.
41165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
41166         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
41167         __GI___wcschr alias.
41168         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
41169         [IS_IN (libc)] (wcschr): Define as macro expanding to
41170         __redirect_wcschr.
41171         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
41172         [IS_IN (libc)] (__wcschr_power6): Likewise.
41173         [IS_IN (libc)] (__wcschr_power7): Likewise.
41174         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
41175         instead of wcschr.
41176         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
41177         __libc_wcschr.
41178         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
41179         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
41180         __wcschr and define as weak alias of __wcschr.  Use
41181         libc_hidden_builtin_def.
41182         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
41183         as weak alias of __wcschr.  Use libc_hidden_weak.
41184         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
41185         wcschr.
41186         * time/era.c (_nl_init_era_entries): Likewise.
41187         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
41188         variable.
41189         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41190         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41192 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41194         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
41195         format for long int variable.
41197 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
41199         [BZ #10672]
41200         * manual/search.texi: (Array Sort Function): Remove claim how to make
41201         qsort stable.
41203 2014-12-10  Andreas Schwab  <schwab@suse.de>
41205         [BZ #12847]
41206         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
41207         user-controlled locks.
41209 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
41211         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
41212         register.
41214 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
41216         * configure.ac (--disable-werror): New configure option.
41217         (enable_werror): New AC_SUBST.
41218         * configure: Regenerated.
41219         * config.make.in (enable-werror): New variable.
41220         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
41221         -Wno-error=undef.
41222         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
41223         * manual/install.texi (Configuring and compiling): Document
41224         --disable-werror.
41225         * INSTALL: Regenerated.
41226         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
41227         (CFLAGS-tst-chk2.c): Likewise.
41228         (CFLAGS-tst-chk3.c): Likewise.
41229         (CFLAGS-tst-chk4.cc): Likewise.
41230         (CFLAGS-tst-chk5.cc): Likewise.
41231         (CFLAGS-tst-chk6.cc): Likewise.
41232         (CFLAGS-tst-lfschk1.c): Likewise.
41233         (CFLAGS-tst-lfschk2.c): Likewise.
41234         (CFLAGS-tst-lfschk3.c): Likewise.
41235         (CFLAGS-tst-lfschk4.cc): Likewise.
41236         (CFLAGS-tst-lfschk5.cc): Likewise.
41237         (CFLAGS-tst-lfschk6.cc): Likewise.
41239         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
41240         (main): Disable -Wdeprecated-declarations around calls to
41241         register_printf_function.
41243         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
41244         (do_test): Disable -Wdiv-by-zero around some calls to
41245         fwrite_unlocked and fread_unlocked.
41247         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
41248         (DIAG_POP_NEEDS_COMMENT): Likewise.
41249         (_DIAG_STR1): Likewise.
41250         (_DIAG_STR): Likewise.
41251         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
41252         * stdio-common/bug21.c: Include <libc-internal.h>.
41253         (do_test): Disable -Wformat around call to sscanf.
41254         * stdio-common/scanf14.c: Include <libc-internal.h>.
41255         (main): Disable -Wformat around some calls to scanf functions.
41257 2014-12-09  Torvald Riegel  <triegel@redhat.com>
41259         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
41261 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41263         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
41264         stack variable alignment.
41266 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
41268         [BZ #17682]
41269         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
41270         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
41271         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
41272         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
41273         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
41274         __getrlimit instead of getrlimit.
41275         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
41276         __gettimeofday instead of gettimeofday.
41277         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
41278         Likewise.
41279         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
41280         Likewise.
41281         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
41282         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
41283         Remove variable.
41284         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41285         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41287 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41289         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
41290         for wide-character tests.
41292 2014-12-04  Roland McGrath  <roland@hack.frob.com>
41294         * io/openat64.c: #include <libc-internal.h>
41295         (__openat64): Prototypify.  Use ignore_value on MODE.
41296         * io/openat.c: Likewise.
41297         * misc/reboot.c: #include <libc-internal.h>
41298         (reboot): Prototypify.  Use ignore_value on HOWTO.
41299         * misc/ptrace.c: #include <libc-internal.h>
41300         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
41302 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
41304         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
41305         XPG4, UNIX98 and XOPEN2K.
41306         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
41307         Remove variable.
41308         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41310 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41312         * libio/fileops.c: Use ISO C style for function definitions.
41313         * libio/iofopen.c: Likewise.
41314         * libio/wfileops.c: Likewise.
41316         [BZ #17653]
41317         * libio/fileops.c (_IO_new_file_underflow): Unset cached
41318         offset on EOF.
41319         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
41320         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
41321         (fgets_func): Function pointer to fgets and fgetws.
41322         (do_ftell_test): Add test to verify ftell value after read
41323         EOF.
41324         (do_test): Set fgets_func.
41326         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
41327         O_TRUNC flag for w and w+ modes.
41328         (do_rewind_test): Likewise.
41329         (do_ftell_test): Likewise.
41330         (do_write_test): Likewise.
41332         [BZ #17647]
41333         * libio/fileops.c (do_ftell): Seek only when there are
41334         unflushed writes.
41335         * libio/wfileops.c (do_ftell_wide): Likewise.
41336         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
41337         test case.
41338         (do_one_test): Call it.
41340 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
41342         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
41343         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
41344         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
41345         Remove variable.
41346         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41347         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41348         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41350 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41352         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
41353         Remove variable.
41354         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41356         [BZ #17668]
41357         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
41358         as weak alias of __getifaddrs.  Use libc_hidden_weak.
41359         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41360         __freeifaddrs.  Use libc_hidden_weak.
41361         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
41362         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
41363         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41364         __freeifaddrs.  Use libc_hidden_weak.
41365         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
41366         __getifaddrs and define as weak alias of __getifaddrs.  Use
41367         libc_hidden_weak.
41368         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
41369         __freeifaddrs.  Use libc_hidden_weak.
41370         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
41371         Remove variable.
41372         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41373         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41375 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
41377         [BZ #17601]
41378         * sysdeps/mips/start.S (__start): Use indirect jump to call
41379         __libc_start_main.
41381 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
41383         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
41385         * nptl/tst-mutex1.c: Include <stdbool.h>.
41386         [!ATTR] (ATTR_NULL): New macro.
41387         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
41388         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
41389         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
41391         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
41392         to char *.
41394         [BZ #17665]
41395         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
41396         Change conditional to [__USE_MISC].
41398         [BZ #17664]
41399         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
41400         fgets_unlocked.
41401         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
41402         __fgets_unlocked.
41403         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
41404         fgets_unlocked.
41405         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
41406         Remove variable.
41407         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41408         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41409         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41410         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41411         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41412         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41413         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41414         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41415         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41417         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
41419 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41421         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41422         Remove strpbrk objects.
41423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41424         (__libc_ifunc_impl_list): Remove strpbrk implementation.
41425         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
41426         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
41427         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
41428         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
41430         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41431         Remove strcspn objects.
41432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41433         (__libc_ifunc_impl_list): Remove strcspn implementation.
41434         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
41435         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
41436         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
41437         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
41439         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41440         Remove strspn objetcs.
41441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41442         (__libc_ifunc_impl_list): Remove strspn implementation.
41443         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
41444         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41445         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
41446         * sysdeps/powerpc/powerpc64/strspn.S: New file.
41448 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
41450         [BZ #17581]
41451         * malloc/hooks.c
41452         (mem2mem_check): Add a terminator to the chain of checking blocks.
41453         (malloc_check_get_size): Use it here.
41454         (mem2chunk_check): Ditto.
41456 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41458         * sysdeps/powerpc/powerpc64/strtok.S: New file.
41459         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
41461 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
41463         * bits/ioctl-types.h: Indent preprocessor directives correctly.
41465         * nptl/nptl-init.c: Include libc-internal.h.
41466         (__pthread_initialize_minimal_internal): Use ROUND_UP.
41468         * elf/ldconfig.c (search_dir): Expand comment.
41470 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
41472         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
41473         variable.
41474         (linknamespace-symlist-stdlibs-tests): Likewise.
41475         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
41476         instead of $(objpfx)symlist-stdlibs.
41477         (linknamespace-libs-isoc): New variable.
41478         (linknamespace-libs): Use $(linknamespace-libs-isoc).
41479         (linknamespace-libs-ISO): New variable.
41480         (linknamespace-libs-ISO99): Likewise.
41481         (linknamespace-libs-ISO11): Likewise.
41482         (linknamespace-libs-XPG3): Likewise.
41483         (linknamespace-libs-XPG4): Likewise.
41484         (linknamespace-libs-POSIX): Likewise.
41485         (linknamespace-libs-UNIX98): Likewise.
41486         (linknamespace-libs-XOPEN2K): Likewise.
41487         (linknamespace-libs-POSIX2008): Likewise.
41488         (linknamespace-libs-XOPEN2K8): Likewise.
41489         ($(objpfx)symlist-stdlibs): Replace by
41490         $(linknamespace-symlist-stdlibs-tests).  Use
41491         $(linknamespace-libs-$*) as set of libraries.
41492         ($(linknamespace-header-tests)): Update dependencies.  Use
41493         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
41494         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
41495         * conform/linknamespace.pl: Remove comment about considering
41496         definitions of symbols from irrelevant libraries.
41498 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
41500         [BZ #13862]
41501         * elf/dl-tls.c: Include <atomic.h>.
41502         (oom): Remove #ifdef SHARED/#endif.
41503         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
41504         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
41505         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
41506         big enough.
41507         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
41508         * nptl/Makefile (tests): Add tst-stack4.
41509         (modules-names): Add tst-stack4mod.
41510         ($(objpfx)tst-stack4): New.
41511         (tst-stack4mod.sos): Likewise.
41512         ($(objpfx)tst-stack4.out): Likewise.
41513         ($(tst-stack4mod.sos)): Likewise.
41514         (clean): Likewise.
41515         * nptl/tst-stack4.c: New file.
41516         * nptl/tst-stack4mod.c: Likewise.
41518 2014-11-27  J. Brown  <jb999@gmx.de>
41520         * sysdeps/x86/bits/string.h: Add recent CPUs.
41522 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41524         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
41525         sigblock.
41527         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
41528         feof.
41530         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
41531         variable.
41533 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
41535         * nscd/connections.c: Include libc-internal.h because of macro
41536         usage ignore_value.
41538 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41540         * string/bits/string3.h (__warn_memset_zero_len): Don't
41541         declare for gcc newer than 5.0.
41542         (memset): Don't test for zero-length __LEN for gcc newer than
41543         5.0.
41545 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
41547         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
41548         size_t for %zu format.
41550         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
41551         difference, not %ju.
41553 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41555         * include/libc-internal.h (ignore_value): New macro.
41556         * nscd/connections.c (restart): Wrap calls to setuid and setgid
41557         with ignore_value.
41559         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
41560         definition.
41562         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
41563         pthread_cleanup_push to void *.
41565         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
41566         Undefine.
41568         [BZ #16619]
41569         [BZ #16740]
41570         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
41571         instead of 1L << 52.
41573         * libio/bug-rewind.c (do_test): Check fwscanf return values.
41574         * libio/bug-rewind2.c (do_test): Likewise.
41576         * debug/test-stpcpy_chk-ifunc.c: Remove file.
41577         * debug/test-strcpy_chk-ifunc.c: Likewise.
41578         * wcsmbs/test-wcschr-ifunc.c: Likewise.
41579         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41580         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41581         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41582         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41583         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41584         * Rules [$(multi-arch) = no] (tests): Do not filter out
41585         $(tests-ifunc).
41586         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
41587         * debug/Makefile (tests-ifunc): Remove variable.
41588         (tests): Do not add $(tests-ifunc).
41589         * wcsmbs/Makefile (tests-ifunc): Remove variable.
41590         (tests): Do not add $(tests-ifunc).
41591         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
41592         [TEST_IFUNC]: Remove conditionals.
41593         * string/test-string.h (TEST_IFUNC): Remove macro.
41594         [TEST_IFUNC]: Remove conditionals.
41596         * string/test-strchr.c [!WIDE] (L): New macro.
41597         [WIDE] (L): Likewise.
41598         (check1): Use CHAR instead of char.  Use L on string and character
41599         constants.
41601 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
41603         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
41604         tests.
41605         * sysdeps/powerpc/bits/atomic.h
41606         (__arch_atomic_exchange_and_add_32_acq): Add definition.
41607         (__arch_atomic_exchange_and_add_32_rel): Likewise.
41608         (atomic_exchange_and_add_acq): Likewise.
41609         (atomic_exchange_and_add_rel): Likewise.
41610         * sysdeps/powerpc/powerpc32/bits/atomic.h
41611         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41612         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41613         * sysdeps/powerpc/powerpc64/bits/atomic.h
41614         (__arch_atomic_exchange_and_add_64_acq): Add definition.
41615         (__arch_atomic_exchange_and_add_64_rel): Likewise.
41617 2014-11-26  Torvald Riegel  <triegel@redhat.com>
41619         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
41620         Change synchronization of __sched_fifo_min_prio and
41621         __sched_fifo_max_prio.
41622         * nptl/pthread_mutexattr_getprioceiling.c
41623         (pthread_mutexattr_getprioceiling): Likewise.
41624         * nptl/pthread_mutexattr_setprioceiling.c
41625         (pthread_mutexattr_setprioceiling): Likewise.
41626         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
41627         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
41628         Likewise.
41630 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
41632         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
41633         void.
41635 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41637         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
41638         third argument const.
41640 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
41642         fnmatch: work around GCC compiler warning bug with uninit var
41643         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
41644         This works around a bug with x86-64 GCC 4.9.2 and earlier
41645         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
41646         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
41647         used uninitialized in this function [-Wmaybe-uninitialized]".
41649 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
41651         * posix/bug-regex31.c (main): Return RES not 0.
41653 2014-11-25  Anton Blanchard <anton@samba.org>
41655         * sysdeps/powerpc/bits/atomic.h
41656         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
41658 2014-11-24  Sterling Augustine  <saugustine@google.com>
41660         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
41662 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
41664         [BZ #17608]
41665         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
41667 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
41669         [BZ #17633]
41670         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
41671         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
41672         variable.
41673         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41674         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41676 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41678         * string/strncpy.c (strncpy): Improve performance by using memset.
41680 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
41682         * string/strcpy.c (strcpy):
41683         Improve performance by using strlen and memcpy.
41685 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
41687         * string/strcoll_l.c (get_next_seq): __always_inline.
41688         * string/strcoll_l.c (do_compare): __always_inline.
41690 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41692         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
41693         defined.
41694         * include/mqueue.h: Likewise.
41695         * include/stdlib.h: Likewise.
41697         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
41698         (get_null_defines): Adjust.
41699         * sunrpc/Makefile: Adjust comment.
41700         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
41701         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
41702         (CFLAGS-interp.c): Likewise.
41703         (CFLAGS-ldconfig.c): Likewise.
41704         (CPPFLAGS-.os): Likewise.
41705         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41706         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
41707         * extra-modules.mk (extra-modules.mk): Likewise.
41708         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
41709         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
41710         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
41711         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
41712         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
41713         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
41714         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
41715         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
41716         * iconvdata/Makefile (CPPFLAGS): Likewise.
41717         (cpp-srcs-left): Add libof for all iconvdata routines.
41718         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
41719         * include/assert.h: Likewise.
41720         * include/ctype.h: Likewise.
41721         * include/errno.h: Likewise.
41722         * include/libc-symbols.h: Likewise.
41723         * include/math.h: Likewise.
41724         * include/netdb.h: Likewise.
41725         * include/resolv.h: Likewise.
41726         * include/stdio.h: Likewise.
41727         * include/stdlib.h: Likewise.
41728         * include/string.h: Likewise.
41729         * include/sys/stat.h: Likewise.
41730         * include/wctype.h: Likewise.
41731         * intl/l10nflist.c: Likewise.
41732         * libidn/idn-stub.c: Likewise.
41733         * libio/libioP.h: Likewise.
41734         * nptl/libc_multiple_threads.c: Likewise.
41735         * nptl/pthreadP.h: Likewise.
41736         * posix/regex_internal.h: Likewise.
41737         * resolv/res_hconf.c: Likewise.
41738         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
41739         * sysdeps/arm/memmove.S: Likewise.
41740         * sysdeps/arm/sysdep.h: Likewise.
41741         * sysdeps/generic/_itoa.h: Likewise.
41742         * sysdeps/generic/symbol-hacks.h: Likewise.
41743         * sysdeps/gnu/errlist.awk: Likewise.
41744         * sysdeps/gnu/errlist.c: Likewise.
41745         * sysdeps/i386/i586/memcpy.S: Likewise.
41746         * sysdeps/i386/i586/memset.S: Likewise.
41747         * sysdeps/i386/i686/memcpy.S: Likewise.
41748         * sysdeps/i386/i686/memmove.S: Likewise.
41749         * sysdeps/i386/i686/mempcpy.S: Likewise.
41750         * sysdeps/i386/i686/memset.S: Likewise.
41751         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
41752         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41753         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
41754         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
41755         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41756         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41757         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
41758         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41759         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
41760         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41761         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41762         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41763         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41764         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41765         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41766         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41767         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
41768         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
41769         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
41770         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41771         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41772         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41773         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41774         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41775         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41776         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41777         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
41778         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41779         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
41780         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41781         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41782         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41784         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41785         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41786         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41787         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41788         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41789         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41790         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41791         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41792         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41793         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41794         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41795         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41796         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41797         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
41798         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
41799         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41800         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41801         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41802         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
41803         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
41804         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41805         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41806         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
41807         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41808         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
41809         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
41810         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41811         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41812         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41813         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
41814         * sysdeps/nptl/bits/libc-lock.h: Likewise.
41815         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
41816         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
41817         * sysdeps/posix/closedir.c: Likewise.
41818         * sysdeps/posix/opendir.c: Likewise.
41819         * sysdeps/posix/readdir.c: Likewise.
41820         * sysdeps/posix/rewinddir.c: Likewise.
41821         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
41822         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
41823         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41824         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41825         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41826         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
41827         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
41828         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
41829         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
41830         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
41831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
41832         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
41833         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
41834         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
41835         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
41836         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
41837         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
41838         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
41839         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
41840         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
41841         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
41842         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
41843         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
41844         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
41845         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
41846         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
41847         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
41848         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
41849         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
41850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
41851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
41852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
41853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
41854         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
41855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
41856         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
41857         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41858         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41859         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
41860         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
41861         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
41862         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
41863         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
41864         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
41865         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
41866         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
41867         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
41868         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
41869         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
41870         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
41871         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
41872         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
41873         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
41874         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
41875         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
41876         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
41877         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
41878         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
41879         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
41880         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
41881         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
41882         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
41883         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
41884         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
41885         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
41886         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
41887         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
41888         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
41889         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
41890         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
41891         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
41892         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
41893         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
41894         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
41895         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
41896         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
41897         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
41898         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
41899         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
41900         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
41901         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
41902         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41903         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
41904         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
41905         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41906         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
41907         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
41908         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41909         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41910         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41911         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
41912         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
41913         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
41914         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41915         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41916         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
41917         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41919         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
41920         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
41921         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41922         * sysdeps/unix/alpha/sysdep.S: Likewise.
41923         * sysdeps/unix/alpha/sysdep.h: Likewise.
41924         * sysdeps/unix/make-syscalls.sh: Likewise.
41925         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
41926         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41927         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
41928         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
41929         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
41930         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
41931         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
41932         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41933         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
41934         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
41935         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41936         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
41937         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41938         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
41939         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
41940         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41941         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41942         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
41943         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
41944         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
41945         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
41946         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41947         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
41948         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
41949         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
41950         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
41951         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
41953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
41954         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
41955         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
41957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41958         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41959         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41960         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
41961         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41962         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41963         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41964         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41965         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41966         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
41967         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41968         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
41969         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
41971         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41972         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41973         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
41974         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41975         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41976         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
41977         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41978         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
41979         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
41980         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41981         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
41982         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41983         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
41984         * sysdeps/x86_64/memcpy.S: Likewise.
41985         * sysdeps/x86_64/memmove.c: Likewise.
41986         * sysdeps/x86_64/memset.S: Likewise.
41987         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
41988         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41989         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41990         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
41991         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
41992         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41993         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41994         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41995         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41996         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41997         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41998         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41999         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
42000         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42001         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42002         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
42003         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42004         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42005         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42006         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42007         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
42008         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42009         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42010         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42011         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42012         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42013         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42014         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42015         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42016         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42017         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42018         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42019         * sysdeps/x86_64/strcmp.S: Likewise.
42021         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42023         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42024         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42025         * elf/rtld-Rules: Likewise.
42026         * elf/setup-vdso.h: Likewise.
42027         * include/assert.h: Likewise.
42028         * include/bits/stdlib-float.h: Likewise.
42029         * include/errno.h: Likewise.
42030         * include/sys/stat.h: Likewise.
42031         * include/unistd.h: Likewise.
42032         * sysdeps/aarch64/setjmp.S: Likewise.
42033         * sysdeps/alpha/setjmp.S: Likewise.
42034         * sysdeps/arm/__longjmp.S: Likewise.
42035         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42036         * sysdeps/arm/setjmp.S: Likewise.
42037         * sysdeps/arm/sysdep.h: Likewise.
42038         * sysdeps/generic/_itoa.h: Likewise.
42039         * sysdeps/generic/dl-sysdep.h: Likewise.
42040         * sysdeps/generic/ldsodefs.h: Likewise.
42041         * sysdeps/i386/dl-tls.h: Likewise.
42042         * sysdeps/i386/setjmp.S: Likewise.
42043         * sysdeps/m68k/setjmp.c: Likewise.
42044         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42045         * sysdeps/mach/hurd/opendir.c: Likewise.
42046         * sysdeps/posix/getcwd.c: Likewise.
42047         * sysdeps/posix/opendir.c: Likewise.
42048         * sysdeps/posix/profil.c: Likewise.
42049         * sysdeps/powerpc/dl-procinfo.h: Likewise.
42050         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42051         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42052         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42053         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42054         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42055         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42056         * sysdeps/s390/dl-tls.h: Likewise.
42057         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42058         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42059         * sysdeps/sh/sh3/setjmp.S: Likewise.
42060         * sysdeps/sh/sh4/setjmp.S: Likewise.
42061         * sysdeps/unix/alpha/sysdep.h: Likewise.
42062         * sysdeps/unix/arm/sysdep.S: Likewise.
42063         * sysdeps/unix/i386/sysdep.S: Likewise.
42064         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42065         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42066         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42067         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42068         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42069         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42070         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
42071         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42072         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42073         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42074         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
42075         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42076         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42079         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42080         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42081         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42082         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42083         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42084         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42085         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42087         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42088         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42089         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42090         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42091         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42092         * sysdeps/x86_64/setjmp.S: Likewise.
42094         * include/math.h: Use IS_IN instead of IS_IN_libm.
42095         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
42096         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42097         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42098         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
42099         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42100         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42101         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42102         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42103         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42104         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42105         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
42106         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
42107         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
42108         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
42109         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
42110         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
42111         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
42112         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
42113         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
42114         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
42115         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
42116         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
42117         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
42118         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
42119         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
42120         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
42121         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
42122         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
42123         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
42124         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
42125         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
42126         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42127         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
42129         Likewise.
42130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
42131         Likewise.
42132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
42133         Likewise.
42134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
42135         Likewise.
42136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
42137         Likewise.
42138         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42139         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
42140         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42141         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42142         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42143         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
42145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
42146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
42147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
42148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
42149         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
42150         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
42151         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42152         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42153         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42154         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42155         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42156         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42157         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42158         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
42159         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
42160         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
42161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
42162         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
42163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42164         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
42166         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
42167         * nptl/pthreadP.h: Likewise.
42168         * nptl_db/structs.def: Likewise.
42169         * sysdeps/arm/sysdep.h: Likewise.
42170         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42171         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42172         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
42173         * sysdeps/unix/alpha/sysdep.h: Likewise.
42174         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42176         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42177         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42178         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42179         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42180         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42181         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42182         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42183         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42184         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42185         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42186         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42187         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42190         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42191         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42192         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42193         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42194         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42195         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42196         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42197         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42198         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
42199         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42201         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
42202         * nptl/pthreadP.h: Likewise.
42203         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42204         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42205         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42206         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42207         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42208         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42209         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42210         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42211         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42212         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42213         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42214         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
42216         Likewise.
42217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
42218         Likewise.
42219         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42220         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42221         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42222         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42223         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42224         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42225         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42226         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42228         * dlfcn/dladdr.c: Use IS_IN.
42229         * dlfcn/dladdr1.c: Likewise.
42230         * dlfcn/dlclose.c: Likewise.
42231         * dlfcn/dlerror.c: Likewise.
42232         * dlfcn/dlinfo.c: Likewise.
42233         * dlfcn/dlmopen.c: Likewise.
42234         * dlfcn/dlopen.c: Likewise.
42235         * dlfcn/dlsym.c: Likewise.
42236         * dlfcn/dlvsym.c: Likewise.
42238         * include/ifaddrs.h: Use IS_IN.
42239         * inet/check_pf.c: Likewise.
42240         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42241         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
42243         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
42244         IS_IN_ldconfig.
42245         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
42246         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
42248         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
42249         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
42250         IS_IN (libc).
42252         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
42254         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
42255         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42256         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42257         * include/libc-symbols.h (IS_IN_LIB): New macro.
42258         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
42259         * include/netdb.h: Likewise.
42260         * include/stap-probe.h: Remove all uses of IN_LIB.
42262         * Makeconfig (module-cppflags-real): Define MODULE_NAME
42263         instead of IN_MODULE.
42264         * include/libc-symbols.h (IN_MODULE): Define using
42265         MODULE_NAME.
42266         (PASTE_NAME, PASTE_NAME1): New macros.
42267         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
42268         of IN_LIB.
42269         (STAP_PROBE_ASM): Likewise.
42271 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42273         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
42274         __mach_init in dlopened libc.
42276 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
42278         * sysdeps/arm/preconfigure.ac: Delete EABI check.
42279         * sysdeps/arm/preconfigure: Regenerate.
42281 2014-11-21  Roland McGrath  <roland@hack.frob.com>
42283         * nptl/pthread_create.c (__pthread_create_2_1): Set
42284         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
42285         when copying values from IATTR into PD.
42287 2014-11-21  Will Newton  <will.newton@linaro.org>
42288             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
42290         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
42291         Refactor inline-asm.  Also add comment.
42293         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
42294         ElfW macro instead of hardcoded Elf64 types.
42295         (la_aarch64_gnu_pltenter): Likewise.
42296         * sysdeps/aarch64/dl-machine.h
42297         (elf_machine_runtime_setup): Use ElfW(Addr).
42299         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
42300         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42301         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
42302         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
42303         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
42304         (R_AARCH64_TLS_DTPMOD64): Rename to ..
42305         (R_AARCH64_TLS_DTPMOD): This.
42306         (R_AARCH64_TLS_DTPREL64): Rename to ...
42307         (R_AARCH64_TLS_DTPREL): This.
42308         (R_AARCH64_TLS_TPREL64): Rename to ...
42309         (R_AARCH64_TLS_TPREL): This.
42310         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
42311         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
42312         R_AARCH64_TLS_TPREL64.
42313         (elf_machine_rela): Likewise.
42315 2014-11-21  Torvald Riegel  <triegel@redhat.com>
42317         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
42318         by setting it to 0.  64b atomics are not supported currently.
42320 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42322         [BZ #16469]
42323         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
42324         search domain names.
42326 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42328         [BZ #16469]
42329         * NEWS: Update.
42330         * resolv/res_query.c (__libc_res_nquerydomain): Retain
42331         trailing dot.
42332         * posix/tst-getaddrinfo5.c: New.
42333         * posix/Makefile (tests): Add it.
42335 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42337         [BZ #14498]
42338         * NEWS: Fixed.
42339         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
42340         after parsing line but before break_if_match.
42341         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
42342         if there is a protocol mismatch.
42344 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
42346         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
42347         because the potential race is on the user-supplied stream.
42349 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42351         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
42352         string literal if not passed a buffer.
42353         * manual/job.texi (ctermid): Update reasoning, note deviation
42354         from posix, suggest mtasurace when not passed a buffer, for
42355         future non-preliminary safety notes.
42357 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42359         * manual/users.texi (cuserid): Fix MT-Safety note for the case
42360         of not passing it a buffer.
42361         Reported by Peng Haitao.
42363 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
42365         * manual/Makefile ($(objpfx)stamp-summary): Require
42366         check-safety.sh to pass.
42367         * manual/check-safety.sh: Wish for verification that every
42368         @deftypefn and @deftypefun is followed by a @safety remark.
42370 2014-11-20  Roland McGrath  <roland@hack.frob.com>
42372         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
42374         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
42375         PTHREAD_CANCEL_ASYNCHRONOUS.
42376         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
42377         send SIGCANCEL.
42379         * nptl/default-sched.h: New file.
42380         * sysdeps/unix/sysv/linux/default-sched.h: New file.
42381         * nptl/pthread_create.c: Include it.
42382         (__pthread_create_2_1): Use collect_default_sched instead of making
42383         Linux syscalls here directly.
42385 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42387         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
42388         __pthread_once): Use C11 atomics.
42390 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42392         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
42394 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42396         * include/atomic.h (__atomic_link_error, __atomic_check_size,
42397         atomic_thread_fence_acquire, atomic_thread_fence_release,
42398         atomic_thread_fence_seq_cst, atomic_load_relaxed,
42399         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
42400         atomic_compare_exchange_weak_relaxed,
42401         atomic_compare_exchange_weak_acquire,
42402         atomic_compare_exchange_weak_release,
42403         atomic_exchange_acquire, atomic_exchange_release,
42404         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
42405         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
42406         atomic_fetch_and_acquire,
42407         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
42409 2014-11-20  Torvald Riegel  <triegel@redhat.com>
42411         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
42412         USE_ATOMIC_COMPILER_BUILTINS): Define.
42413         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
42414         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42415         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
42416         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42417         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
42418         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42419         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
42420         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42421         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
42422         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42423         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
42424         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42425         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
42426         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42427         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
42428         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42429         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42430         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42431         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42432         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42433         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
42434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42435         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
42436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42437         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
42438         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42439         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
42440         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42441         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
42442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42443         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
42444         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42445         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
42446         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42447         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
42448         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42449         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
42450         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42451         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
42452         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42454 2014-11-19  Roland McGrath  <roland@hack.frob.com>
42456         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
42457         the sched_priority value here.  It was already checked when the user
42458         called pthread_attr_setschedparam.
42460         * nptl/tst-bad-schedattr.c: New file.
42461         * nptl/Makefile (tests): Add it.
42463 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
42464             Florian Weimer  <fweimer@redhat.com>
42465             Joseph Myers  <joseph@codesourcery.com>
42466             Adam Conrad  <adconrad@0c3.net>
42467             Andreas Schwab  <schwab@suse.de>
42468             Brooks  <bmoses@google.com>
42470         [BZ #17625]
42471         * wordexp-test.c (__dso_handle): Add prototype.
42472         (__register_atfork): Likewise.
42473         (__app_register_atfork): New function.
42474         (registered_forks): New global.
42475         (register_fork): New function.
42476         (test_case): Add 3 new tests for WRDE_CMDSUB.
42477         (main): Call __app_register_atfork.
42478         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
42479         fork count is non-zero fail the test.
42480         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
42481         is set.
42482         (parse_dollars): Remove check for WRDE_NOCMD.
42483         (parse_dquote): Likewise.
42485 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42487         * Makeconfig (built-modules): List non-library modules to be
42488         built.
42489         (module-cppflags): Include libc-modules.h for
42490         everything except shlib-versions.v.i.
42491         (CPPFLAGS): Use it.
42492         (before-compile): Add libc-modules.h.
42493         ($(common-objpfx)libc-modules.h,
42494         $(common-objpfx)libc-modules.stmp): New targets.
42495         (common-generated): Add libc-modules.h and libc-modules.stmp.
42496         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
42497         * include/libc-symbols.h: Don't include libc-modules.h.
42498         * include/libc-modules.h: Remove file.
42499         * scripts/gen-libc-modules.awk: New script to generate
42500         libc-modules.h.
42501         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
42502         Depend on libc-modules.stmp.
42504         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
42506         * Makeconfig (in-module): Get value of libof set for the
42507         translation unit.
42508         (CPPFLAGS): Use $(in-module).
42509         * Makerules: Don't suffix routine names for nonlib.
42510         * include/libc-modules.h: New file.
42511         * include/libc-symbols.h: Include libc-modules.h
42512         (IS_IN): New macro to replace IS_IN_* macros.
42513         * elf/Makefile: Set libof-* for each routine.
42514         * elf/rtld-Rules: Likewise.
42515         * extra-modules.mk: Likewise.
42516         * iconv/Makefile: Likewise.
42517         * iconvdata/Makefile: Likewise.
42518         * locale/Makefile: Likewise.
42519         * malloc/Makefile: Likewise.
42520         * nss/Makefile: Likewise.
42521         * sysdeps/gnu/Makefile: Likewise.
42522         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
42523         * sysdeps/unix/sysv/linux/Makefile: Likewise.
42524         * sysdeps/s390/s390-64/Makefile: Likewise.
42525         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
42526         CPPFLAGS for nscd instead of nonlib.
42528 2014-11-18  Roland McGrath  <roland@hack.frob.com>
42530         * nptl/createthread.c: New file.
42532         * nptl/createthread.c: Moved ...
42533         * sysdeps/unix/sysv/linux/createthread.c: ... here.
42535         * nptl/createthread.c: Add proper top-line comment.
42536         (do_clone): Folded into ...
42537         (create_thread): ... here.  Take new arguments STOPPED_START and
42538         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
42539         increment __nptl_threads, do event-reporting logic, do
42540         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
42541         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
42542         resource cleanup if sched_setaffinity or sched_setscheduler fails,
42543         just send SIGCANCEL.
42544         * nptl/pthread_create.c: Forward-declare create_thread before
42545         including createthread.c.
42546         (start_thread): Use new macro START_THREAD_DEFN to replace defining
42547         declaration, and new macro START_THREAD_SELF to replace argument.
42548         Remove return statement.
42549         (report_thread_creation): New function.
42550         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
42551         synchronization logic, and __nptl_nthreads increment here, around
42552         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
42553         PD->parent_cancelhandling here, before create_thread.  When
42554         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
42555         __deallocate_stack, and ENOMEM translation here.
42557 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
42559         [BZ #17616]
42560         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
42561         (mptwo): Rename to __mptwo.
42562         (__inv): Use __mptwo instead of mptwo.
42563         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
42564         (mptwo): Rename to __mptwo.
42565         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
42566         of mpone and __mptwo instead of mptwo.
42567         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
42568         instead of mpone.
42569         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42570         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
42571         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
42572         of mpone and __mptwo instead of mptwo.
42573         (__mpranred): Use __mpone instead of mpone.
42574         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
42575         variable.
42576         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42577         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42578         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42579         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42580         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42581         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42582         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42583         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42584         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42585         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42586         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42587         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42588         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42589         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42590         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42591         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42592         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42593         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42594         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42596 2014-11-18  Tom de Vries  <tom@codesoucery.com>
42598         * manual/signal.texi (Primitives Interrupted by Signals): In section,
42599         replace BSD Handler xref with BSD Signal Handling.
42601 2014-11-17  Richard Henderson  <rth@redhat.com>
42603         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
42604         (_FP_PACK_RAW_2): Remove.
42605         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
42606         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
42607         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
42608         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
42609         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
42610         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
42611         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
42612         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
42613         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
42614         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
42615         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
42616         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
42617         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
42618         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
42619         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
42620         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
42622 2014-11-14  Roland McGrath  <roland@hack.frob.com>
42624         * signal/signal.h [__USE_MISC]
42625         (struct sigvec): Remove type.
42626         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
42627         (sigvec): Remove declaration.
42628         * sysdeps/posix/sigvec.c: Moved ...
42629         * signal/sigvec.c: ... here, replacing old file.
42630         (struct sigvec): New type, copied from old signal.h definition.
42631         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
42632         (__sigvec): Convert definition to prototype.
42633         (sigvec): Replace weak_alias with compat_symbol.
42634         * signal/Versions (libc: GLIBC_2.21): New version set.
42635         * include/signal.h: Remove __sigvec declaration.
42636         * sysdeps/unix/bsd/sigvec.c: Remove file.
42637         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
42638         * manual/signal.texi (BSD Handler): Remove subsection.
42639         Move siginterrupt up to ...
42640         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
42641         (Blocking in BSD): Fold subsection into its parent.
42642         * NEWS: Mention sigvec removal.
42644 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42646         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
42647         (DLA_FMS): Make definition conditional only on [__FMA4__].
42648         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
42649         definition.
42651         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
42652         Make definition conditional only on [PROF].
42653         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
42654         definition.
42655         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
42656         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
42658         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
42659         !__GNUC__].
42660         * include/signal.h (__sigpause): Move declaration above call to
42661         libc_hidden_proto.
42662         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
42663         variable.
42664         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42665         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42667 2014-11-14  David S. Miller  <davem@davemloft.net>
42669         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
42670         Define before including <string/memcpy.c> and <string/mempcpy.c>.
42672 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
42674         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
42675         * configure: Regenerated.
42676         * manual/install.texi (Tools for Compilation): Document a
42677         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
42678         compiler verified to work.
42679         * INSTALL: Regenerated.
42681         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
42682         redeclare with asm name.
42683         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
42684         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
42685         including <string.h>.
42686         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42687         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
42688         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42689         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
42690         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42691         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
42692         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
42694 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
42696         * stdlib/strtol.c (__strtol): Use prototype definition.
42698         [BZ #17594]
42699         * stdlib/strtol.c (SYM__): New macro.
42700         (SYM__1): Likewise.
42701         (__strtol): Likewise.
42702         (strtol): Rename to __strtol and define as weak alias of
42703         __strtol.  Use libc_hidden_weak.
42705 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42707         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
42708         Use numbered labels in inline assembly.
42710 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42712         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
42713         Add setjmp LIBC_PROBE.
42714         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
42715         Likewise.
42716         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
42717         Add longjmp, longjmp_target LIBC_PROBE.
42718         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
42719         Likewise.
42721 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42723         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42724         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
42725         to get rid of unused variable warning.
42727 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42729         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
42730         Check for unwind_backtrace ==  NULL only in SHARED case.
42731         (__backchain_backtrace): Compile only in SHARED case.
42732         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
42733         Likewise.
42734         (__backchain_backtrace): Declare as static.
42736 2014-11-12  Roland McGrath  <roland@hack.frob.com>
42738         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
42739         (__libc_multiple_threads_ptr): Variable moved ...
42740         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
42742 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
42744         * conform/GlibcConform.pm: New file.
42745         * conform/conformtest.pl: Use GlibcConform module.
42746         * conform/linknamespace.pl: New file.
42747         * conform/list-header-symbols.pl: Likewise.
42748         * conform/Makefile (linknamespace-symlists-base): New variable.
42749         (linknamespace-symlists-tests): Likewise.
42750         (linknamespace-header-base): Likewise.
42751         (linknamespace-header-tests): Likewise.
42752         (tests-special): Add new tests.
42753         ($(linknamespace-symlists-tests)): New rule.
42754         (linknamespace-libs): New variable.
42755         ($(objpfx)symlist-stdlibs): New rule.
42756         ($(linknamespace-header-tests)): Likewise.
42757         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
42758         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
42759         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
42760         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
42761         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
42762         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
42763         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
42764         (test-xfail-ISO/math.h/linknamespace): Likewise.
42765         (test-xfail-ISO/signal.h/linknamespace): Likewise.
42766         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
42767         (test-xfail-ISO/time.h/linknamespace): Likewise.
42768         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
42769         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
42770         (test-xfail-ISO99/math.h/linknamespace): Likewise.
42771         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
42772         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42773         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
42774         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
42775         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
42776         (test-xfail-ISO11/math.h/linknamespace): Likewise.
42777         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
42778         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42779         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
42780         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
42781         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
42782         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
42783         (test-xfail-XPG3/math.h/linknamespace): Likewise.
42784         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
42785         (test-xfail-XPG3/search.h/linknamespace): Likewise.
42786         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
42787         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42788         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
42789         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
42790         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
42791         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
42792         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
42793         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
42794         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
42795         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
42796         (test-xfail-XPG4/math.h/linknamespace): Likewise.
42797         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
42798         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42799         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
42800         (test-xfail-XPG4/search.h/linknamespace): Likewise.
42801         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
42802         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
42803         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
42804         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
42805         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
42806         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42807         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
42808         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
42809         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
42810         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
42811         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
42812         (test-xfail-POSIX/math.h/linknamespace): Likewise.
42813         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
42814         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
42815         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
42816         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42817         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
42818         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42819         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42820         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
42821         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
42822         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42823         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
42824         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
42825         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
42826         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
42827         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42828         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42829         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
42830         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
42831         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
42832         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42833         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42834         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
42835         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42836         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
42837         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
42838         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
42839         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
42840         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42841         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42842         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
42843         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42844         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
42845         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
42846         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
42847         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
42848         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
42849         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
42850         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
42851         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
42852         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
42853         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
42854         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42855         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
42856         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
42857         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
42858         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
42859         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
42860         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42861         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
42862         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
42863         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42864         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
42865         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
42866         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
42867         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42868         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42869         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
42870         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
42871         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
42872         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42873         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
42874         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
42875         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
42876         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
42877         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
42878         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
42879         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
42880         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
42881         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
42882         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
42883         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
42884         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42885         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
42886         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42887         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
42888         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
42889         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
42890         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42891         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42892         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
42893         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42894         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
42895         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42896         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
42897         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
42898         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42899         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
42900         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
42901         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42902         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
42903         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
42904         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42905         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
42906         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42907         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
42908         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
42909         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
42910         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42911         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
42912         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42913         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42914         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
42915         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
42916         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42917         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
42919         [BZ #17589]
42920         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
42921         of fgets_unlocked.
42923         [BZ #17585]
42924         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
42925         (memmem): Rename to __memmem and define as weak alias of
42926         __memmem.  Use libc_hidden_weak.
42927         (__memmem): Use libc_hidden_def.
42928         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
42929         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
42930         memmem.
42932         [BZ #17582]
42933         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
42934         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
42935         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
42936         and define as weak alias of __fgets_unlocked.  Use
42937         libc_hidden_weak.
42938         (__fgets_unlocked): Use libc_hidden_def.
42939         * include/stdio.h (__fgets_unlocked): Declare.  Use
42940         libc_hidden_proto.
42941         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
42942         __fgets_unlocked instead of fgets_unlocked.
42943         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
42944         (GET_NPROCS_CONF_PARSER): Likewise.
42945         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
42946         (GET_NPROCS_CONF_PARSER): Likewise.
42948         [BZ #17574]
42949         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
42950         weak alias of __wmemset.  Use libc_hidden_weak.
42951         (__wmemset): Use libc_hidden_def.
42952         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
42953         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
42954         of wmemset.
42956         [BZ #17573]
42957         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
42958         with asm name __mempcpy.
42959         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
42961         [BZ #17572]
42962         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
42963         and define as weak alias of __rawmemchr.
42964         (__rawmemchr): Do not define as strong alias of rawmemchr.
42966         [BZ #17571]
42967         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
42968         alias of __qsort_r.
42969         (qsort): Call __qsort_r instead of qsort_r.
42970         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
42971         (__qsort_r): Declare.  Call libc_hidden_proto.
42972         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
42973         instead of qsort_r.
42974         * nscd/gai.c (__qsort_r): Define to qsort_r.
42975         * posix/tst-rfc3484.c (__qsort_r): Likewise.
42976         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
42977         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
42979         [BZ #17570]
42980         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
42981         define as weak alias of __malloc_info.
42983         [BZ #17584]
42984         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
42985         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42986         (__rewinddir): Use libc_hidden_def.
42987         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
42988         as weak alias of __rewinddir.  Don't use libc_hidden_def.
42989         (__rewinddir): Use libc_hidden_def.
42990         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
42991         weak alias of __rewinddir.  Don't use libc_hidden_def.
42992         (__rewinddir): Use libc_hidden_def.
42993         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
42994         (__rewinddir): Use libc_hidden_proto.
42995         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
42996         rewinddir.
42997         (__getcwd): Use __rewinddir instead of rewinddir.
42999         [BZ #17583]
43000         * libio/fileno.c (fileno): Rename to __fileno and define as weak
43001         alias of __fileno.  Use libc_hidden_weak.
43002         (__fileno): Use libc_hidden_def.
43003         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
43004         * libio/ftello.c (ftello): Rename to __ftello and define as weak
43005         alias of __ftello.
43006         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
43007         __ftello.
43008         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
43009         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
43010         libc_hidden_def.
43011         (fread_unlocked): Don't use libc_hidden_ver.
43012         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43013         and define as weak alias of __fread_unlocked.  Don't use
43014         libc_hidden_def.
43015         (__fread_unlocked): Use libc_hidden_def.
43016         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
43017         (ftello): Don't use libc_hidden_proto.
43018         (__ftello): Declare.  Use libc_hidden_proto.
43019         (fread_unlocked): Don't use libc_hidden_proto.
43020         (__fread_unlocked): Declare.  Use libc_hidden_proto.
43021         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43022         and __ftello instead of fileno, fread_unlocked and ftello.
43024 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43026         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43027         GOT12.
43028         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43029         Likewise.
43030         (_dl_start_user): Likewise.
43031         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43033 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
43034             Siddhesh Poyarekar  <siddhesh@redhat.com>
43036         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43037         Move argv and envp down instead of moving argc up.
43038         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43040 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
43042         [BZ #17506]
43043         * test-skeleton.c (main): Return successful if one of
43044         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43045         * string/tst-strcoll-overflow.c: Define expected status.
43047 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
43049         [BZ #17475]
43050         * locale/iso-639.def: Define Bhili and Tulu language codes.
43052 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
43054         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43056 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
43058         [BZ #17555]
43059         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43061 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
43063         * configure.ac: Updated check of minimal required version to
43064         2.22.
43065         * manual/install.texi (Tools for Compilation): Updated version
43066         number.
43067         * configure: Regenerated.
43068         * INSTALL: Likewise.
43070 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
43072         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43073         __tls_get_addr.
43075 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
43077         * include/sys/wait.h (__libc_waitpid): Remove declaration.
43078         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
43079         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43080         libc_hidden_weak.
43081         (waitpid): Define as alias of __waitpid.
43082         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
43083         __waitpid.
43084         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43085         libc_hidden_weak.
43086         (waitpid): Define as alias of __waitpid.
43087         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
43088         __libc_waitpid alias.
43089         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
43090         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
43091         Likewise.
43092         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
43093         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
43094         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
43095         alias.
43096         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
43097         __waitpid.
43098         (__waitpid): Don't define as alias.  Use libc_hidden_def not
43099         libc_hidden_weak.
43100         (waitpid): Define as alias of __waitpid.
43102 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
43104         * manual/llio.texi: Add comment that write safety has been
43105         fixed in Linux.
43107         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
43108         (localplt-build-dso): Add elf/ld.so.
43109         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
43110         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
43111         and free for ld.so.
43112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
43113         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
43114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
43115         Likewise.
43116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43117         Likewise.
43118         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
43119         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
43120         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
43121         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
43122         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
43123         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
43124         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
43125         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
43126         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
43127         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
43128         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
43130 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
43132         [BZ #14132]
43133         * include/libc-symbols.h (INTUSE): Remove macro.
43134         (INTDEF): Likewise.
43135         (INTVARDEF): Likewise.
43136         (_INTVARDEF): Likewise.
43137         (INTDEF2): Likewise.
43138         (INTVARDEF2): Likewise.
43139         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
43140         rtld_hidden_def instead of INTVARDEF.
43141         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
43142         (_dl_starting_up_internal): Remove declaration.
43143         (_dl_starting_up): Use rtld_hidden_proto.
43144         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
43145         declaration.
43146         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
43147         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
43148         _dl_starting_up.
43149         * elf/dl-writev.h (_dl_writev): Likewise.
43150         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
43151         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
43152         _dl_starting_up_internal.
43154 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43156         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
43157         test-skeleton.c.
43159 2014-11-05  Will Newton  <will.newton@linaro.org>
43161         * benchtests/Makefile: (bench-malloc): Add malloc thread
43162         scalability benchmark.
43163         * benchtests/bench-malloc-threads.c: New file.
43165 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
43167         * sysdeps/aarch64/strchrnul.S: New file.
43169 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43171         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
43172         definition.
43173         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43174         Likewise.
43175         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43176         Likewise.
43177         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43178         Likewise.
43179         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43180         Likewise.
43181         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43182         Likewise.
43184 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
43186         * catgets/test-gencat.c: Use test-skeleton.c.
43187         * catgets/tst-catgets.c: Likewise.
43188         * csu/tst-empty.c: Likewise.
43189         * elf/tst-audit2.c: Likewise.
43190         * elf/tst-global1.c: Likewise.
43191         * elf/tst-pathopt.c: Likewise.
43192         * elf/tst-piemod1.c: Likewise.
43193         * elf/tst-tls10.c: Likewise.
43194         * elf/tst-tls11.c: Likewise.
43195         * elf/tst-tls12.c: Likewise.
43196         * gnulib/tst-gcc.c: Likewise.
43197         * iconvdata/tst-e2big.c: Likewise.
43198         * iconvdata/tst-loading.c: Likewise.
43199         * iconv/tst-iconv1.c: Likewise.
43200         * iconv/tst-iconv2.c: Likewise.
43201         * inet/test-inet6_opt.c: Likewise.
43202         * inet/tst-gethnm.c: Likewise.
43203         * inet/tst-network.c: Likewise.
43204         * inet/tst-ntoa.c: Likewise.
43205         * intl/tst-codeset.c: Likewise.
43206         * intl/tst-gettext2.c: Likewise.
43207         * intl/tst-gettext3.c: Likewise.
43208         * intl/tst-ngettext.c: Likewise.
43209         * intl/tst-translit.c: Likewise.
43210         * io/test-stat.c: Likewise.
43211         * libio/test-fmemopen.c: Likewise.
43212         * libio/tst-freopen.c: Likewise.
43213         * libio/tst-sscanf.c: Likewise.
43214         * libio/tst-ungetwc1.c: Likewise.
43215         * libio/tst-ungetwc2.c: Likewise.
43216         * libio/tst-widetext.c: Likewise.
43217         * localedata/tst-ctype.c: Likewise.
43218         * localedata/tst-digits.c: Likewise.
43219         * localedata/tst-leaks.c: Likewise.
43220         * localedata/tst-mbswcs1.c: Likewise.
43221         * localedata/tst-mbswcs2.c: Likewise.
43222         * localedata/tst-mbswcs3.c: Likewise.
43223         * localedata/tst-mbswcs4.c: Likewise.
43224         * localedata/tst-mbswcs5.c: Likewise.
43225         * localedata/tst-setlocale.c: Likewise.
43226         * localedata/tst-trans.c: Likewise.
43227         * localedata/tst-wctype.c: Likewise.
43228         * localedata/tst-xlocale1.c: Likewise.
43229         * login/tst-grantpt.c: Likewise.
43230         * malloc/tst-calloc.c: Likewise.
43231         * malloc/tst-malloc.c: Likewise.
43232         * malloc/tst-mallocstate.c: Likewise.
43233         * malloc/tst-mcheck.c: Likewise.
43234         * malloc/tst-mtrace.c: Likewise.
43235         * malloc/tst-obstack.c: Likewise.
43236         * math/atest-exp2.c: Likewise.
43237         * math/atest-exp.c: Likewise.
43238         * math/atest-sincos.c: Likewise.
43239         * math/test-matherr.c: Likewise.
43240         * math/test-misc.c: Likewise.
43241         * math/test-powl.c: Likewise.
43242         * math/tst-definitions.c: Likewise.
43243         * misc/tst-dirname.c: Likewise.
43244         * misc/tst-efgcvt.c: Likewise.
43245         * misc/tst-fdset.c: Likewise.
43246         * misc/tst-hsearch.c: Likewise.
43247         * misc/tst-mntent2.c: Likewise.
43248         * nptl/tst-sem7.c: Likewise.
43249         * nptl/tst-sem8.c: Likewise.
43250         * nptl/tst-sem9.c: Likewise.
43251         * nss/test-netdb.c: Likewise.
43252         * posix/tst-fnmatch.c: Likewise.
43253         * posix/tst-getlogin.c: Likewise.
43254         * posix/tst-gnuglob.c: Likewise.
43255         * posix/tst-mmap.c: Likewise.
43256         * pwd/tst-getpw.c: Likewise.
43257         * resolv/tst-inet_ntop.c: Likewise.
43258         * rt/tst-timer.c: Likewise.
43259         * stdio-common/test-fseek.c: Likewise.
43260         * stdio-common/test-popen.c: Likewise.
43261         * stdio-common/test-vfprintf.c: Likewise.
43262         * stdio-common/tst-cookie.c: Likewise.
43263         * stdio-common/tst-fileno.c: Likewise.
43264         * stdio-common/tst-gets.c: Likewise.
43265         * stdio-common/tst-obprintf.c: Likewise.
43266         * stdio-common/tst-perror.c: Likewise.
43267         * stdio-common/tst-sprintf2.c: Likewise.
43268         * stdio-common/tst-sprintf3.c: Likewise.
43269         * stdio-common/tst-sprintf.c: Likewise.
43270         * stdio-common/tst-swprintf.c: Likewise.
43271         * stdio-common/tst-tmpnam.c: Likewise.
43272         * stdio-common/tst-unbputc.c: Likewise.
43273         * stdio-common/tst-wc-printf.c: Likewise.
43274         * stdlib/tst-environ.c: Likewise.
43275         * stdlib/tst-fmtmsg.c: Likewise.
43276         * stdlib/tst-limits.c: Likewise.
43277         * stdlib/tst-rand48-2.c: Likewise.
43278         * stdlib/tst-rand48.c: Likewise.
43279         * stdlib/tst-random2.c: Likewise.
43280         * stdlib/tst-random.c: Likewise.
43281         * stdlib/tst-strtol.c: Likewise.
43282         * stdlib/tst-strtoll.c: Likewise.
43283         * stdlib/tst-tls-atexit.c: Likewise.
43284         * stdlib/tst-xpg-basename.c: Likewise.
43285         * string/test-ffs.c: Likewise.
43286         * string/tst-bswap.c: Likewise.
43287         * string/tst-inlcall.c: Likewise.
43288         * string/tst-strtok.c: Likewise.
43289         * string/tst-strxfrm.c: Likewise.
43290         * sysdeps/x86_64/tst-audit10.c: Likewise.
43291         * sysdeps/x86_64/tst-audit3.c: Likewise.
43292         * sysdeps/x86_64/tst-audit4.c: Likewise.
43293         * sysdeps/x86_64/tst-audit5.c: Likewise.
43294         * time/tst-ftime_l.c: Likewise.
43295         * time/tst-getdate.c: Likewise.
43296         * time/tst-mktime3.c: Likewise.
43297         * time/tst-mktime.c: Likewise.
43298         * time/tst-posixtz.c: Likewise.
43299         * time/tst-strptime2.c: Likewise.
43300         * time/tst-strptime3.c: Likewise.
43301         * wcsmbs/tst-btowc.c: Likewise.
43302         * wcsmbs/tst-mbrtowc.c: Likewise.
43303         * wcsmbs/tst-mbsrtowcs.c: Likewise.
43304         * wcsmbs/tst-wchar-h.c: Likewise.
43305         * wcsmbs/tst-wcpncpy.c: Likewise.
43306         * wcsmbs/tst-wcrtomb.c: Likewise.
43307         * wcsmbs/tst-wcsnlen.c: Likewise.
43308         * wcsmbs/tst-wcstof.c: Likewise.
43310 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
43312         [BZ #14132]
43313         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
43314         INTDEF.
43315         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
43316         declaration.
43317         (_dl_mcount): Use rtld_hidden_proto.
43318         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
43319         _dl_mcount.
43320         * elf/rtld.c (_rtld_global_ro): Likewise.
43322         [BZ #14132]
43323         * elf/dl-init.c (_dl_init): Don't use INTDEF.
43324         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
43325         of _dl_init_internal.
43326         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
43327         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
43328         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
43329         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
43330         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
43331         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
43332         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
43333         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
43334         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
43335         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
43336         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
43337         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
43338         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43339         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43340         * sysdeps/tile/dl-start.S (_start): Likewise.
43341         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
43342         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
43344         [BZ #14132]
43345         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
43346         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
43347         (rtld_progname): Make macro definition unconditional.
43348         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
43349         INTDEF.
43350         (dlmopen_doit): Do not use INTUSE with _dl_argv.
43351         (dl_main): Likewise.
43352         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43353         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
43354         instead of _dl_argv_internal.
43355         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43356         __GI__dl_argv instead of INTUSE(_dl_argv).
43357         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
43358         __GI__dl_argv instead of _dl_argv_internal.
43360         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
43361         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
43362         macro.
43363         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
43364         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
43365         New macro.
43366         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
43367         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
43368         macro.
43369         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
43370         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
43372 2014-11-04  Andreas Schwab  <schwab@suse.de>
43374         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
43376 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43378         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
43379         mtvsrd instruction in binary form.
43381 2014-11-03  Andreas Schwab  <schwab@suse.de>
43383         [BZ #17522]
43384         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
43385         for less than MB_LEN_MAX use a local buffer of that size.
43386         * libio/tst-fputws.c: New file.
43387         * libio/Makefile (tests): Add tst-fputws.
43389 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
43391         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
43392         the size of the fpu_fr.fpu_dregs[] array.
43394 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
43396         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
43397         (__nanosleep): Do not define as alias.
43398         (nanosleep): Define as alias of __nanosleep.
43399         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
43400         __libc_nanosleep name.
43402 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43404         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
43405         install.texi in comment.
43407 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43409         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
43410         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
43411         ... add here and use lwsync or sync ...
43412         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
43413         ... and add here using lwsync.
43415 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
43417         * elf/dl-machine-reject-phdr.h: New file.
43418         * elf/dl-load.c: #include that.
43419         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
43420         if that returned true.
43422 2014-10-31  Roland McGrath  <roland@hack.frob.com>
43424         [BZ #17496]
43425         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
43426         gen-as-const-headers chunk.  Add a big scare comment after the last
43427         safe place to touch before-compile.
43429 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
43431         * manual/install.texi (Tools for Compilation): Update autoconf
43432         version requirements.
43433         * INSTALL: Regenerated.
43435         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
43436         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
43437         (__libc_pselect): Likewise.
43439         [BZ #14138]
43440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
43441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43445 2014-10-31  Torvald Riegel  <triegel@redhat.com>
43447         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
43448         correct barrier instruction.
43449         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
43450         Likewise.
43451         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
43452         Likewise.
43454 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43456         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
43457         after defining inlines.  Instead, just use parens to defeat macro
43458         expansion of __isctype in its declaration.
43460 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43462         * include/sys/uio.h (__libc_readv): Remove declaration.
43463         (__libc_writev): Likewise.
43464         * misc/readv.c (__libc_readv): Rename to __readv.
43465         (__readv): Do not define as alias.
43466         (readv): Define as alias of __readv.
43467         * misc/writev.c (__libc_writev): Rename to __writev.
43468         (__writev): Do not define as alias.
43469         (writev): Define as alias of __writev.
43470         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
43471         (__readv): Do not define as alias.
43472         (readv): Define unconditionally as alias of __readv.
43473         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
43474         (__writev): Do not define as alias.
43475         (writev): Define unconditionally as alias of __writev.
43476         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
43477         name.
43478         (writev): Do not define __libc_writev name.
43480 2014-10-30  Roland McGrath  <roland@hack.frob.com>
43482         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
43483         (convert_charseq): New function, broken out of ...
43484         (use_from_charmap): ... here.  Call it.
43485         (use_to_charmap): Use convert_charseq and free instead of duplicating
43486         its code with a variable-length stack struct.
43488 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
43490         * include/fcntl.h (__libc_creat): Remove declaration.
43491         * io/creat.c (__libc_creat): Rename to creat.
43492         (creat): Do not define as alias.
43493         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
43494         of creat instead of __libc_creat.
43495         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
43496         to creat.
43497         (creat): Do not define as alias.
43498         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
43499         __libc_creat.
43500         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
43501         __libc_creat name.
43502         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
43503         Likewise.
43505 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
43507         * manual/llio.texi: Add comments discussing why write() may be
43508         considered MT-unsafe on Linux.
43510 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
43512         * dl-load.c (local_strdup): Remove.
43513         (expand_dynamic_string_token): Use __strdup.
43514         (decompose_rpath): Likewise.
43515         (_dl_map_object): Likewise.
43517 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
43519         [BZ #14132]
43520         * sysdeps/generic/unwind-dw2-fde.c
43521         (__register_frame_info_bases_internal): Do not declare.
43522         (__register_frame_info_table_bases_internal): Likewise.
43523         (__deregister_frame_info_bases_internal): Likewise.
43524         (__register_frame_info_bases): Declare and use hidden_proto before
43525         definition.  Use hidden_def instead of INTDEF.
43526         (__register_frame_info_table_bases): Likewise.
43527         (__deregister_frame_info_bases): Likewise.
43528         (__register_frame_info): Do not use INTUSE.
43529         (__register_frame): Likewise.
43530         (__register_frame_info_table): Likewise.
43531         (__register_frame_table): Likewise.
43532         (__deregister_frame_info): Likewise.
43533         (__deregister_frame): Likewise.
43535 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
43537         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43538         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
43539         not undefine.
43540         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
43541         Likewise.
43542         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
43543         Likewise.
43545 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
43547         [BZ #14138]
43548         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
43549         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
43550         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
43551         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
43552         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
43553         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
43554         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
43555         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
43556         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
43557         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
43558         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
43559         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
43560         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
43561         syscall.
43562         (setfsuid): Likewise.
43563         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
43564         (setfsuid): Likewise.
43565         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
43566         (setfsuid): Likewise.
43567         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
43568         Likewise.
43569         (setfsuid): Likewise.
43570         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
43571         (setfsuid): Likewise.
43572         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
43573         Likewise.
43574         (setfsuid): Likewise.
43576 2014-10-27  Andreas Schwab  <schwab@suse.de>
43578         [BZ #17501]
43579         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
43580         check for Slow_SSE4_2 feature bit.
43581         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
43582         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43583         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
43584         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
43586 2014-10-24  Roland McGrath  <roland@hack.frob.com>
43588         * configure.ac: Validate compiler version with a empirical test of
43589         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
43590         $CC -v output.
43591         * configure: Regenerated.
43593         * inet/htons.c (htons): Prototypify.
43594         * inet/htonl.c (htonl): Likewise.
43596 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43598         * string/strncat.c (strncat): Improve performance by using strlen.
43600 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43602         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
43604 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43606         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
43607         Call libc_fetestexcept_aarch64.
43609 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43611         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
43612         Call libc_feholdexcept_aarch64.
43614 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43616         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
43617         Call get_rounding_mode.
43619 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43621         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
43622         Simplify logic.
43624 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
43626         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
43627         Simplify logic.
43629 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
43631         [BZ #14138]
43632         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
43633         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
43634         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
43635         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
43636         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
43637         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
43638         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
43639         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
43640         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
43641         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
43642         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
43643         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
43644         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
43645         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
43646         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
43647         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
43648         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
43649         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
43650         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
43651         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
43652         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
43653         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
43654         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
43655         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
43656         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
43657         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
43658         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
43659         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
43660         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
43661         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
43662         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
43663         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
43664         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
43665         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
43666         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
43667         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
43668         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
43669         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
43670         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
43671         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
43672         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
43673         syscall.
43674         (geteuid): Likewise.
43675         (getgid): Likewise.
43676         (getuid): Likewise.
43677         (getresgid): Likewise.
43678         (getresuid): Likewise.
43679         (getgroups): Likewise.
43680         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
43681         (geteuid): Likewise.
43682         (getgid): Likewise.
43683         (getuid): Likewise.
43684         (getresgid): Likewise.
43685         (getresuid): Likewise.
43686         (getgroups): Likewise.
43687         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
43688         (geteuid): Likewise.
43689         (getgid): Likewise.
43690         (getuid): Likewise.
43691         (getresgid): Likewise.
43692         (getresuid): Likewise.
43693         (getgroups): Likewise.
43694         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
43695         Likewise.
43696         (geteuid): Likewise.
43697         (getgid): Likewise.
43698         (getuid): Likewise.
43699         (getresgid): Likewise.
43700         (getresuid): Likewise.
43701         (getgroups): Likewise.
43702         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
43703         (geteuid): Likewise.
43704         (getgid): Likewise.
43705         (getuid): Likewise.
43706         (getresgid): Likewise.
43707         (getresuid): Likewise.
43708         (getgroups): Likewise.
43709         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
43710         Likewise.
43711         (geteuid): Likewise.
43712         (getgid): Likewise.
43713         (getuid): Likewise.
43714         (getgroups): Likewise.
43716         [BZ #14138]
43717         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
43718         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
43719         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
43720         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43721         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
43722         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
43723         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
43724         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
43725         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
43726         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
43727         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
43728         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
43729         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
43730         __chown.
43731         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
43732         (lchown): Likewise.
43733         (fchown): Likewise.
43734         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
43735         Likewise.
43736         (lchown): Likewise.
43737         (fchown): Likewise.
43738         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
43739         (lchown): Likewise.
43740         (fchown): Likewise.
43741         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
43742         Likewise.
43743         (lchown): Likewise.
43744         (fchown): Likewise.
43746 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43748         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
43749         Simplify logic.
43751 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43753         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43754         Cleanup logic.
43756 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43758         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
43759         Remove unused include.
43761 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
43763         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
43764         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
43765         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
43766         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
43768 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
43769             Helge Deller <deller@gmx.de>
43771         [BZ #17508]
43772         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
43773         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
43774         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
43776 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
43778         [BZ #14132]
43779         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
43780         Remove macro definition.
43781         (__ashrdi3_v_glibc20): Likewise.
43782         (__lshrdi3_v_glibc20): Likewise.
43783         (__cmpdi2_v_glibc20): Likewise.
43784         (__ucmpdi2_v_glibc20): Likewise.
43785         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
43786         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43787         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43788         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43789         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43790         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
43792 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43794         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
43795         old GNU extension [0] syntax.
43796         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
43797         alloca rather than an array member with variable length.
43798         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
43799         * nscd/nscd.c (invalidate_db): New function, broken out of ...
43800         (parse_opt): ... here.  Likewise use alloca there.
43801         Validate the -i argument before checking for rootness.
43802         (send_shutdown): New function, broken out of ...
43803         (parse_opt): ... here.
43805 2014-10-22  Roland McGrath  <roland@hack.frob.com>
43807         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
43808         macro to get at the _rt_local_ro field.
43809         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
43810         ([PIC] case) or _dl_hwcap ([!PIC] case).
43811         * sysdeps/arm/setjmp.S: Likewise.
43813         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
43814         * sysdeps/arm/configure.ac: New check to define it.
43815         * sysdeps/arm/configure: Regenerated.
43816         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
43817         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
43818         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
43819         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
43820         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
43821         Use move/movt pair instead of a load.
43822         (LDST_GLOBAL): Macro removed.
43823         (LDR_GLOBAL): New macro replaces it.
43824         (LDR_HIDDEN): New macro.
43825         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
43826         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
43828         * setjmp/tst-setjmp-static.c: New file.
43829         * setjmp/Makefile (tests): Add it.
43830         (tests-static): New variable.
43832 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
43834         [BZ #17485]
43835         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
43837 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
43839         [BZ #14132]
43840         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
43842 2014-10-21  Roland McGrath  <roland@hack.frob.com>
43844         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
43846 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43848         * io/fts.c (dirent_not_directory): New function.
43849         (fts_build): Call it.
43851 2014-10-20  Roland McGrath  <roland@hack.frob.com>
43853         * nptl/version.c (__nptl_main): Use normal __write rather than
43854         INTERNAL_SYSCALL.
43855         (banner): Update copyright years.
43857         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
43858         gettimeofday.
43859         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43860         * nptl/pthread_cond_timedwait.c: Likewise.
43861         * nptl/pthread_mutex_timedlock.c: Likewise.
43862         * nptl/sem_timedwait.c: Likewise.
43864         * sysdeps/nptl/bits/libc-lock.h
43865         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
43866         (__libc_lock_init_recursive): Return void, not 0.
43867         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
43868         (__libc_rwlock_init): Likewise.
43869         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
43871 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43873         [BZ #15215]
43874         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
43875         (__pthread_once_slow): ... here.
43876         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
43877         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
43879 2014-10-20  Torvald Riegel  <triegel@redhat.com>
43881         [BZ #15215]
43882         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
43883         __PTHREAD_ONCE_FORK_GEN_INCR): New.
43884         * sysdeps/nptl/fork.c (__libc_fork): Use them.
43885         * nptl/pthread_once.c (__pthread_once): Likewise.
43886         Update comments.
43888 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
43890         [BZ #14138]
43891         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
43892         name.
43893         (writev): Use __libc_writev as strong name.
43894         * sysdeps/unix/sysv/linux/readv.c: Remove file.
43895         * sysdeps/unix/sysv/linux/writev.c: Likewise.
43897 2014-10-17  Roland McGrath  <roland@hack.frob.com>
43899         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
43901         * sysdeps/i386/nptl/tls.h
43902         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
43903         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
43904         New macros.
43905         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
43906         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
43907         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
43908         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
43909         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
43910         Call CHECK_THREAD_SYSINFO instead of doing an assert.
43912         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
43913         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
43914         on [__NR_futex].
43915         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
43916         broken out of ...
43917         (__pthread_mutex_init): ... here.  Call it.
43918         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
43919         Conditionalize PI cases on [__NR_futex].
43920         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
43921         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
43922         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
43924         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
43925         conditional on [SIGSETXID].
43926         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
43927         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
43928         is defined.  Likewise for SIGSETXID.
43929         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
43930         Conditionalize definitions on [SIGSETXID].
43931         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
43932         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
43933         unblocking on [SIGCANCEL].
43935         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
43936         [__NR_set_robust_list].
43938 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43940         * string/strcoll_l.c (get_next_seq): Fix up formatting.
43941         (do_compare): Likewise.
43943 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
43945         [BZ #15884]
43946         * string/strcoll_l.c: Don't include stdio.h.
43947         (coll_seq): Remove members idxarr and rulearr.
43948         (get_next_seq_cached): Remove function.
43949         (get_next_seq): Likewise.
43950         (get_next_seq_nocache): Rename to get_next_seq.
43951         (do_compare): Remove function.
43952         (do_compare_nocache): Rename to do_compare.
43953         (STRCOLL): Remove weight and rules cache.
43955 2014-10-16  Roland McGrath  <roland@hack.frob.com>
43957         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
43958         * sysdeps/arm/sfp-machine.h: ... to here.
43959         * sysdeps/arm/Implies: Remove arm/soft-fp.
43961 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
43963         * conform/data/sys/utsname.h-data (*_t): Allow.
43964         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
43965         [POSIX] (WEXITED): Do not expect constant.
43966         [POSIX] (WSTOPPED): Likewise.
43967         [POSIX] (WNOHANG): Likewise.
43968         [POSIX] (WNOWAIT): Likewise.
43969         [POSIX] (siginfo_t): Do not expect type or elements.
43970         [POSIX] (pid_t): Do not expect type.
43971         [POSIX] (signal.h): Do not allow header.
43972         [POSIX] (sys/resource.h): Likewise.
43973         [POSIX] (si_*): Do not allow pattern.
43974         [POSIX] (W*): Likewise.
43975         [POSIX] (P_*): Likewise.
43976         [POSIX] (BUS_*): Likewise.
43977         [POSIX] (CLD_*): Likewise.
43978         [POSIX] (FPE_*): Likewise.
43979         [POSIX] (ILL_*): Likewise.
43980         [POSIX] (POLL_*): Likewise.
43981         [POSIX] (SEGV_*): Likewise.
43982         [POSIX] (SI_*): Likewise.
43983         [POSIX] (TRAP_*): Likewise.
43984         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
43985         variable.
43987 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
43989         [BZ #12926]
43990         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
43991         infinite loop when __recvmsg returns 0.
43993 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
43995         * CANCEL-FCT-WAIVE: Remove file.
43996         * CANCEL-FILE-WAIVE: Likewise.
43998         [BZ #14132]
43999         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
44000         instead of INTVARDEF.
44001         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44002         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
44003         rtld_hidden_data_def instead of INTVARDEF.
44004         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44005         * elf/dl-deps.c (expand_dst): Likewise.
44006         * elf/dl-load.c (_dl_dst_count): Likewise.
44007         (_dl_dst_substitute): Likewise.
44008         (decompose_rpath): Likewise.
44009         (_dl_init_paths): Likewise.
44010         (open_path): Likewise.
44011         (_dl_map_object): Likewise.
44012         * elf/rtld.c (dl_main): Likewise.
44013         (process_dl_audit): Likewise.
44014         (process_envvars): Likewise.
44015         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44016         Remove declaration.
44017         (__libc_enable_secure): Use rtld_hidden_proto.
44019 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44021         * elf/dl-load.c
44022         (add_path): New function broken out of _dl_rtld_di_serinfo.
44023         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
44025 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44027         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44028         parentheses around macro arguments.
44029         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44030         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44031         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44032         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44033         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44034         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44035         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44036         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44037         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44038         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44039         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44040         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44041         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44042         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44043         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44044         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44045         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44046         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44047         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44048         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44049         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44050         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44051         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44052         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44053         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44054         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44055         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44056         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44057         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44058         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44059         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44060         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44061         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44062         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44063         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44064         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
44065         Likewise.
44066         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
44067         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44068         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44069         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
44070         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
44071         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
44072         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
44073         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
44074         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
44075         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
44076         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
44077         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
44078         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
44079         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
44080         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
44081         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
44082         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
44083         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
44084         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
44085         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
44086         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
44087         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
44088         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
44089         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
44090         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
44091         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
44092         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
44093         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
44094         (_FP_FRAC_SRS_1): Likewise.
44095         (_FP_FRAC_CLZ_1): Likewise.
44096         (_FP_MUL_MEAT_1_imm): Likewise.
44097         (_FP_MUL_MEAT_1_wide): Likewise.
44098         (_FP_MUL_MEAT_1_hard): Likewise.
44099         (_FP_SQRT_MEAT_1): Likewise.
44100         (_FP_FRAC_ASSEMBLE_1): Likewise.
44101         (_FP_FRAC_DISASSEMBLE_1): Likewise.
44102         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
44103         (__FP_CLZ_2): Likewise.
44104         (_FP_MUL_MEAT_2_wide): Likewise.
44105         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
44106         (_FP_MUL_MEAT_2_gmp): Likewise.
44107         (_FP_MUL_MEAT_2_120_240_double): Likewise.
44108         (_FP_SQRT_MEAT_2): Likewise.
44109         (_FP_FRAC_ASSEMBLE_2): Likewise.
44110         (_FP_FRAC_DISASSEMBLE_2): Likewise.
44111         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
44112         (_FP_FRAC_CLZ_4): Likewise.
44113         (_FP_MUL_MEAT_4_wide): Likewise.
44114         (_FP_MUL_MEAT_4_gmp): Likewise.
44115         (_FP_SQRT_MEAT_4): Likewise.
44116         (_FP_FRAC_ASSEMBLE_4): Likewise.
44117         (_FP_FRAC_DISASSEMBLE_4): Likewise.
44118         * soft-fp/op-common.h (_FP_CMP): Likewise.
44119         (_FP_CMP_EQ): Likewise.
44120         (_FP_CMP_UNORD): Likewise.
44121         (_FP_TO_INT): Likewise.
44122         (_FP_FROM_INT): Likewise.
44123         [!__FP_CLZ] (__FP_CLZ): Likewise.
44124         (_FP_DIV_HELP_imm): Likewise.
44125         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
44126         Likewise.
44127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
44128         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
44129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
44130         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
44131         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
44132         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44133         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44134         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
44135         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
44136         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
44137         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
44138         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
44139         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
44140         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
44141         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
44142         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
44143         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
44144         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
44145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
44146         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
44147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
44148         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
44149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
44150         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
44151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
44152         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
44153         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
44154         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
44155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
44156         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
44157         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
44158         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
44159         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
44160         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
44161         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
44162         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
44163         (FP_UNPACK_RAW_SP): Likewise.
44164         (FP_PACK_RAW_S): Likewise.
44165         (FP_PACK_RAW_SP): Likewise.
44166         (FP_UNPACK_S): Likewise.
44167         (FP_UNPACK_SP): Likewise.
44168         (FP_UNPACK_SEMIRAW_S): Likewise.
44169         (FP_UNPACK_SEMIRAW_SP): Likewise.
44170         (FP_PACK_S): Likewise.
44171         (FP_PACK_SP): Likewise.
44172         (FP_PACK_SEMIRAW_S): Likewise.
44173         (FP_PACK_SEMIRAW_SP): Likewise.
44174         (_FP_SQRT_MEAT_S): Likewise.
44175         (FP_CMP_S): Likewise.
44176         (FP_CMP_EQ_S): Likewise.
44177         (FP_CMP_UNORD_S): Likewise.
44178         (FP_TO_INT_S): Likewise.
44179         (FP_FROM_INT_S): Likewise.
44181         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
44183         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
44184         (FP_EX_INVALID_IMZ): Likewise.
44185         (FP_EX_INVALID_IMZ_FMA): Likewise.
44186         (FP_EX_INVALID_ISI): Likewise.
44187         (FP_EX_INVALID_ZDZ): Likewise.
44188         (FP_EX_INVALID_IDI): Likewise.
44189         (FP_EX_INVALID_SQRT): Likewise.
44190         (FP_EX_INVALID_CVI): Likewise.
44191         (FP_EX_INVALID_VC): Likewise.
44192         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
44193         "invalid" exceptions.
44194         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
44195         (_FP_ADD_INTERNAL): Likewise.
44196         (_FP_MUL): Likewise.
44197         (_FP_FMA): Likewise.
44198         (_FP_DIV): Likewise.
44199         (_FP_CMP_CHECK_NAN): Likewise.
44200         (_FP_SQRT): Likewise.
44201         (_FP_TO_INT): Likewise.
44202         (FP_EXTEND): Likewise.
44204 2014-10-09  Allan McRae  <allan@archlinux.org>
44206         * po/fr.po: Update French translation from translation project.
44208 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44210         [BZ #14132]
44211         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
44212         of INTDEF.
44213         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
44214         (__cxa_atexit): Use libc_hidden_proto.
44215         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
44217         [BZ #14132]
44218         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
44219         declaration.
44220         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
44221         [!_ISOMAC] (__iswspace_l_internal): Likewise.
44222         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
44223         [!_ISOMAC] (__iswctype_internal): Likewise.
44224         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
44225         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
44226         alias.
44227         (fcntl): Remove __fcntl_internal alias.
44228         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
44229         __connect_internal alias.
44230         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
44231         Likewise.
44233         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
44234         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
44235         FP_DENORM_ZERO.
44236         (_FP_CHECK_FLUSH_ZERO): New macro.
44237         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
44238         (_FP_CMP): Likewise.
44239         (_FP_CMP_EQ): Likewise.
44240         (_FP_TO_INT): Do not set inexact for subnormal arguments if
44241         FP_DENORM_ZERO.
44242         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
44243         (FP_TRUNC): Likewise.
44245         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
44246         treated as invalid conversion, not as normal exponent.
44248         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
44249         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
44250         (_FP_CMP_EQ): Likewise.
44251         (_FP_CMP_UNORD): Likewise.
44252         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
44253         (FP_CMP_EQ_D): Likewise.
44254         (FP_CMP_UNORD_D): Likewise.
44255         * soft-fp/extended.h (FP_CMP_E): Likewise.
44256         (FP_CMP_EQ_E): Likewise.
44257         (FP_CMP_UNORD_E): Likewise.
44258         * soft-fp/quad.h (FP_CMP_Q): Likewise.
44259         (FP_CMP_EQ_Q): Likewise.
44260         (FP_CMP_UNORD_Q): Likewise.
44261         * soft-fp/single.h (FP_CMP_S): Likewise.
44262         (FP_CMP_EQ_S): Likewise.
44263         (FP_CMP_UNORD_S): Likewise.
44264         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
44265         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
44266         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
44267         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
44268         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
44269         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
44270         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
44271         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
44272         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
44273         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
44274         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
44275         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
44276         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
44277         to FP_CMP_Q.
44278         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
44279         FP_CMP_Q.
44280         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
44281         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
44282         FP_CMP_EQ_Q.
44283         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
44284         FP_CMP_Q.
44285         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
44286         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
44287         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
44288         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
44289         FP_CMP_EQ_Q.
44290         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
44291         FP_CMP_Q.
44292         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
44293         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
44294         FP_CMP_EQ_Q.
44295         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
44296         FP_CMP_Q.
44297         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
44298         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
44299         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
44300         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
44301         FP_CMP_EQ_Q.
44303         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
44304         a subnormal result, set the underflow exception if trapping on
44305         underflow is enabled.
44306         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
44307         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
44308         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
44309         redefine to 0.
44310         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
44311         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44312         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
44313         * soft-fp/extendxftf2.c (__extendxftf2): Use
44314         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
44316         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
44317         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
44318         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44319         FP_HANDLE_EXCEPTIONS.
44320         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
44321         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44322         FP_HANDLE_EXCEPTIONS.
44323         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
44324         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44325         FP_HANDLE_EXCEPTIONS.
44326         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
44327         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
44328         FP_HANDLE_EXCEPTIONS.
44330 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
44332         [BZ #14132]
44333         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
44334         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
44335         use INTUSE.
44336         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
44337         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
44338         Remove alias.
44339         (__adjtimex): Define using libc_hidden_ver.
44340         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
44341         Remove declaration.
44342         (ntp_gettime): Call __adjtimex directly.
44343         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
44344         Remove declaration.
44345         (ntp_gettimex): Call __adjtimex directly.
44346         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
44347         __adjtimex_internal alias.
44349 2014-10-08  Roland McGrath  <roland@hack.frob.com>
44351         [BZ #17460]
44352         * nscd/nscd.c (more_help): Rewrite list of tables collection
44353         using xstrdup and asprintf.
44355         * nscd/nscd_conf.c: Remove local xstrdup declaration.
44357 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44358             Roland McGrath  <roland@hack.frob.com>
44360         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
44361         (do_lookup_unique): ... local function 'enter' here; update callers.
44363 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
44365         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
44366         compat_symbol calls on [SHARED].
44367         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
44368         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
44369         Remove.
44370         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44371         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
44372         (oldsetrlimit): Remove.
44373         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44375         (lchown): New syscall entry.
44376         (oldsetrlimit): Remove.
44377         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44378         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
44379         (oldsetrlimit): Remove.
44380         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
44382         [BZ #14138]
44383         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
44384         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
44385         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
44386         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
44387         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
44388         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
44389         (fchown): Likewise.
44390         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
44391         (fchown): Likewise.
44392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
44393         Likewise.
44395 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44397         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
44398         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
44399         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
44400         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
44401         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
44402         Likewise.
44403         (__old_sem_post): Likewise.
44405 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
44407         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
44408         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
44409         HAVE_CLOCK_GETTIME_VSYSCALL macros.
44410         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
44411         Use INLINE_VSYSCALL macro.
44412         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
44413         __vdso_clock_gettime.
44414         * sysdeps/unix/sysv/linux/tile/init-first.c
44415         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
44416         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
44417         __vdso_clock_gettime.
44419         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
44420         to set up frame more cleanly.
44422         * sysdeps/tile/memcmp.c: New file.
44424         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
44426         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
44427         * sysdeps/tile/tilegx/strcasestr.c: New file.
44428         * sysdeps/tile/tilegx/strnlen.c: New file.
44429         * sysdeps/tile/tilegx/strstr.c: New file.
44431         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
44433 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
44435         * nptl/tst-setuid3.c: Write errors to stdout.
44437 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44439         * elf/dl-deps.c
44440         (preload): New functions broken out of _dl_map_object_deps.
44441         (_dl_map_object_deps):  Remove a nested function. Update call sites.
44443 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
44445         [BZ #14138]
44446         * sysdeps/unix/sysv/linux/execve.c: Remove file.
44447         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
44449 2014-10-01  Steve Ellcey  <sellcey@mips.com>
44451         * sysdeps/mips/strcmp.S: New.
44453 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
44455         [BZ #14138]
44456         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
44457         (linkat): Likewise.
44458         (mkdirat): Likewise.
44459         (readlinkat): Likewise.
44460         (renameat): Likewise.
44461         (symlinkat): Likewise.
44462         (unlinkat): Likewise.
44463         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
44464         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
44465         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
44466         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
44467         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
44468         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
44469         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
44471 2014-09-30  Will Newton  <will.newton@linaro.org>
44473         * math/math.h: Define long double math functions if
44474         _LIBC_TEST is defined.
44475         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
44477         * localedata/Makefile: Move assignment to tests-special
44478         into an ifdef testing run-built-tests.
44479         * timezone/Makefile: Likewise.
44481 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
44483         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
44484         with $(BASH) not $(SHELL).
44486 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
44487             Matthew LeGendre  <legendre1@llnl.gov>
44489         [BZ #17411]
44490         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
44491         l_reloc_result.
44493 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44495         * stdio-common/printf_fp.c
44496         (hack_digit): New function, broken out of ...
44497         (__printf_fp): ... local function here.  Update call sites.
44498         hack_digit now takes an additional parameter that is a pointer
44499         to a struct of the referenced locals.  Those locals moved inside
44500         the struct and references updated.
44502 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
44504         * aclocal.m4: Require autoconf 2.69.
44505         * configure: Regenerated.
44506         * sysdeps/aarch64/configure: Likewise.
44507         * sysdeps/alpha/configure: Likewise.
44508         * sysdeps/arm/armv7/configure: Likewise.
44509         * sysdeps/arm/configure: Likewise.
44510         * sysdeps/ia64/configure: Likewise.
44511         * sysdeps/mach/configure: Likewise.
44512         * sysdeps/mips/configure: Likewise.
44513         * sysdeps/s390/configure: Likewise.
44514         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
44515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
44517         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
44518         file.
44519         * sysdeps/ia64/configure.ac: Likewise.
44521 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
44523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
44524         specify symbol version for ld.so.  Do not include entry for
44525         libpthread.
44526         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44527         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44528         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44530         [BZ #14171]
44531         * Makeconfig [$(build-shared) = yes]
44532         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
44533         makefiles.
44534         [$(build-shared) = yes && $(soversions.mk-done) = t]
44535         ($(common-objpfx)gnu/lib-names.h): Remove rule.
44536         [$(build-shared) = yes && $(soversions.mk-done) = t]
44537         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
44538         to Makerules.
44539         [$(build-shared) = yes && $(soversions.mk-done) = t]
44540         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
44541         here.
44542         [$(build-shared) = yes && $(soversions.mk-done) = t]
44543         (common-generated): Don't append gnu/lib-names.h and
44544         gnu/lib-names.stmp here.
44545         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
44546         (lib-names-h-abi): New variable.
44547         [$(build-shared) = yes && $(soversions.mk-done) = t]
44548         (lib-names-stmp-abi): Likewise.
44549         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44550         abi-variants] (before-compile): Append
44551         $(common-objpfx)$(lib-names-h-abi).
44552         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44553         abi-variants] (common-generated): Append gnu/lib-names.h.
44554         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44555         abi-variants] (install-others-nosubdir): Depend on
44556         $(inst_includedir)/$(lib-names-h-abi).
44557         [$(build-shared) = yes && $(soversions.mk-done) = t &&
44558         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
44559         [$(build-shared) = yes && $(soversions.mk-done) = t]
44560         ($(common-objpfx)$(lib-names-h-abi)): New rule.
44561         [$(build-shared) = yes && $(soversions.mk-done) = t]
44562         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
44563         [$(build-shared) = yes && $(soversions.mk-done) = t]
44564         (common-generated): Append $(lib-names-h-abi) and
44565         $(lib-names-stmp-abi).
44566         * scripts/lib-names.awk: Do not handle multi being set.
44567         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
44568         Remove variable.
44569         (abi-lp64_be-ld-soname): Likewise.
44570         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
44571         Likewise.
44572         (abi-hard-ld-soname): Likewise.
44573         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
44574         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
44575         Remove variable.
44576         (abi-o32_hard-ld-soname): Likewise.
44577         (abi-o32_soft_2008-ld-soname): Likewise.
44578         (abi-o32_hard_2008-ld-soname): Likewise.
44579         (abi-n32_soft-ld-soname): Likewise.
44580         (abi-n32_hard-ld-soname): Likewise.
44581         (abi-n32_soft_2008-ld-soname): Likewise.
44582         (abi-n32_hard_2008-ld-soname): Likewise.
44583         (abi-n64_soft-ld-soname): Likewise.
44584         (abi-n64_hard-ld-soname): Likewise.
44585         (abi-n64_soft_2008-ld-soname): Likewise.
44586         (abi-n64_hard_2008-ld-soname): Likewise.
44587         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
44588         Likewise.
44589         (abi-64-v2-ld-soname): Likewise.
44590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
44591         ld.so entries.
44592         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
44593         variable.
44594         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
44595         entry.
44596         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
44597         variable.
44598         (abi-64-ld-soname): Likewise.
44599         (abi-x32-ld-soname): Likewise.
44600         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
44601         entry.
44602         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44604 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
44606         [BZ #14138]
44607         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
44608         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
44609         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
44610         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
44611         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
44612         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
44613         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
44614         syscall entry for GLIBC_2.2 symbol version.
44615         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
44616         Likewise.
44617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
44618         (setrlimit): Likewise.
44619         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
44620         Likewise.
44622 2014-09-23  Will Newton  <will.newton@linaro.org>
44624         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
44625         _LINUX_ARM_SYSDEP_H include guard too.
44626         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
44627         define.
44629 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44631         * sysdeps/unix/sysv/linux/eventfd.c:
44632         Make first argument unsigned.
44633         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
44634         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
44636 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
44638         [BZ #16852]
44639         * socket/recvmmsg.c (recvmmsg): Drop const argument.
44640         * socket/sys/socket.h: Likewise.
44641         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
44643 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44645         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
44647 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
44649         * time/tst-ftime.c: New test.
44650         * time/Makefile (tests): Add tst-ftime.
44652 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
44654         * soft-fp/extended.h: Fix comment formatting.
44655         * soft-fp/op-1.h: Likewise.
44656         * soft-fp/op-2.h: Likewise.
44657         * soft-fp/op-4.h: Likewise.
44658         * soft-fp/op-8.h: Likewise.
44659         * soft-fp/op-common.h: Likewise.
44660         * soft-fp/soft-fp.h: Likewise.
44662         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
44664 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
44666         [BZ #6652]
44667         * Makeconfig (soversions-default-setname): Remove variable.
44668         ($(common-objpfx)soversions.i): Don't pass default_setname to
44669         soversions.awk.
44670         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
44671         oldest_abi to abi-versions.awk.
44672         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
44673         * config.make.in (oldest-abi): Remove variable.
44674         * configure.ac (--enable-oldest-abi): Remove configure option.
44675         * configure: Regenerated.
44676         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
44677         text.
44678         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
44679         * scripts/soversions.awk: Do not handle default_setname variable.
44680         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
44681         variable.
44682         * sysdeps/mach/hurd/configure: Regenerated.
44683         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
44684         variable.
44685         * sysdeps/unix/sysv/linux/configure: Regenerated.
44687 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44689         * elf/Makefile (CFLAGS-interp.c): Remove.
44690         ($(elf-objpfx)runtime-linker.h): Generate header with linker
44691         path string.
44692         * elf/interp.c: Include generated runtime-linker.h
44694         * Makerules (lib%.so): Don't include $(+interp) in
44695         prerequisites.
44696         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
44697         * dlfcn/eval.c: Remove file.
44699         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
44700         macros.
44702         [BZ #17266]
44703         * misc/sys/cdefs.h: Define __extern_always_inline for clang
44704         4.2 and newer.
44706         [BZ #17370]
44707         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
44709 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44710             Jakub Jelinek  <jakub@redhat.com>
44712         [BZ #17266]
44713         * libio/stdio.h: Check definition of __fortify_function
44714         instead of __extern_always_inline to include bits/stdio2.h.
44715         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
44716         check if __extern_always_inline is defined.
44717         [__USE_MISC || __USE_XOPEN]: Likewise.
44718         [__USE_ISOC99] Likewise.
44719         * misc/sys/cdefs.h (__fortify_function): Define only if
44720         __extern_always_inline is defined.
44721         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
44722         __extern_always_inline and __extern_inline only for g++-4.3
44723         and newer or a compatible gcc.
44725 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
44727         [BZ #17371]
44728         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44729         last change to handle zero prefix length.
44731 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44733         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
44734         _SC_REGEX_VERSION.
44736         * posix/getconf.c (vars): Add _POSIX_IPV6 and
44737         _POSIX_RAW_SOCKETS.
44739 2014-09-13  Allan McRae  <allan@archlinux.org>
44741         * po/ru.po: Update Russian translation from translation project.
44743 2014-09-12  Roland McGrath  <roland@hack.frob.com>
44745         * locale/programs/locale.c (show_locale_vars): Inline local function
44746         into its sole call site.  Clean up some style nits.
44747         (print_item): New function, broken out of ...
44748         (show_info): ... local function here.  Clean up style nits.
44750         * locale/programs/ld-ctype.c (set_one_default): New function, broken
44751         out of ...
44752         (set_class_defaults): ... local function set_default here.
44753         Define set_default as a macro locally to pass constant parameters.
44754         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
44755         rather than a shared local.
44757         * stdlib/rpmatch.c (try): New function, broken out of ...
44758         (rpmatch): ... local function here.  Also, prototypify definition.
44760 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
44762         * scripts/soversions.awk: Do not handle configuration names.
44763         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
44764         vendor and os variables to soversions.awk.
44765         * configure.ac: Do not modify gnu-* host_os.
44766         * configure: Regenerated
44767         * shlib-versions: Remove first column with configuration names.
44768         * nptl/shlib-versions: Likewise.
44769         * nptl_db/shlib-versions: Likewise.
44770         * sysdeps/hppa/shlib-versions: Likewise.
44771         * sysdeps/m68k/shlib-versions: Likewise.
44772         * sysdeps/mach/hurd/shlib-versions: Likewise.
44773         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
44774         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
44775         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
44776         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
44777         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
44778         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
44779         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
44780         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
44781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44782         Likewise.
44783         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44784         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44785         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44786         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44787         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44788         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
44789         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
44790         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
44792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
44793         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
44794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44795         Regenerated.
44796         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
44797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
44798         Condition symbol version definitions on [HAVE_ELFV2_ABI].
44800         * shlib-versions: Remove OS-specific entries.  Moved to files in
44801         sysdeps.
44802         * sysdeps/mach/hurd/shlib-versions: New file.
44803         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
44805         * nptl/shlib-versions: Remove architecture-specific entries.
44806         Moved to files in sysdeps.
44807         * shlib-versions: Likewise.
44808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
44809         file.
44810         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
44811         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
44812         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
44813         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
44815         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
44816         (UDP_NO_CHECK6_RX): Likewise.
44818 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44820         * sysdeps/posix/sysconf.c (__sysconf): Spell
44821         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
44823 2014-08-12  Florian Weimer  <fweimer@redhat.com>
44825         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
44826         loading.
44827         * iconv/Versions (__gconv_transliterate): Export for use from
44828         gconv modules.
44829         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
44830         (struct __gconv_trans_data, __gconv_trans_fct,
44831         __gconv_trans_context_fct, __gconv_trans_query_fct,
44832         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
44833         definitions.
44834         (struct __gconv_step_data): Remove __trans member.
44835         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
44836         longer hidden.  Remove unused trans_data argument.
44837         * iconv/gconv_int.h (struct trans_struct): Remove definition.
44838         (__gconv_translit_find): Remove declaration.
44839         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
44840         prototype.
44841         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
44842         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
44843         trans_data argument.  Add hidden definition.
44844         (__gconv_translit_find): Remove.
44845         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
44846         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
44847         * iconv/skeleton.c: Remove transliteration initialization.
44848         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
44849         __gconv_step_data initialization.
44850         * libio/iofwide.c (__libio_translit_): Remove.
44851         (_IO_fwide): Adjust struct __gconv_step_data initialization.
44852         * wcsmbs/btowc.c (__btowc): Likewise.
44853         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44854         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44855         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
44856         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
44857         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
44858         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
44859         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
44860         * wcsmbs/wctob.c (wctob): Likewise.
44862 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44864         [BZ #16194]
44865         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
44866         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
44867         register usage.
44868         * sysdeps/x86/Makefile: Adjust.
44870 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44871             Roland McGrath  <roland@hack.frob.com>
44873         * locale/weight.h: Add include guard.
44874         (findidx): Make static rather than auto; take new parameters
44875         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
44876         * locale/weightwc.h: Likewise.
44877         * posix/fnmatch_loop.c
44878         (FCT): Change type of EXTRA from int32_t to wint_t.
44879         Don't include either header inside the function.
44880         Call FINDIDX rather than findidx, and pass new arguments.
44881         #undef FINDIDX at the end of the file.
44882         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
44883         FINDIDX before including fnmatch_loop.c for the non-wide version.
44884         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
44885         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
44886         for the wide version.
44887         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
44888         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
44889         Pass new arguments to findidx.
44890         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
44891         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
44892         Don't #include it inside the function.  Pass new arguments to findidx.
44893         * posix/regex_internal.h
44894         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
44895         (re_string_elem_size_at): Don't #include it inside the function.
44896         Pass new arguments to findidx.
44897         * string/strcoll_l.c: #include WEIGHT_H at top level.
44898         (get_next_seq): Don't #include it inside the function.
44899         Pass new arguments to findidx.
44900         (get_next_seq_nocache): Likewise.
44901         * string/strxfrm_l.c: #include WEIGHT_H at top level.
44902         (STRXFRM): Don't #include it inside the function.
44903         Pass new arguments to findidx.
44905 2014-09-11  Florian Weimer  <fweimer@redhat.com>
44907         [BZ #17344]
44908         * malloc/malloc.c (unlink): Turn asserts into a call to
44909         malloc_printerr.
44911 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
44913         [BZ #17370]
44914         * libio/wfileops (do_ftell_wide): Free OUT.
44916 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
44918         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
44920 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44922         [BZ #17363]
44923         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
44924         group if the current group is empty.
44926 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44928         * benchtests/bench-memset.c (test_main): Add more test from size
44929         from 32 to 512 bytes.
44930         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44931         Add POWER8 memset object.
44932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44933         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
44934         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
44935         implementation.
44936         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
44937         Likewise.
44938         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
44939         multiarch POWER8 memset optimization.
44940         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
44941         POWER8 memset optimization.
44943         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
44944         Remove bzero multiarch objects.
44945         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
44946         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
44947         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
44948         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
44949         Remove define.
44950         [__bzero]: Redefine to specific name.
44951         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
44952         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
44953         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
44954         define.
44955         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44956         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44958 2014-09-10  Florian Weimer  <fweimer@redhat.com>
44960         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
44961         warnings into errors.
44963         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
44964         __cxa_thread_atexit_impl prototype.
44966 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44968         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
44969         Fix capitalization of error message.
44971 2014-09-09  Steve Ellcey  <sellcey@mips.com>
44973         * sysdeps/mips/preconfigure: Modify ABI tests.
44975 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
44977         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
44979 2014-09-07  Roland McGrath  <roland@hack.frob.com>
44980             Carlos O'Donell  <carlos@systemhalted.org>
44982         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
44983         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
44984         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
44985         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
44986         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
44987         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
44988         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
44989         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
44990         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
44991         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
44992         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
44993         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
44994         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
44995         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
44996         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
44997         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
44998         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
44999         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
45000         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
45001         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
45002         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
45003         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
45004         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
45005         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
45006         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
45007         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
45008         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
45009         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45010         Deconditionalize the code that was previously under [RESET_PID].
45011         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45012         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45013         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45014         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45015         include sysdep.h.
45017 2014-09-08  Allan McRae  <allan@archlinux.org>
45019         * version.h (RELEASE): Set to "development".
45020         (VERSION): Set to "2.20.90"
45022 2014-09-07  Allan McRae  <allan@archlinux.org
45024         * version.h (RELEASE): Set to "stable".
45025         (VERSION): Set to "2.20"
45026         * include/features.h (__GLIBC_MINOR__): Set to 20.
45028         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45029         Liebler.
45031         * po/ko.po: Update Korean translation from translation project.
45033 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
45035         [BZ #17354]
45036         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45037         macro for handling signed relocations.
45039 2014-09-03  Florian Weimer  <fweimer@redhat.com>
45041         [BZ #17325]
45042         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45043         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45044         assert.
45045         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45046         * iconvdata/ibm935.c (BODY): Likewise.
45047         * iconvdata/ibm937.c (BODY): Likewise.
45048         * iconvdata/ibm939.c (BODY): Likewise.
45049         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45050         assert.
45051         * iconvdata/Makefile (iconv-test.out): Pass module list to test
45052         script.
45053         * iconvdata/run-iconv-test.sh: New test loop for checking for
45054         decoder crashers.
45056 2014-09-02  Khem Raj  <raj.khem@gmail.com>
45058         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45059         libm_hidden_ver.
45061 2014-09-01  Allan McRae  <allan@archlinux.org>
45063         * po/eo.po: Update Esperanto translation from translation project.
45065         * po/ca.po: Update Catalan translation from translation project.
45067 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45069         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
45070         __proc_dostop call.
45072 2014-08-27  Mark Wielaard  <mjw@redhat.com>
45074         [BZ #17319]
45075         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
45076         to call set_thread_area instead of hand written asm.
45077         (__NR_set_thread_area): Removed define.
45078         (TLS_FLAG_WRITABLE): Likewise.
45079         (__ASSUME_SET_THREAD_AREA): Remove check.
45080         (TLS_EBX_ARG): Remove define.
45081         (TLS_LOAD_EBX): Likewise.
45083 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45085         Simplify atomicity of socket creation in bind.
45087         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
45088         looking up the name after linking the file.
45090 2014-08-27  Allan McRae  <allan@archlinux.org>
45092         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45094 2014-08-26  Florian Weimer  <fweimer@redhat.com>
45096         [BZ #17187]
45097         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
45098         trans_compare, open_translit, __gconv_translit_find):
45099         Remove module loading code.
45101 2014-08-26  Allan McRae  <allan@archlinux.org>
45103         * po/vi.po: Update Vietnamese translation from translation project.
45105         * po/uk.po: Update Ukrainian translation from translation project.
45107         * po/fr.po: Update French translation from translation project.
45109         * po/ru.po: Update Russian translation from translation project.
45111         * po/pl.po: Update Polish translation from translation project.
45113         * po/cs.po: Update Czech translation from translation project.
45115         * po/de.po: Update German translation from translation project.
45117         * po/bg.po: Update Bulgarian translation from translation project.
45119         * po/sv.po: Update Sweedish translation from translation project.
45121         * po/nl.po: Update Dutch translation from translation project.
45123         * po/es.po: Update Spanish translation from translation project.
45125 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45127         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
45129         * catgets/Makefile (CPPFLAGS-gencat): Remove.
45130         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
45131         (CPPFLAGS-iconvconfig): Likewise.
45132         * timezone/Makefile (CPPFLAGS-zic): Likewise.
45134         * include/libc-symbols.h: Remove unnecessary check for
45135         NOT_IN_libc.
45136         * nptl/pthreadP.h: Likewise.
45137         * sysdeps/aarch64/setjmp.S: Likewise.
45138         * sysdeps/alpha/setjmp.S: Likewise.
45139         * sysdeps/arm/sysdep.h: Likewise.
45140         * sysdeps/i386/setjmp.S: Likewise.
45141         * sysdeps/m68k/setjmp.c: Likewise.
45142         * sysdeps/posix/getcwd.c: Likewise.
45143         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45144         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
45145         * sysdeps/s390/s390-32/setjmp.S: Likewise.
45146         * sysdeps/s390/s390-64/setjmp.S: Likewise.
45147         * sysdeps/sh/sh3/setjmp.S: Likewise.
45148         * sysdeps/sh/sh4/setjmp.S: Likewise.
45149         * sysdeps/unix/alpha/sysdep.h: Likewise.
45150         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
45151         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45152         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
45153         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
45154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45158         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45159         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45160         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45161         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
45162         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45163         * sysdeps/x86_64/setjmp.S: Likewise.
45165 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
45167         [BZ #17263]
45168         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
45169         <stdint.h>.
45170         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
45171         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
45173 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
45175         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
45177         [BZ #17262]
45178         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
45179         and __x86_64__ when disabling x87 inline functions.
45181 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
45183         [BZ #17259]
45184         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
45185         asm statement with __cpuid_count.
45187 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
45189         * configure.ac: Change __ehdr_start code to dereference the struct.
45190         Run readelf on the output to look for relocations.
45191         * configure: Regenerated.
45193 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
45195         [BZ #17261]
45196         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
45197         value to 0.
45198         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
45200 2014-08-12  Roland McGrath  <roland@hack.frob.com>
45202         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
45204 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
45206         [BZ #16892]
45207         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
45208         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
45210 2014-08-12  Sean Anderson  <seanga2@gmail.com>
45212         * malloc/malloc.c: Fix typo in comment.
45214 2014-08-09  Allan McRae  <allan@archlinux.org>
45216         * Regenerate libc.po.
45218 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
45220         * intl/tst-gettext2.sh: Check every lang file for creation.
45222 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45224         * sysdeps/aarch64/fpu/math_private.h
45225         (libc_feholdsetround_noex_aarch64_ctx): New function.
45227 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
45229         * sysdeps/arm/armv6/strcpy.S (strcpy):
45230         Fix performance issue in misaligned cases.
45232 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45234         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
45235         Move definition from termios.h.
45236         (struct termio): Likewise.
45237         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45238         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45239         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45240         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45241         Likewise.
45242         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
45243         Move definition to ioctl-types.h
45244         (struct termio): Likewise.
45245         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45246         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
45247         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
45248         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
45249         Likewise.
45251 2014-08-05  Richard Henderson  <rth@redhat.com>
45253         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
45254         exceptions.
45255         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
45256         Add fraiseexcpt.
45257         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
45258         Use __feraiseexcept.
45259         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
45260         Protect libm symbols with IS_IN_libm.
45262         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
45264 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
45266         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
45268 2014-08-04  Will Newton  <will.newton@linaro.org>
45270         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
45271         file.
45273 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
45275         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
45276         variants for each function.
45278 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45280         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
45281         appended ...
45282         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
45283         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
45284         appended ...
45285         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
45286         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
45287         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
45288         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
45289         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
45290         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
45291         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
45292         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
45293         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
45294         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
45295         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
45296         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
45297         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
45298         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
45299         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
45300         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
45301         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
45302         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
45303         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
45304         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
45305         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
45306         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
45307         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
45308         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
45309         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
45310         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
45311         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
45312         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
45313         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
45314         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
45315         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
45316         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
45317         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
45318         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
45319         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
45320         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
45321         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
45322         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
45323         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
45324         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
45325         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
45326         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
45327         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
45328         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
45329         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
45330         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
45331         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
45332         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
45333         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
45334         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
45335         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
45336         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
45337         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
45338         Update #include.
45339         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
45340         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
45342 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45344         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
45345         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
45346         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
45347         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
45348         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
45349         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
45351 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45353         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
45354         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
45355         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45356         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
45358 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45360         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
45361         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
45362         (__libc_vfork): Define function under this name.
45363         (__vfork): Define as an alias.
45364         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
45365         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
45367 2014-08-04  Roland McGrath  <roland@hack.frob.com>
45369         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
45370         that was previously under [RESET_PID].
45371         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
45373 2014-08-04  Andreas Schwab  <schwab@suse.de>
45375         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
45377 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
45379         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
45380         (main): Likewise.
45382 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45384         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
45386 2014-08-01  Richard Henderon  <rth@redhat.com>
45388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
45389         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
45390         typo in exact zero test.
45391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45392         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45393         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45395 2014-08-01  Roland McGrath  <roland@hack.frob.com>
45397         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
45398         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
45399         * sysdeps/arm/sysdep.h: ... here.
45400         [!__ASSEMBLER__]: Include <stdint.h>.
45402 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45404         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
45405         (HAVE_WCTYPE_H): Likewise.
45406         (HAVE_ISWCTYPE): Likewise.
45407         (ENABLE_NLS): Likewise.
45408         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
45409         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
45411         * posix/regex_internal.c: Check if DEBUG is defined and is
45412         set.
45414         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
45415         (HAVE_MBSRTOWCS): Likewise.
45416         * posix/fnmatch.c: Include string.h unconditionally.
45418 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45420         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
45421         reversal.
45423 2014-07-31  Roland McGrath  <roland@hack.frob.com>
45425         * sysdeps/generic/safe-fatal.h: New file.
45426         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
45427         * nptl/forward.c: Include it.
45428         (__pthread_unwind): Use __safe_fatal as default action, rather
45429         than a bogus use of INTERNAL_SYSCALL that could never work.
45431         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
45432         * configure.ac (libc_cv_builtin_trap): New test.
45433         * configure: Regenerated.
45434         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
45435         (ABORT_INSTRUCTION): Define using __builtin_trap.
45437         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
45438         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
45439         * sysdeps/nptl/nptl-signals.h: New file.
45440         * nptl/pthreadP.h: Include <nptl-signals.h>.
45442 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45444         * sysdeps/s390/s390-64/utf16-utf32-z9.c
45445         (ONE_DIRECTION): Define.
45446         * sysdeps/s390/s390-64/utf8-utf16-z9.c
45447         (ONE_DIRECTION): Define.
45448         * sysdeps/s390/s390-64/utf8-utf32-z9.c
45449         (ONE_DIRECTION): Define.
45451 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
45453         * sysdeps/s390/Makefile: Delete file.
45454         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
45455         * sysdeps/s390/__longjmp.c: Delete file.
45456         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
45457         Remove fields __flags and __reserved.
45458         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
45459         and add versioning.
45460         * sysdeps/s390/rtld-__longjmp.c: Delete file.
45461         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
45462         * sysdeps/s390/rtld-setjmp.S: Likewise.
45463         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
45464         * sysdeps/s390/s390-32/__longjmp.c: ... here.
45465         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
45466         * sysdeps/s390/s390-32/setjmp.S: ... here.
45467         Add versioning.
45468         (__sigsetjmp): Remove setting __flags field.
45469         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
45470         * sysdeps/s390/s390-64/__longjmp.c: ... here.
45471         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
45472         * sysdeps/s390/s390-64/setjmp.S: ... here.
45473         Add versioning.
45474         (__sigsetjmp): Remove setting __flags field.
45475         * sysdeps/s390/setjmp.S: Delete file.
45476         * sysdeps/s390/sigjmp.c: Likewise.
45477         * sysdeps/s390/v1-longjmp.c: Likewise.
45478         * sysdeps/s390/v1-setjmp.h: Likewise.
45479         * sysdeps/s390/v1-sigjmp.c: Likewise.
45480         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
45481         Remove v1-longjmp_chk.
45482         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
45483         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
45484         Include debug/longjmp_chk.c and add versioning.
45485         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
45486         Include nptl/pt-longjmp.c and add versioning.
45487         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
45488         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
45489         Include __longjmp.c.
45490         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45491         Move to ...
45492         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
45493         (__getcontext): Remove setting __flags field.
45494         Add versioning.
45495         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45496         Don't restore upper high grps.
45497         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
45498         Likewise.
45499         (__swapcontext): Remove setting uc_flags field.
45500         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
45501         Delete file.
45502         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45503         Include __longjmp.c.
45504         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45505         Move to ...
45506         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
45507         (__getcontext): Remove setting __flags field.
45508         Add versioning.
45509         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
45510         (__swapcontext): Remove setting uc_flags field.
45511         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
45512         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
45513         Remove fields uc_high_gprs and __reserved.
45514         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
45515         New file with reverted content.
45516         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
45517         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
45518         Regenerated.
45519         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
45520         Regenerated.
45522 2014-07-31  Andreas Schwab  <schwab@suse.de>
45524         * config.h.in (HAVE_IFUNC): Define to 0.
45525         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
45526         definedness.
45528 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
45530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45531         memmove-avx-unaligned, memcpy-avx-unaligned and
45532         mempcpy-avx-unaligned.
45533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45534         Add tests for AVX memcpy functions.
45535         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
45536         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
45537         memcpy_chk.
45538         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
45539         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
45540         memmove_chk.
45541         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
45542         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
45543         mempcpy_chk.
45544         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
45545         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
45546         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
45548 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45550         [BZ #17213]
45551         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
45552         powerpc64le.
45554 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
45556         [BZ #16839]
45557         * manual/llio.texi: Add section about open file description locks.
45558         * manual/examples/ofdlocks.c: Example of open file description
45559         lock usage.
45560         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
45561         F_OFD_SETLK, and F_OFD_SETLKW.
45563 2014-07-23  Allan McRae  <allan@archlinux.org>
45565         * po/es.po: Update Spanish translation from translation project.
45567 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
45569         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
45571 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
45573         [BZ #17078]
45574         * sysdeps/arm/dl-machine.h (elf_machine_rela)
45575         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
45576         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
45578 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
45580         [BZ #17088]
45581         * math/fesetenv.c (__fesetenv)
45582         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
45583         * math/feupdateenv.c (__feupdateenv)
45584         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
45586         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
45587         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45588         (__ASSUME_SOCKETCALL): Do not define.
45590         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
45591         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
45592         (__ASSUME_SOCKETCALL): Do not define.
45593         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
45594         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45595         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45596         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
45597         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45598         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
45599         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45600         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45602         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
45603         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
45604         (__ASSUME_SOCKETCALL): Do not define.
45605         (__ASSUME_IPC64): Define unconditionally.
45606         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45607         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45608         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
45609         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45610         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
45611         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45612         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
45613         Likewise.
45615         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
45616         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
45617         (__ASSUME_SOCKETCALL): Do not define.
45618         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
45619         (__ASSUME_FUTEX_LOCK_PI): Likewise.
45620         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45621         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45622         (__ASSUME_REQUEUE_PI): Define unconditionally.
45623         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
45624         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
45625         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45626         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
45627         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45628         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45630         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
45631         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
45632         (__ASSUME_SOCKETCALL): Do not define.
45633         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
45634         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45635         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45636         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
45637         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45638         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45640         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
45641         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
45642         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
45643         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
45644         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45645         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
45646         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
45647         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
45648         (__ASSUME_GETCPU_SYSCALL): Likewise.
45650         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
45651         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
45652         cases for individual architectures.
45653         * sysdeps/gnu/configure: Regenerated.
45654         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
45655         LIBC_SLIBDIR_RTLDDIR.
45656         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
45657         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
45658         LIBC_SLIBDIR_RTLDDIR.
45659         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
45660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
45661         LIBC_SLIBDIR_RTLDDIR.
45662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45663         Regenerated.
45664         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
45665         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
45666         file.
45667         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
45668         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
45669         file.
45670         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
45671         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
45672         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
45673         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
45675         * sysdeps/aarch64/shlib-versions: Move to ...
45676         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
45677         * sysdeps/alpha/shlib-versions: Move to ...
45678         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
45679         * sysdeps/arm/shlib-versions: Move to ...
45680         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
45681         * sysdeps/hppa/shlib-versions: Move all contents except for
45682         libgcc_s entry to ...
45683         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
45684         entry from ...
45685         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
45686         * sysdeps/ia64/shlib-versions: Move to ...
45687         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
45688         entry from ...
45689         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
45690         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
45691         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
45692         * sysdeps/microblaze/shlib-versions: Move to ...
45693         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
45694         * sysdeps/mips/shlib-versions: Move to ...
45695         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
45696         entry from ...
45697         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
45698         * sysdeps/tile/shlib-versions: Move to ...
45699         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
45700         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
45701         from ...
45702         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
45703         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
45704         entry from ...
45705         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
45707 2014-07-17  Will Newton  <will.newton@linaro.org>
45709         * sysdeps/arm/bits/atomic.h
45710         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
45711         (__arch_compare_and_exchange_bool_16_int): Likewise.
45712         (__arch_compare_and_exchange_bool_64_int): Likewise.
45714         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
45715         into an #else block.
45717 2014-07-16  Roland McGrath  <roland@hack.frob.com>
45719         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
45720         just Linux configurations.  Test empirically that the compiler sets
45721         __ARM_EABI__, rather than using the tuple to decide.
45722         * sysdeps/arm/preconfigure: Regenerated.
45723         * sysdeps/unix/sysv/linux/arm/configure: File removed.
45724         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
45725         contents appended ...
45726         * sysdeps/arm/configure.ac: ... here.
45727         * sysdeps/arm/configure: Regenerated.
45729 2014-07-15  Roland McGrath  <roland@hack.frob.com>
45731         * nptl/pthread_kill.c: New file.
45732         * nptl/pthread_sigmask.c: New file.
45733         * nptl/pthread_sigqueue.c: New file.
45735         * sysdeps/nptl/lowlevellock.h: New file.
45736         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
45737         * sysdeps/nptl/lowlevellock-futex.h: New file.
45739         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
45740         Remove dead declarations.
45742 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
45744         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
45745         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
45746         config-cflags-avx2.
45747         * sysdeps/x86_64/configure.ac: Likewise.
45748         * sysdeps/i386/configure: Regenerated.
45749         * sysdeps/x86_64/configure: Likewise.
45750         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45751         memset-avx2 only if config-cflags-avx2 is yes.
45752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45753         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
45754         defined.
45755         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
45756         only if HAVE_AVX2_SUPPORT is defined.
45757         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45759 2014-07-14  Alan Modra  <amodra@gmail.com>
45761         [BZ #17153]
45762         * elf/elf.h (DT_PPC64_NUM): Correct value.
45763         * NEWS: Add to fixed bug list.
45765 2014-07-13  Jim Meyering  <meyering@fb.com>
45767         [BZ 17150]
45768         regex: don't deref NULL upon heap allocation failure
45769         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
45770         failure in one more place.
45771         To trigger the segfault, configure grep -with-included-regex,
45772         build it, and run these commands:
45773         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
45775 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
45777         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
45779 2014-07-11  Richard Henderson  <rth@redhat.com>
45781         * sysdeps/aarch64/libm-test-ulps: Update.
45783 2014-07-10  Florian Weimer  <fweimer@redhat.com>
45785         [BZ #17135]
45786         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
45787         * nptl/allocatestack.c (__nptl_setxid_error): New function.
45788         (__nptl_setxid): Initialize error member.  Call
45789         __nptl_setxid_error.
45790         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
45791         * nptl/descr.h (struct xid_command): Add error member.
45792         * nptl/tst-setuid3.c: New file.
45793         * nptl/Makefile (tests): Add it.
45795 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45797         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
45798         New define.
45799         (__lll_trylock): Use __lll_base_trylock.
45800         (__lll_cond_trylock): Likewise.
45802 2014-07-10  Roland McGrath  <roland@hack.frob.com>
45804         * nptl/pthread_create.c (start_thread): Use atomic_or and
45805         lll_futex_wake directly rather than lll_robust_dead.
45806         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45807         (lll_robust_dead): Macro removed.
45808         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
45809         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45810         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45811         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45812         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45813         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45814         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45815         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45816         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45817         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45818         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45819         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45820         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45821         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45822         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45824         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
45825         Use atomic_compare_and_exchange_val_acq directly rather than
45826         lll_robust_trylock.
45827         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
45828         (__lll_robust_trylock, lll_robust_trylock): Removed.
45829         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
45830         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
45831         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
45832         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
45833         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
45834         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
45835         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
45836         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
45837         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
45838         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
45839         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
45840         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
45841         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
45842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
45844 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45846         * manual/locale.texi (Locale Names): New section documenting
45847         locale name syntax.  Adjust menu and node chaining accordingly.
45848         (Choosing Locale): Reference Locale Names, Locale Categories.
45849         Mention setting LC_ALL=C.  Reflect that name syntax is now
45850         documented.
45851         (Locale Categories): New section title.  Reference Locale Names.
45852         LC_ALL is an environment variable, but not a category.
45853         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
45854         description, now in Locale Name.  Reference that section.  Locale
45855         name syntax is now documented.
45857 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45859         [BZ #17137]
45860         * locale/findlocale.c (name_present, valid_locale_name): New
45861         functions.
45862         (_nl_find_locale): Use the loc_name variable to store name
45863         candidates.  Call name_present and valid_locale_name to check and
45864         validate locale names.  Return an error if the locale is invalid.
45866 2014-07-02  Florian Weimer  <fweimer@redhat.com>
45868         * locale/setlocale.c (setlocale): Use strdup for allocating
45869         composite name copy.
45871 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45873         Sync up with gnulib.
45874         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
45875         [!_LIBC && ENABLE_NLS]: Include gettext.h.
45876         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
45877         and _GL_ARG_NONNULL.
45878         [USE_UNLOCKED_IO]: Include unlocked-io.h.
45879         [!_LIBC]: Include code for Windows and Cygwin.
45880         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
45881         Include prototype for int strerror_r.
45882         [!_LIBC] (is_open): New function.
45883         (flush_stdout): New function.
45884         (print_errno_message): Use it.
45885         (error): Likewise.
45886         (error_at_line): Likewise.
45887         (error_tail) Add function attribute macros.  Use
45888         __builtin_expect.
45890         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
45892         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
45894         * io/ftw.c: Include sys/param.h unconditionally.
45896         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
45898         [BZ #17125]
45899         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
45900         libc_freeres_ptr.
45901         (freecache): New function to free CACHE on exit.
45903         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
45904         initialization.
45906 2014-07-09  David S. Miller  <davem@davemloft.net>
45908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45910         * sysdeps/sparc/nptl/internaltypes.h: Delete.
45911         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
45912         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
45913         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
45914         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
45915         * sysdeps/sparc/nptl/sem_init.c: Likewise.
45916         * sysdeps/sparc/nptl/sem_post.c: Likewise.
45917         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
45918         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
45919         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
45920         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
45921         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
45922         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
45924 2014-07-09  Andreas Schwab  <schwab@suse.de>
45926         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
45927         output.
45928         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
45929         (do_test): Likewise.
45931         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45933 2014-07-09  Will Newton  <will.newton@linaro.org>
45935         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
45936         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
45937         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
45938         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
45939         * sysdeps/hppa/start.S (_start): Likewise.
45941 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
45943         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
45945         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
45946         defined.
45948 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45950         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
45951         after checking that it is non-NULL.
45953         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
45955 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45957         * sysdeps/powerpc/memmove.c: Remove file.
45958         * sysdeps/powerpc/powerpc32/power4/memcopy.h
45959         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
45960         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
45961         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
45962         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
45963         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
45964         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
45965         string memmove instead of removed powerpc one.
45967         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45968         [weak_alias]: Fix compiler warning due trailing data.
45969         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
45970         [weak_alias]: Likewise.
45971         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
45972         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
45974         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45975         (__libc_ifunc_impl_list): Add memmove functions.
45977 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45979         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
45980         Remove code.
45981         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
45982         Likewise.
45983         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
45984         Likewise.
45985         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
45986         Likewise.
45987         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
45988         Likewise.
45989         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
45990         Likewise.
45991         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
45992         Likewise.
45993         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
45994         Likewise.
45995         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
45996         Likewise.
45997         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
45998         Likewise.
45999         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
46000         Likewise.
46001         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
46002         Likewise.
46003         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
46004         Likewise.
46005         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
46006         Likewise.
46007         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
46008         Likewise.
46009         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46010         Likewise.
46011         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46012         Likewise.
46014 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46016         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46017         to avoid alignment traps in non-cacheable memory.
46018         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46021         multiarch objects.
46022         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46023         file: multiarch power7 memmove.
46024         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46025         multiarch default memmove.
46026         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46027         multiarch memove for powerpc32/power4.
46029         * string/bcopy.c: Use full path to include memmove.c.
46030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46031         multiarch objects.
46032         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46033         bcopy for powerpc64.
46034         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46035         bcopy for powerpc64.
46036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46037         and memmove implementations.
46038         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46039         optimized multiarch memmove for POWER7/powerpc64.
46040         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46041         default multiarch memmove for powerpc64.
46042         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46043         multiarch for powerpc64.
46044         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46045         for POWER7/powerpc64.
46046         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46047         memmove for POWER7/powerpc64.
46049         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46050         glibc default one.
46052         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46053         __ELF_NATIVE_CLASS equal to 64.
46055 2014-07-07  Roland McGrath  <roland@hack.frob.com>
46057         * sysdeps/nptl/lowlevellock.h: File removed.
46059         * NEWS: NPTL is no longer an add-on!
46060         * nptl/internaltypes.h: Moved ...
46061         * sysdeps/nptl/internaltypes.h: ... here.
46062         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46063         * sysdeps/nptl/fork.c: Likewise.
46064         * sysdeps/nptl/gai_misc.h: Likewise.
46065         * sysdeps/nptl/librt-cancellation.c: Likewise.
46066         * sysdeps/nptl/jmp-unwind.c: Likewise.
46067         * sysdeps/nptl/setxid.h: Likewise.
46068         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
46069         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
46070         * sysdeps/unix/sysv/linux/arm/Implies: New file.
46071         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
46072         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
46073         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
46074         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
46075         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
46076         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
46077         * sysdeps/unix/sysv/linux/mips/Implies: New file.
46078         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
46079         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
46080         * sysdeps/unix/sysv/linux/sh/Implies: New file.
46081         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
46082         * sysdeps/unix/sysv/linux/tile/Implies: New file.
46083         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
46084         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
46085         * nptl/Makeconfig: Moved ...
46086         * sysdeps/nptl/Makeconfig: ... here.
46087         * nptl/configure: File removed.
46088         * nptl/ANNOUNCE: File removed.
46089         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
46090         * sysdeps/unix/sysv/linux/configure: Regenerated.
46092         * nptl/Makefile (routines): Add libc_pthread_init,
46093         libc_multiple_threads, register-atfork and unregister-atfork.
46094         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
46095         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
46096         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
46097         pthread-pi-defines.sym, structsem.sym.
46098         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
46099         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
46100         [$(subdir) = nptl] (tests): Add tst-setgetname.
46101         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
46102         * sysdeps/unix/sysv/linux/sigaction.c: Just include
46103         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
46104         [!LIBC_SIGACTION]: Remove aliases.
46105         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
46106         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
46107         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
46108         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
46109         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
46110         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
46111         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46112         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46113         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
46114         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
46115         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
46116         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
46117         __libc_allocate_rtsig_private.
46118         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
46119         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
46120         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
46121         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
46122         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
46123         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
46124         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
46125         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
46126         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
46127         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
46128         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
46129         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
46130         * nptl/internaltypes.h: ... here.
46131         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
46132         * sysdeps/nptl/jmp-unwind.c: ... here.
46133         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
46134         * nptl/libc-lowlevellock.c: ... here.
46135         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
46136         * nptl/libc_multiple_threads.c: ... here.
46137         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
46138         * nptl/libc_pthread_init.c: ... here.
46139         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
46140         * nptl/lowlevelbarrier.sym: ... here.
46141         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
46142         * nptl/lowlevelcond.sym: ... here.
46143         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
46144         * nptl/lowlevellock.c: ... here.
46145         * nptl/lowlevellock.h: Moved ...
46146         * sysdeps/nptl/lowlevellock.h: ... here.
46147         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
46148         * nptl/lowlevelrobustlock.c: ... here.
46149         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
46150         * nptl/lowlevelrobustlock.sym: ... here.
46151         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
46152         * nptl/lowlevelrwlock.sym: ... here.
46153         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
46154         * nptl/pt-fork.c: ... here.
46155         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
46156         * nptl/pthread-pi-defines.sym: ... here.
46157         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
46158         * nptl/pthread_attr_getaffinity.c: ... here.
46159         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
46160         * nptl/pthread_attr_setaffinity.c: ... here.
46161         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
46162         * nptl/pthread_mutex_cond_lock.c: ... here.
46163         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46164         Update #include.
46165         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
46166         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
46167         * nptl/pthread_once.c: ... here, replacing old file.
46168         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
46169         * nptl/pthread_yield.c: ... here.
46170         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
46171         * nptl/register-atfork.c: ... here.
46172         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
46173         * nptl/sem_post.c: ... here.
46174         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
46175         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
46176         * nptl/sem_timedwait.c: ... here.
46177         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
46178         * nptl/sem_trywait.c: ... here.
46179         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
46180         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
46181         * nptl/sem_wait.c: ... here.
46182         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
46183         * nptl/structsem.sym: ... here.
46184         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
46185         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
46186         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
46187         * nptl/unregister-atfork.c: ... here.
46188         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
46189         * nptl/unwindbuf.sym: ... here.
46190         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
46191         * sysdeps/nptl/fork.c: ... here.
46192         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
46193         * sysdeps/nptl/fork.h: ... here.
46194         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
46195         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
46196         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
46197         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
46198         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
46199         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
46200         * sysdeps/unix/sysv/linux/getpid.c: ... here.
46201         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
46202         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
46203         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
46204         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
46205         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
46206         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
46207         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
46208         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
46209         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
46210         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
46211         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
46212         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
46213         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
46214         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
46215         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
46216         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
46217         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
46218         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
46219         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
46220         * sysdeps/unix/sysv/linux/raise.c: ... here.
46221         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
46222         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
46223         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
46224         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
46225         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
46226         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
46227         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
46228         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
46229         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
46230         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
46231         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
46232         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
46233         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
46234         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
46235         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
46237 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46239         * sysdeps/generic/memcopy.h: Add comment for
46240         MEMCPY_OK_FOR_FWD_MEMMOVE.
46242 2014-07-04  Will Newton  <will.newton@linaro.org>
46244         * string/memchr.c: Merge from gnulib.
46245         [_LIBC]: Remove conditionals.
46246         (__ptr_t): Remove define.
46247         (LONG_MAX_32_BITS): Likewise.
46248         (LONG_MAX): Likewise.
46249         (MEMCHR): Use ANSI prototype and optimize algorithm.
46251         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
46253 2014-07-03  Roland McGrath  <roland@hack.frob.com>
46255         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
46256         (lll_futex_timed_wait_bitset): Fix syscall argument count.
46258         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
46259         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
46260         in a bare environment with no <stdlib.h> installed.
46261         * sysdeps/nptl/configure: Regenerated.
46263         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
46265         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
46266         AC_EGREP_CPP for kernel header checks, so they only succeed if
46267         including <linux/version.h> actually works right.
46268         * sysdeps/unix/sysv/linux/configure: Regenerated.
46270         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
46271         value so it's not diagnosed as unused.
46273         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
46274         thing) with "ifeq ($(subdir),rt)".
46276 2014-07-03  Richard Henderson  <rth@redhat.com>
46278         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
46279         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
46280         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
46282         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
46283         (math_force_eval): New.
46285         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
46286         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
46288         * sysdeps/alpha/fpu/s_round.c: Remove file.
46289         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
46291         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
46292         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
46293         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
46294         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
46295         (_dl_start, print_statistics): Likewise.
46296         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
46297         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
46299         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46300         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46301         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46302         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46303         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46304         (HP_SMALL_TIMING_AVAIL): Define.
46305         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46306         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46307         (HP_SMALL_TIMING_AVAIL): Define.
46308         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46309         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
46311         * sysdeps/aarch64/hp-timing.h: New file.
46313         * sysdeps/generic/hp-timing.h: Remove dead comment.
46314         * sysdeps/generic/hp-timing-common.h: New file.
46315         * sysdeps/alpha/hp-timing.h: Include it.
46316         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
46317         * sysdeps/i386/i686/hp-timing.h: Likewise.
46318         * sysdeps/ia64/hp-timing.h: Likewise.
46319         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46320         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46321         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46322         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46323         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
46324         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
46325         (hp_timing_t): New.
46327         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
46328         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
46329         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
46330         * elf/rtld.c (_dl_start_final): Likewise.
46331         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
46332         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46333         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46334         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46335         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46336         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46337         (HP_TIMING_DIFF_INIT): Remove.
46338         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46339         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
46340         (HP_TIMING_DIFF_INIT): Remove.
46341         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
46342         * sysdeps/i386/i686/hp-timing.c: Remove file.
46343         * sysdeps/x86_64/hp-timing.c: Remove file.
46344         * sysdeps/ia64/hp-timing.c: Remove file.
46345         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
46346         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
46347         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
46348         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
46350         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
46351         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
46352         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
46353         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46354         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
46355         (HP_TIMING_ACCUM): Remove.
46356         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46357         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
46358         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
46360         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
46361         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
46362         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
46363         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
46364         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
46365         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46366         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
46367         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
46369         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
46371 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
46373         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
46375 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46377         Sync up with gettext.
46378         * intl/loadmsgcat.c: Define O_BINARY if not defined.
46379         [_MSC_VER]: Include malloc.h
46380         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
46381         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
46382         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
46383         TEMP_FAILURE_RETRY.  Cast return of alloca.
46384         [!_LIBC] Call gl_rwlock_init.
46385         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
46387 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46389         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
46390         before checking its value.
46392 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46394         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
46396         * debug/memcpy_chk.c: Don't include pagecopy.h.
46397         * debug/mempcpy_chk.c: Likewise.
46398         * string/memcpy.c: Likewise.
46399         * string/memmove.c: Likewise.
46400         * sysdeps/powerpc/memmove.c: Likewise.
46401         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
46402         definition of PAGE_COPY_FWD_MAYBE here...
46403         * sysdeps/generic/pagecopy.h: ... from here.
46404         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
46406 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46407             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46409         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
46410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
46411         optimizations.
46412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46413         (__libc_ifunc_impl_list): Likewise.
46414         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
46415         multiarch strcat for PPC64.
46416         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
46417         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
46419 2014-07-02  Roland McGrath  <roland@hack.frob.com>
46421         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
46423 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46425         * intl/loadmsgcat.c: Remove declaration of
46426         get_sysdep_segment_value.
46427         (get_sysdep_segment_value): Use ISO C style.
46428         (_nl_load_domain): Use ISO C style.  Get rid of redundant
46429         semicolon.  Fix typo and formatting in comment.
46430         (_nl_unload_domain): Use ISO C style.
46432         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
46434 2014-07-02  Will Newton  <will.newton@linaro.org>
46436         * malloc/obstack.c: Merge from gnulib master.
46437         [HAVE_CONFIG_H]: Remove conditional code.
46438         [!_LIBC]: Include config.h.
46439         [!ELIDE_CODE]: Don't include inttypes.h, include
46440         stdint.h unconditionally.
46441         (print_and_abort): Mark as _Noreturn.
46442         (_obstack_allocated_p): Mark as __attribute_pure__.
46443         (obstack_free): Rename to __obstack_free.
46444         [!__attribute__]: Remove conditional code.
46445         * malloc/obstack.h: Merge from gnulib master.
46446         [__cplusplus]: Move conditional down.
46447         [!__attribute_pure__]: Define __attribute_pure__ here
46448         if it is not already defined.
46449         (_obstack_memory_used): Mark as __attribute_pure__.
46450         [!__obstack_free]: Define as obstack_free.
46451         [__GNUC__]: Remove check for ancient NeXT gcc.
46453 2014-07-02  Will Newton  <will.newton@linaro.org>
46454             Paul Eggert  <eggert@cs.ucla.edu>
46456         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
46458 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46460         * resolv/gethnamaddr.c: Add comment warning that the file is
46461         not maintained.
46463 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
46465         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
46466         entries.
46468         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
46469         entry for aio_cancel and aio_cancel64.
46470         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
46471         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
46472         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
46473         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
46474         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
46475         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
46476         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
46477         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
46478         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
46479         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
46480         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
46481         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
46482         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
46484 2014-07-01  Roland McGrath  <roland@hack.frob.com>
46486         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
46487         * nptl/pthread_mutex_lock.c: Likewise.
46488         * nptl/pthread_mutex_timedlock.c: Likewise.
46489         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
46491 2014-07-01  Richard henderson  <rth@redhat.com>
46493         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
46494         (__isnan, __isnanl): Remove.
46495         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
46497         * sysdeps/alpha/fpu/libm-test-ulps: Update.
46499 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46501         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46503 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46505         * resolv/nss_dns/dns-host.c (getanswer_r)
46506         [MULTI_PTRS_ARE_ALIASES]: Remove code.
46508 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
46510         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46511         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
46512         undefine.
46513         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
46514         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
46516 2014-07-01  Roland McGrath <roland@hack.frob.com>
46518         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
46519         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
46521         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
46522         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
46524         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
46525         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
46526         ... here.
46527         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
46528         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
46530         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
46531         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
46532         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
46533         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
46535         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
46536         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
46537         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
46538         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
46539         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
46540         Moved ...
46541         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
46542         ... here.
46543         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
46544         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
46545         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
46546         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
46547         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
46548         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
46549         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
46550         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
46551         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
46552         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46553         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
46554         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
46555         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
46556         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
46557         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
46558         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
46559         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
46560         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
46561         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
46562         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
46563         ... here.
46564         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
46565         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
46566         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
46567         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
46568         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
46569         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
46570         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
46571         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
46573 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
46575         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
46576         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
46577         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
46578         Add sysdep.
46580 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46584 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46586         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
46587         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
46589         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46591         * sysdeps/arm/libm-test-ulps: Regenerated.
46593 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46594             Roland McGrath <roland@hack.frob.com>
46596         * test-skeleton.c (signal_handler): Kill the whole process group
46597         before killing the child individually.
46598         (main): Report any failure on `setpgid'.
46600 2014-06-30  Roland McGrath  <roland@hack.frob.com>
46602         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
46603         from _TLS_H to _ARM_NPTL_TLS_H.
46604         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
46605         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
46607 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
46609         [BZ #16539]
46610         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
46611         (__expm1l): Return argument unchanged when small but not
46612         subnormal.
46614         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
46615         include macro name.
46616         (_FP_UNPACK_RAW_1_P): Likewise.
46617         (_FP_PACK_RAW_1): Likewise.
46618         (_FP_PACK_RAW_1_P): Likewise.
46619         (_FP_MUL_MEAT_1_wide): Likewise.
46620         (_FP_MUL_MEAT_DW_1_hard): Likewise.
46621         (_FP_MUL_MEAT_1_hard): Likewise.
46622         (_FP_DIV_MEAT_1_imm): Likewise.
46623         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
46624         (_FP_DIV_MEAT_1_udiv): Likewise.
46625         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
46626         (_FP_UNPACK_RAW_2): Likewise.
46627         (_FP_UNPACK_RAW_2_P): Likewise.
46628         (_FP_PACK_RAW_2): Likewise.
46629         (_FP_PACK_RAW_2_P): Likewise.
46630         (_FP_MUL_MEAT_DW_2_wide): Likewise.
46631         (_FP_MUL_MEAT_2_wide): Likewise.
46632         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
46633         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
46634         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
46635         (_FP_MUL_MEAT_2_gmp): Likewise.
46636         (_FP_DIV_MEAT_2_udiv): Likewise.
46637         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
46638         (_FP_FRAC_SRL_4): Likewise.
46639         (_FP_FRAC_SRST_4): Likewise.
46640         (_FP_FRAC_SRS_4): Likewise.
46641         (_FP_UNPACK_RAW_4): Likewise.
46642         (_FP_UNPACK_RAW_4_P): Likewise.
46643         (_FP_PACK_RAW_4): Likewise.
46644         (_FP_PACK_RAW_4_P): Likewise.
46645         (_FP_MUL_MEAT_DW_4_wide): Likewise.
46646         (_FP_MUL_MEAT_4_wide): Likewise.
46647         (_FP_MUL_MEAT_4_gmp): Likewise.
46648         (umul_ppppmnnn): Likewise.
46649         (_FP_DIV_MEAT_4_udiv): Likewise.
46650         (__FP_FRAC_ADD_4): Likewise.
46651         (__FP_FRAC_SUB_3): Likewise.
46652         (__FP_FRAC_SUB_4): Likewise.
46653         (__FP_FRAC_DEC_3): Likewise.
46654         (__FP_FRAC_DEC_4): Likewise.
46655         (__FP_FRAC_ADDI_4): Likewise.
46656         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46657         (_FP_FRAC_SRL_8): Likewise.
46658         (_FP_FRAC_SRS_8): Likewise.
46660         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
46661         include macro name.
46662         (FP_UNPACK_RAW_EP): Likewise.
46663         (FP_PACK_RAW_E): Likewise.
46664         (FP_PACK_RAW_EP): Likewise.
46665         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
46666         (_FP_ISSIGNAN): Likewise.
46667         (_FP_ADD_INTERNAL): Likewise.
46668         (_FP_FMA): Likewise.
46669         (_FP_CMP): Likewise.
46670         (_FP_SQRT): Likewise.
46671         (_FP_TO_INT): Likewise.
46672         (_FP_FROM_INT): Likewise.
46673         (FP_EXTEND): Likewise.
46674         (_FP_DIV_MEAT_N_loop): Likewise.
46676 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
46678         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
46679         throughout.
46681 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
46683         [BZ #17097]
46684         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
46685         result with correct sign in case of exponents that produce
46686         overflow except for X very close to 1.
46688 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
46690         mktime: merge #if/#ifdef usage from glibc
46691         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
46692         as that works with both Glibc's and Gnulib's style.
46693         See thread starting at Siddhesh Poyarekar's bug report at:
46694         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
46696 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46698         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
46699         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
46700         * sysdeps/tile/tilegx/memmove.c: Remove file.
46702 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46704         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
46705         abi-name definition.
46706         * scripts/soversions.awk: Do not handle or generate ABI lines.
46707         * shlib-versions: Remove ABI entries.
46708         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
46709         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
46711 2014-06-27  Roland McGrath  <roland@hack.frob.com>
46713         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
46714         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
46715         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
46716         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
46717         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
46718         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
46719         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
46720         Moved ...
46721         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
46722         ... here.
46723         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
46724         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
46725         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
46726         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
46727         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
46728         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
46729         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
46730         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
46731         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
46732         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
46733         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
46734         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
46735         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
46736         Moved ...
46737         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
46738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
46739         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
46740         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
46741         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
46742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
46743         Moved ...
46744         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
46745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
46746         Moved ...
46747         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
46748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
46749         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
46750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
46751         Moved ...
46752         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
46753         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
46754         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
46755         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
46756         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
46757         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
46758         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
46759         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
46760         Moved ...
46761         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
46762         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
46763         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
46764         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
46765         Moved ...
46766         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
46767         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
46768         Moved ...
46769         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
46770         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
46771         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
46772         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
46773         Moved ...
46774         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
46775         ... here.
46776         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
46777         Identical file removed.
46778         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
46779         Moved ...
46780         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
46781         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
46782         Identical file removed.
46783         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
46784         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
46785         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
46786         Moved ...
46787         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
46788         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
46789         Identical file removed.
46790         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
46791         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
46792         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
46793         Identical file removed.
46794         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
46795         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
46796         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
46797         Identical file removed.
46798         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
46799         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
46800         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
46801         Identical file removed.
46802         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
46803         Moved ...
46804         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
46805         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
46806         Identical file removed.
46807         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
46808         Moved ...
46809         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
46810         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
46811         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
46812         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
46813         Identical file removed.
46814         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
46815         Moved ...
46816         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
46817         ... here.
46818         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
46819         Identical file removed.
46820         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
46821         Moved ...
46822         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
46823         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
46824         Identical file removed.
46825         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
46826         Moved ...
46827         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
46828         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
46829         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
46830         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
46831         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
46832         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
46833         Moved ...
46834         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
46835         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
46836         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
46838         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
46839         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
46840         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
46841         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
46842         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
46844 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
46846         [BZ #17092]
46847         * nscd/nscd.c (monitor_child): Return exit status of child
46848         instead of return value from wait syscall.
46850 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
46852         * configure.ac (libc_commonpagesize): Remove variable.
46853         (libc_relro_required): Likewise.
46854         (libc_cv_z_relro): Remove configure test.
46855         * configure: Regenerated.
46856         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
46857         variable.
46858         (libc_relro_required): Likewise.
46859         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
46860         (libc_relro_required): Likewise.
46861         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
46862         (libc_relro_required): Likewise.
46863         * sysdeps/arm/preconfigure: Regenerated.
46864         * sysdeps/ia64/preconfigure: Remove file.
46865         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
46866         variable.
46867         (libc_relro_required): Likewise.
46869         [BZ #16561]
46870         [BZ #16562]
46871         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
46872         (__ieee754_yn): Set FE_TONEAREST mode internally and then
46873         recompute overflowing results in original rounding mode.
46874         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
46875         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
46876         recompute overflowing results in original rounding mode.
46877         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
46878         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46879         recompute overflowing results in original rounding mode.
46880         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46881         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46882         recompute overflowing results in original rounding mode.
46883         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
46884         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
46885         recompute overflowing results in original rounding mode.
46886         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
46887         (libc_feholdsetround_ctx): New macro.
46888         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
46889         * sysdeps/i386/fpu/libm-test-ulps: Update.
46890         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
46892 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46894         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
46895         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
46896         corresponding .cpsetup call.
46898 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46900         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
46901         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
46902         * sysdeps/arm/Makefile [$(subdir) = csu]
46903         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
46904         (static-only-routines): Add aeabi_read_tp here.
46905         (shared-only-routines): Add libc-aeabi_read_tp here.
46906         (CFLAGS-libc-start.c): Add -fexceptions here.
46907         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
46908         (sysdep_routines, static-only-routines, shared-only-routines):
46909         Don't add to these here.
46910         (CFLAGS-libc-start.c): Likewise.
46912         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
46913         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46914         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
46915         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46916         * sysdeps/arm/Makefile [$(subdir) = rt]
46917         (librt-sysdep_routines, librt-shared-only-routines):
46918         Append rt-aeabi_unwind_cpp_pr1 here.
46919         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
46920         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
46921         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
46922         (libpthread-sysdep_routines, libpthread-shared-only-routines):
46923         Append nptl-aeabi_unwind_cpp_pr1 here.
46924         (tests): Filter out tst-cleanupx4 here.
46925         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
46926         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
46927         Don't do those here.
46929 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46931         * scripts/list-sources.sh: Do not handle ports specially.
46933 2014-06-26  Roland McGrath  <roland@hack.frob.com>
46935         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
46936         * sysdeps/arm/feupdateenv.c: Likewise.
46938         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
46940 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46942         * manual/texinfo.tex: Update to version 2014-05-05.10 with
46943         trailing whitespace removed.
46944         * scripts/config.guess: Update to version 2014-03-23.
46945         * scripts/config.sub: Update to version 2014-05-01
46946         * scripts/install-sh: Update to version 2013-12-25.23.
46947         * scripts/move-if-change: Update from gnulib.
46949 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46951         * debug/memmove_chk.c: Remove pagecopy.h include.
46953 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
46955         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
46956         identical to gnulib mktime.
46958 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
46960         * configure.ac: Do not test for machine being rs6000.  Do not test
46961         for powerpc*-*soft.
46962         * configure: Regenerated.
46964         [BZ #11505]
46965         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
46966         test.
46967         * configure: Regenerated.
46968         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
46969         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
46970         Remove configure test.
46971         * sysdeps/arm/configure: Regenerated.
46972         * sysdeps/nptl/configure.ac: Do not check
46973         libc_cv_asm_cfi_directives.
46974         * sysdeps/nptl/configure: Regenerated.
46975         * sysdeps/x86_64/nptl/configure.ac: Remove file.
46976         * sysdeps/x86_64/nptl/configure: Remove generated file.
46977         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
46978         unconditional.
46979         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
46981 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46983         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
46984         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
46985         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
46986         it is defined.
46988         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
46989         instead of whether it is defined.
46990         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
46991         * sysdeps/hppa/dl-machine.h: Likewise.
46992         * sysdeps/ia64/dl-machine.h: Likewise.
46993         * sysdeps/m68k/dl-machine.h: Likewise.
46994         * sysdeps/microblaze/dl-machine.h: Likewise.
46995         * sysdeps/mips/dl-machine.: Likewise.
46996         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
46997         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46998         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
46999         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47000         * sysdeps/sh/dl-machine.h: Likewise.
47001         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47002         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47003         * sysdeps/tile/dl-machine.h: Likewise.
47004         * sysdeps/x86_64/dl-machine.h: Likewise.
47006         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
47007         code.
47008         (verify_persistent_db): Likewise.
47010 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47013         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47015         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47017         Moved ...
47018         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47019         ... here.
47020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47021         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47023         Identical file removed.
47024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47025         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47026         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47027         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47029         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47031         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47033         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47035         Moved ...
47036         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47038         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47040         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47042         Moved ...
47043         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47045         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47047         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47048         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47049         Identical file removed.
47050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47051         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47053         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47055         Moved ...
47056         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47057         ... here.
47058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47059         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47061         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47063         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
47065         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
47066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
47067         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
47068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47069         Moved ...
47070         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
47071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
47072         Moved ...
47073         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
47074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
47075         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
47076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47077         Moved ...
47078         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
47079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
47080         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
47082         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
47083         folded into ...
47084         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
47085         * sysdeps/unix/sysv/linux/s390/Versions
47086         (libpthread: GLIBC_2.19): New version set.
47087         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
47088         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
47089         (librt: GLIBC_2.3.3): New version set.
47090         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
47091         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
47092         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
47093         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
47094         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
47095         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
47096         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
47097         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
47098         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
47099         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
47100         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
47101         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
47102         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
47103         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
47104         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
47105         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
47106         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
47107         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
47108         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
47109         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
47110         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
47111         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
47112         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
47113         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
47114         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
47115         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
47116         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
47117         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
47118         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
47119         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
47120         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
47121         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
47122         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
47123         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
47124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
47125         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
47126         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
47127         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
47128         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
47129         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
47130         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
47131         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
47132         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
47133         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
47134         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
47136         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
47137         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
47138         (__libc_vfork): Define the function under this name.
47139         [!NOT_IN_libc] (__vfork): Make this an alias.
47140         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47141         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
47142         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
47143         (__libc_vfork): Define the function under this name.
47144         [!NOT_IN_libc] (__vfork): Make this an alias.
47145         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
47146         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
47147         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
47148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
47149         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
47150         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47152         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
47153         code that was previously under [RESET_PID].
47154         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
47155         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
47156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
47158         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
47159         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
47160         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
47161         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
47162         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
47163         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
47164         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
47165         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
47166         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
47167         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
47168         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
47169         Moved ...
47170         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
47171         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
47172         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
47173         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
47174         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
47175         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
47176         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
47177         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
47178         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
47179         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
47180         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
47181         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
47182         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
47183         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
47184         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
47185         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
47186         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
47187         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
47188         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
47189         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
47190         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
47191         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
47192         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
47193         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
47194         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
47195         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
47196         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
47197         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
47198         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
47200 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47202         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
47203         that was previously under [RESET_PID].
47204         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
47206 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47208         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
47209         not undefine and redefine.
47210         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
47211         [O_CLOEXEC]: Make code unconditional.
47212         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
47213         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
47214         <kernel-features.h>.
47215         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
47216         conditional variable definition.
47217         (shm_open) [O_CLOEXEC]: Make code unconditional.
47218         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
47219         code.
47221         * configure.ac (USE_REGPARMS): Don't define here.
47222         * configure: Regenerated.
47223         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
47224         * sysdeps/i386/configure: Regenerated.
47226         * nptl/createthread.c: Don't include kernel-features.h.
47227         * nptl/pthread_cancel.c: Likewise.
47228         * nptl/pthread_condattr_setclock.c: Likewise.
47229         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
47230         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
47231         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
47232         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
47233         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
47234         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
47235         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
47236         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
47237         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
47238         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
47239         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
47240         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
47241         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
47242         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
47243         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
47244         * nscd/gai.c: Likewise.
47245         * nss/nss_db/db-open.c: Likewise.
47246         * sysdeps/generic/ldsodefs.h: Likewise.
47247         * sysdeps/sh/nptl/tls.h: Likewise.
47248         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47249         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
47250         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
47251         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
47252         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
47253         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47254         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
47255         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
47256         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
47257         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
47258         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
47259         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
47260         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
47261         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
47262         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
47263         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
47264         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
47265         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
47266         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
47267         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
47268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
47269         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
47270         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
47271         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
47272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
47273         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
47274         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
47275         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
47276         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
47277         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
47278         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
47279         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
47280         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
47281         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47282         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47283         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47284         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47285         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
47286         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
47287         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
47288         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47289         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
47290         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
47291         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47292         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
47293         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
47294         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
47295         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
47296         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
47297         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
47298         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
47299         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
47300         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
47301         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47302         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
47303         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
47304         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
47305         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
47306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
47308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
47309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
47310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
47311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
47312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
47313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
47314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
47317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
47318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
47319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
47320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
47326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
47327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
47328         * sysdeps/unix/sysv/linux/pread.c: Likewise.
47329         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
47330         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
47331         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
47332         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
47333         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
47334         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
47335         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
47336         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
47337         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
47338         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
47339         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
47340         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
47341         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
47342         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
47343         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
47344         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47345         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
47346         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
47347         * sysdeps/unix/sysv/linux/system.c: Likewise.
47348         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
47349         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
47350         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47351         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47352         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
47353         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47354         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
47356         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
47357         * configure: Regenerated.
47358         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
47360         * configure.ac (base_machine): Do not set specially for particular
47361         machines here.
47362         * configure: Regenerated.
47363         * sysdeps/powerpc/preconfigure: Move machine and base_machine
47364         settings from configure.ac.
47365         * sysdeps/i386/preconfigure: New file.
47366         * sysdeps/s390/preconfigure: Likewise.
47367         * sysdeps/sh/preconfigure: Likewise.
47368         * sysdeps/sparc/preconfigure: Likewise.
47370 2014-06-25  Roland McGrath  <roland@hack.frob.com>
47372         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
47373         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
47374         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
47375         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
47376         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
47377         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
47378         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
47379         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
47380         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
47381         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
47382         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
47383         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
47384         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
47385         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
47386         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
47387         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
47388         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
47389         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
47390         * sysdeps/sparc/sparc64/Makefile: ... appended here.
47392         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
47393         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
47394         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
47395         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
47396         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
47397         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
47398         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
47399         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
47400         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
47401         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
47402         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
47403         * sysdeps/sparc/sparc32/sem_post.c: ... here.
47404         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
47405         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
47406         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
47407         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
47408         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
47409         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
47410         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
47411         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
47412         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
47413         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
47414         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
47415         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
47416         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
47417         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
47418         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
47419         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
47420         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
47421         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
47422         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
47423         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
47424         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
47425         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
47426         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
47427         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
47428         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
47429         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
47431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
47432         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
47433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
47434         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
47435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47436         Moved ...
47437         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
47438         ... here.
47439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
47440         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
47441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
47442         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
47443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
47444         Moved ...
47445         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
47446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
47447         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
47448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
47449         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
47450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
47451         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
47452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47453         Moved ...
47454         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
47455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47456         Moved ...
47457         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
47458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
47459         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
47460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47461         Moved ...
47462         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
47463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
47464         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
47465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
47466         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
47467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
47468         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
47469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
47470         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
47471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47472         Moved ...
47473         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
47474         ... here.
47475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
47476         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
47477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
47478         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
47479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
47480         Moved ...
47481         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
47482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
47483         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
47484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
47485         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
47486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
47487         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
47488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47489         Moved ...
47490         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
47491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47492         Moved ...
47493         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
47494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
47495         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
47496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47497         Moved ...
47498         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
47499         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
47500         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
47501         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
47502         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
47504 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47506         * timezone/checktab.awk: Update from tzcode 2014e.
47507         * timezone/private.h: Likewise.
47508         * timezone/tzfile.h: Likewise.
47509         * timezone/zdump.c: Likewise.
47510         * timezone/zic.c: Likewise.
47512         * sysdeps/unix/sysv/linux/kernel-features.h
47513         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
47514         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
47515         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
47516         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47517         Remove conditional code.
47519 2014-06-25  Will Newton  <will.newton@linaro.org>
47521         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
47522         (_dl_arm_cap_flags): Add HWCAP2 values.
47523         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
47524         (_DL_HWCAP_COUNT): Increase to 37.
47525         (_DL_HWCAP_LAST): New define.
47526         (_DL_HWCAP2_LAST): New define.
47527         (_dl_procinfo): Add support for printing
47528         AT_HWCAP2 entries.
47529         (_dl_string_hwcap): Use _dl_hwcap_string.
47531 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47535 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
47537         * README: Do not mention ports directory.
47539         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
47540         Remove macro.
47541         * sysdeps/unix/sysv/linux/futimes.c: Do not include
47542         <kernel-features.h>.
47543         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
47544         conditional variable definition.
47545         (__futimes): Update comment.
47546         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
47547         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
47549         [BZ #16560]
47550         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
47551         arguments close to 0.
47552         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
47553         Likewise.
47554         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
47555         Likewise.
47556         * math/auto-libm-test-in: Add more tests of exp10.
47557         * math/auto-libm-test-out: Regenerated.
47558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47560         * sysdeps/unix/sysv/linux/kernel-features.h
47561         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
47562         * sysdeps/unix/sysv/linux/readv.c: Do not include
47563         <kernel-features.h>.
47564         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47565         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47566         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47567         unconditional.
47568         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47569         conditional code.
47570         * sysdeps/unix/sysv/linux/writev.c: Do not include
47571         <kernel-features.h>.
47572         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
47573         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
47574         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
47575         unconditional.
47576         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
47577         conditional code.
47579 2014-06-25  Will Newton  <will.newton@linaro.org>
47581         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
47582         comment changes throughout the file.  Remove checks
47583         for HAVE_*_H definitions that are not required.
47584         (__gen_tempname): Call abort if an unknown kind value is
47585         passed.
47587 2014-06-25  Andreas Schwab  <schwab@suse.de>
47589         [BZ #17086]
47590         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
47591         scalbln, scalblnf, scalblnl in libc.
47593 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47595         [BZ #17086]
47596         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
47597         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47598         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47600 2014-06-24  Roland McGrath  <roland@hack.frob.com>
47602         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
47603         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
47604         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
47605         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
47606         Update #include.
47607         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
47608         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
47609         Update #include.
47610         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
47611         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
47612         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
47613         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
47614         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
47615         * sysdeps/x86/bits/pthreadtypes.h: ... here.
47616         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
47617         * sysdeps/x86/bits/semaphore.h: ... here.
47618         * sysdeps/x86/nptl/elide.h: Moved ...
47619         * sysdeps/x86/elide.h: ... here.
47620         * sysdeps/x86_64/nptl/Implies: File removed.
47621         * sysdeps/i386/nptl/Implies: File removed.
47623 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
47625         [BZ #16539]
47626         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
47627         return the argument for normal arguments with exponent below -64.
47628         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47629         Likewise.
47630         * math/auto-libm-test-in: Add another test of expm1.
47631         * math/auto-libm-test-out: Regenerated.
47633         [BZ #16287]
47634         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
47635         calling __erfcl for arguments at least 16.
47636         * math/auto-libm-test-in: Add more tests of erf.
47637         * math/auto-libm-test-out: Regenerated.
47639         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
47640         individual architectures.
47641         * sysdeps/unix/sysv/linux/configure: Regenerated.
47642         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
47643         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
47644         * sysdeps/unix/sysv/linux/powerpc/configure.ac
47645         (ldd_rewrite_script): Define variable.
47646         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
47647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
47648         file.
47649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
47650         generated file.
47651         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
47652         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
47653         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
47654         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
47655         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
47656         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
47657         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
47658         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
47660 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47662         [BZ #17084]
47663         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
47664         Rename member __data.d to __data.__elision_data.
47666 2014-06-24  Wilco  <wdijkstr@arm.com>
47668         * NEWS: Add 16918 to fixed bug list.
47670 2014-06-24  Wilco  <wdijkstr@arm.com>
47672         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
47674 2014-06-24  Wilco  <wdijkstr@arm.com>
47676         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
47677         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
47678         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
47679         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
47680         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
47681         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
47682         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
47683         Use _FPU_MASK_RM.
47685 2014-06-24  Wilco  <wdijkstr@arm.com>
47687         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
47689 2014-06-24  Wilco  <wdijkstr@arm.com>
47691         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
47692         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
47693         * sysdeps/arm/fesetround.c (fesetround): Remove space.
47694         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
47696 2014-06-24  Wilco  <wdijkstr@arm.com>
47698         [BZ #16918]
47699         * sysdeps/arm/feupdateenv.c (feupdateenv):
47700         Rewrite to reduce FPSCR accesses and fix return value.
47702 2014-06-24  Wilco  <wdijkstr@arm.com>
47704         * sysdeps/arm/fclrexcpt.c (feclearexcept):
47705         Optimize to avoid unnecessary FPSCR writes.
47706         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
47707         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
47708         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
47709         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
47711 2014-06-24  Wilco  <wdijkstr@arm.com>
47713         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
47714         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
47715         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
47716         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
47717         Call libc_fetestexcept_vfp.
47718         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
47719         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
47720         __SOFTFP__ ifdef so that they can be built for softfp.
47722 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47724         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
47725         argument type signed char.
47727         * Makerules (check-abi): Dump diff of symlist if the test
47728         fails.
47730 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47732         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
47733         using abort.
47735         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
47736         Remove unused variable ST.
47738 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
47740         [BZ #16354]
47741         [BZ #17061]
47742         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
47743         small arguments before calling __expm1.
47744         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
47745         small arguments before calling __expm1f.
47746         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
47747         small arguments before calling __expm1l.
47748         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47749         Likewise.
47750         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
47751         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
47752         spurious underflow for some cosh tests.
47753         * math/auto-libm-test-out: Regenerated.
47754         * sysdeps/i386/fpu/libm-test-ulps: Update.
47756         [BZ #17050]
47757         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
47758         (__ieee754_y1): Set errno if return value overflows.
47759         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
47760         (__ieee754_y1f): Set errno if return value overflows.
47761         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
47762         (__ieee754_y1l): Set errno if return value overflows.
47763         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
47764         (__ieee754_y1l): Set errno if return value overflows.
47765         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
47766         * math/auto-libm-test-out: Regenerated.
47768         * math/gen-auto-libm-tests.c: Document use of
47769         ignore-zero-inf-sign.
47770         (input_flag_type): Add value flag_ignore_zero_inf_sign.
47771         (input_flags): Add ignore-zero-inf-sign.
47772         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
47773         * math/gen-libm-test.pl (generate_testfile): Handle
47774         ignore-zero-inf-sign.
47775         * math/auto-libm-test-in: Mark some cpow tests with
47776         ignore-zero-inf-sign and some with xfail-rounding.
47777         * math/auto-libm-test-out: Regenerated.
47778         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
47779         * sysdeps/i386/fpu/libm-test-ulps: Update.
47780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47782         [BZ #16315]
47783         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
47784         overflowing or underflowing operations take place with sign of
47785         result.
47786         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47787         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47788         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
47789         (__ieee754_pow): Recompute overflowing and underflowing results in
47790         original rounding mode.
47791         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
47792         (__powl_helper): Allow negative argument X and scale negated value
47793         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
47794         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
47795         overflowing or underflowing operations take place with sign of
47796         result.
47797         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
47798         Include <math.h>.
47799         * math/auto-libm-test-in: Add more tests of pow.
47800         * math/auto-libm-test-out: Regenerated.
47801         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
47802         (pow_tonearest_test_data): Remove.
47803         (pow_test_tonearest): Likewise.
47804         (pow_towardzero_test_data): Likewise.
47805         (pow_test_towardzero): Likewise.
47806         (pow_downward_test_data): Likewise.
47807         (pow_test_downward): Likewise.
47808         (pow_upward_test_data): Likewise.
47809         (pow_test_upward): Likewise.
47810         (main): Don't call removed functions.
47811         * sysdeps/i386/fpu/libm-test-ulps: Update.
47812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47814 2014-06-23  Roland McGrath  <roland@hack.frob.com>
47816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
47817         Moved ...
47818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
47819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47820         Moved ...
47821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
47822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47823         Moved ...
47824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
47825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
47826         Moved ...
47827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
47828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
47829         File removed.
47830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47831         File removed.
47832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
47833         File removed.
47834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
47835         File removed.
47836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
47837         File removed.
47838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
47839         File removed.
47840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
47841         File removed.
47842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47843         File removed.
47844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
47845         File removed.
47846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47847         File removed.
47848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
47849         File removed.
47850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
47851         File removed.
47852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
47853         Moved ...
47854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
47855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
47856         Moved ...
47857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
47858         ... here.
47859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
47860         Moved ...
47861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
47862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
47863         Moved ...
47864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
47865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
47866         Moved ...
47867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
47868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
47869         Moved ...
47870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
47871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
47872         Moved ...
47873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
47874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
47875         Moved ...
47876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
47877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
47878         Moved ...
47879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
47880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
47881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
47882         ... here.
47883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
47884         Moved ...
47885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
47886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47887         Moved ...
47888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
47889         ... here.
47890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
47891         Moved ...
47892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
47893         ... here.
47894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47895         Moved ...
47896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
47897         ... here.
47898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
47899         Moved ...
47900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
47901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47902         Moved ...
47903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
47904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
47905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
47906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47907         Moved ...
47908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
47909         ... here.
47910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47911         Moved ...
47912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
47913         ... here.
47914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47915         Moved ...
47916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
47917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47918         Moved ...
47919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
47920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47921         Moved ...
47922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
47923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47924         Moved ...
47925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
47926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47927         Moved ...
47928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
47929         ... here.
47930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47931         Moved ...
47932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
47933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47934         Moved ...
47935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
47936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47937         Moved ...
47938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
47939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47940         Moved ...
47941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
47942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
47943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
47944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47945         Moved ...
47946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
47947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47948         Moved ...
47949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
47950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47951         Moved ...
47952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
47953         ... here.
47954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47955         Moved ...
47956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
47957         ... here.
47958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47959         Moved ...
47960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
47961         ... here.
47962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47963         Moved ...
47964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
47965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47966         Moved ...
47967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
47968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47969         Moved ...
47970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
47971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47972         Moved ...
47973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
47974         ... here.
47975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47976         Moved ...
47977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
47978         ... here.
47979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47980         Moved ...
47981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
47982         ... here.
47983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47984         Moved ...
47985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
47986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
47987         Moved ...
47988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
47990 2014-06-23  Will Newton  <will.newton@linaro.org>
47991             Wilco  <wdijkstr@arm.com>
47993         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
47994         implementation.  Include get-rounding-mode.h.
47995         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
47996         [!libc_feholdsetround_noex_ctx]: Define
47997         libc_feholdsetround_noex_ctx.
47998         [!libc_feholdsetround_noexf_ctx]: Define
47999         libc_feholdsetround_noexf_ctx.
48000         [!libc_feholdsetround_noexl_ctx]: Define
48001         libc_feholdsetround_noexl_ctx.
48002         (libc_feholdsetround_ctx): New function.
48003         (libc_feresetround_ctx): New function.
48004         (libc_feholdsetround_noex_ctx): New function.
48005         (libc_feresetround_noex_ctx): New function.
48007 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48009         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48010         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48011         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48012         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48013         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48014         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48016         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48017         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48018         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48019         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48020         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48021         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48022         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48023         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48024         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48025         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48026         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48027         Moved ...
48028         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48029         ... here.
48030         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48031         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48032         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48033         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48034         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48035         Moved ...
48036         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48037         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48038         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48039         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48040         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48041         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48042         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48043         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48044         Moved ...
48045         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48046         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48047         Moved ...
48048         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48049         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48050         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48051         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48052         Moved ...
48053         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48054         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48055         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48056         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48057         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48058         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48059         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48060         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48061         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48062         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48063         Moved ...
48064         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
48065         ... here.
48066         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
48067         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
48068         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
48069         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
48070         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
48071         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
48072         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
48073         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
48074         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
48075         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
48076         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
48077         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
48078         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
48079         Moved ...
48080         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
48081         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
48082         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
48083         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
48084         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
48085         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
48086         Moved ...
48087         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
48088         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
48089         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
48090         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
48091         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
48093         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
48094         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
48095         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
48096         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
48097         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
48098         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
48099         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
48100         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
48101         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
48102         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
48103         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
48104         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
48105         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
48106         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
48107         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
48108         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
48109         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
48110         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
48111         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
48112         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
48113         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
48114         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
48115         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
48116         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
48117         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
48118         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
48119         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
48120         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
48122 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48124         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
48125         (FALLOC_FL_COLLAPSE_RANGE): New macro.
48126         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
48127         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
48128         (IPV6_PMTUDISC_INTERFACE): Likewise.
48129         (IPV6_PMTUDISC_OMIT): Likewise.
48131 2014-06-23  Andreas Schwab  <schwab@suse.de>
48133         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
48134         Remove unused errout label.
48136 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48138         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
48139         macro: hardware supports Vector Crypto instructions.
48141 2014-06-23  Will Newton  <will.newton@linaro.org>
48143         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
48144         rather than __builtin_expect.
48146         * elf/dl-lookup.c (undefined_msg): Remove variable.
48147         (_dl_lookup_symbol_x): Replace undefined_msg with string
48148         literal.
48150         * elf/dl-lookup.c (do_lookup_unique): New function.
48151         (do_lookup_x): Move STB_GNU_UNIQUE handling code
48152         to a separate function.
48154 2014-06-23  Andreas Schwab  <schwab@suse.de>
48156         [BZ #17079]
48157         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
48158         before reading the next line.
48160 2014-06-23  Will Newton  <will.newton@linaro.org>
48162         * test-skeleton.c (signal_handler): Use printf and %m
48163         rather than perror.  Use printf rather than fprintf to
48164         stderr.  Use puts rather than fputs to stderr.
48165         (main): Likewise.
48167 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
48169         * nscd/nscd.c (thread_info_t): Remove typedef.
48170         (thread_info): Remove variable.
48172 2014-06-21  Allan McRae  <allan@archlinux.org>
48174         * NEWS: Mention CVE-2014-4043.
48176 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48178         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
48179         * nptl/smp.h: ... here.
48181         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
48183         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
48184         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
48185         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
48186         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
48188         * nptl/allocatestack.c: Include <stack-aliasing.h>.
48189         * nptl/stack-aliasing.h: New file.
48190         * sysdeps/i386/i686/stack-aliasing.h: New file.
48191         * sysdeps/i386/i686/nptl/Makefile: File removed.
48192         * sysdeps/x86_64/stack-aliasing.h: New file.
48193         * sysdeps/x86_64/nptl/Makefile
48194         (CFLAGS-pthread_create.c): Variable removed.
48196         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
48197         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
48198         old file.
48199         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
48200         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
48201         old file.
48203 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
48205         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48206         (__ASSUME_SIGFRAME_V2): Remove macro.
48207         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
48208         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
48209         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
48210         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
48211         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
48212         Declare as function.  Remove conditional macro definitions.
48213         (__default_rt_sa_restorer): Likewise.
48214         (__default_sa_restorer_v1): Remove declaration.
48215         (__default_sa_restorer_v2): Likewise.
48216         (__default_rt_sa_restorer_v1): Likewise.
48217         (__default_rt_sa_restorer_v2): Likewise.
48218         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
48219         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
48220         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
48222 2014-06-20  Roland McGrath  <roland@hack.frob.com>
48224         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
48225         (libpthread-routines): Add sysdep.
48226         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
48227         * sysdeps/unix/sysv/linux/sparc/Versions
48228         (libpthread: GLIBC_2.3.3): New version set.
48229         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
48230         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
48231         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
48232         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
48233         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
48234         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
48235         Moved ...
48236         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
48237         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
48238         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
48239         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
48240         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
48241         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
48242         * sysdeps/sparc/nptl/sem_init.c: ... here.
48243         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
48244         * sysdeps/sparc/nptl/sem_post.c: ... here.
48245         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
48246         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
48247         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
48248         * sysdeps/sparc/nptl/sem_wait.c: ... here.
48249         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
48250         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
48251         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
48252         (libpthread-routines): Add cpu_relax.
48253         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
48254         File removed.
48255         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
48256         (librt: GLIBC_2.3.3): New version set.
48257         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
48258         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
48259         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
48260         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
48261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
48262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
48263         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
48264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
48265         Moved ...
48266         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
48267         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
48268         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
48269         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
48270         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
48271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
48272         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
48273         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
48274         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
48275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
48276         Moved ...
48277         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
48278         Update #include.
48279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
48280         Moved ...
48281         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
48282         Update #include.
48283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
48284         Moved ...
48285         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
48286         Update #include.
48287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
48288         Moved ...
48289         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
48290         Update #include.
48291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
48292         Moved ...
48293         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
48294         Update #include.
48295         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
48296         Moved ...
48297         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
48298         Update #include.
48299         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
48300         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
48301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
48302         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
48303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
48304         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
48305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
48306         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
48307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
48308         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
48309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
48310         Moved ...
48311         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
48312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
48313         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
48314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
48315         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
48317 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48319         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
48320         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
48321         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
48322         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
48323         * nscd/nscd.c: Likewise.
48324         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
48325         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
48326         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
48327         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
48329         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
48330         <kernel-features.h>.
48331         (init_mq_netlink): Remove conditional have_sock_cloexec
48332         definitions.  Remove code conditional on have_sock_cloexec < 0.
48333         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
48334         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
48335         * sysdeps/unix/sysv/linux/opensock.c: Do not include
48336         <kernel-features.h>.
48337         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
48338         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
48340 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48343         Add tests for memset_chk and memset.
48345         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
48346         with AVX2_Usable.
48348 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48350         [BZ #16046]
48351         * elf/tst-dl-iter-static.c: New file.
48352         * elf/Makefile (tests-static): Add tst-dl-iter-static.
48354         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
48355         error.
48357 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48359         * sysdeps/unix/sysv/linux/kernel-features.h
48360         (__ASSUME_F_GETOWN_EX): Remove macro.
48361         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
48362         <kernel-features.h>.
48363         (miss_F_GETOWN_EX): Remove variable or macro.
48364         (do_fcntl): Do not check miss_F_GETOWN_EX.
48365         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
48367         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
48368         Remove macro.
48369         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
48370         [!__ASSUME_AT_RANDOM]: Remove conditional code.
48371         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
48373         * sysdeps/unix/sysv/linux/kernel-features.h
48374         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
48375         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
48376         [ADJ_OFFSET_SS_READ]: Make code unconditional.
48377         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
48379 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
48381         [BZ #17075]
48382         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
48383         Fix calculation of the symbol's value.
48384         * sysdeps/arm/tst-armtlsdescloc.c: New file.
48385         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
48386         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
48387         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
48388         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
48389         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
48390         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
48391         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
48392         (modules-names): Add `tst-armtlsdescmod',
48393         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
48394         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
48395         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48396         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
48397         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
48398         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
48399         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
48400         ($(objpfx)tst-armtlsdescloc): New dependency.
48401         ($(objpfx)tst-armtlsdescextnow): Likewise.
48402         ($(objpfx)tst-armtlsdescextlazy): Likewise.
48403         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
48404         TLS scheme support.
48405         * sysdeps/arm/configure: Regenerate.
48407 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
48409         * include/fcntl.h (__atfct_seterrno): Remove prototype.
48410         (__atfct_seterrno_2): Likewise.
48411         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
48412         <kernel-features.h>.
48413         (__ASSUME_ATFCTS): Do not undefine and redefine.
48414         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
48415         (__have_atfcts): Remove conditional definition.
48416         (__fxstatat([__NR_fstatat64]: Make code unconditional.
48417         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
48418         unreachable if [__ASSUME_ATFCTS].
48419         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
48420         not undefine and redefine.
48421         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
48422         <kernel-features.h>.
48423         (faccessat) [__NR_faccessat]: Make code unconditional.
48424         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
48425         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
48426         <kernel-features.h>.
48427         (fchmodat) [__NR_fchmodat]: Make code unconditional.
48428         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48429         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
48430         <kernel-features.h>.
48431         (fchownat) [__NR_fchownat]: Make code unconditional.
48432         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
48433         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
48434         <kernel-features.h>.
48435         (futimesat) [__NR_futimesat]: Make code unconditional.
48436         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
48437         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48438         <kernel-features.h>.
48439         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48440         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48441         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48442         <kernel-features.h>.
48443         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
48444         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48445         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
48446         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48447         <kernel-features.h>.
48448         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
48449         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48450         * sysdeps/unix/sysv/linux/linkat.c: Do not include
48451         <kernel-features.h>.
48452         (linkat) [__NR_linkat]: Make code unconditional.
48453         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48454         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
48455         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
48456         <kernel-features.h>.
48457         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
48458         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
48459         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
48460         <kernel-features.h>.
48461         (mkdirat) [__NR_mkdirat]: Make code unconditional.
48462         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
48463         * sysdeps/unix/sysv/linux/openat.c: Do not include
48464         <kernel-features.h>.
48465         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
48466         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
48467         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
48468         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
48469         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
48470         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
48471         <kernel-features.h>.
48472         (readlinkat) [__NR_readlinkat]: Make code unconditional.
48473         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
48474         result of INLINE_SYSCALL directly, not via int variable.
48475         * sysdeps/unix/sysv/linux/renameat.c: Do not include
48476         <kernel-features.h>.
48477         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
48478         (renameat) [__NR_renameat]: Make code unconditional.
48479         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
48480         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
48481         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
48482         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
48483         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
48484         (__ASSUME_ATFCTS): Do not undefine and redefine.
48485         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
48486         <kernel-features.h>.
48487         (symlinkat) [__NR_symlinkat]: Make code unconditional.
48488         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48489         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
48490         <kernel-features.h>.
48491         (unlinkat) [__NR_unlinkat]: Make code unconditional.
48492         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
48493         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
48494         (__ASSUME_ATFCTS): Do not undefine and redefine.
48495         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48496         <kernel-features.h>.
48497         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
48498         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
48499         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48500         <kernel-features.h>.
48501         (__xmknodat) [__NR_mknodat]: Make code unconditional.
48502         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
48504 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
48506         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
48508 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
48510         [BZ #17069]
48511         * posix/regcomp.c (parse_reg_exp): Deallocate partially
48512         constructed tree before returning error.
48513         * posix/bug-regexp36.c: Expand test case.
48515 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
48517         [BZ #6803]
48518         * math/libm-test.inc (scalbln_test_date):
48519         Add errno expectations.
48520         * math/w_scalblnf.c: New File.
48521         Add wrapper which checks for setting errno to ERANGE.
48522         Add weak_alias for corresponding scalbln function.
48523         * math/w_scalbln.c: Likewise.
48524         * math/w_scalblnl.c: Likewise.
48525         * math/Makefile (libm-calls): Add w_scalbln.
48526         * sysdeps/ieee754/flt-32/s_scalblnf.c:
48527         Remove weak_alias for corresponding scalbln function.
48528         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48530         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48531         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48532         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
48533         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48534         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
48535         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48536         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
48537         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
48538         Remove long_double_symbol for scalblnl function in libm, libc.
48539         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
48540         Add wrapper which checks for setting errno to ERANGE.
48541         Add long_double_symbol for scalblnl function in libm, libc.
48542         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
48543         Remove long_double_symbol for scalblnl in libm.
48544         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
48545         Add wrapper which checks for setting errno to ERANGE.
48546         Add long_double_symbol for scalblnl function in libm.
48547         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
48548         Do not use wrapper because of own implementation.
48550 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
48552         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
48553         3 bytes for __pad1 for x32.
48554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
48556 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
48557             H.J. Lu  <hongjiu.lu@intel.com>
48559         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
48560         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
48561         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48562         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48563         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
48565 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
48567         [BZ #17069]
48568         * posix/regcomp.c (parse_expression): Deallocate partially
48569         constructed tree before returning error.
48570         * posix/Makefile.c (tests): Add bug-regex36.
48571         (generated): Add bug-regex36.mtrace.
48572         (tests-special): Add $(objpfx)bug-regex36-mem.out
48573         (bug-regex36-ENV): New variable.
48574         ($(objpfx)bug-regex36-mem.out): New rule.
48575         * posix/bug-regex36.c: New file.
48577 2014-06-19  Will Newton  <will.newton@linaro.org>
48579         * malloc/malloc.c (systrim): If extra is zero then return
48580         early.
48582 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48584         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
48586 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
48588         * sysdeps/aarch64/strchr.S: New file.
48590 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48592         [BZ #17022]
48593         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
48594         from arguments -2 or below.
48595         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48596         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
48598 2014-06-18  Andreas Schwab  <schwab@suse.de>
48600         [BZ #17062]
48601         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
48602         of a bracket expr not to run off the end of the string.
48603         * posix/Makefile (tests): Add tst-fnmatch3.
48604         * posix/tst-fnmatch3.c: New file.
48606 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
48608         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
48609         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48610         [$(cross-compiling) = no]: Likewise.
48611         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48612         [$(cross-compiling) = no]: Likewise.
48614 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48616         [BZ #17031]
48617         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
48618         double, adjusted for any remainder from the high double.
48619         * math/libm-test.inc (nearbyint): Add tests.
48620         (rint): Likewise.
48622 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48624         * nptl/sysdeps/powerpc/Makefile: Moved ...
48625         * sysdeps/powerpc/nptl/Makefile: ... here.
48626         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
48627         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
48628         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
48629         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
48630         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
48631         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
48632         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
48633         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
48634         * nptl/sysdeps/powerpc/tls.h: Moved ...
48635         * sysdeps/powerpc/nptl/tls.h: ... here.
48637 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
48639         [BZ #16681]
48640         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
48641         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
48642         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
48643         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
48644         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
48645         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
48646         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
48647         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
48648         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
48650 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
48652         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
48654 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
48656         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
48657         defined operator.
48659         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
48660         $TIMEOUTFACTOR.
48662 2014-06-16  Florian Weimer  <fweimer@redhat.com>
48664         [BZ #17058]
48665         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
48666         non-executed part of the test.
48668 2014-06-16  Andreas Schwab  <schwab@suse.de>
48670         * string/bits/string2.h (strdup, strndup): Update feature guard.
48672 2014-06-14  David S. Miller  <davem@davemloft.net>
48674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48676 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
48678         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
48679         that was previously under [RESET_PID].
48680         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
48682         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
48683         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
48684         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
48685         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48686         (__libc_vfork): New strong alias.
48687         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
48689 2014-06-14 Andi Kleen  <ak@linux.intel.com>
48691         * sysdeps/generic/elide.h: New file.
48693 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
48695         * Makefile (installed-headers): Adjust path of pthread.h header.
48697 2014-06-13  Roland McGrath  <roland@hack.frob.com>
48699         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
48700         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
48701         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
48702         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
48704         * nptl/sysdeps/s390/Makefile: Moved ...
48705         * sysdeps/s390/nptl/Makefile: ... here.
48706         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
48707         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
48708         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
48709         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
48710         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
48711         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
48712         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
48713         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
48714         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
48715         * sysdeps/s390/nptl/pthreaddef.h: ... here.
48716         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
48717         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
48718         * nptl/sysdeps/s390/tls.h: Moved ...
48719         * sysdeps/s390/nptl/tls.h: ... here.
48721         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
48722         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
48724 2014-06-13  David S. Miller  <davem@davemloft.net>
48726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
48727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
48728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
48729         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
48730         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
48731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
48732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
48733         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
48734         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
48735         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48736         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
48737         Remove RESET_PID cpp guards.
48738         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
48739         Remove RESET_PID cpp guards.
48740         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
48742 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
48744         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
48745         __sp to uintptr_t.
48747 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48749         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
48750         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
48751         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
48752         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
48753         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
48754         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
48755         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
48756         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
48757         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
48758         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
48759         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
48760         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
48761         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
48762         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
48763         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
48764         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
48765         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
48766         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
48767         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
48768         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
48770         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
48771         (pthread_rwlock_rdlock): Add elision.
48772         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
48773         (pthread_rwlock_wrlock): Add elision.
48774         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
48775         (pthread_rwlock_trywrlock): Add elision.
48776         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
48777         (pthread_rwlock_tryrdlock): Add elision.
48778         * nptl/pthread_rwlock_unlock.c: Include elide.h.
48779         (pthread_rwlock_tryrdlock): Add elision unlock.
48780         * nptl/sysdeps/pthread/pthread.h:
48781         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
48782         (PTHREAD_RWLOCK_INITIALIZER,
48783         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
48784         Handle new elision field.
48785         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
48786         * sysdeps/arm/nptl/bits/pthreadtypes.h
48787         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48788         * sysdeps/sh/nptl/bits/pthreadtypes.h
48789         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48790         * sysdeps/tile/nptl/bits/pthreadtypes.h
48791         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48792         * sysdeps/a/nptl/bits/pthreadtypes.h
48793         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48794         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
48795         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48796         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
48797         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48798         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
48799         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48800         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
48801         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48802         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
48803         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48804         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
48805         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48806         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
48807         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48808         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
48809         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48810         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
48811         (elision_init): Set try_xbegin to zero when no RTM.
48812         * sysdeps/x86/nptl/bits/pthreadtypes.h
48813         (pthread_rwlock_t): Change __pad1 to __rwelision.
48814         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48816 2014-06-13  Andi Kleen  <ak@linux.intel.com>
48818         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
48819         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
48820         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
48821         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
48823 2014-06-13  Meador Inge  <meadori@codesourcery.com>
48825         [BZ #16996]
48826         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
48827         that the cached result has been set before returning it.
48829 2014-06-12  Roland McGrath  <roland@hack.frob.com>
48831         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
48832         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
48833         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
48834         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
48835         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
48836         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
48838         * nptl/sysdeps/sparc/Makefile: Moved ...
48839         * sysdeps/sparc/nptl/Makefile: ... here.
48840         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
48841         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
48842         * nptl/sysdeps/sparc/tls.h: Moved ...
48843         * sysdeps/sparc/nptl/tls.h: ... here.
48844         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
48845         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
48846         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
48847         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
48848         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
48849         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
48850         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
48851         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
48852         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
48853         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
48854         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
48855         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
48856         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
48857         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
48858         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
48859         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
48860         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
48861         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
48862         Update #include.
48863         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
48864         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
48865         Update #include.
48866         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
48867         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
48868         Update #include.
48869         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
48870         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
48871         Update #include.
48873         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
48875         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
48876         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
48878         * sysdeps/pthread/posix-timer.h: Include <list.h>.
48879         (struct list_links): Type removed.
48880         (struct thread_node, struct timer_node): Replace struct list_links
48881         with struct list_head.
48882         (list_unlink_ip): Likewise.
48883         * sysdeps/pthread/timer_routines.c
48884         (timer_free_list, thread_free_list, thread_active_list): Likewise.
48885         (list_append, list_insbefore): Likewise.
48886         (list_init): Function removed.
48887         (thread_init, init_module): Use INIT_LIST_HEAD instead.
48888         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
48889         * sysdeps/pthread/Makefile: ... here, new file.
48891         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
48892         * sysdeps/nptl/Implies: ... here.
48893         * sysdeps/unix/sysv/linux/Implies: Add nptl.
48894         * nptl/sysdeps/pthread/list.h: Moved ...
48895         * include/list.h: ... here.
48896         * nptl/sysdeps/pthread/createthread.c: Moved ...
48897         * nptl/createthread.c: ... here.
48898         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
48899         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
48900         * nptl/pt-longjmp.c: ... here.
48901         * nptl/sysdeps/pthread/Makefile: Moved ...
48902         * sysdeps/nptl/Makefile: ... here.
48903         * nptl/sysdeps/pthread/Subdirs: Moved ...
48904         * sysdeps/nptl/Subdirs: ... here.
48905         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
48906         * sysdeps/nptl/aio_misc.h: ... here.
48907         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
48908         * sysdeps/nptl/bits/libc-lock.h: ... here.
48909         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
48910         * sysdeps/nptl/bits/libc-lockP.h: ... here.
48911         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
48912         * sysdeps/nptl/bits/stdio-lock.h: ... here.
48913         * nptl/sysdeps/pthread/configure: Moved ...
48914         * sysdeps/nptl/configure: ... here.
48915         * nptl/sysdeps/pthread/configure.ac: Moved ...
48916         * sysdeps/nptl/configure.ac: ... here.
48917         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
48918         * sysdeps/nptl/gai_misc.h: ... here.
48919         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
48920         * sysdeps/nptl/librt-cancellation.c: ... here.
48921         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
48922         * sysdeps/nptl/malloc-machine.h: ... here.
48923         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
48924         * sysdeps/nptl/pthread-functions.h: ... here.
48925         * nptl/sysdeps/pthread/pthread.h: Moved ...
48926         * sysdeps/nptl/pthread.h: ... here.
48927         * nptl/sysdeps/pthread/setxid.h: Moved ...
48928         * sysdeps/nptl/setxid.h: ... here.
48929         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
48930         * sysdeps/nptl/sigfillset.c: ... here.
48931         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
48932         * sysdeps/nptl/tcb-offsets.h: ... here.
48933         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
48934         * sysdeps/nptl/tst-mqueue8x.c: ... here.
48935         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
48936         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
48937         * nptl/sysdeps/pthread/allocalim.h: Moved ...
48938         * sysdeps/pthread/allocalim.h: ... here.
48939         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
48940         * sysdeps/pthread/bits/sigthread.h: ... here.
48941         * nptl/sysdeps/pthread/flockfile.c: Moved ...
48942         * sysdeps/pthread/flockfile.c: ... here.
48943         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
48944         * sysdeps/pthread/ftrylockfile.c: ... here.
48945         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
48946         * sysdeps/pthread/funlockfile.c: ... here.
48947         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
48948         * sysdeps/pthread/posix-timer.h: ... here.
48949         * nptl/sysdeps/pthread/timer_create.c: Moved ...
48950         * sysdeps/pthread/timer_create.c: ... here.
48951         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
48952         * sysdeps/pthread/timer_delete.c: ... here.
48953         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
48954         * sysdeps/pthread/timer_getoverr.c: ... here.
48955         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
48956         * sysdeps/pthread/timer_gettime.c: ... here.
48957         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
48958         * sysdeps/pthread/timer_routines.c: ... here.
48959         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
48960         * sysdeps/pthread/timer_settime.c: ... here.
48961         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
48962         * sysdeps/pthread/tst-timer.c: ... here.
48963         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
48964         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
48966         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
48967         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
48969         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
48970         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
48971         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
48972         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
48973         Update #include target.
48974         * nptl/sysdeps/i386/i686/Makefile: Moved ...
48975         * sysdeps/i386/i686/nptl/Makefile: ... here.
48976         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
48977         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
48978         Update #include target.
48979         * nptl/sysdeps/i386/i686/tls.h: Moved ...
48980         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
48981         * nptl/sysdeps/i386/Makefile: Moved ...
48982         * sysdeps/i386/nptl/Makefile: ... here.
48983         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
48984         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
48985         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
48986         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
48987         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
48988         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
48989         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
48990         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
48991         * sysdeps/i386/nptl/pthreaddef.h: ... here.
48992         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
48993         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
48994         * nptl/sysdeps/i386/tls.h: Moved ...
48995         * sysdeps/i386/nptl/tls.h: ... here.
48997         * sysdeps/sh/Makefile [$(subdir) = csu]
48998         (gen-as-const-headers): Add tcb-offsets.sym.
48999         * nptl/sysdeps/sh/Makefile: File removed.
49000         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
49001         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
49002         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
49003         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
49004         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
49005         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
49006         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
49007         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
49008         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
49009         * sysdeps/sh/nptl/pthreaddef.h: ... here.
49010         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49011         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49012         * nptl/sysdeps/sh/tls.h: Moved ...
49013         * sysdeps/sh/nptl/tls.h: ... here.
49014         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49015         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49016         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49017         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49018         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49019         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49020         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49021         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49022         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49023         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49024         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49025         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49026         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49027         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49028         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49029         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49030         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49031         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49032         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49033         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49034         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49035         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49036         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49037         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49038         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49039         Moved ...
49040         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49041         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49042         Moved ...
49043         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49044         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49045         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49046         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49047         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49048         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49049         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49050         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49051         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49052         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49053         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49054         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49055         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49056         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49057         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49058         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49059         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49060         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49061         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49063 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
49065         * posix/spawn_faction_addopen.c: Include string.h.
49067 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49069         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
49070         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
49071         * nptl/sysdeps/x86_64/Makefile: Moved ...
49072         * sysdeps/x86_64/nptl/Makefile: ... here.
49073         * nptl/sysdeps/x86_64/configure: Moved ...
49074         * sysdeps/x86_64/nptl/configure: ... here.
49075         * nptl/sysdeps/x86_64/configure.ac: Moved ...
49076         * sysdeps/x86_64/nptl/configure.ac: ... here.
49077         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
49078         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
49079         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
49080         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
49081         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
49082         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
49083         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
49084         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
49085         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
49086         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
49087         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
49088         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
49089         * nptl/sysdeps/x86_64/tls.h: Moved ...
49090         * sysdeps/x86_64/nptl/tls.h: ... here.
49091         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
49092         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
49093         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
49094         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
49096         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
49098 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49102 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
49104         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
49105         type.
49106         [POSIX] (off_t): Likewise.
49107         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
49108         [POSIX] (S_ISBLK): Require macro.
49109         [POSIX] (S_ISCHR): Likewise.
49110         [POSIX] (S_ISDIR): Likewise.
49111         [POSIX] (S_ISFIFO): Likewise.
49112         [POSIX] (S_ISREG): Likewise.
49113         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
49114         optional-macro.
49115         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
49116         type.
49117         [POSIX] (time_t): Likewise.
49118         [POSIX] (timer_t): Likewise.
49120 2014-06-11  Florian Weimer  <fweimer@redhat.com>
49122         [BZ #17048]
49123         * posix/spawn_int.h (struct __spawn_action): Make the path string
49124         non-const to support deallocation.
49125         * posix/spawn_faction_addopen.c
49126         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
49127         * posix/spawn_faction_destroy.c
49128         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
49129         path in all spawn_do_open actions.
49130         * posix/tst-spawn.c (do_test): Exercise the copy operation in
49131         posix_spawn_file_actions_addopen.
49133 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
49135         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
49136         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
49137         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
49138         conditional code always true.
49139         (__libc_vfork): New alias.
49141 2014-06-11  Roland McGrath  <roland@hack.frob.com>
49143         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49144         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
49146         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
49148         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49149         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
49151         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49152         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
49154         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49155         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
49157 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49159         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
49160         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
49161         multiarch strcmp for PPC64.
49162         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
49163         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
49164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
49165         multiarch optimizations.
49166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49167         (__libc_ifunc_impl_list): Likewise.
49169 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49171         * benchtests/scripts/validate_benchout.py: New script.
49172         * benchtests/Makefile (bench-func): Call it.
49173         * benchtests/scripts/benchout.schema.json: New file.
49175 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
49177         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
49178         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
49179         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
49180         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
49181         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
49182         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
49183         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
49184         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
49185         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
49186         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
49187         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
49188         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
49189         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
49190         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
49191         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
49192         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
49193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
49194         Moved ...
49195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
49196         ... here.
49197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
49198         Moved ...
49199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
49200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
49201         Moved ...
49202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
49203         ... here.
49204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
49205         Moved ...
49206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
49207         ... here.
49208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
49209         Moved ...
49210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
49211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
49212         Moved ...
49213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
49214         ... here.
49215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
49216         Moved ...
49217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
49218         ... here.
49219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
49220         Moved ...
49221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
49222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
49223         Moved ...
49224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
49225         ... here.
49226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
49227         Moved ...
49228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
49229         ... here.
49230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
49231         Moved ...
49232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
49233         ... here.
49234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
49235         Moved ...
49236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
49237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
49238         Moved ...
49239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
49240         ... here.
49241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
49242         Moved ...
49243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
49244         ... here.
49245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
49246         Moved ...
49247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
49248         ... here.
49249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
49250         Moved ...
49251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
49252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
49253         Moved ...
49254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
49255         ... here.
49256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
49257         Moved ...
49258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
49259         ... here.
49260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
49261         Moved ...
49262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
49263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
49264         Moved ...
49265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
49266         ... here.
49267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
49268         Moved ...
49269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
49270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
49271         Moved ...
49272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
49273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
49274         Moved ...
49275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
49276         ... here.
49277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
49278         Moved ...
49279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
49280         ... here.
49281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
49282         Moved ...
49283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
49284         ... here.
49285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
49286         Moved ...
49287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
49288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
49289         Moved ...
49290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
49291         ... here.
49292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
49293         Moved ...
49294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
49295         ... here.
49296         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
49297         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
49298         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
49299         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
49300         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
49301         Moved ...
49302         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
49303         ... here.
49304         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
49305         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
49306         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
49307         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
49308         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
49309         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
49310         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
49311         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
49312         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
49313         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
49314         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
49315         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
49316         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
49317         Moved ...
49318         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
49319         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
49320         Moved ...
49321         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
49322         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
49323         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
49324         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
49325         Moved ...
49326         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
49327         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
49328         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
49329         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
49330         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
49331         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
49332         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
49334 2014-06-10  Wilco  <wdijkstr@arm.com>
49336         * math/test-fenv-return.c: New file.
49337         * math/Makefile: Add new test test-fenv-return.
49339 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
49341         [BZ #17042]
49342         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
49343         when x - 1 is zero.
49344         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
49345         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
49346         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
49347         0.0L for an argument of 1.0L.
49348         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
49349         Likewise.
49350         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
49351         value when x - 1 is zero.
49352         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
49353         * sysdeps/i386/fpu/libm-test-ulps: Update.
49354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49356 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
49358         [BZ #15119]
49359         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
49361 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49363         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
49364         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
49366 2014-06-09  Roland McGrath  <roland@hack.frob.com>
49368         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49369         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
49371         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49372         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
49374         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49375         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
49377         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
49378         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
49380         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
49381         if not already defined.
49382         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
49383         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
49384         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
49385         (TLS_INIT_TP): Use it.
49386         (TLS_DEFINE_INIT_TP): New macro.
49387         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
49389 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
49391         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
49392         constant.
49393         [POSIX] (IXANY): Likewise.
49394         [POSIX] (OLCUC): Likewise.
49395         [POSIX || POSIX2008] (CBAUD): Do not allow.
49396         [POSIX || POSIX2008] (DEFECHO): Likewise.
49397         [POSIX || POSIX2008] (ECHOCTL): Likewise.
49398         [POSIX || POSIX2008] (ECHOKE): Likewise.
49399         [POSIX || POSIX2008] (ECHOPRT): Likewise.
49400         [POSIX || POSIX2008] (EXTA): Likewise.
49401         [POSIX || POSIX2008] (EXTB): Likewise.
49402         [POSIX || POSIX2008] (FLUSHO): Likewise.
49403         [POSIX || POSIX2008] (LOBLK): Likewise.
49404         [POSIX || POSIX2008] (PENDIN): Likewise.
49405         [POSIX || POSIX2008] (SWTCH): Likewise.
49406         [POSIX || POSIX2008] (VDISCARD): Likewise.
49407         [POSIX || POSIX2008] (VDSUSP): Likewise.
49408         [POSIX || POSIX2008] (VLNEXT): Likewise.
49409         [POSIX || POSIX2008] (VREPRINT): Likewise.
49410         [POSIX || POSIX2008] (VSTATUS): Likewise.
49411         [POSIX || POSIX2008] (VWERASE): Likewise.
49412         (B*): Change to B[0123456789]*.
49413         * conform/data/time.h-data [POSIX || UNIX98]
49414         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
49415         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49416         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
49417         [POSIX] (tm_*): Do not allow.
49419 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
49421         * Makefile (install): Don't set LANGUAGE.
49422         * Makefile.in (install): Likewise.
49423         * assert/Makefile (test-assert-ENV): Remove variable.
49424         (test-assert-perr-ENV): Likewise.
49425         * elf/Makefile (neededtest4-ENV): Likewise.
49426         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49427         [$(cross-compiling) = no]: Don't set LANGUAGE.
49428         * io/ftwtest-sh (LANG): Remove variable.
49429         * libio/Makefile (tst-widetext-ENV): Likewise.
49430         * manual/install.texi (Running make install): Don't refer to
49431         environment settings for make install.
49432         * INSTALL: Regenerated.
49433         * nptl/tst-tls6.sh: Don't set LANG.
49434         * posix/globtest.sh (LANG): Remove variable.
49435         * string/Makefile (tester-ENV): Likewise.
49436         (inl-tester-ENV): Likewise.
49437         (noinl-tester-ENV): Likewise.
49438         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49439         [$(cross-compiling) = no]: Don't set LANGUAGE.
49440         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
49441         without explicit environment settings.
49443 2014-06-06  Roland McGrath  <roland@hack.frob.com>
49445         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
49446         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
49447         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
49448         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
49450 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
49452         * crypt/crypt-private.h [DOS]: Add some includes taken from the
49453         other files in the crypt directory.
49454         * crypt/crypt.c: Remove duplicate includes.
49455         * crypt/crypt-entry.c: Likewise.
49456         * crypt/crypt_util.c: Likewise.
49458 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
49460         * Makeconfig (run-program-env): New variable.
49461         (run-program-prefix-before-env): Likewise.
49462         (run-program-prefix-after-env): Likewise.
49463         (run-program-prefix): Define in terms of new variables.
49464         (built-program-cmd-before-env): New variable.
49465         (built-program-cmd-after-env): Likewise.
49466         (built-program-cmd): Define in terms of new variables.
49467         (test-program-prefix-before-env): New variable.
49468         (test-program-prefix-after-env): Likewise.
49469         (test-program-prefix): Define in terms of new variables.
49470         (test-program-cmd-before-env): New variable.
49471         (test-program-cmd-after-env): Likewise.
49472         (test-program-cmd): Define in terms of new variables.
49473         * Rules (make-test-out): Use $(run-program-env).
49474         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
49475         (help): Do not mention environment variables.  Mention
49476         --timeoutfactor option.
49477         (timeoutfactor): New variable.
49478         (blacklist_exports): Remove function.
49479         (exports): Remove variable.
49480         (command): Do not include ${exports}.
49481         * manual/install.texi (Configuring and compiling): Do not mention
49482         test wrappers preserving environment variables.  Mention that last
49483         assignment to a variable must take precedence.
49484         * INSTALL: Regenerated.
49485         * benchtests/Makefile (run-bench): Use $(run-program-env).
49486         * catgets/Makefile ($(objpfx)test1.cat): Use
49487         $(built-program-cmd-before-env), $(run-program-env) and
49488         $(built-program-cmd-after-env).
49489         ($(objpfx)test2.cat): Do not specify environment variables
49490         explicitly.
49491         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
49492         $(run-program-env) and $(built-program-cmd-after-env).
49493         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
49494         $(run-program-env) and $(test-program-cmd-after-env).
49495         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
49496         explicitly.
49497         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
49498         run_program_env and test_program_cmd_after_env arguments.
49499         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
49500         * elf/tst-pathopt.sh: Use run_program_env argument.
49501         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
49502         $(test-wrapper-env) and $(run-program-env).
49503         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
49504         run_program_env arguments.
49505         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
49506         * intl/Makefile ($(objpfx)tst-gettext.out): Use
49507         $(test-program-prefix-before-env), $(run-program-env) and
49508         $(test-program-prefix-after-env).
49509         ($(objpfx)tst-gettext2.out): Likewise.
49510         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
49511         run_program_env and test_program_prefix_after_env arguments.
49512         * intl/tst-gettext2.sh: Likewise.
49513         * intl/tst-gettext4.sh: Do not set environment variables
49514         explicitly.
49515         * intl/tst-gettext6.sh: Likewise.
49516         * intl/tst-translit.sh: Likewise.
49517         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
49518         $(test-program-prefix-before-env), $(run-program-env) and
49519         $(test-program-prefix-after-env).
49520         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
49521         run_program_env and test_program_prefix_after_env arguments.
49522         * math/Makefile (run-regen-ulps): Use $(run-program-env).
49523         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
49524         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
49525         explicitly with each use of ${test_wrapper_env}.
49526         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
49527         $(test-program-prefix-before-env), $(run-program-env) and
49528         $(test-program-prefix-after-env).
49529         * posix/tst-getconf.sh: Do not set environment variables
49530         explicitly.
49531         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
49532         run_program_env and test_program_prefix_after_env arguments.
49533         * stdio-common/tst-printf.sh: Do not set environment variables
49534         explicitly.
49535         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
49536         $(test-program-prefix-before-env), $(run-program-env) and
49537         $(test-program-prefix-after-env).
49538         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
49539         run_program_env and test_program_prefix_after_env arguments.
49540         Split $test calls into $test_pre and $test.
49541         * timezone/Makefile (build-testdata): Use
49542         $(built-program-cmd-before-env), $(run-program-env) and
49543         $(built-program-cmd-after-env).
49545 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49547         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
49548         strlen for non SHARED builds.
49550 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49552         * nptl/allocatestack.c (check_list): Inlined function...
49553         (__reclaim_stacks): ... here.
49555 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49557         [BZ #15698]
49558         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
49559         memory overrun.
49561 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
49563         * Rules (make-test-out): Include
49564         LOCPATH=$(common-objpfx)localedata in default environment.
49565         * debug/Makefile (tst-chk1-ENV): Remove variable.
49566         (tst-chk2-ENV): Likewise.
49567         (tst-chk3-ENV): Likewise.
49568         (tst-chk4-ENV): Likewise.
49569         (tst-chk5-ENV): Likewise.
49570         (tst-chk6-ENV): Likewise.
49571         (tst-lfschk1-ENV): Likewise.
49572         (tst-lfschk2-ENV): Likewise.
49573         (tst-lfschk3-ENV): Likewise.
49574         (tst-lfschk4-ENV): Likewise.
49575         (tst-lfschk5-ENV): Likewise.
49576         (tst-lfschk6-ENV): Likewise.
49577         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
49578         (tst-iconv7-ENV): Likewise.
49579         * intl/Makefile (LOCPATH-ENV): Likewise.
49580         (tst-codeset-ENV): Likewise.
49581         (tst-gettext3-ENV): Likewise.
49582         (tst-gettext5-ENV): Likewise.
49583         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
49584         (tst-fopenloc-ENV): Likewise.
49585         (tst-fgetws-ENV): Remove variable.
49586         (tst-ungetwc1-ENV): Likewise.
49587         (tst-ungetwc2-ENV): Likewise.
49588         (bug-ungetwc2-ENV): Likewise.
49589         (tst-swscanf-ENV): Likewise.
49590         (bug-ftell-ENV): Likewise.
49591         (tst-fgetwc-ENV): Likewise.
49592         (tst-fseek-ENV): Likewise.
49593         (tst-ftell-partial-wide-ENV): Likewise.
49594         (tst-ftell-active-handler-ENV): Likewise.
49595         (tst-ftell-append-ENV): Likewise.
49596         * posix/Makefile (tst-fnmatch-ENV): Likewise.
49597         (tst-regexloc-ENV): Likewise.
49598         (bug-regex1-ENV): Likewise.
49599         (tst-regex-ENV): Likewise.
49600         (tst-regex2-ENV): Likewise.
49601         (bug-regex5-ENV): Likewise.
49602         (bug-regex6-ENV): Likewise.
49603         (bug-regex17-ENV): Likewise.
49604         (bug-regex18-ENV): Likewise.
49605         (bug-regex19-ENV): Likewise.
49606         (bug-regex20-ENV): Likewise.
49607         (bug-regex22-ENV): Likewise.
49608         (bug-regex23-ENV): Likewise.
49609         (bug-regex25-ENV): Likewise.
49610         (bug-regex26-ENV): Likewise.
49611         (bug-regex30-ENV): Likewise.
49612         (bug-regex32-ENV): Likewise.
49613         (bug-regex33-ENV): Likewise.
49614         (bug-regex34-ENV): Likewise.
49615         (bug-regex35-ENV): Likewise.
49616         (tst-rxspencer-ENV): Likewise.
49617         (tst-rxspencer-no-utf8-ENV): Likewise.
49618         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
49619         (tst-sscanf-ENV): Likewise.
49620         (tst-swprintf-ENV): Likewise.
49621         (tst-swscanf-ENV): Likewise.
49622         (test-vfprintf-ENV): Likewise.
49623         (scanf13-ENV): Likewise.
49624         (bug14-ENV): Likewise.
49625         (tst-grouping-ENV): Likewise.
49626         * stdlib/Makefile (tst-strtod-ENV): Likewise.
49627         (tst-strtod3-ENV): Likewise.
49628         (tst-strtod4-ENV): Likewise.
49629         (tst-strtod5-ENV): Likewise.
49630         (testmb2-ENV): Likewise./
49631         * string/Makefile (tst-strxfrm-ENV): Likewise.
49632         (tst-strxfrm2-ENV): Likewise.
49633         (bug-strcoll1-ENV): Likewise.
49634         (test-strcasecmp-ENV): Likewise.
49635         (test-strncasecmp-ENV): Likewise.
49636         * time/Makefile (tst-strptime-ENV): Likewise.
49637         (tst-ftime_l-ENV): Likewise.
49638         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
49639         (tst-mbrtowc-ENV): Likewise.
49640         (tst-wcrtomb-ENV): Likewise.
49641         (tst-mbrtowc2-ENV): Likewise.
49642         (tst-c16c32-1-ENV): Likewise.
49643         (tst-mbsnrtowcs-ENV): Likewise.
49645 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
49647         * manual/resource.texi (How to get information about the memory
49648         subsystem?): Fix typo.
49649         Reported by Peon de la Parra Ivan <peon@keba.com>
49651 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
49653         [BZ #16882]
49654         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
49655         (pthread_spin_lock): Branch out of spin loop to proper location.
49656         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
49657         (pthread_spin_lock): Likewise.
49659         * nptl/tst-spin4.c: New test.
49660         * nptl/Makefile (tests): Add tst-spin4.
49662 2014-06-03  Andreas Schwab  <schwab@suse.de>
49664         [BZ #15946]
49665         * resolv/res_send.c (send_dg): Reload file descriptor after
49666         calling reopen.
49668 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
49670         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49672 2014-06-03  Richard Henderson  <rth@redhat.com>
49674         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
49675         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
49676         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
49677         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
49678         in the SAVE_PID block.
49679         (__libc_vfork): New alias.
49680         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
49682         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
49683         child in registers, not on the stack.  Remove RESET_PID conditionals.
49684         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
49686 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49688         * sysdeps/aarch64/libm-test-ulps: Regenerate.
49690 2014-06-03  Wilco  <wdijkstr@arm.com>
49692         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
49693         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
49694         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49695         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
49696         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
49697         Likewise.
49699 2014-06-03  Wilco  <wdijkstr@arm.com>
49701         * sysdeps/aarch64/fpu/math_private.h
49702         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
49703         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
49704         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
49705         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
49706         Fix declarations.
49708 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
49710         * crypt/crypt-private.h: Include ufc-crypt.h.
49711         (__b64_from_24bit): Declare extern.
49712         * crypt/crypt_util.c(__b64_from_24bit): New function.
49713         (b64t): New static const variable.
49714         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
49715         (b64t): Remove variable.
49716         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
49717         * crypt/sha256-crypt.c: Include crypt-private.h.
49718         (b64t): Remove variable.
49719         (__sha256_crypt_r): Remove b64_from_24bit and replace
49720         with __b64_from_24bit.
49721         * crypt/sha512-crypt.c: Likewise.
49723 2014-06-02  Roland McGrath  <roland@hack.frob.com>
49725         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
49726         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
49727         Label the code __libc_vfork rather than __vfork.
49728         [!NOT_IN_libc] (vfork): Define as weak alias.
49729         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
49730         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
49731         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
49733 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49735         * malloc/malloc.c (malloc_info): Fix format specifier for
49736         n_mmaps.
49738 2014-06-02  Wilco  <wdijkstr@arm.com>
49740         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
49741         FPCR write.
49743 2014-06-02  Wilco  <wdijkstr@arm.com>
49745         [BZ #17009]
49746         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
49747         Rewrite to reduce FPCR/FPSR accesses.
49749 2014-06-01  David S. Miller  <davem@davemloft.net>
49751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49753 2014-05-31  David S. Miller  <davem@davemloft.net>
49755         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
49756         to occur in round to nearest mode when |x| >= 2.0
49758 2014-05-30  Richard Henderson  <rth@twiddle.net>
49760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
49761         (PSEUDO_RET_NOERRNO): Remove.
49762         (ret): Don't redefine.
49763         (ret_NOERRNO): Define in terms of ret.
49764         (ret_ERRVAL): Likewise.
49766         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
49767         use of PSEUDO_RET; perform the error check directly.
49769 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
49771         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
49772         with __int128_t.
49774 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49776         * malloc/malloc (malloc_info): Fix formatting.
49778 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49779             Roland McGrath  <roland@hack.frob.com>
49781         * malloc/malloc (malloc_info): Also print mmapped statistics.
49783 2014-05-30  Roland McGrath  <roland@hack.frob.com>
49785         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
49786         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
49788 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
49790         * malloc/malloc.c (malloc_info): Inline mi_arena.
49792 2014-05-29  Richard Henderson  <rth@twiddle.net>
49794         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
49795         Remove comma before expanding ASM_ARGS_##nr.
49796         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
49797         Make _x0 a strict output; make _x8 a strict input; adjust expansion
49798         of ASM_ARGS_##nr.
49799         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
49800         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
49801         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
49802         (ASM_ARGS_1): Add leading comma.
49804         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
49805         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
49806         to __errno_location.
49807         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
49808         Remove the expected plt for __errno_location.
49810         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49811         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
49812         call to __read_tp.
49814         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49815         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
49816         it and break it down.
49817         (DOCARGS_0, DOCARGS_1): Do nothing.
49818         (DOCARGS_2): Update to store into the new stack frame.
49819         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
49820         (UNDOCARGS_1): Update to restore from the new stack frame.
49821         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
49822         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
49824         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
49825         (SINGLE_THREAD_P): New parameter for result regno.
49826         (PSEUDO): Update to match; use cbz instead of beq.
49828         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
49829         Use ENTRY to define the _nocancel entry point.  Share the syscall
49830         and syscall error check paths with the cancel path.
49831         (PSEUDO_END): New.
49833         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
49834         whitespace; tabs before and after asm mnemonics.
49836 2014-05-29  Eric Wong  <normalperson@yhbt.net>
49838         [BZ #15132]
49839         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49840         Call fstat64 or stat64 internally, depending on arguments passed.
49841         Replace stat buffer argument with file descriptor argument.
49842         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
49843         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49844         Pass fd to __internal_statvfs instead of calling fstat64.
49845         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
49846         Pass fd to __internal_statvfs64 instead of calling fstat64.
49847         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
49848         Pass -1 to __internal_statvfs instead of calling stat64.
49849         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
49850         Pass -1 to __internal_statvfs64 instead of calling stat64.
49852 2014-05-28  Roland McGrath  <roland@hack.frob.com>
49854         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
49855         that was previously under [RESET_PID].
49856         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
49858         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
49859         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
49861 2014-05-27  Roland McGrath  <roland@hack.frob.com>
49863         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
49865         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
49866         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
49868 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
49870         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
49872 2014-05-27  Andreas Schwab  <schwab@suse.de>
49874         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
49875         TLS_INIT_TP macro.
49876         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
49877         * elf/rtld.c (init_tls, dl_main): Likewise.
49878         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
49879         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
49880         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
49881         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
49882         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
49883         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
49884         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
49885         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
49886         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
49887         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
49888         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
49889         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
49890         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
49891         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
49892         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
49893         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
49894         * sysdeps/generic/tls.h: Update description.
49896 2014-05-27  Will Newton  <will.newton@linaro.org>
49898         [BZ #16990]
49899         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
49900         and restore r2 rather than just restoring.
49902 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49904         [BZ #16724]
49905         * libio/tst-ftell-append.c: New test case.
49906         * libio/Makefile (tests): Add test case.
49907         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
49908         append mode.
49909         * libio/wfileops.c (do_ftell_wide): Likewise.
49911 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49915         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
49916         ...
49917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
49918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49919         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
49920         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
49921         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
49922         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
49923         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
49924         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
49925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
49926         Moved ...
49927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
49928         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
49929         Moved ...
49930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
49931         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
49932         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
49933         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
49934         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
49935         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
49936         ...
49937         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
49938         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
49939         Moved ...
49940         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
49941         here.
49942         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
49943         ...
49944         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
49945         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
49946         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
49948         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
49949         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
49950         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
49951         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
49953         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
49954         merge into ...
49955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
49956         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
49957         ...
49958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
49959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
49960         ...
49961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
49962         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49963         Moved ...
49964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
49965         here.
49966         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49967         Moved ...
49968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
49969         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49970         Moved ...
49971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
49973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
49974         conditional [RESET_PID].
49975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
49976         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
49977         removed.
49978         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
49979         removed.
49981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
49982         <tcb-offsets.h>.
49983         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49984         (__libc_vfork): New strong alias.
49985         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
49986         removed.
49987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
49988         Removed.
49990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
49991         <tcb-offsets.h>.
49992         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
49993         (__libc_vfork): New strong alias.
49994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
49995         removed.
49996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
49997         removed.
49999 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
50001         * malloc/malloc.c (mi_arena): New function.
50002         (malloc_info): Remove nested function mi_arena. Call non-nosted
50003         function mi_arena.
50005 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50007         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
50008         by insrwi.
50009         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50010         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50011         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50012         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50013         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50014         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50015         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50017 2014-05-26  Andreas Schwab  <schwab@suse.de>
50019         [BZ #16984]
50020         * locale/programs/repertoire.c (repertoire_read): Add slash
50021         between I18NPATH element and file name.
50022         * locale/programs/locfile.c (locfile_read): Likewise.
50024 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50026         * nptl/pthread_mutexattr_settype.c
50027         (__pthread_mutexattr_settype):
50028         Disable lock elision for PTHREAD_MUTEX_NORMAL.
50030 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50032         * nptl/tst-mutex5 (do_test):
50033         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50035 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50037         * benchtests/README: Document 'init' directive.
50038         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50039         BENCH_INIT.
50040         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50041         (parse_file): Recognize 'init' directive.
50043 2014-05-26  Kyle McMartin  <kyle@redhat.com>
50045         [BZ #16796]
50046         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50047         alignment of struct pthread.
50049 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50051         [BZ #16878]
50052         * nscd/netgroupcache.c (addgetnetgrentX): Look for
50053         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50054         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50055         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50057 2014-05-25  Richard Henderson  <rth@twiddle.net>
50059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50060         (SINGLE_THREAD_P_PIC): Remove.
50061         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50062         (SINGLE_THREAD_P_PIC): Remove.
50064         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
50065         branch to syscall error ...
50066         (PSEUDO): ... here.
50067         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
50068         from __local_syscall_error to .Lsyscall_error.
50069         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
50070         (SYSCALL_ERROR): Update label name.
50072         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50073         Do not use DOARGS/UNDOARGS.
50074         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
50075         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
50076         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
50077         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
50078         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
50080         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
50081         block comment.
50083         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
50084         define if !NOT_IN_libc.
50085         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
50086         define with non-default symbol versions.
50088 2014-05-23  Richard Henderson  <rth@twiddle.net>
50090         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
50091         (vfork, __vfork): Define via compat_symbol.
50093         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
50094         [!HAVE_IFUNC] (vfork_compat): Remove.
50095         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
50097 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50099         [BZ #16978]
50100         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
50101         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
50102         variable.
50104 2014-05-23  Richard Henderson  <rth@twiddle.net>
50106         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
50107         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
50108         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
50109         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
50111         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
50112         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
50113         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
50114         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
50115         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
50116         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
50117         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
50118         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
50119         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
50120         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
50121         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
50122         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
50123         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
50124         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
50125         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
50126         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
50127         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
50128         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
50129         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
50130         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
50131         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
50132         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
50133         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
50134         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
50135         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
50136         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
50137         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
50138         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
50139         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
50140         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
50141         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
50142         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
50143         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
50144         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
50145         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
50146         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
50147         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
50148         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
50149         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
50150         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
50151         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
50152         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
50153         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
50154         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
50155         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
50156         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
50157         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
50158         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
50159         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
50160         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
50161         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
50162         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
50163         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
50164         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
50165         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
50166         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
50168         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
50169         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
50170         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
50171         before exiting on error.
50172         (__libc_vfork): New strong alias.
50173         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
50174         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
50176         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
50177         that was previously under [RESET_PID].
50178         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
50180         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
50182 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50184         [BZ #16977]
50185         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
50186         value when x - 1 is zero.
50187         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
50188         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
50189         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
50190         0.0L for an argument of 1.0L.
50191         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
50192         Likewise.
50193         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
50194         value when x - 1 is zero.
50195         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
50196         * sysdeps/i386/fpu/libm-test-ulps: Update.
50197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50199 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
50201         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
50202         alphasort and versionsort.
50204 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50206         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
50207         macro.
50208         [copysignf]: Likewise.
50210 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50212         * crypt/md5-crypt.c: Fix formatting.
50214 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50216         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
50217         (b64_from_24bit): New function.
50219 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50221         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
50222         libc_hidden_builtin_def to ifunc.
50223         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
50224         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
50226 2014-05-21  Roland McGrath  <roland@hack.frob.com>
50228         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
50229         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
50231 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
50233         * nscd/Depend (linuxthreads): Remove.
50234         (nptl): Add.
50235         * resolv/Depend (linuxthreads): Remove.
50236         * rt/Depend (linuxthreads): Remove.
50238         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
50239         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
50240         $(common-objpfx)elf/.
50241         (link-libc-before-gnulib): Likewise.
50242         (elfobjdir): Remove variable.
50243         * Makefile (install): Use $(elf-objpfx) instead of
50244         $(common-objpfx)elf/.
50245         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
50246         $(elfobjdir)/.
50247         (link-libc-deps): Likewise.
50248         ($(common-objpfx)libc.so): Likewise.
50249         ($(common-objpfx)linkobj/libc.so): Likewise.
50250         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
50251         instead of $(common-objpfx)elf/.
50252         (symbolic-link-list): Likewise.
50253         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50254         [$(cross-compiling) = no]: Likewise.
50255         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
50256         $(elfobjdir)/.
50257         (static-gnulib-arch): Likewise.
50258         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50259         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
50260         $(common-objpfx)elf/.
50262 2014-05-21  Richard Henderson  <rth@redhat.com>
50264         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50265         (SINGLE_THREAD_P): Use the correct width load.  Fold
50266         into the ldr offset.
50268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
50269         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
50271 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
50273         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
50274         (libgcc_s_resume): Use __attribute_used__.
50275         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
50276         Likewise.
50278 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50280         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
50281         optimization when used with float constants.
50283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50285 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
50287         [BZ #16915]
50288         * locale/nl_langinfo_l.c: Make direct reference to every
50289         _nl_current_CATEGORY symbol.
50290         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
50291         (tests-static): Add tst-langinfo-static.
50292         (tests-special): Add tst-langinfo-static.out.
50293         ($(objpfx)tst-langinfo.out): Redirect output.
50294         ($(objpfx)tst-langinfo-static.out): New.
50295         * localedata/tst-langinfo.sh: Send output to stdout.
50296         * localedata/tst-langinfo-static.c: New file.
50298         [BZ #16965]
50299         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
50300         when the shift amount is modulo the limb size.
50302 2014-05-20  Richard Henderson  <rth@redhat.com>
50304         [BZ #16967]
50305         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
50306         Change type of sa_flags from unsigned int to int.
50308         [BZ #16966]
50309         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
50311         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
50313 2014-05-20  Will Newton  <will.newton@linaro.org>
50315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50316         Test the return value of the system call in the nocancel case.
50318 2014-05-20  Will Newton  <will.newton@linaro.org>
50319             Yvan Roux  <yvan.roux@linaro.org>
50321         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
50322         #include of asm/ptrace.h.
50323         (PTRACE_GET_THREAD_AREA): Remove #undef.
50324         (PTRACE_GETHBPREGS): Likewise.
50325         (PTRACE_SETHBPREGS): Likewise.
50326         (struct user_regs_struct): New structure.
50327         (struct user_fpsimd_struct): New structure.
50328         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
50329         #include of asm/ptrace.h and second #include of sys/user.h.
50330         (PTRACE_GET_THREAD_AREA): Remove #undef.
50331         (PTRACE_GETHBPREGS): Likewise.
50332         (PTRACE_SETHBPREGS): Likewise.
50333         (ELF_NGREG): Use new struct user_regs_struct.
50334         (elf_fpregset_t): Use new struct user_fpsimd_struct.
50336 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50338         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
50339         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
50341 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
50343         [BZ #16958]
50344         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
50345         membar to avoid block loads/stores to overlap previous stores.
50347 2014-05-17  Richard Henderson  <rth@redhat.com>
50349         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
50350         Create the __##syscall_name##_nocancel entry point.
50351         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
50352         Remove; let the sysdep-cancel.h code create it.
50354 2014-05-17  David S. Miller  <davem@davemloft.net>
50356         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
50357         Protect with __USE_GNU.
50358         (TIOCSET_TEMPT): Likewise.
50359         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
50360         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
50361         these are already provided in bits/ioctl-types.h
50363 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50365         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
50366         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
50368         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
50369         Use wait4 regardless of [__NR_waitpid].
50371 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50373         PR libgcc/60166
50374         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50375         (_FP_NANSIGN_Q): Set the quiet bit.
50377 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
50379         * benchtests/Makefile
50380         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
50381         not $(common-objpfx)math/libm.so.
50382         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
50383         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
50384         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
50385         $(common-objpfx)dlfcn/libdl.so.
50386         ($(objpfx)tst-audit8): Depend on $(libm), not
50387         $(common-objpfx)math/libm.so.
50388         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
50389         not $(common-objpfx)dlfcn/libdl.so.
50390         * math/Makefile
50391         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50392         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
50393         [$(build-shared) = yes].
50394         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
50395         $(common-objpfx)nptl/libpthread.so.
50396         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
50397         $(common-objpfx)math/libm.so$(libm.so-version) or
50398         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
50399         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
50400         $(common-objpfx)dlfcn/libdl.so.
50401         * setjmp/Makefile (link-libm): Remove variable.
50402         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50403         * stdio-common/Makefile (link-libm): Remove variable.
50404         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
50405         * stdlib/Makefile (link-libm): Remove variable.
50406         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
50407         ($(objpfx)tst-strtod-round): Likewise.
50408         ($(objpfx)tst-tininess): Likewise.
50409         ($(objpfx)tst-strtod-underflow): Likewise.
50410         ($(objpfx)tst-strtod6): Likewise.
50411         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
50412         $(libdl), not $(common-objpfx)nptl/libpthread.so and
50413         $(common-objpfx)dlfcn/libdl.so.
50415 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50417         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
50418         BSD terminal modes definitions.
50420 2014-05-16  Roland McGrath  <roland@hack.frob.com>
50422         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
50423         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
50425         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
50426         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
50427         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
50428         Don't do #include_next.
50429         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
50430         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
50431         Don't do #include_next.
50432         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
50433         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
50434         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
50435         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
50437 2014-05-16  Allan McRae  <allan@archlinux.org>
50439         * po/sv.po: Update Swedish translation from translation project.
50441         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
50442         in sed expression.
50444 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
50446         [BZ #16917]
50447         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
50448         errno if the TIOCGPTN ioctl fails with an error different than
50449         EINVAL.
50450         * login/tst-ptsname.c: New file.
50451         * login/Makefile (tests): Add tst-ptsname.
50453         [BZ #16943]
50454         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
50455         and prlimit64.
50457 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50459         [BZ #16849]
50460         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
50461         herrno to return EAI_AGAIN.
50463 2014-05-14  Roland McGrath  <roland@hack.frob.com>
50465         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
50466         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
50467         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
50468         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
50469         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
50470         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
50471         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
50472         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
50473         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
50474         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
50475         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
50476         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
50477         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
50478         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
50479         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
50480         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
50481         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
50482         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
50483         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
50484         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
50485         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
50486         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
50487         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
50488         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
50489         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
50490         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
50491         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
50492         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
50493         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
50494         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
50495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
50496         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
50497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
50498         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
50499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50500         Moved ...
50501         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
50502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
50503         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
50504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
50505         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
50506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
50507         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
50508         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
50509         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
50510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
50511         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
50512         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
50513         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
50514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
50515         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
50516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
50517         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
50518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
50519         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
50520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
50521         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
50522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
50523         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
50524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
50525         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
50526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
50527         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
50528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50529         Moved ...
50530         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
50531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
50532         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
50533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
50534         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
50535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
50536         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
50537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
50538         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
50539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
50540         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
50541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
50542         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
50543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
50544         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
50545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
50546         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
50547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
50548         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
50549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50550         Moved ...
50551         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
50552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
50553         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
50555         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
50556         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
50557         (libpthread-sysdep_routines): Add elision-related stuff here instead.
50558         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
50559         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
50560         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
50561         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
50562         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
50563         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
50564         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
50565         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
50566         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
50567         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
50568         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
50569         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
50570         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
50571         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
50572         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
50573         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
50574         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
50575         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
50576         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
50577         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
50578         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
50579         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
50580         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
50581         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
50582         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
50583         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
50584         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
50585         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
50587         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
50588         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
50590         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
50591         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
50592         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
50593         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
50594         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
50595         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
50596         Moved ...
50597         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
50598         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
50599         Moved ...
50600         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
50601         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
50602         Moved ...
50603         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
50604         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
50605         Moved ...
50606         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
50607         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
50608         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
50609         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
50610         Moved ...
50611         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
50612         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
50613         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
50614         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
50615         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
50616         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
50617         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
50618         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
50619         Moved ...
50620         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
50621         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50622         Moved ...
50623         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
50624         ... here.
50625         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
50626         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
50627         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
50628         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
50629         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50630         Moved ...
50631         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
50632         ... here.
50633         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
50634         Moved ...
50635         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
50636         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
50637         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
50638         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
50639         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
50640         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
50641         Moved ...
50642         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
50643         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
50644         Moved ...
50645         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
50646         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
50647         Moved ...
50648         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
50649         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
50650         Moved ...
50651         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
50652         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
50653         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
50654         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
50655         Moved ...
50656         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
50657         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
50658         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
50659         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
50660         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
50661         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
50662         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
50663         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
50664         Moved ...
50665         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
50666         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50667         Moved ...
50668         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
50669         ... here.
50670         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
50671         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
50672         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
50673         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
50674         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50675         Moved ...
50676         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
50677         ... here.
50678         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
50679         Moved ...
50680         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
50681         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
50682         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
50683         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
50684         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
50685         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
50686         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
50687         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
50688         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
50689         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
50690         Moved ...
50691         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
50692         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
50693         Moved ...
50694         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
50695         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
50696         Moved ...
50697         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
50698         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
50699         Moved ...
50700         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
50701         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
50702         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
50703         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
50704         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
50705         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
50706         Moved ...
50707         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
50708         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
50709         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
50710         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
50711         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
50712         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
50713         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
50714         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
50715         Moved ...
50716         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
50717         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50718         Moved ...
50719         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
50720         ... here.
50721         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
50722         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
50723         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
50724         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
50725         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50726         Moved ...
50727         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
50728         ... here.
50729         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
50730         Moved ...
50731         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
50732         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
50733         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
50734         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
50735         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
50736         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
50737         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
50738         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
50739         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
50740         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
50741         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
50743         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
50744         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
50746         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
50747         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
50749         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
50750         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
50751         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
50752         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
50753         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
50754         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
50755         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
50756         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
50757         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
50758         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
50759         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
50760         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
50761         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
50762         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
50763         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
50764         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
50765         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
50766         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
50767         Moved ...
50768         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
50769         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
50770         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
50771         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
50772         Moved ...
50773         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
50774         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
50775         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
50776         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
50777         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
50778         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
50779         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
50780         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
50781         Moved ...
50782         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
50783         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
50784         Moved ...
50785         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
50786         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
50787         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
50788         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
50789         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
50790         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
50791         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
50792         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
50793         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
50794         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
50795         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
50796         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
50797         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
50798         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
50799         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
50800         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
50801         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
50803         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
50804         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
50805         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
50806         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
50807         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
50809         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
50810         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
50811         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
50812         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
50813         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
50814         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
50815         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
50816         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
50817         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
50818         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
50820         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
50821         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
50823         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
50824         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
50825         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
50826         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
50827         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
50828         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
50829         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
50830         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
50831         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
50832         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
50833         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
50834         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
50835         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
50836         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
50837         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
50838         Update #include.
50839         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
50840         Likewise.
50841         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50842         Likewise.
50843         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50844         Likewise.
50845         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50846         Likewise.
50847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
50848         Likewise.
50849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
50850         Likewise.
50851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50852         Likewise.
50853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
50854         Likewise.
50855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
50856         Likewise.
50857         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
50858         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
50859         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
50860         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
50861         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
50862         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
50863         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
50864         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
50865         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
50866         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
50867         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
50868         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
50869         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
50870         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
50871         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
50873         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
50874         that was previously under [RESET_PID].
50875         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
50876         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
50877         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
50879         * sysdeps/i386/nptl/Implies: New file.
50880         * sysdeps/x86_64/nptl/Implies: New file.
50881         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
50882         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
50883         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
50884         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
50886         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
50887         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50888         (__libc_vfork): New strong alias.
50889         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
50890         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
50892         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
50893         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50894         (__libc_vfork): New strong alias.
50895         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
50896         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
50898         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
50899         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50900         (__libc_vfork): New strong alias.
50901         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
50902         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
50903         * nptl/pt-vfork.c: New file.
50904         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
50905         (libpthread: GLIBC_2.20): New version set (empty).
50907 2014-05-14  Will Newton  <will.newton@linaro.org>
50909         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
50910         rather than #if.
50912 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50914         [BZ #16564]
50915         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
50916         arguments with exponent 65 or above.
50917         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
50918         arguments 0x1p113L or above.
50919         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
50920         to arguments 0x1p107L or above.
50921         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
50922         positive arguments with exponent 65 or above.
50923         * math/auto-libm-test-in: Add more tests of log1p.
50924         * math/auto-libm-test-out: Regenerated.
50926         [BZ #16928]
50927         * math/s_cacos.c (__cacos): Ensure zero real part of result from
50928         non-finite arguments is +0.
50929         * math/s_cacosf.c (__cacosf): Likewise.
50930         * math/s_cacosl.c (__cacosl): Likewise.
50931         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
50932         * sysdeps/i386/fpu/libm-test-ulps: Update.
50933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50935         [BZ #16927]
50936         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
50937         value.
50938         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
50939         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
50940         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
50941         for explicit high bit of mantissa when testing for argument equal
50942         to 1.
50943         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
50944         * sysdeps/i386/fpu/libm-test-ulps: Update.
50945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50947         [BZ #16516]
50948         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
50949         (__erf): Scale by 16 instead of 8 in potentially underflowing
50950         case.  Ensure exception if result actually underflows.
50951         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
50952         (__erff): Scale by 16 instead of 8 in potentially underflowing
50953         case.  Ensure exception if result actually underflows.
50954         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
50955         (efx8): Remove variable.
50956         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50957         case.  Ensure exception if result actually underflows.
50958         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
50959         (efx8): Remove variable.
50960         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50961         case.  Ensure exception if result actually underflows.
50962         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
50963         (efx8): Remove variable.
50964         (__erfl): Scale by 16 instead of 8 in potentially underflowing
50965         case.  Ensure exception if result actually underflows.
50966         * math/auto-libm-test-in: Add more tests of erf.
50967         * math/auto-libm-test-out: Regenerated.
50969 2014-05-14  Andreas Schwab  <schwab@suse.de>
50971         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
50972         Remove code conditionalized on USE___THREAD.
50974         * config.h.in (HAVE_PT_CHOWN): Define as 0.
50975         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
50976         not definedness.
50978 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
50980         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
50981         Define unconditionally.
50982         (__ASSUME_O_CLOEXEC): Likewise.
50983         (__ASSUME_SOCK_CLOEXEC): Likewise.
50984         (__ASSUME_IN_NONBLOCK): Likewise.
50985         (__ASSUME_PIPE2): Likewise.
50986         (__ASSUME_EVENTFD2): Likewise.
50987         (__ASSUME_SIGNALFD4): Likewise.
50988         (__ASSUME_DUP3): Likewise.
50989         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50990         (__ASSUME_DUP3): Do not define.
50991         (__ASSUME_EVENTFD2): Likewise.
50992         (__ASSUME_IN_NONBLOCK): Likewise.
50993         (__ASSUME_O_CLOEXEC): Likewise.
50994         (__ASSUME_PIPE2): Likewise.
50995         (__ASSUME_SIGNALFD4): Likewise.
50996         (__ASSUME_SOCK_CLOEXEC): Likewise.
50997         (__ASSUME_UTIMES): Undefine.
50998         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50999         (__ASSUME_UTIMES): Do not define.
51000         (__ASSUME_O_CLOEXEC): Likewise.
51001         (__ASSUME_SOCK_CLOEXEC): Likewise.
51002         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
51003         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
51004         0x020621].
51005         (__ASSUME_PIPE2): Likewise.
51006         (__ASSUME_EVENTFD2): Likewise.
51007         (__ASSUME_SIGNALFD4): Likewise.
51008         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
51009         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51010         Do not define.
51011         (__ASSUME_EVENTFD2): Likewise.
51012         (__ASSUME_SIGNALFD4): Likewise.
51013         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51014         (__ASSUME_32BITUIDS): Likewise.
51015         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51016         (__ASSUME_IPC64): Likewise.
51017         (__ASSUME_ST_INO_64_BIT): Likewise.
51018         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51019         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51020         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51021         (__ASSUME_UTIMES): Do not define.
51022         (__ASSUME_PSELECT): Likewise.
51023         (__ASSUME_PPOLL): Likewise.
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         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51032         (__ASSUME_UTIMES): Likewise.
51033         (__ASSUME_O_CLOEXEC): Likewise.
51034         (__ASSUME_SOCK_CLOEXEC): Likewise.
51035         (__ASSUME_IN_NONBLOCK): Likewise.
51036         (__ASSUME_PIPE2): Likewise.
51037         (__ASSUME_EVENTFD2): Likewise.
51038         (__ASSUME_SIGNALFD4): Likewise.
51039         (__ASSUME_DUP3): Likewise.
51040         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51041         (__ASSUME_UTIMES): Likewise.
51042         (__ASSUME_O_CLOEXEC): Likewise.
51043         (__ASSUME_SOCK_CLOEXEC): Likewise.
51044         (__ASSUME_IN_NONBLOCK): Likewise.
51045         (__ASSUME_PIPE2): Likewise.
51046         (__ASSUME_EVENTFD2): Likewise.
51047         (__ASSUME_SIGNALFD4): Likewise.
51048         (__ASSUME_DUP3): Likewise.
51049         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51050         Likewise.
51051         (__ASSUME_UTIMES): Likewise.
51052         (__ASSUME_EVENTFD2): Likewise.
51053         (__ASSUME_SIGNALFD4): Likewise.
51054         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51055         (__ASSUME_O_CLOEXEC): Likewise.
51056         (__ASSUME_SOCK_CLOEXEC): Likewise.
51057         (__ASSUME_IN_NONBLOCK): Likewise.
51058         (__ASSUME_PIPE2): Likewise.
51059         (__ASSUME_EVENTFD2): Likewise.
51060         (__ASSUME_SIGNALFD4): Likewise.
51061         (__ASSUME_DUP3): Likewise.
51062         (__ASSUME_UTIMES): Undefine.
51064         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
51065         feclearexcept.  Remove symbol versioning code.
51066         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
51067         symbol versioning code.
51068         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
51069         symbol versioning code.
51070         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
51071         feupdateenv.  Remove symbol versioning code.
51072         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
51073         fegetexceptflag.  Remove symbol versioning code.
51074         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
51075         fesetexceptflag.  Remove symbol versioning code.
51076         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
51077         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
51078         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
51079         (__posix_fadvise64_l32): Remove prototype.
51080         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
51081         code.
51083 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51085         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
51086         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
51087         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
51088         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
51090 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
51092         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
51093         current working directory
51095 2014-05-13  Roland McGrath  <roland@hack.frob.com>
51097         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
51098         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
51099         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
51100         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
51101         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
51102         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
51103         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
51104         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
51105         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
51106         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
51107         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
51108         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
51109         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
51110         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
51111         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
51112         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
51113         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
51114         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
51115         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
51116         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
51117         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
51118         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
51119         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
51120         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
51121         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
51122         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
51123         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
51124         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
51125         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
51126         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
51127         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
51128         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
51129         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
51130         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
51131         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
51132         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
51133         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
51134         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
51135         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
51136         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
51137         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
51138         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
51140         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
51141         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
51143         * sysdeps/unix/sysv/linux/arm/Makefile
51144         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
51145         Add rt-aeabi_unwind_cpp_pr1.
51146         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
51147         Add nptl-aeabi_unwind_cpp_pr1.
51148         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
51149         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
51150         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
51151         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
51152         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
51153         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
51155         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
51156         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
51157         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
51158         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
51160         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
51161         Deconditionalize the code that was previously under [RESET_PID].
51162         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
51164         * sysdeps/generic/exit-thread.h: New file.
51165         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
51166         * include/unistd.h (__exit_thread): Remove declaration.
51167         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
51168         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
51169         * csu/libc-start.c: Include <exit-thread.h>.
51170         (LIBC_START_MAIN): Pass no argument to __exit_thread.
51171         * nptl/pthread_create.c: Include <exit-thread.h>.
51172         (start_thread): Call __exit_thread in place of __exit_thread_inline.
51173         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
51174         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
51175         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
51176         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
51177         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
51178         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
51179         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
51180         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
51181         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
51182         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
51183         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
51184         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
51185         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
51186         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
51187         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
51188         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
51190 2014-05-13  Andreas Schwab  <schwab@suse.de>
51192         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
51194 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
51196         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
51197         (__ASSUME_UTIMES): Do not condition on kernel version.
51198         (__ASSUME_PSELECT): Define unconditionally.
51199         (__ASSUME_PPOLL): Likewise.
51200         (__ASSUME_ATFCTS): Likewise.
51201         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
51202         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
51203         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
51204         (__ASSUME_UTIMENSAT): Define unconditionally.
51205         (__ASSUME_PRIVATE_FUTEX): Likewise.
51206         (__ASSUME_FALLOCATE): Likewise.
51207         (__ASSUME_O_CLOEXEC): Likewise.
51208         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
51209         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
51210         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
51211         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
51212         (__ASSUME_IN_NONBLOCK): Likewise.
51213         (__ASSUME_PIPE2): Likewise.
51214         (__ASSUME_EVENTFD2): Likewise.
51215         (__ASSUME_SIGNALFD4): Likewise.
51216         (__ASSUME_DUP3): Likewise.
51217         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51218         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
51219         (__ASSUME_AT_RANDOM): Likewise.
51220         (__ASSUME_PREADV): Likewise.
51221         (__ASSUME_PWRITEV): Likewise.
51222         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
51223         (__ASSUME_F_GETOWN_EX): Define unconditionally.
51224         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
51225         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51226         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
51227         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51228         (__ASSUME_O_CLOEXEC): Define unconditionally.
51229         (__ASSUME_PSELECT): Do not undefine conditionally.
51230         (__ASSUME_PPOLL): Likewise.
51231         (__ASSUME_ATFCTS): Likewise.
51232         (__ASSUME_SET_ROBUST_LIST): Likewise.
51233         (__ASSUME_UTIMENSAT): Likewise.
51234         (__ASSUME_FDATASYNC): Define unconditionally.
51235         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51236         (__ASSUME_SIGFRAME_V2): Likewise.
51237         )__ASSUME_EVENTFD2): Likewise.
51238         (__ASSUME_SIGNALFD4): Likewise.
51239         (__ASSUME_PSELECT): Do not undefine conditionally.
51240         (__ASSUME_PPOLL): Likewise.
51241         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51242         (__ASSUME_PSELECT): Define unconditionally.
51243         (__ASSUME_PPOLL): Likewise.
51244         (__ASSUME_O_CLOEXEC): Likewise.
51245         (__ASSUME_SOCK_CLOEXEC): Likewise.
51246         (__ASSUME_IN_NONBLOCK): Likewise.
51247         (__ASSUME_PIPE2): Likewise.
51248         (__ASSUME_EVENTFD2): Likewise.
51249         (__ASSUME_SIGNALFD4): Likewise.
51250         (__ASSUME_DUP3): Likewise.
51251         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51252         (__ASSUME_O_CLOEXEC): Likewise.
51253         (__ASSUME_SOCK_CLOEXEC): Likewise.
51254         (__ASSUME_IN_NONBLOCK): Likewise.
51255         (__ASSUME_PIPE2): Likewise.
51256         (__ASSUME_EVENTFD2): Likewise.
51257         (__ASSUME_SIGNALFD4): Likewise.
51258         (__ASSUME_DUP3): Likewise.
51259         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51260         (__ASSUME_EVENTFD2): Likewise.
51261         (__ASSUME_SIGNALFD4): Likewise.
51262         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51264 2014-05-12  Andreas Schwab  <schwab@suse.de>
51266         [BZ #16932]
51267         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
51268         (_nss_nis_gethostbyname4_r): Return error if item length is larger
51269         than maximum RPC packet size.
51270         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
51271         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
51272         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
51273         (_nss_nis_getservbyport_r): Likewise.
51275 2014-05-12  Will Newton  <will.newton@linaro.org>
51277         * malloc/Makefile (tests): Add tst-mallopt.
51278         * malloc/tst-mallopt.c: New file.
51280 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51282         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
51283         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
51285 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51287         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
51288         (tst-tlsmod6.so): Likewise.
51290 2014-05-09  Roland McGrath  <roland@hack.frob.com>
51292         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
51294 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
51296         [BZ #16064]
51297         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
51298         and <dl-procinfo.h>.
51299         (__fegetenv): Save SSE state in envp->__eip if supported.
51300         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
51301         envp->__eip if supported.
51302         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
51303         and <dl-procinfo.h>.
51304         (__fesetenv): Always set __eip, __cs_selector, __opcode,
51305         __data_offset and __data_selector in environment to 0.  Set SSE
51306         state if supported.
51307         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
51308         test-fenv-sse.
51309         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
51310         -mfpmath=sse.
51311         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
51313 2014-05-09  Will Newton  <will.newton@linaro.org>
51315         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
51316         and libc_relro_required for ARM.
51317         * sysdeps/arm/preconfigure: Regenerate.
51319 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
51320             Stefan Liebler  <stli@linux.vnet.ibm.com>
51322         * config.make.in (enable-lock-elision): New Makefile variable.
51323         * configure.ac: Likewise.
51324         * configure: Regenerate.
51325         * sysdeps/s390/configure.ac:
51326         Add check for gcc transactions support.
51327         * sysdeps/s390/configure: Regenerate.
51328         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
51329         Build elision files if enabled.
51330         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
51331         Add lock elision support for s390.
51332         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
51333         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
51334         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
51335         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
51336         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
51337         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
51338         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
51339         Likewise.
51340         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
51341         Likewise.
51342         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
51343         Likewise.
51344         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
51345         Likewise.
51346         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
51347         (__lll_timedlock_elision, __lll_lock_elision)
51348         (__lll_unlock_elision, __lll_trylock_elision)
51349         (lll_timedlock_elision, lll_lock_elision)
51350         (lll_unlock_elision, lll_trylock_elision): Add.
51351         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51352         (pthread_mutex_t): Add lock elision support for s390.
51354 2014-05-14  Wilco  <wdijkstr@arm.com>
51356         * sysdeps/arm/fclrexcpt.c: Cleanup.
51357         * sysdeps/arm/fedisblxcpt.c: Cleanup.
51358         * sysdeps/arm/feenablxcpt.c: Cleanup.
51359         * sysdeps/arm/fegetenv.c: Cleanup.
51360         * sysdeps/arm/fegetexcept.c: Cleanup.
51361         * sysdeps/arm/fegetround.c: Cleanup.
51362         * sysdeps/arm/feholdexcpt.c: Cleanup.
51363         * sysdeps/arm/fesetenv.c: Cleanup.
51364         * sysdeps/arm/fesetround.c: Cleanup.
51365         * sysdeps/arm/feupdateenv.c: Cleanup.
51366         * sysdeps/arm/fgetexcptflg.c: Cleanup.
51367         * sysdeps/arm/fraiseexcpt.c: Cleanup.
51368         * sysdeps/arm/fsetexcptflg.c: Cleanup.
51369         * sysdeps/arm/ftestexcept.c: Cleanup.
51370         * sysdeps/arm/get-rounding-mode.h: Cleanup.
51371         * sysdeps/arm/setfpucw.c: Cleanup.
51373 2014-05-09  Will Newton  <will.newton@linaro.org>
51375         * sysdeps/arm/armv7/strcmp.S: New file.
51376         * NEWS: Mention addition of ARMv7 optimized strcmp.
51378 2014-05-08  Roland McGrath  <roland@hack.frob.com>
51380         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
51381         look for %.ac rather than %.in.
51383         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
51384         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
51385         * sysdeps/mach/hurd/configure: Regenerated.
51386         * sysdeps/unix/sysv/linux/configure: Regenerated.
51388         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
51390 2014-05-07  Steve Ellcey  <sellcey@mips.com>
51392         [BZ #16922]
51393         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
51394         (LONG_SUB): Ditto.
51395         (PTR_SUB): Ditto.
51397 2014-05-07  Andreas Schwab  <schwab@suse.de>
51399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
51400         when skipping over non-matching result from nscd.
51402 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
51404         [BZ #16876]
51405         * nptl/sockperf.c (client): Check socket return value.
51407         [BZ #16877]
51408         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
51409         nscd security class.
51411 2014-05-06  Roland McGrath  <roland@hack.frob.com>
51413         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
51414         * sysdeps/arm/unwind.h: ... here.
51416 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
51418         [BZ #16916]
51419         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
51420         Define.
51422 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51424         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
51425         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
51426         multiarch strncpy for PPC64.
51427         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
51428         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
51429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
51430         multiarch optimizations.
51431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51432         (__libc_ifunc_impl_list): Likewise.
51433         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
51434         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
51435         multiarch stpncpy for PPC64.
51436         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
51437         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
51439 2014-05-06  Andreas Schwab  <schwab@suse.de>
51441         [BZ #16912]
51442         * gmon/mcount.c (_MCOUNT_DECL): Use
51443         atomic_compare_and_exchange_bool_acq instead of
51444         catomic_compare_and_exchange_bool_acq.
51446 2014-05-05  Roland McGrath  <roland@hack.frob.com>
51448         * elf/Makefile (others, install-bin): Remove pldd.
51449         (pldd-modules): Variable removed.
51450         ($(objpfx)pldd): Target removed.
51451         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
51452         (others, install-bin): Append pldd here.
51453         ($(objpfx)pldd): New target.
51455         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
51456         to 0, so the first #if test emitted later doesn't see it undefined.
51457         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
51458         * sysdeps/gnu/errlist.c: Regenerated.
51460 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51462         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51463         [libc_hidden_builtin_def]: Define to empty value.
51464         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
51465         [libc_hidden_builtin_def]: Likewise.
51466         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
51467         [libc_hidden_builtin_def]: Likewise.
51468         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
51469         [libc_hidden_builtin_def]: Likewise.
51470         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
51471         __redirect_memcpy and define ifunc as default hidden symbol.
51472         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
51473         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
51475 2014-05-04  Adam Conrad  <adconrad@0c3.net>
51477         * locale/iso-4217.def: Reintroduce XDR currency.
51479 2014-05-04  Allan McRae  <allan@archlinux.org>
51481         * po/eo.po: Update Esperanto translation from translation project.
51483 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
51485         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
51486         and FEATURE_INDEX_MAX to 1.
51487         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
51489 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51491         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
51492         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
51493         * iconvdata/big5.c (ONE_DIRECTION): Define.
51494         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
51495         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51496         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
51497         * iconvdata/cp932.c (ONE_DIRECTION): Define.
51498         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
51499         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
51500         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
51501         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
51502         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
51503         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
51504         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
51505         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
51506         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
51507         * iconvdata/gbk.c (ONE_DIRECTION): Define.
51508         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
51509         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
51510         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
51511         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
51512         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
51513         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
51514         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
51515         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
51516         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
51517         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
51518         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
51519         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
51520         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
51521         * iconvdata/iso646.c (ONE_DIRECTION): Define.
51522         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
51523         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
51524         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
51525         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
51526         * iconvdata/johab.c (ONE_DIRECTION): Define.
51527         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
51528         * iconvdata/sjis.c (ONE_DIRECTION): Define.
51529         * iconvdata/t.61.c (ONE_DIRECTION): Define.
51530         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
51531         * iconvdata/tscii.c (ONE_DIRECTION): Define.
51532         * iconvdata/uhc.c (ONE_DIRECTION): Define.
51533         * iconvdata/unicode.c (ONE_DIRECTION): Define.
51534         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
51535         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
51536         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
51538 2014-05-01  Roland McGrath  <roland@hack.frob.com>
51540         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
51541         (_IO_JUMPS_OFFSET): Define to 0.
51543         * nptl/sysdeps/pthread/bits/libc-lock.h
51544         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
51545         (__libc_lock_define_initialized_recursive): Always define using
51546         initializer.  Modern compilers treat uninitialized (implicit zero) and
51547         explicit zero initializers the same (i.e. put the datum in bss).
51549 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51551         * nscd/nscd-client.h: Include <string.h>.
51553 2014-05-01  David S. Miller  <davem@davemloft.net>
51555         [BZ #16885]
51556         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
51557         multiple zero bytes exist at the end of a string.
51558         Reported by Aurelien Jarno <aurelien@aurel32.net>
51560         * string/test-strcmp.c (check): Add explicit test for situations where
51561         there are multiple zero bytes after the first.
51563 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51565         [BZ #16890]
51566         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
51567         when compiling wprintf.
51568         * stdio-common/tstdiomisc.c (t3): New function.
51569         (main): Call it.
51571 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51573         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
51574         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
51575         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
51576         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
51578 2014-05-01  Steve Ellcey  <sellcey@mips.com>
51580         * stdlib/longlong.h: Updated from GCC.
51582 2014-05-01  Will Newton  <will.newton@linaro.org>
51583             Bernard Ogden  <bernie.ogden@linaro.org>
51585         * NEWS: Update fixed bug list.
51587         [BZ #15119]
51588         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
51590 2014-04-30  David S. Miller  <davem@davemloft.net>
51592         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
51593         (libc_feholdexcept_setround_sparc_ctx): New function.
51594         (libc_fesetenv_sparc_ctx): Likewise.
51595         (libc_feupdateenv_sparc_ctx): Likewise.
51596         (libc_feholdsetround_sparc_ctx): Likewise.
51597         (libc_feholdexcept_setround_ctx): Define.
51598         (libc_feholdexcept_setroundf_ctx): Likewise.
51599         (libc_feholdexcept_setroundl_ctx): Likewise.
51600         (libc_fesetenv_ctx): Likewise.
51601         (libc_fesetenvf_ctx): Likewise.
51602         (libc_fesetenvl_ctx): Likewise.
51603         (libc_feupdateenv_ctx): Likewise.
51604         (libc_feupdateenvf_ctx): Likewise.
51605         (libc_feupdateenvl_ctx): Likewise.
51606         (libc_feresetround_ctx): Likewise.
51607         (libc_feresetroundf_ctx): Likewise.
51608         (libc_feresetroundl_ctx): Likewise.
51609         (libc_feholdsetround_ctx): Likewise.
51610         (libc_feholdsetroundf_ctx): Likewise.
51611         (libc_feholdsetroundl_ctx): Likewise.
51613         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51614         with __USE_GNU instead of XOPEN cpp guards.
51616         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
51617         0.
51619         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
51620         with XOPEN cpp guards.
51622 2014-04-30  Julian Brown  <julian@codesourcery.com>
51624         [BZ #16888]
51625         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
51626         handling.
51628 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
51630         [BZ #9894]
51631         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
51632         Change to 2.6.32.
51633         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
51634         * sysdeps/unix/sysv/linux/configure: Regenerated.
51635         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
51636         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
51637         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
51638         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
51639         * README: Update reference to required Linux kernel version.
51640         * manual/install.texi (Linux): Update reference to required Linux
51641         kernel headers version.
51642         * INSTALL: Regenerated.
51644         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
51645         header inclusion.
51646         [POSIX] (limits.h): Likewise.
51647         [POSIX] (math.h): Likewise.
51648         [POSIX] (sys/wait.h): Likewise.
51649         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
51650         function.
51651         [POSIX] (stddef.h): Do not allow header inclusion.
51653 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51655         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
51657 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
51659         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
51660         Return immediately after lll_futex_wake.
51662 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51664         [BZ #16791]
51665         * nscd/nscd-client.h (datahead_init_common): Initialize entire
51666         structure.
51667         (datahead_init_pos): Call datahead_init_common early.
51668         (datahead_init_neg): Likewise.
51670         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
51671         datahead_init_neg): New functions.
51672         * nscd/aicache.c (addhstaiX): Use them.
51673         * nscd/grpcache.c (cache_addgr): Likewise.
51674         * nscd/hstcache.c (cache_addhst): Likewise.
51675         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51676         * nscd/netgroupcache.c (do_notfound): Likewise.
51677         (addgetnetgrentX): Likewise.
51678         (addinnetgrX): Likewise.
51679         * nscd/pwdcache.c (cache_addpw): Likewise.
51680         * nscd/servicescache.c (cache_addserv): Likewise.
51682 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51683             Atsushi Onoe  <atsushi@onoe.org>
51685         [BZ #14308]
51686         [BZ #12994]
51687         [BZ #13651]
51688         * resolv/res_query.c (__libc_res_nsearch): Return if at least
51689         one response is valid.
51690         * resolv/res_send.c (send_dg): Check for validity of other
51691         response if the current response is a referral.
51693 2014-04-29  Steve Ellcey  <sellcey@mips.com>
51695         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
51697 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
51699         [BZ #16823]
51700         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
51701         Always divide by positive zero when computing -Inf result.
51702         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51703         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
51705 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51707         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
51708         FPSCR if value do not change.
51709         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51710         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
51711         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
51712         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
51713         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
51714         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
51715         function.
51717 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
51719         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
51720         * sysdeps/unix/sysv/linux/hppa: Move directory from
51721         ports/systeps/unix/sysv/linux/hppa.
51722         * README: Update listing for hppa-*-linux-gnu.
51724 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
51726         [BZ #16754]
51727         * manual/stdio.texi (Hook functions): Fix types of stream hook
51728         functions.
51729         [BZ #16854]
51730         * socket/sys/socket.h: Fix typo in comment.
51732 2014-04-28  Wilco  <wdijkstr@arm.com>
51734         * sysdeps/arm/fenv_private.h: New file.
51735         * sysdeps/arm/math_private.h: New file.
51736         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
51738 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
51740         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
51741         with __int128_t.
51742         (La_x86_64_retval): Likewise.
51744 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
51746         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
51747         fpsr if value didn't change.
51748         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
51749         to fpcr if value didn't change.
51750         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
51751         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
51752         fpsr or fpcr if value didn't change.
51753         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
51754         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
51755         fpcr if value didn't change.
51756         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
51757         to fpsr if value didn't change.
51759 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51761         * nptl/tst-sem3.c: Use test-skeleton.c
51762         (main): Rename to do_test.  Use return instead of
51763         exit.
51764         * nptl/tst-sem4.c: Use test-skeleton.c
51765         (main): Rename to do_test.
51767 2014-04-22  David S. Miller  <davem@davemloft.net>
51769         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
51770         (struct sigaction): New struct member __glibc_reserved0, change
51771         type of sa_flags to int.
51773 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
51775         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
51776         (COUNT_LEADING_ZEROS_0): Define for AArch64.
51778 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51780         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
51781         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
51783 2014-04-22  Will Newton  <will.newton@linaro.org>
51784             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
51786         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
51787         (__longjmp): Add longjmp and longjmp_target SystemTap
51788         probes.
51789         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
51790         (__sigsetjmp): Add setjmp SystemTap probe.
51792 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
51794         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
51795         match manual order.
51797 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51799         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
51801         * sysdeps/powerpc/fpu/fenv_private.h
51802         (libc_feholdexcept_setroundl_ctx): Define to
51803         libc_feholdexcept_setround_ppc_ctx.
51804         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
51805         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
51806         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
51807         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
51809 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51811         * sysdeps/aarch64/math-tests.h: New file.
51813 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
51815         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
51816         New.
51817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51818         Check and set bit_AVX2_Usable.
51819         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
51820         macro.
51821         (bit_AVX2): Likewise.
51822         (index_AVX2_Usable): Likewise.
51823         (CPUID_AVX2): Likewise.
51824         (HAS_AVX2): Likewise.
51826 2014-04-17  Will Newton  <will.newton@linaro.org>
51828         * manual/setjmp.texi (System V contexts): Add note that
51829         calling setcontext on a context created by a call to a
51830         signal handler is undefined.  Update text to note that
51831         setcontext from a signal handler is possible but not
51832         recommended.
51834         [BZ #16629]
51835         * stdlib/tst-setcontext.c: Include signal.h.
51836         (main): Check that the signal stack before and
51837         after swapcontext is the same.
51839         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
51840         Re-implement to restore registers in user code and avoid
51841         rt_sigreturn system call.
51843 2014-04-17  Wilco  <wdijkstr@arm.com>
51845         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
51846         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
51847         * math/test-fenv.c: Skip exception trap tests on targets which only
51848         support non-stop mode.
51850 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
51851             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51853         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
51854         (libc_feholdsetround_aarch64_ctx)
51855         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
51856         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
51857         (libc_feresetround_ctx, libc_feresetroundf_ctx)
51858         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
51859         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
51860         (libc_feresetround_noexl_ctx): Define.
51862 2014-04-16  Richard Henderson  <rth@redhat.com>
51864         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
51866         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
51867         unwind tables.
51869         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
51870         const from the non-libc, non-ldso copy.
51872         * sysdeps/alpha/libm-test-ulps: Regenerate.
51874 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
51875             Wilco Dijkstra  <wilco.dijkstra@arm.com>
51877         * sysdeps/aarch64/fpu/math_private.h: New file.
51879 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51881         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51883 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
51885         [BZ #16275]
51886         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
51887         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
51888         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
51889         Intel MPX bound registers before _dl_profile_fixup.
51890         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
51891         registers after _dl_profile_fixup.  Save and restore bound
51892         registers bnd0/bnd1 when calling _dl_call_pltexit.
51893         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
51894         (LR_BND_OFFSET): Likewise.
51895         (LRV_BND0_OFFSET): Likewise.
51896         (LRV_BND1_OFFSET): Likewise.
51898 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51900         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
51901         to...
51902         * sysdeps/mach/hurd/i386/tls.h: ... here.
51903         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
51904         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
51905         fields.
51907 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51909         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
51911 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51913         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51915 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
51917         [BZ #14770]
51918         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
51919         * sysdeps/s390/configure: Regenerate.
51921         [BZ #16824]
51922         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
51923         Set round-to-nearest internally to reduce error accumulation.
51925 2014-04-16  Alan Modra  <amodra@gmail.com>
51927         [BZ #16740]
51928         [BZ #16619]
51929         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
51930         * math/libm-test.inc (frexp_test_data): Add tests.
51931         * NEWS: Update fixed bug list.
51933 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51935         * benchtests/Makefile: Depend on libraries in build directory.
51936         (bench-math): Separate out math tests.
51937         (bench-pthread): Separate out pthread tests.
51938         (bench): Include math and pthread tests.
51940 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
51942         [BZ #16831]
51943         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
51944         _dl_debug_initialize.
51946         * configure.ac: Remove SELinux header check.
51947         * configure: Regenerate.
51948         * nscd/selinux.c (perms): Array of const char* to permission names.
51949         (nscd_request_avc_has_perm): Call security_deny_unknown to find
51950         default policy. Call string_to_security_class and string_to_av_perm to
51951         translate strings. Enforce default policy and call avs_has_perm with
51952         results of translated strings.
51954 2014-04-13  David S. Miller  <davem@davemloft.net>
51956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51958 2014-04-12  Allan McRae  <allan@archlinux.org>
51960         [BZ #16838]
51961         * manual/string.texi (Collation Functions): Fix qsort argument
51962         order in example.
51963         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51965 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
51967         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
51968         Make the test a no-op if there are no exceptions defined.
51970 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
51972         * elf/Makefile (tests): make tst-dlopen-aout conditional on
51973         enable-hardcoded-path-in-tests
51975 2014-04-11  Will Newton  <will.newton@linaro.org>
51977         * benchtests/Makefile (extra-objs): Add json-lib.o.
51978         (bench-func): Tidy up JSON output.
51979         * benchtests/bench-skeleton.c: Include json-lib.h.
51980         (main): Use JSON library functions to do output of
51981         benchmark results.
51982         * benchtests/bench-timing-type.c (main): Output the
51983         timing type simply, leaving formatting to the user.
51984         * benchtests/json-lib.c: New file.
51985         * benchtests/json-lib.h: Likewise.
51987 2014-04-11  Torvald Riegel  <triegel@redhat.com>
51989         [BZ #15215]
51990         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
51991         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
51992         memory barriers.  Add comments.
51993         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
51994         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
51995         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
51996         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
51997         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
51998         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
52000 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52002         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
52003         * sysdeps/s390/s390-64/configure.ac: ... this ...
52004         * sysdeps/s390/configure.ac: ... to here.
52005         * sysdeps/s390/s390-32/configure: Delete file.
52006         * sysdeps/s390/s390-64/configure: Delete file.
52007         * sysdeps/s390/configure: Regenerate.
52009 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
52011         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52013 2014-04-11  Will Newton  <will.newton@linaro.org>
52015         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52016         to zero if it is not defined elsewhere.  (mtrim): Test
52017         the value of MALLOC_DEBUG with #if rather than #ifdef.
52019 2014-04-10 Torvald Riegel  <triegel@redhat.com>
52021         * benchtests/pthread_once-inputs: New file.
52022         * benchtests/pthread_once-source.c: New file.
52023         * benchtests/README: Update documentation.
52025 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
52026             H.J. Lu  <hongjiu.lu@intel.com>
52028         [BZ #16275]
52029         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52030         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52031         * sysdeps/x86_64/configure: Regenerated.
52032         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52033         macro.
52034         (REGISTER_SAVE_RAX): Likewise.
52035         (REGISTER_SAVE_RCX): Likewise.
52036         (REGISTER_SAVE_RDX): Likewise.
52037         (REGISTER_SAVE_RSI): Likewise.
52038         (REGISTER_SAVE_RDI): Likewise.
52039         (REGISTER_SAVE_R8): Likewise.
52040         (REGISTER_SAVE_R9): Likewise.
52041         (REGISTER_SAVE_BND0): Likewise.
52042         (REGISTER_SAVE_BND1): Likewise.
52043         (REGISTER_SAVE_BND2): Likewise.
52044         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
52045         bound registers when calling _dl_fixup.
52047 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52049         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52050         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52051         of its definition.
52052         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52053         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52054         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52055         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52056         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52057         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52058         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52060 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
52062         [BZ #15514]
52063         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52064         pathconf(_PC_NAME_MAX).
52066 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52068         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
52069         Remove macro usage.
52070         (__PTHREAD_SPINS): Move definition to ...
52071         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52072         (__PTHREAD_SPINS): ... here.
52073         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52074         (__PTHREAD_SPIN): Likewise.
52075         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
52076         (__PTHREAD_SPIN): Likewise.
52077         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
52078         (__PTHREAD_SPIN): Likewise.
52079         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
52080         (__PTHREAD_SPIN): Likewise.
52081         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
52082         (__PTHREAD_SPIN): Likewise.
52083         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
52084         (__PTHREAD_SPIN): Likewise.
52085         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
52086         (__PTHREAD_SPIN): Likewise.
52087         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
52088         (__PTHREAD_SPIN): Likewise.
52089         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
52090         (__PTHREAD_SPIN): Likewise.
52091         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
52092         (__PTHREAD_SPIN): Likewise.
52093         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
52094         (__PTHREAD_SPIN): Likewise.
52095         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
52096         (__PTHREAD_SPIN): Likewise.
52098         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
52099         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
52100         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
52101         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
52102         imply folder.
52103         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
52104         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
52105         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
52106         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
52107         correct imply path.
52108         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
52109         strlen symbol for non multi-arch builds.
52110         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
52111         missing hidden_def and weak_alias.
52113 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
52115         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
52117 2014-04-07  Will Newton  <will.newton@linaro.org>
52119         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
52120         and contents.  [!_LIBC] Remove #ifndef and contents.
52121         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
52122         * string/memccpy.c (__memccpy): Use ANSI prototype.
52123         * string/memfrob.c (memfrob): Likewise.
52124         * string/strcoll.c (STRCOLL): Likewise.
52125         * string/strlen.c (strlen): Likewise.
52126         * string/strtok.c (STRTOK): Likewise.
52127         * string/strcat.c: Remove unused #include of memcopy.h.
52128         (strcat): Use ANSI prototype.
52129         * string/strchr.c: Remove unused #include of memcopy.h.
52130         (strchr): Use ANSI prototype.
52131         * string/strcmp.c: Remove unused #include of memcopy.h.
52132         (strcmp): Use ANSI prototype.
52133         * string/strcpy.c: Remove unused #include of memcopy.h.
52134         (strcpy): Use ANSI prototype.
52136 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52138         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
52139         * config.make.in (config-extra-cppflags): Set it from
52140         libc_extra_cppflags.
52141         * configure.ac (libc_extra_cflags): Make it accumulate over
52142         configure fragments.
52143         (libc_extra_cppflags): New flag.
52144         * configure. Regenerate.
52145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
52146         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
52147         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
52148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
52150         [BZ #16815]
52151         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
52152         result for FE_DOWNWARD rounding mode.
52153         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
52154         Likewise.
52155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52157 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
52159         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
52160         in function argument name.
52162 2014-04-03  David Svoboda  <svoboda@cert.org>
52164         [BZ #5666]
52165         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
52166         explicitly.
52168 2014-04-03  Roland McGrath  <roland@hack.frob.com>
52170         * elf/dl-unmap-segments.h: New file.
52171         * sysdeps/generic/ldsodefs.h
52172         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
52173         * elf/dl-close.c: Include <dl-unmap-segments.h>.
52174         * elf/dl-fptr.c: Likewise.
52175         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
52176         * sysdeps/aarch64/tlsdesc.c: Likewise.
52177         * sysdeps/arm/tlsdesc.c: Likewise.
52178         * sysdeps/i386/tlsdesc.c: Likewise.
52179         * sysdeps/tile/dl-runtime.c: Likewise.
52180         * sysdeps/x86_64/tlsdesc.c: Likewise.
52181         * elf/dl-load.h: New file.
52182         * elf/dl-load.c: Include it.
52183         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
52184         Macros moved to dl-load.h.
52185         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
52186         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
52187         Use _dl_unmap_segments in place of __munmap.
52188         Break out segment-mapping loop into ...
52189         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
52191 2014-04-03  Will Newton  <will.newton@linaro.org>
52193         * elf/dl-lookup.c (do_lookup_x): Remove comment
52194         referring to nested function and move variable
52195         declarations down to before first use.
52197 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
52199         [BZ #16799]
52200         [BZ #16800]
52201         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
52202         with 0 numerator.
52203         * math/s_catanf.c (__catanf): Likewise.
52204         * math/s_catanh.c (__catanh): Likewise.
52205         * math/s_catanhf.c (__catanhf): Likewise.
52206         * math/s_catanhl.c (__catanhl): Likewise.
52207         * math/s_catanl.c (__catanl): Likewise.
52208         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
52209         by positive zero when computing -Inf result.
52210         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
52211         (catanh_test): Likewise.
52212         * sysdeps/i386/fpu/libm-test-ulps: Update.
52213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52215         [BZ #16789]
52216         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
52217         instead of using underflowing value in computing result.
52218         * math/s_clog10.c (__clog10): Likewise.
52219         * math/s_clog10f.c (__clog10f): Likewise.
52220         * math/s_clog10l.c (__clog10l): Likewise.
52221         * math/s_clogf.c (__clogf): Likewise.
52222         * math/s_clogl.c (__clogl): Likewise.
52223         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
52224         (clog10_test): Likewise.
52225         * sysdeps/i386/fpu/libm-test-ulps: Update.
52226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52228 2014-04-02  Alan Modra  <amodra@gmail.com>
52230         [BZ #16739]
52231         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
52232         output when value is near a power of two.  Use int64_t for lx and
52233         remove casts.  Use decimal rather than hex exponent constants.
52234         Don't use long double multiplication when double will suffice.
52235         * math/libm-test.inc (nextafter_test_data): Add tests.
52236         * NEWS: Add 16739 and 16786 to bug list.
52238         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
52240         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
52242 2014-04-01  Will Newton  <will.newton@linaro.org>
52244         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
52245         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
52247 2014-04-01  Florian Weimer  <fweimer@redhat.com>
52249         [BZ #13347]
52250         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
52251         * nptl/tst-setuid2.c: New file.
52252         * nptl/Makefile (xtests): Add tst-setuid2.
52254 2014-04-01  Alan Modra  <amodra@gmail.com>
52256         [BZ #16786]
52257         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
52259 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52261         [BZ #6803]
52262         [BZ #6804]
52263         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
52264         set errno as appropriate.
52265         * math/w_scalbf.c (__scalbf): Likewise.
52266         * math/w_scalbl.c (__scalbl): Likewise.
52267         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
52268         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
52269         * math/libm-test.inc (scalb_test_data): Add errno expectations.
52270         Add more NaN tests.
52272         [BZ #16349]
52273         * math/w_atan2.c: Include <errno.h>.
52274         (__atan2): Set errno for result underflowing to zero.
52275         * math/w_atan2f.c: Include <errno.h>.
52276         (__atan2f): Set errno for result underflowing to zero.
52277         * math/w_atan2l.c: Include <errno.h>.
52278         (__atan2l): Set errno for result underflowing to zero.
52279         * math/auto-libm-test-in: Don't allow missing errno for some atan2
52280         tests.
52281         * math/auto-libm-test-out: Regenerated.
52283 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52285         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
52286         Encode instruction correctly in little endian.
52287         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
52288         Likewise.
52289         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
52290         Likewise.
52291         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
52292         Likewise.
52293         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
52294         Likewise.
52296 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
52298         [BZ #9894]
52299         * sysdeps/unix/sysv/linux/kernel-features.h
52300         [__sparc__ && !__arch64__ && !__sparc_v9__]
52301         (__ASSUME_SET_ROBUST_LIST): Do not define.
52302         [__sparc__ && !__arch64__ && !__sparc_v9__]
52303         (__ASSUME_FUTEX_LOCK_PI): Likewise.
52304         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
52305         Likewise.
52306         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52307         (__ASSUME_FUTEX_LOCK_PI): Undefine.
52308         (__ASSUME_REQUEUE_PI): Likewise.
52309         (__ASSUME_SET_ROBUST_LIST): Likewise.
52310         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52311         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
52312         Undefine.
52313         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52314         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
52315         Likewise.
52316         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
52317         Likewise.
52318         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
52319         Likewise.
52320         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52321         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
52322         Undefine.
52323         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
52324         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
52325         Likewise.
52327         [BZ #16648]
52328         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52329         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
52330         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
52332 2014-03-31  Will Newton  <will.newton@linaro.org>
52334         * benchtests/Makefile (bench): Add ffs and ffsll to list
52335         of tests.
52336         * benchtests/ffs-inputs: New file.
52337         * benchtests/ffsll-inputs: Likewise.
52339 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
52341         [BZ #16770]
52342         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
52343         too large before casting to int.
52344         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
52345         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
52346         * math/libm-test.inc (scalb_test_data): Add more tests.
52348 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52350         * benchtests/Makefile (DETAILED_OPT): New make option.
52351         (bench-func): Run benchmark program with -d if DETAILED_OPT is
52352         set.
52353         * benchtests/bench-skeleton.c: Include stdbool.h.
52354         (main): Store and print timings per input.
52355         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
52356         member to each argument value.
52357         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
52358         (_print_arg_data): Initialize per-input timing to 0.
52360         * benchtests/Makefile (timing-type): New binary.
52361         (bench-clean): Also remove bench-timing-type.
52362         (bench): New target for timing-type.
52363         (bench-func): Print output in JSON format.
52364         * benchtests/bench-skeleton.c (main): Print output in JSON
52365         format.
52366         * benchtests/bench-timing-type.c: New file.
52367         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
52368         (TIMING_PRINT_STATS): Remove.
52369         * benchtests/scripts/bench.py (_print_arg_data): Store variant
52370         name separately.
52372         * benchtests/bench-modf.c: Remove.
52373         * benchtests/modf-inputs: New inputs file.
52375 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
52377         [BZ #16362]
52378         * math/s_clog10.c (M_PI_LOG10E): New macro.
52379         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
52380         imaginary parts are 0.
52381         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
52382         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
52383         imaginary parts are 0.
52384         * math/s_clog10l.c (M_PI_LOG10El): New macro.
52385         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
52386         imaginary parts are 0.
52387         * math/libm-test.inc (clog10_test_data): Update expected results
52388         for when real and imaginary parts are 0.
52390 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
52392         * elf/dl-load.c: Finish conversion of __builtin_expect into
52393         __glibc_{un}likely.
52395 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
52397         [BZ #16348]
52398         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
52399         1+x for argument with exponent below -67.
52400         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
52401         Likewise.
52402         * math/auto-libm-test-in: Add more tests of exp.
52403         * math/auto-libm-test-out: Regenerated.
52405 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52407         [BZ #16759]
52408         * inet/getnetgrent_r.c (get_nonempty_val): New function.
52409         (nscd_getnetgrent): Use it.
52411         [BZ #16760]
52412         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
52413         of stpcpy.
52415 2014-03-27  Andi Kleen  <ak@linux.intel.com>
52417         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
52418         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52419         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52420         (lll_robust_unlock): Remove out of line section. Use cfi
52421         intrinsics.
52422         (LLL_STUB_UNWIND_INFO*): Remove.
52423         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
52424         (lll_robust_lock, lll_cond_lock, lll_timedlock)
52425         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
52426         (lll_robust_unlock): Remove out of line section. Use cfi
52427         intrinsics.
52428         (LLL_STUB_UNWIND_INFO*): Remove.
52430 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52432         [BZ #16758]
52433         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
52434         blank values.
52436 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
52438         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
52440 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
52442         [BZ #16198]
52443         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
52444         fnstenv.
52445         * math/test-fenv-preserve.c: New file.
52446         * math/Makefile (tests): Add test-fenv-preserve.
52448 2014-03-26  Will Newton <will.newton@linaro.org>
52450         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
52452 2014-03-25  Roland McGrath  <roland@hack.frob.com>
52454         * scripts/versionlist.awk: Partition the version sets and emit all
52455         GLIBC_* (sorted) before all others (sorted).
52457 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52459         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
52460         GLIBC_2.2.5 version.
52462 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52464         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
52465         calls.
52467         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
52468         previous change.
52470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52472 2014-03-25  Andreas Schwab  <schwab@suse.de>
52474         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
52475         label to be used after in6ailist is initialized.
52477 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52479         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
52480         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52482 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
52484         [BZ #16357]
52485         [BZ #16599]
52486         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
52487         min_plus_half.
52488         (fp_formats): Update initializers.
52489         (init_fp_formats): Initialize new field.
52490         (output_for_one_input_case): Allow underflow for results up to
52491         min_plus_half.
52492         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
52493         * math/auto-libm-test-in: Don't mark some underflows from asin and
52494         atanh as spurious.
52495         * math/auto-libm-test-out: Regenerated.
52496         * sysdeps/i386/fpu/libm-test-ulps: Update.
52497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52499 2014-03-25  Andreas Schwab  <schwab@suse.de>
52501         * libio/Makefile (tst-ftell-partial-wide-ENV)
52502         (tst-ftell-active-handler-ENV): Define.
52504 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
52506         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
52508 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52510         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
52512 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52514         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
52515         * sysdeps/x86_64/fpu/multiarch/e_exp.c
52516         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
52518 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
52520         [BZ #16634]
52521         * elf/dl-load.c (open_verify): Add mode parameter.
52522         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
52523         (open_path): Change from boolean 'secure' to complete flag 'mode'
52524         (_dl_map_object): Adjust.
52525         * elf/Makefile (tests): Add tst-dlopen-aout.
52526         * elf/tst-dlopen-aout.c: New test.
52528 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
52530         [BZ #16714]
52531         * sysdeps/unix/sysv/linux/s390/bits/stat.h
52532         (struct stat): Rename member pad0 to __glibc_reserved0.
52534         [BZ #16712]
52535         * sysdeps/s390/s390-32/bits/wordsize.h
52536         (__WORDSIZE32_SIZE_ULONG): New define.
52537         * sysdeps/s390/s390-64/bits/wordsize.h
52538         (__WORDSIZE32_SIZE_ULONG): Likewise.
52539         * sysdeps/generic/stdint.h (SIZE_MAX):
52540         Define as UL if __WORDSIZE32_SIZE_ULONG.
52542         [BZ #16713]
52543         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
52544         (__glibc_reserved0): New variable.
52545         (sa_flags): Change type to int.
52547         * posix/Makefile (before-compile): Use += before-compile instead
52548         of a :=.
52550         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52551         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
52553 2014-03-20  Andreas Schwab  <schwab@suse.de>
52555         [BZ #16743]
52556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
52557         non-matching result from nscd.
52559 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52561         * scripts/bench.py: Moved to ...
52562         * benchtests/scripts/bench.py: ... here.
52563         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
52565 2014-03-24  Andreas Schwab  <schwab@suse.de>
52567         [BZ #16002]
52568         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
52569         alloca_account and account alloca use for struct in6ailist.
52571 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
52573         [BZ #16284]
52574         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
52575         rounding mode to recompute results that overflow to infinity or
52576         underflow to zero.
52577         * math/auto-libm-test-in: Don't mark tests as expected to fail for
52578         bug 16284.
52579         * math/auto-libm-test-out: Regenerated.
52580         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
52581         (ccosh_test): Likewise.
52582         (csin_test_data): Use plus_oflow.
52583         (csin_test): Use ALL_RM_TEST.
52584         (csinh_test_data): Use plus_oflow.
52585         (csinh_test): Use ALL_RM_TEST.
52586         * sysdeps/i386/fpu/libm-test-ulps: Update.
52587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52589 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
52591         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
52592         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
52593         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
52595         [BZ #16731]
52596         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
52597         when x - 1 is zero.
52598         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
52599         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
52600         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
52601         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
52602         argument is 1.
52603         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
52604         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
52605         zero.
52606         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
52607         * sysdeps/i386/fpu/libm-test-ulps: Update.
52608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52610 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52612         * scripts/bench.pl: Remove file.
52613         * scripts/bench.py: New benchmark script.
52614         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
52615         * benchtests/README: Mention python dependency.
52616         * scripts/pylintrc: New file.
52617         * scripts/pylint: New file.
52619         * bits/mathdef.h: Use #ifdef instead of #if.
52620         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
52621         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52622         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
52623         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52624         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
52625         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
52627 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52628             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52630         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
52631         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
52632         and strpbrk-ppc64 objects.
52633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52634         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
52635         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
52636         multiarch strpbrk for POWER7.
52637         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
52638         multiarch strpbrk for PPC64.
52639         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
52640         ifunc selector.
52641         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
52642         strpbrk for POWER7.
52644 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52646         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
52647         (atan_test): Likewise.
52648         (atanh_test_data): Use NO_TEST_INLINE for two tests.
52649         (atanh_test): Use ALL_RM_TEST.
52650         (atan2_test_data): Likewise.
52651         (cabs_test): Likewise.
52652         (cacosh_test): Likewise.
52653         (carg_test): Likewise.
52654         (casin_test): Likewise.
52655         (casinh_test): Likewise.
52656         (cbrt_test): Likewise.
52657         (csqrt_test): Likewise.
52658         (erf_test): Likewise.
52659         (erfc_test): Likewise.
52660         (pow10_test): Likewise.
52661         (exp2_test): Likewise.
52662         (hypot_test): Likewise.
52663         (j0_test): Likewise.
52664         (j1_test): Likewise.
52665         (lgamma_test): Likewise.
52666         (gamma_test): Likewise.
52667         (sincos_test): Likewise.
52668         (tanh_test): Likewise.
52669         (y0_test): Likewise.
52670         (y1_test): Likewise.
52671         * sysdeps/i386/fpu/libm-test-ulps: Update.
52672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52674 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52676         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
52677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
52678         and strcspn-ppc64 objects.
52679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52680         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
52681         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
52682         multiarch strcspn for POWER7.
52683         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
52684         multiarch strcspn for PPC64.
52685         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
52686         ifunc selector.
52687         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
52688         strcspn for POWER7.
52690 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
52692         * math/gen-libm-test.pl (generate_testfile): Expect only function
52693         name as argument to AUTO_TESTS_* and pass results for all rounding
52694         modes to parse_args.
52695         (parse_auto_input): Separate inputs of automatic tests from
52696         outputs before storing in %auto_tests.
52697         * math/libm-test.inc (acos_test_data): Update call to
52698         AUTO_TESTS_f_f.
52699         (acos_test): Use ALL_RM_TEST.
52700         (acos_tonearest_test_data): Remove.
52701         (acos_test_tonearest): Likewise.
52702         (acos_towardzero_test_data): Likewise.
52703         (acos_test_towardzero): Likewise.
52704         (acos_downward_test_data): Likewise.
52705         (acos_test_downward): Likewise.
52706         (acos_upward_test_data): Likewise.
52707         (acos_test_upward): Likewise.
52708         (acosh_test_data): Update call to AUTO_TESTS_f_f.
52709         (asin_test_data): Likewise.
52710         (asin_test): Use ALL_RM_TEST.
52711         (asin_tonearest_test_data): Remove.
52712         (asin_test_tonearest): Likewise.
52713         (asin_towardzero_test_data): Likewise.
52714         (asin_test_towardzero): Likewise.
52715         (asin_downward_test_data): Likewise.
52716         (asin_test_downward): Likewise.
52717         (asin_upward_test_data): Likewise.
52718         (asin_test_upward): Likewise.
52719         (asinh_test_data): Update call to AUTO_TESTS_f_f.
52720         (atan_test_data): Likewise.
52721         (atanh_test_data): Likewise.
52722         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
52723         (cabs_test_data): Update call to AUTO_TESTS_c_f.
52724         (carg_test_data): Likewise.
52725         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
52726         (ccos_test_data): Update call to AUTO_TESTS_c_c.
52727         (ccosh_test_data): Likewise.
52728         (cexp_test_data): Likewise.
52729         (clog_test_data): Likewise.
52730         (clog10_test_data): Likewise.
52731         (cos_test_data): Update call to AUTO_TESTS_f_f.
52732         (cos_test): Use ALL_RM_TEST.
52733         (cos_tonearest_test_data): Remove.
52734         (cos_test_tonearest): Likewise.
52735         (cos_towardzero_test_data): Likewise.
52736         (cos_test_towardzero): Likewise.
52737         (cos_downward_test_data): Likewise.
52738         (cos_test_downward): Likewise.
52739         (cos_upward_test_data): Likewise.
52740         (cos_test_upward): Likewise.
52741         (cosh_test_data): Update call to AUTO_TESTS_f_f.
52742         (cosh_test): Use ALL_RM_TEST.
52743         (cosh_tonearest_test_data): Remove.
52744         (cosh_test_tonearest): Likewise.
52745         (cosh_towardzero_test_data): Likewise.
52746         (cosh_test_towardzero): Likewise.
52747         (cosh_downward_test_data): Likewise.
52748         (cosh_test_downward): Likewise.
52749         (cosh_upward_test_data): Likewise.
52750         (cosh_test_upward): Likewise.
52751         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
52752         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
52753         (ctan_test_data): Likewise.
52754         (ctan_test): Use ALL_RM_TEST.
52755         (ctan_tonearest_test_data): Remove.
52756         (ctan_test_tonearest): Likewise.
52757         (ctan_towardzero_test_data): Likewise.
52758         (ctan_test_towardzero): Likewise.
52759         (ctan_downward_test_data): Likewise.
52760         (ctan_test_downward): Likewise.
52761         (ctan_upward_test_data): Likewise.
52762         (ctan_test_upward): Likewise.
52763         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
52764         (ctanh_test): Use ALL_RM_TEST.
52765         (ctanh_tonearest_test_data): Remove.
52766         (ctanh_test_tonearest): Likewise.
52767         (ctanh_towardzero_test_data): Likewise.
52768         (ctanh_test_towardzero): Likewise.
52769         (ctanh_downward_test_data): Likewise.
52770         (ctanh_test_downward): Likewise.
52771         (ctanh_upward_test_data): Likewise.
52772         (ctanh_test_upward): Likewise.
52773         (erf_test_data): Update call to AUTO_TESTS_f_f.
52774         (erfc_test_data): Likewise.
52775         (exp_test_data): Likewise.
52776         (exp_test): Use ALL_RM_TEST.
52777         (exp_tonearest_test_data): Remove.
52778         (exp_test_tonearest): Likewise.
52779         (exp_towardzero_test_data): Likewise.
52780         (exp_test_towardzero): Likewise.
52781         (exp_downward_test_data): Likewise.
52782         (exp_test_downward): Likewise.
52783         (exp_upward_test_data): Likewise.
52784         (exp_test_upward): Likewise.
52785         (exp10_test_data): Update call to AUTO_TESTS_f_f.
52786         (exp10_test): Use ALL_RM_TEST.
52787         (exp10_tonearest_test_data): Remove.
52788         (exp10_test_tonearest): Likewise.
52789         (exp10_towardzero_test_data): Likewise.
52790         (exp10_test_towardzero): Likewise.
52791         (exp10_downward_test_data): Likewise.
52792         (exp10_test_downward): Likewise.
52793         (exp10_upward_test_data): Likewise.
52794         (exp10_test_upward): Likewise.
52795         (exp2_test_data): Update call to AUTO_TESTS_f_f.
52796         (expm1_test_data): Likewise.
52797         (expm1_test): Use ALL_RM_TEST.
52798         (expm1_tonearest_test_data): Remove.
52799         (expm1_test_tonearest): Likewise.
52800         (expm1_towardzero_test_data): Likewise.
52801         (expm1_test_towardzero): Likewise.
52802         (expm1_downward_test_data): Likewise.
52803         (expm1_test_downward): Likewise.
52804         (expm1_upward_test_data): Likewise.
52805         (expm1_test_upward): Likewise.
52806         (fma_test_data): Update call to AUTO_TESTS_fff_f.
52807         (fma_test): Use ALL_RM_TEST.
52808         (fma_towardzero_test_data): Remove.
52809         (fma_test_towardzero): Likewise.
52810         (fma_downward_test_data): Likewise.
52811         (fma_test_downward): Likewise.
52812         (fma_upward_test_data): Likewise.
52813         (fma_test_upward): Likewise.
52814         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
52815         (j0_test_data): Update call to AUTO_TESTS_f_f.
52816         (j1_test_data): Likewise.
52817         (jn_test_data): Update call to AUTO_TESTS_if_f.
52818         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
52819         (log_test_data): Update call to AUTO_TESTS_f_f.
52820         (log10_test_data): Likewise.
52821         (log1p_test_data): Likewise.
52822         (log2_test_data): Likewise.
52823         (pow_test_data): Update call to AUTO_TESTS_ff_f.
52824         (pow_tonearest_test_data): Likewise.
52825         (sin_test_data): Update call to AUTO_TESTS_f_f.
52826         (sin_test): Use ALL_RM_TEST.
52827         (sin_tonearest_test_data): Remove.
52828         (sin_test_tonearest): Likewise.
52829         (sin_towardzero_test_data): Likewise.
52830         (sin_test_towardzero): Likewise.
52831         (sin_downward_test_data): Likewise.
52832         (sin_test_downward): Likewise.
52833         (sin_upward_test_data): Likewise.
52834         (sin_test_upward): Likewise.
52835         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
52836         (sinh_test_data): Update call to AUTO_TESTS_f_f.
52837         (sinh_test): Use ALL_RM_TEST.
52838         (sinh_tonearest_test_data): Remove.
52839         (sinh_test_tonearest): Likewise.
52840         (sinh_towardzero_test_data): Likewise.
52841         (sinh_test_towardzero): Likewise.
52842         (sinh_downward_test_data): Likewise.
52843         (sinh_test_downward): Likewise.
52844         (sinh_upward_test_data): Likewise.
52845         (sinh_test_upward): Likewise.
52846         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
52847         (sqrt_test): Use ALL_RM_TEST.
52848         (sqrt_tonearest_test_data): Remove.
52849         (sqrt_test_tonearest): Likewise.
52850         (sqrt_towardzero_test_data): Likewise.
52851         (sqrt_test_towardzero): Likewise.
52852         (sqrt_downward_test_data): Likewise.
52853         (sqrt_test_downward): Likewise.
52854         (sqrt_upward_test_data): Likewise.
52855         (sqrt_test_upward): Likewise.
52856         (tan_test_data): Update call to AUTO_TESTS_f_f.
52857         (tan_test): Use ALL_RM_TEST.
52858         (tan_tonearest_test_data): Remove.
52859         (tan_test_tonearest): Likewise.
52860         (tan_towardzero_test_data): Likewise.
52861         (tan_test_towardzero): Likewise.
52862         (tan_downward_test_data): Likewise.
52863         (tan_test_downward): Likewise.
52864         (tan_upward_test_data): Likewise.
52865         (tan_test_upward): Likewise.
52866         (tanh_test_data): Update call to AUTO_TESTS_f_f.
52867         (tgamma_test_data): Likewise.
52868         (y0_test_data): Likewise.
52869         (y1_test_data): Likewise.
52870         (yn_test_data): Update call to AUTO_TESTS_if_f.
52871         (main): Do not call removed functions.
52873 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52875         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
52876         (ldexp_test_data): Remove.
52877         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
52878         scalbn_test_data.
52879         (scalb_test): Use ALL_RM_TEST.
52881 2014-03-19  Andreas Schwab  <schwab@suse.de>
52883         * nscd/nscd.service: Also invalidate netgroup cache on reload.
52885 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
52887         [BZ #16649]
52888         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52889         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
52890         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
52891         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52892         (__ASSUME_PREADV): Undefine.
52893         (__ASSUME_PWRITEV): Likewise.
52895 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52897         * bits/mman-linux.h: Add comment about non-Linux use.
52898         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
52899         bits/mman-linux.h resting place.
52901         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
52902         * bits/mman-linux.h: ... here.
52904 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52906         * conform/conformtest.pl: Add standard definition when calling C
52907         preprocessor on data files.
52908         (checknamespace): Remove unused variable.
52910 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52912         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
52913         minus_oflow, plus_uflow and minus_uflow in expected results.
52914         * math/libm-test.inc (scalbn_test_data): Add more tests of
52915         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
52916         minus_uflow.
52917         (scalbn_test): Use ALL_RM_TEST.
52918         (scalbln_test_data): Add more tests of negative arguments.  Use
52919         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
52920         (scalbln_test): Use ALL_RM_TEST.
52922 2014-03-18  Roland McGrath  <roland@hack.frob.com>
52924         * scripts/abilist.awk: Ignore symbols marked with .hidden.
52926 2014-03-18  Will Newton  <will.newton@linaro.org>
52928         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
52929         inaccurate comment.
52931 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
52933         * Makerules [!subdir] (check-abi): Exit with error status if a
52934         test failed.
52936 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
52938         * math/libm-test.inc (nearbyint_test_data): Include all tests used
52939         for rint.  Include results for all rounding modes.
52940         (nearbyint_test): Use ALL_RM_TEST.
52941         (rint_test_data): Include all tests used for nearbyint.
52943 2014-03-17  Will Newton  <will.newton@linaro.org>
52945         * nptl/sysdeps/pthread/pthread.h: Revert previous
52946         change.
52948         * sysdeps/generic/ldsodefs.h: Revert previous
52949         change.
52951         * libio/genops.c: Revert previous change.
52952         * libio/libioP.h: Likewise.
52953         * stdio-common/vfprintf.c: Likewise.
52955         * sysdeps/generic/math_private.h: Revert previous
52956         change.
52958         * sysdeps/generic/math_private.h: Check whether
52959         HAVE_RM_CTX is defined with #ifdef rather
52960         than #if.
52962         * argp/argp-fmtstream.h: Check whether
52963         __STRICT_ANSI__ is defined with #ifdef rather
52964         than #if.
52965         * argp/argp.h: Likewise.
52967         * libio/genops.c: Check whether
52968         _IO_JUMPS_OFFSET is defined with #ifdef rather
52969         than #if.
52970         * libio/libioP.h: Likewise.
52971         * stdio-common/vfprintf.c: Likewise.
52973         * sysdeps/generic/ldsodefs.h: Check whether
52974         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
52975         than #if.
52977         * nptl/sysdeps/pthread/pthread.h: Check
52978         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
52979         its value.
52981 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52983         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
52984         setting O_APPEND.
52985         * libio/tst-ftell-active-handler.c (do_append_test): Add a
52986         test case.
52988         [BZ #16680]
52989         * libio/fileops.c (_IO_file_open): Seek to end of file but
52990         don't cache the offset.
52991         (get_file_offset): Remove function.
52992         (do_ftell): Use cached offset when available.
52993         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
52994         don't cache the offset.
52995         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
52996         case.
52997         (do_one_test): Call it.
52998         (do_ftell_test): Fix up expected old offset for a+ mode.
52999         * libio/wfileops.c (do_ftell_wide): Used cached offset when
53000         available.
53002         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
53003         up test status with function return status.
53004         (do_write_test): Likewise.
53005         (do_append_test): Likewise.
53007         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
53008         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
53009         Remove.
53011 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53013         * math/gen-libm-test.pl (parse_args): Handle results specified for
53014         each rounding mode separately.
53015         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53016         tests and results from lrint_tonearest_test_data,
53017         lrint_towardzero_test_data, lrint_downward_test_data and
53018         lrint_upward_test_data.
53019         (lrint_test): Use ALL_RM_TEST.
53020         (lrint_tonearest_test_data): Remove.
53021         (lrint_test_tonearest): Likewise.
53022         (lrint_towardzero_test_data): Likewise.
53023         (lrint_test_towardzero): Likewise.
53024         (lrint_downward_test_data): Likewise.
53025         (lrint_test_downward): Likewise.
53026         (lrint_upward_test_data): Likewise.
53027         (lrint_test_upward): Likewise.
53028         (llrint_test_data): Merge in per-rounding-mode tests and results
53029         from llrint_tonearest_test_data, llrint_towardzero_test_data,
53030         llrint_downward_test_data and llrint_upward_test_data.
53031         (llrint_test): Use ALL_RM_TEST.
53032         (llrint_tonearest_test_data): Remove.
53033         (llrint_test_tonearest): Likewise.
53034         (llrint_towardzero_test_data): Likewise.
53035         (llrint_test_towardzero): Likewise.
53036         (llrint_downward_test_data): Likewise.
53037         (llrint_test_downward): Likewise.
53038         (llrint_upward_test_data): Likewise.
53039         (llrint_test_upward): Likewise.
53040         (rint_test_data): Merge in per-rounding-mode tests and results
53041         from rint_tonearest_test_data, rint_towardzero_test_data,
53042         rint_downward_test_data and rint_upward_test_data.  Add
53043         per-rounding-mode results for tests not in those arrays.
53044         (rint_test): Use ALL_RM_TEST.
53045         (rint_tonearest_test_data): Remove.
53046         (rint_test_tonearest): Likewise.
53047         (rint_towardzero_test_data): Likewise.
53048         (rint_test_towardzero): Likewise.
53049         (rint_downward_test_data): Likewise.
53050         (rint_test_downward): Likewise.
53051         (rint_upward_test_data): Likewise.
53052         (rint_test_upward): Likewise.
53053         (main): Don't call removed functions.
53055 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53057         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53058         "Compiled on ..." crapola.  It is anti-useful.
53060 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
53062         * scripts/evaluate-test.sh: Handle fourth argument to determine
53063         whether test run should stop on failure.
53064         * Makeconfig (stop-on-test-failure): New variable.
53065         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
53066         $(stop-on-test-failure).
53067         * Makefile (tests): Give a summary of results from testing and
53068         exit with failure status if they include an ERROR or FAIL.
53069         (xtests): Likewise.
53070         * manual/install.texi (Configuring and compiling): Mention
53071         stop-on-test-failure=y.
53072         * INSTALL: Regenerated.
53074 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53076         * scripts/versionlist.awk: New file.
53077         * Makerules [$(build-shared) = yes]
53078         (postclean-generated): Add Versions.def, not Versions.def.v and
53079         Versions.def.v.i.
53080         ($(common-objpfx)Versions.def.v.i): Target removed.
53081         ($(common-objpfx)Versions.def): New target.
53082         ($(common-objpfx)Versions.all): Depend on that rather that
53083         $(common-objpfx)Versions.def.v.
53084         * Versions.def: File removed.
53086         * Makeconfig (+gccwarn): Add -Wundef.
53087         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
53088         a dl-sysdep.h breaking its contract.
53089         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
53090         * include/stackinfo.h: New file.
53091         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
53092         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
53093         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
53094         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
53095         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
53096         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
53097         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53098         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53099         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53100         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53101         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53102         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
53103         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53104         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53105         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
53107 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53109         [BZ #16707]
53110         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
53111         implementation.
53112         * math/libm-test.inc (round_test_data): Add more tests.
53114         [BZ #16706]
53115         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
53116         implementation.
53117         * math/libm-test.inc (nearbyint_test_data): Add more tests.
53119         [BZ #16701]
53120         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
53121         implementation.
53122         * math/libm-test.inc (ceil_test_data): Add more tests.
53124         * math/libm-test.inc (trunc_test_data): Add more tests related to
53125         BZ#16414.
53127 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53129         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
53130         with #if rather than #ifdef.
53131         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
53133 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
53135         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
53136         first.  Disable AVX-512 GCC support if assembler doesn't support
53137         it.
53138         * sysdeps/x86_64/configure: Regenerated.
53140 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
53142         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
53143         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
53144         (__old_pthread_attr_setstack): Likewise.
53145         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
53146         [!_STACK_GROWS_DOWN]: Likewise.
53148 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
53150         * config.make.in (have-bash2): Delete.
53151         * configure.ac (libc_cv_have_bash2): Delete.
53152         * configure: Regenerate.
53153         * elf/Makefile (common-ldd-rewrite): Rename to ...
53154         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
53155         (sh-ldd-rewrite): Delete.
53156         (bash-ldd-rewrite): Delete.
53157         (have-bash2): Delete checks.
53158         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
53159         ldd-rewrite.
53161         * config.make.in (have-ksh): Delete.
53162         (KSH): Delete.
53163         * configure.ac (libc_cv_have_ksh): Delete.
53164         * configure: Regenerate.
53166         * elf/Makefile: Delete $(have-ksh) check.
53167         ($(objpfx)sotruss): Change KSH to BASH.
53168         * elf/sotruss.ksh: Rename to ...
53169         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
53170         function style to match POSIX.  Drop ksh vim mode setting.
53172         * manual/time.texi (Specifying the Time Zone with TZ): Change
53173         Tuesday to Thursday.
53175         * debug/tst-longjmp_chk2.c: Update header comment.
53176         (stackoverflow_handler): Add comment.  Call assert on pass value.
53178 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
53180         [BZ #16194]
53181         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
53182         (HAVE_AVX512_ASM_SUPPORT): Likewise.
53183         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
53184         (La_x86_64_vector): Add zmm.
53185         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
53186         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
53187         ($(objpfx)tst-audit10): New target.
53188         ($(objpfx)tst-audit10.out): Likewise.
53189         (tst-audit10-ENV): New.
53190         (AVX512-CFLAGS): Likewise.
53191         (CFLAGS-tst-audit10.c): Likewise.
53192         (CFLAGS-tst-auditmod10a.c): Likewise.
53193         (CFLAGS-tst-auditmod10b.c): Likewise.
53194         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
53195         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
53196         * sysdeps/x86_64/configure: Regenerated.
53197         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
53198         AVX-512 zmm register support.
53199         (_dl_x86_64_save_sse): Likewise.
53200         (_dl_x86_64_restore_sse): Likewise.
53201         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
53202         size vector registers.
53203         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
53204         (ZMM_SIZE): Likewise.
53205         * sysdeps/x86_64/tst-audit10.c: New file.
53206         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
53207         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
53209 2014-03-13  Roland McGrath  <roland@hack.frob.com>
53211         * configure.ac (HAVE_EHDR_START): New check.
53212         * configure: Regenerated.
53213         * config.h.in (HAVE_EHDR_START): New #undef.
53214         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
53215         assuming the lowest-addressed segment maps the start of the file.
53217 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
53219         * INSTALL: Regenerated.
53221 2014-03-13  Will Newton  <will.newton@linaro.org>
53223         * manual/setjmp.texi (System V contexts): Improve
53224         clarity and grammar of documentation.
53226 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
53228         [BZ #16381]
53229         * elf/Makefile (tests): Add tst-pie2.
53230         (tests-pie): Add tst-pie2.
53231         * elf/tst-pie2.c: New file.
53232         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
53233         for ET_EXEC.
53234         * elf/rtld.c (map_doit): Load executable as lt_executable.
53235         (dl_main): Likewise.
53237 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
53239         [BZ #16642]
53240         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53241         (__ASSUME_PSELECT): Undefine.
53243 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53245         [BZ #16689]
53246         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
53247         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
53248         static build.
53249         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
53250         selector for static builds.
53252 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53254         [BZ #16695]
53255         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
53256         key in the buffer.
53258 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53260         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
53261         IFUNC selector for static builds.
53263 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
53265         * sysdeps/mips/math_private.h [__mips_hard_float]
53266         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
53267         libc_feresetround_mips_ctx.
53268         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
53269         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
53270         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
53272         [BZ #16677]
53273         * math/s_nextafter.c (__nextafter): Do not return value from
53274         overflowing computation.
53275         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
53276         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
53277         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
53278         Likewise.
53279         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
53280         Likewise.
53281         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
53282         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
53284 2014-03-11  Roland McGrath  <roland@hack.frob.com>
53286         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
53287         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
53288         Move sfi_sp use from the load-multiple (that no longer sets sp) to
53289         the new mov targetting sp.
53291 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53293         [BZ #16683]
53294         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
53295         Define it for static builds as well.
53296         (NO_BZERO_IMPL): Likewise.
53298 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53300         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
53301         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
53302         multiarch strspn for PPC64.
53303         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
53304         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
53305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53306         (__libc_ifunc_impl_list): Likewise.
53307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
53308         multiarch optimizations
53309         * string/strspn.c (strspn): Using macro to redefine symbol name.
53311 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53312             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53314         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
53315         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
53316         multiarch strncat for PPC64.
53317         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
53318         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
53319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53320         (__libc_ifunc_impl_list): Likewise.
53321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
53322         multiarch optimizations
53324 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53326         [BZ #16639]
53327         * nscd/nscd.service: Make service type forking.
53329 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53331         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
53332         sign in non default rounding modes.
53333         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
53335 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
53337         * math/libm-test.inc (ALL_RM_TEST): New macro.
53338         (ceil_test): Use ALL_RM_TEST.
53339         (cimag_test): Likewise.
53340         (conj_test): Likewise.
53341         (copysign_test): Likewise.
53342         (cproj_test): Likewise.
53343         (creal_test): Likewise.
53344         (fabs_test): Likewise.
53345         (floor_test): Likewise.
53346         (fmax_test): Likewise.
53347         (fmin_test): Likewise.
53348         (fmod_test): Likewise.
53349         (fpclassify_test): Likewise.
53350         (frexp_test): Likewise.
53351         (ilogb_test): Likewise.
53352         (isfinite_test): Likewise.
53353         (finite_test): Likewise.
53354         (isgreater_test): Likewise.
53355         (isgreaterequal_test): Likewise.
53356         (isinf_test): Likewise.
53357         (isless_test): Likewise.
53358         (islessequal_test): Likewise.
53359         (islessgreater_test): Likewise.
53360         (isnan_test): Likewise.
53361         (isnormal_test): Likewise.
53362         (issignaling_test): Likewise.
53363         (isunordered_test): Likewise.
53364         (logb_test): Likewise.
53365         (logb_downward_test_data): Remove.
53366         (logb_test_downward): Likewise.
53367         (lround_test): Use ALL_RM_TEST.
53368         (llround_test): Likewise.
53369         (modf_test): Likewise.
53370         (nexttoward_test): Likewise.
53371         (remainder_test): Likewise.
53372         (drem_test): Likewise.
53373         (remainder_tonearest_test_data): Likewise.
53374         (remainder_test_tonearest): Likewise.
53375         (drem_test_tonearest): Likewise.
53376         (remainder_towardzero_test_data): Likewise.
53377         (remainder_test_towardzero): Likewise.
53378         (drem_test_towardzero): Likewise.
53379         (remainder_downward_test_data): Likewise.
53380         (remainder_test_downward): Likewise.
53381         (drem_test_downward): Likewise.
53382         (remainder_upward_test_data): Likewise.
53383         (remainder_test_upward): Likewise.
53384         (drem_test_upward): Likewise.
53385         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
53386         (round_test): Use ALL_RM_TEST.
53387         (signbit_test): Likewise.
53388         (trunc_test): Likewise.
53389         (significand_test): Likewise.
53390         (main): Don't call removed functions.
53392 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53394         [BZ #16674]
53395         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
53396         || __USE_XOPEN2K8].
53397         (ILL_ILLOPN): Likewise.
53398         (ILL_ILLADR): Likewise.
53399         (ILL_ILLTRP): Likewise.
53400         (ILL_PRVOPC): Likewise.
53401         (ILL_PRVREG): Likewise.
53402         (ILL_COPROC): Likewise.
53403         (ILL_BADSTK): Likewise.
53404         (FPE_INTDIV): Likewise.
53405         (FPE_INTOVF): Likewise.
53406         (FPE_FLTDIV): Likewise.
53407         (FPE_FLTOVF): Likewise.
53408         (FPE_FLTUND): Likewise.
53409         (FPE_FLTRES): Likewise.
53410         (FPE_FLTINV): Likewise.
53411         (FPE_FLTSUB): Likewise.
53412         (SEGV_MAPERR): Likewise.
53413         (SEGV_ACCERR): Likewise.
53414         (BUS_ADRALN): Likewise.
53415         (BUS_ADRERR): Likewise.
53416         (BUS_OBJERR): Likewise.
53417         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53418         (TRAP_TRACE): Likewise.
53419         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53420         __USE_XOPEN2K8].
53421         (CLD_KILLED): Likewise.
53422         (CLD_DUMPED): Likewise.
53423         (CLD_TRAPPED): Likewise.
53424         (CLD_STOPPED): Likewise.
53425         (CLD_CONTINUED): Likewise.
53426         (POLL_IN): Likewise.
53427         (POLL_OUT): Likewise.
53428         (POLL_MSG): Likewise.
53429         (POLL_ERR): Likewise.
53430         (POLL_PRI): Likewise.
53431         (POLL_HUP): Likewise.
53432         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
53433         Likewise.
53434         (ILL_ILLOPN): Likewise.
53435         (ILL_ILLADR): Likewise.
53436         (ILL_ILLTRP): Likewise.
53437         (ILL_PRVOPC): Likewise.
53438         (ILL_PRVREG): Likewise.
53439         (ILL_COPROC): Likewise.
53440         (ILL_BADSTK): Likewise.
53441         (FPE_INTDIV): Likewise.
53442         (FPE_INTOVF): Likewise.
53443         (FPE_FLTDIV): Likewise.
53444         (FPE_FLTOVF): Likewise.
53445         (FPE_FLTUND): Likewise.
53446         (FPE_FLTRES): Likewise.
53447         (FPE_FLTINV): Likewise.
53448         (FPE_FLTSUB): Likewise.
53449         (SEGV_MAPERR): Likewise.
53450         (SEGV_ACCERR): Likewise.
53451         (BUS_ADRALN): Likewise.
53452         (BUS_ADRERR): Likewise.
53453         (BUS_OBJERR): Likewise.
53454         (BUS_MCEERR_AR): Likewise.
53455         (BUS_MCEERR_AO): Likewise.
53456         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53457         (TRAP_TRACE): Likewise.
53458         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53459         __USE_XOPEN2K8].
53460         (CLD_KILLED): Likewise.
53461         (CLD_DUMPED): Likewise.
53462         (CLD_TRAPPED): Likewise.
53463         (CLD_STOPPED): Likewise.
53464         (CLD_CONTINUED): Likewise.
53465         (POLL_IN): Likewise.
53466         (POLL_OUT): Likewise.
53467         (POLL_MSG): Likewise.
53468         (POLL_ERR): Likewise.
53469         (POLL_PRI): Likewise.
53470         (POLL_HUP): Likewise.
53471         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
53472         (ILL_ILLOPN): Likewise.
53473         (ILL_ILLADR): Likewise.
53474         (ILL_ILLTRP): Likewise.
53475         (ILL_PRVOPC): Likewise.
53476         (ILL_PRVREG): Likewise.
53477         (ILL_COPROC): Likewise.
53478         (ILL_BADSTK): Likewise.
53479         (FPE_INTDIV): Likewise.
53480         (FPE_INTOVF): Likewise.
53481         (FPE_FLTDIV): Likewise.
53482         (FPE_FLTOVF): Likewise.
53483         (FPE_FLTUND): Likewise.
53484         (FPE_FLTRES): Likewise.
53485         (FPE_FLTINV): Likewise.
53486         (FPE_FLTSUB): Likewise.
53487         (SEGV_MAPERR): Likewise.
53488         (SEGV_ACCERR): Likewise.
53489         (BUS_ADRALN): Likewise.
53490         (BUS_ADRERR): Likewise.
53491         (BUS_OBJERR): Likewise.
53492         (BUS_MCEERR_AR): Likewise.
53493         (BUS_MCEERR_AO): Likewise.
53494         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53495         (TRAP_TRACE): Likewise.
53496         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53497         __USE_XOPEN2K8].
53498         (CLD_KILLED): Likewise.
53499         (CLD_DUMPED): Likewise.
53500         (CLD_TRAPPED): Likewise.
53501         (CLD_STOPPED): Likewise.
53502         (CLD_CONTINUED): Likewise.
53503         (POLL_IN): Likewise.
53504         (POLL_OUT): Likewise.
53505         (POLL_MSG): Likewise.
53506         (POLL_ERR): Likewise.
53507         (POLL_PRI): Likewise.
53508         (POLL_HUP): Likewise.
53509         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
53510         Likewise.
53511         (ILL_ILLOPN): Likewise.
53512         (ILL_ILLADR): Likewise.
53513         (ILL_ILLTRP): Likewise.
53514         (ILL_PRVOPC): Likewise.
53515         (ILL_PRVREG): Likewise.
53516         (ILL_COPROC): Likewise.
53517         (ILL_BADSTK): Likewise.
53518         (ILL_BADIADDR): Likewise.
53519         (ILL_BREAK): Likewise.
53520         (FPE_INTDIV): Likewise.
53521         (FPE_INTOVF): Likewise.
53522         (FPE_FLTDIV): Likewise.
53523         (FPE_FLTOVF): Likewise.
53524         (FPE_FLTUND): Likewise.
53525         (FPE_FLTRES): Likewise.
53526         (FPE_FLTINV): Likewise.
53527         (FPE_FLTSUB): Likewise.
53528         (FPE_DECOVF): Likewise.
53529         (FPE_DECDIV): Likewise.
53530         (FPE_DECERR): Likewise.
53531         (FPE_INVASC): Likewise.
53532         (FPE_INVDEC): Likewise.
53533         (SEGV_MAPERR): Likewise.
53534         (SEGV_ACCERR): Likewise.
53535         (SEGV_PSTKOVF): Likewise.
53536         (BUS_ADRALN): Likewise.
53537         (BUS_ADRERR): Likewise.
53538         (BUS_OBJERR): Likewise.
53539         (BUS_MCEERR_AR): Likewise.
53540         (BUS_MCEERR_AO): Likewise.
53541         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53542         (TRAP_TRACE): Likewise.
53543         (TRAP_BRANCH): Likewise.
53544         (TRAP_HWBKPT): Likewise.
53545         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53546         __USE_XOPEN2K8].
53547         (CLD_KILLED): Likewise.
53548         (CLD_DUMPED): Likewise.
53549         (CLD_TRAPPED): Likewise.
53550         (CLD_STOPPED): Likewise.
53551         (CLD_CONTINUED): Likewise.
53552         (POLL_IN): Likewise.
53553         (POLL_OUT): Likewise.
53554         (POLL_MSG): Likewise.
53555         (POLL_ERR): Likewise.
53556         (POLL_PRI): Likewise.
53557         (POLL_HUP): Likewise.
53558         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
53559         (ILL_ILLOPN): Likewise.
53560         (ILL_ILLADR): Likewise.
53561         (ILL_ILLTRP): Likewise.
53562         (ILL_PRVOPC): Likewise.
53563         (ILL_PRVREG): Likewise.
53564         (ILL_COPROC): Likewise.
53565         (ILL_BADSTK): Likewise.
53566         (FPE_INTDIV): Likewise.
53567         (FPE_INTOVF): Likewise.
53568         (FPE_FLTDIV): Likewise.
53569         (FPE_FLTOVF): Likewise.
53570         (FPE_FLTUND): Likewise.
53571         (FPE_FLTRES): Likewise.
53572         (FPE_FLTINV): Likewise.
53573         (FPE_FLTSUB): Likewise.
53574         (SEGV_MAPERR): Likewise.
53575         (SEGV_ACCERR): Likewise.
53576         (BUS_ADRALN): Likewise.
53577         (BUS_ADRERR): Likewise.
53578         (BUS_OBJERR): Likewise.
53579         (BUS_MCEERR_AR): Likewise.
53580         (BUS_MCEERR_AO): Likewise.
53581         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53582         (TRAP_TRACE): Likewise.
53583         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53584         __USE_XOPEN2K8].
53585         (CLD_KILLED): Likewise.
53586         (CLD_DUMPED): Likewise.
53587         (CLD_TRAPPED): Likewise.
53588         (CLD_STOPPED): Likewise.
53589         (CLD_CONTINUED): Likewise.
53590         (POLL_IN): Likewise.
53591         (POLL_OUT): Likewise.
53592         (POLL_MSG): Likewise.
53593         (POLL_ERR): Likewise.
53594         (POLL_PRI): Likewise.
53595         (POLL_HUP): Likewise.
53596         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
53597         (ILL_ILLOPN): Likewise.
53598         (ILL_ILLADR): Likewise.
53599         (ILL_ILLTRP): Likewise.
53600         (ILL_PRVOPC): Likewise.
53601         (ILL_PRVREG): Likewise.
53602         (ILL_COPROC): Likewise.
53603         (ILL_BADSTK): Likewise.
53604         (FPE_INTDIV): Likewise.
53605         (FPE_INTOVF): Likewise.
53606         (FPE_FLTDIV): Likewise.
53607         (FPE_FLTOVF): Likewise.
53608         (FPE_FLTUND): Likewise.
53609         (FPE_FLTRES): Likewise.
53610         (FPE_FLTINV): Likewise.
53611         (FPE_FLTSUB): Likewise.
53612         (SEGV_MAPERR): Likewise.
53613         (SEGV_ACCERR): Likewise.
53614         (BUS_ADRALN): Likewise.
53615         (BUS_ADRERR): Likewise.
53616         (BUS_OBJERR): Likewise.
53617         (BUS_MCEERR_AR): Likewise.
53618         (BUS_MCEERR_AO): Likewise.
53619         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53620         (TRAP_TRACE): Likewise.
53621         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53622         __USE_XOPEN2K8].
53623         (CLD_KILLED): Likewise.
53624         (CLD_DUMPED): Likewise.
53625         (CLD_TRAPPED): Likewise.
53626         (CLD_STOPPED): Likewise.
53627         (CLD_CONTINUED): Likewise.
53628         (POLL_IN): Likewise.
53629         (POLL_OUT): Likewise.
53630         (POLL_MSG): Likewise.
53631         (POLL_ERR): Likewise.
53632         (POLL_PRI): Likewise.
53633         (POLL_HUP): Likewise.
53634         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
53635         (ILL_ILLOPN): Likewise.
53636         (ILL_ILLADR): Likewise.
53637         (ILL_ILLTRP): Likewise.
53638         (ILL_PRVOPC): Likewise.
53639         (ILL_PRVREG): Likewise.
53640         (ILL_COPROC): Likewise.
53641         (ILL_BADSTK): Likewise.
53642         (FPE_INTDIV): Likewise.
53643         (FPE_INTOVF): Likewise.
53644         (FPE_FLTDIV): Likewise.
53645         (FPE_FLTOVF): Likewise.
53646         (FPE_FLTUND): Likewise.
53647         (FPE_FLTRES): Likewise.
53648         (FPE_FLTINV): Likewise.
53649         (FPE_FLTSUB): Likewise.
53650         (SEGV_MAPERR): Likewise.
53651         (SEGV_ACCERR): Likewise.
53652         (BUS_ADRALN): Likewise.
53653         (BUS_ADRERR): Likewise.
53654         (BUS_OBJERR): Likewise.
53655         (BUS_MCEERR_AR): Likewise.
53656         (BUS_MCEERR_AO): Likewise.
53657         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53658         (TRAP_TRACE): Likewise.
53659         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53660         __USE_XOPEN2K8].
53661         (CLD_KILLED): Likewise.
53662         (CLD_DUMPED): Likewise.
53663         (CLD_TRAPPED): Likewise.
53664         (CLD_STOPPED): Likewise.
53665         (CLD_CONTINUED): Likewise.
53666         (POLL_IN): Likewise.
53667         (POLL_OUT): Likewise.
53668         (POLL_MSG): Likewise.
53669         (POLL_ERR): Likewise.
53670         (POLL_PRI): Likewise.
53671         (POLL_HUP): Likewise.
53672         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
53673         (ILL_ILLOPN): Likewise.
53674         (ILL_ILLADR): Likewise.
53675         (ILL_ILLTRP): Likewise.
53676         (ILL_PRVOPC): Likewise.
53677         (ILL_PRVREG): Likewise.
53678         (ILL_COPROC): Likewise.
53679         (ILL_BADSTK): Likewise.
53680         (ILL_DBLFLT): Likewise.
53681         (ILL_HARDWALL): Likewise.
53682         (FPE_INTDIV): Likewise.
53683         (FPE_INTOVF): Likewise.
53684         (FPE_FLTDIV): Likewise.
53685         (FPE_FLTOVF): Likewise.
53686         (FPE_FLTUND): Likewise.
53687         (FPE_FLTRES): Likewise.
53688         (FPE_FLTINV): Likewise.
53689         (FPE_FLTSUB): Likewise.
53690         (SEGV_MAPERR): Likewise.
53691         (SEGV_ACCERR): Likewise.
53692         (BUS_ADRALN): Likewise.
53693         (BUS_ADRERR): Likewise.
53694         (BUS_OBJERR): Likewise.
53695         (BUS_MCEERR_AR): Likewise.
53696         (BUS_MCEERR_AO): Likewise.
53697         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53698         (TRAP_TRACE): Likewise.
53699         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53700         __USE_XOPEN2K8].
53701         (CLD_KILLED): Likewise.
53702         (CLD_DUMPED): Likewise.
53703         (CLD_TRAPPED): Likewise.
53704         (CLD_STOPPED): Likewise.
53705         (CLD_CONTINUED): Likewise.
53706         (POLL_IN): Likewise.
53707         (POLL_OUT): Likewise.
53708         (POLL_MSG): Likewise.
53709         (POLL_ERR): Likewise.
53710         (POLL_PRI): Likewise.
53711         (POLL_HUP): Likewise.
53712         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
53713         (ILL_ILLOPN): Likewise.
53714         (ILL_ILLADR): Likewise.
53715         (ILL_ILLTRP): Likewise.
53716         (ILL_PRVOPC): Likewise.
53717         (ILL_PRVREG): Likewise.
53718         (ILL_COPROC): Likewise.
53719         (ILL_BADSTK): Likewise.
53720         (FPE_INTDIV): Likewise.
53721         (FPE_INTOVF): Likewise.
53722         (FPE_FLTDIV): Likewise.
53723         (FPE_FLTOVF): Likewise.
53724         (FPE_FLTUND): Likewise.
53725         (FPE_FLTRES): Likewise.
53726         (FPE_FLTINV): Likewise.
53727         (FPE_FLTSUB): Likewise.
53728         (SEGV_MAPERR): Likewise.
53729         (SEGV_ACCERR): Likewise.
53730         (BUS_ADRALN): Likewise.
53731         (BUS_ADRERR): Likewise.
53732         (BUS_OBJERR): Likewise.
53733         (BUS_MCEERR_AR): Likewise.
53734         (BUS_MCEERR_AO): Likewise.
53735         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
53736         (TRAP_TRACE): Likewise.
53737         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
53738         __USE_XOPEN2K8].
53739         (CLD_KILLED): Likewise.
53740         (CLD_DUMPED): Likewise.
53741         (CLD_TRAPPED): Likewise.
53742         (CLD_STOPPED): Likewise.
53743         (CLD_CONTINUED): Likewise.
53744         (POLL_IN): Likewise.
53745         (POLL_OUT): Likewise.
53746         (POLL_MSG): Likewise.
53747         (POLL_ERR): Likewise.
53748         (POLL_PRI): Likewise.
53749         (POLL_HUP): Likewise.
53750         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
53751         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53753         [BZ #16670]
53754         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
53755         before #include of <time.h>.
53756         [!__USE_XOPEN2K] (__need_timespec): Likewise.
53757         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
53758         (test-xfail-UNIX98/sched.h/conform): Likewise.
53760 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53762         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
53763         error absence of trapping exception support.
53764         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53766 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
53768         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
53769         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
53770         * timezone/Makefile (testdata): Move definition above include of
53771         Rules.
53772         (test-zones): New variable.
53773         (tests-special): Add zone files.
53774         (build-testdata): Use $(evaluate-test).
53776         * elf/Makefile (tests-special): Rename tests to end with .out.
53777         ($(objpfx)noload-mem): Likewise.
53778         ($(objpfx)tst-leaks1-mem): Likewise.
53779         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
53780         * iconv/Makefile (xtests-special): Change test-iconvconfig to
53781         $(objpfx)test-iconvconfig.out.
53782         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
53783         set -e inside subshell and redirect output to file.
53784         * iconvdata/Makefile (generated): Rename tests to end with .out.
53785         Correct type.
53786         (tests-special): Rename tests to end with .out.
53787         ($(objpfx)mtrace-tst-loading): Likewise.
53788         * intl/Makefile (generated): Likewise.
53789         (tests-special): Likewise.
53790         ($(objpfx)mtrace-tst-gettext): Likewise.
53791         * misc/Makefile (generated): Likewise.
53792         (tests-special): Likewise.
53793         ($(objpfx)tst-error1-mem): Likewise.
53794         * nptl/Makefile (tests-special): Likewise.
53795         ($(objpfx)tst-stack3-mem): Likewise.
53796         (generated): Likewise.
53797         * posix/Makefile (generated): Likewise.
53798         (tests-special): Likewise.
53799         (xtests-special): Likewise.
53800         ($(objpfx)tst-fnmatch-mem): Likewise.
53801         ($(objpfx)bug-regex2-mem): Likewise.
53802         ($(objpfx)bug-regex14-mem): Likewise.
53803         ($(objpfx)bug-regex21-mem): Likewise.
53804         ($(objpfx)bug-regex31-mem): Likewise.
53805         ($(objpfx)tst-vfork3-mem): Likewise.
53806         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53807         ($(objpfx)tst-pcre-mem): Likewise.
53808         ($(objpfx)tst-boost-mem): Likewise.
53809         ($(objpfx)bug-ga2-mem): Likewise.
53810         ($(objpfx)bug-glob2-mem): Likewise.
53811         * resolv/Makefile (generate): Likewise.
53812         (tests-special): Likewise.
53813         (xtests-special): Likewise.
53814         (generated): Likewise.
53815         ($(objpfx)mtrace-tst-leaks): Likewise.
53816         ($(objpfx)mtrace-tst-leaks2): Likewise.
53818         * scripts/merge-test-results.sh: New file.
53819         * Makefile (tests-special-notdir): New variable.
53820         (tests): Run merge-test-results.sh.
53821         (xtests): Likewise.
53822         * Rules (tests-special-notdir): New variable.
53823         (xtests-special-notdir): Likewise.
53824         (tests): Run merge-test-results.sh
53825         (xtests): Likewise.
53827         * Makeconfig (test-xfail-name): New variable.
53828         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
53829         compute variable name for expected failures.
53830         * conform/Makefile (conformtest-headers-data): New variable.
53831         (conformtest-standards): Likewise.
53832         (conformtest-headers-ISO): Likewise.
53833         (conformtest-headers-ISO99): Likewise.
53834         (conformtest-headers-ISO11): Likewise.
53835         (conformtest-headers-POSIX): Likewise.
53836         (conformtest-headers-XPG3): Likewise.
53837         (conformtest-headers-XPG4): Likewise.
53838         (conformtest-headers-UNIX98): Likewise.
53839         (conformtest-headers-XOPEN2K): Likewise.
53840         (conformtest-headers-POSIX2008): Likewise.
53841         (conformtest-headers-XOPEN2K8): Likewise.
53842         (conformtest-header-list-base): Likewise.
53843         (conformtest-header-list-tests): Likewise.
53844         (conformtest-header-base): Likewise.
53845         (conformtest-header-tests): Likewise.
53846         (tests-special): Add $(conformtest-header-list-tests).  If
53847         [$(fast-check) && !$(cross-compiling)], add
53848         $(conformtest-header-tests) instead of
53849         $(objpfx)run-conformtest.out.
53850         (generated): Add $(conformtest-header-list-base).  If
53851         [$(fast-check) && !$(cross-compiling)], add
53852         $(conformtest-header-base).  Remove previous setting.
53853         ($(conformtest-header-list-tests)): New target.
53854         (test-xfail-run-conformtest): Remove variable.
53855         ($(objpfx)run-conformtest.out): Remove target.
53856         (test-xfail-ISO11/complex.h/conform): New variable.
53857         (test-xfail-ISO11/stdalign.h/conform): Likewise.
53858         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
53859         (test-xfail-XPG3/varargs.h/conform): Likewise.
53860         (test-xfail-XPG4/varargs.h/conform): Likewise.
53861         (test-xfail-UNIX98/varargs.h/conform): Likewise.
53862         (test-xfail-XPG4/ndbm.h/conform): Likewise.
53863         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
53864         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
53865         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
53866         (test-xfail-XPG3/fcntl.h/conform): Likewise.
53867         (test-xfail-XPG3/ftw.h/conform): Likewise.
53868         (test-xfail-XPG3/grp.h/conform): Likewise.
53869         (test-xfail-XPG3/langinfo.h/conform): Likewise.
53870         (test-xfail-XPG3/limits.h/conform): Likewise.
53871         (test-xfail-XPG3/pwd.h/conform): Likewise.
53872         (test-xfail-XPG3/search.h/conform): Likewise.
53873         (test-xfail-XPG3/signal.h/conform): Likewise.
53874         (test-xfail-XPG3/stdio.h/conform): Likewise.
53875         (test-xfail-XPG3/stdlib.h/conform): Likewise.
53876         (test-xfail-XPG3/string.h/conform): Likewise.
53877         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
53878         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
53879         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
53880         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
53881         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
53882         (test-xfail-XPG3/sys/types.h/conform): Likewise.
53883         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
53884         (test-xfail-XPG3/termios.h/conform): Likewise.
53885         (test-xfail-XPG3/time.h/conform): Likewise.
53886         (test-xfail-XPG3/unistd.h/conform): Likewise.
53887         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
53888         (test-xfail-XPG4/fcntl.h/conform): Likewise.
53889         (test-xfail-XPG4/langinfo.h/conform): Likewise.
53890         (test-xfail-XPG4/netdb.h/conform): Likewise.
53891         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
53892         (test-xfail-XPG4/signal.h/conform): Likewise.
53893         (test-xfail-XPG4/stdio.h/conform): Likewise.
53894         (test-xfail-XPG4/stdlib.h/conform): Likewise.
53895         (test-xfail-XPG4/stropts.h/conform): Likewise.
53896         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
53897         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
53898         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
53899         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
53900         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
53901         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
53902         (test-xfail-XPG4/sys/time.h/conform): Likewise.
53903         (test-xfail-XPG4/sys/types.h/conform): Likewise.
53904         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
53905         (test-xfail-XPG4/termios.h/conform): Likewise.
53906         (test-xfail-XPG4/ucontext.h/conform): Likewise.
53907         (test-xfail-XPG4/unistd.h/conform): Likewise.
53908         (test-xfail-XPG4/utmpx.h/conform): Likewise.
53909         (test-xfail-POSIX/sched.h/conform): Likewise.
53910         (test-xfail-POSIX/signal.h/conform): Likewise.
53911         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
53912         (test-xfail-POSIX/tar.h/conform): Likewise.
53913         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
53914         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
53915         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
53916         (test-xfail-UNIX98/netdb.h/conform): Likewise.
53917         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
53918         (test-xfail-UNIX98/sched.h/conform): Likewise.
53919         (test-xfail-UNIX98/signal.h/conform): Likewise.
53920         (test-xfail-UNIX98/stdio.h/conform): Likewise.
53921         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
53922         (test-xfail-UNIX98/stropts.h/conform): Likewise.
53923         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
53924         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
53925         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
53926         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
53927         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
53928         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
53929         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
53930         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
53931         (test-xfail-UNIX98/unistd.h/conform): Likewise.
53932         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
53933         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
53934         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
53935         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
53936         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
53937         (test-xfail-XOPEN2K/math.h/conform): Likewise.
53938         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
53939         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
53940         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
53941         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
53942         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
53943         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
53944         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
53945         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
53946         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
53947         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
53948         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
53949         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
53950         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
53951         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
53952         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
53953         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
53954         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
53955         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
53956         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
53957         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
53958         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
53959         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
53960         (test-xfail-POSIX2008/signal.h/conform): Likewise.
53961         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
53962         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
53963         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
53964         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
53965         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
53966         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
53967         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
53968         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
53969         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
53970         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
53971         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
53972         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
53973         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
53974         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
53975         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
53976         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
53977         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
53978         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
53979         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
53980         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
53981         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
53982         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
53983         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
53984         (conformtest-cc-flags): Likewise.
53985         ($(conformtest-header-tests): New target.
53986         * conform/check-header-lists.sh: New file.
53987         * conform/run-conformtest.sh: Remove.
53989         * conform/conformtest.pl: Allow ' and \ in values given for
53990         constants.
53991         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
53992         inclusion.
53993         [POSIX] (sys/types.h): Likewise.
53994         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
53995         inclusion.
53996         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
53997         inclusion.
53998         * conform/data/signal.h-data (SIGIO): Remove expectation.
53999         [XPG3] (SIGBUS): Do not expect.
54000         [POSIX || XPG3] (SIGPOLL): Likewise.
54001         [POSIX || XPG3] (SIGPROF): Likewise.
54002         [POSIX || XPG3] (SIGSYS): Likewise.
54003         [XPG3] (SIGTRAP): Likewise.
54004         [POSIX || XPG3] (SIGURG): Likewise.
54005         [POSIX || XPG3] (SIGVTALRM): Likewise.
54006         [POSIX || XPG3] (SIGXCPU): Likewise.
54007         [POSIX || XPG3] (SIGXFSZ): Likewise.
54008         [POSIX] (SA_SIGINFO): Expect.
54009         [XPG3] (siginfo_t): Do not expect type or contents.
54010         [POSIX] (si_pid): Do not expect element.
54011         [POSIX] (si_uid): Likewise.
54012         [POSIX] (si_addr): Likewise.
54013         [POSIX] (si_status): Likewise.
54014         [POSIX] (si_band): Likewise.
54015         [XPG4] (si_value): Likewise.
54016         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54017         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54018         [POSIX || XPG3] (ILL_ILLADR): Likewise.
54019         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54020         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54021         [POSIX || XPG3] (ILL_PRVREG): Likewise.
54022         [POSIX || XPG3] (ILL_COPROC): Likewise.
54023         [POSIX || XPG3] (ILL_BADSTK): Likewise.
54024         [POSIX || XPG3] (FPE_INTDIV): Likewise.
54025         [POSIX || XPG3] (FPE_INTOVF): Likewise.
54026         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54027         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54028         [POSIX || XPG3] (FPE_FLTUND): Likewise.
54029         [POSIX || XPG3] (FPE_FLTRES): Likewise.
54030         [POSIX || XPG3] (FPE_FLTINV): Likewise.
54031         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54032         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54033         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54034         [POSIX || XPG3] (BUS_ADRALN): Likewise.
54035         [POSIX || XPG3] (BUS_ADRERR): Likewise.
54036         [POSIX || XPG3] (BUS_OBJERR): Likewise.
54037         [POSIX || XPG3] (CLD_EXITED): Likewise.
54038         [POSIX || XPG3] (CLD_KILLED): Likewise.
54039         [POSIX || XPG3] (CLD_DUMPED): Likewise.
54040         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54041         [POSIX || XPG3] (CLD_STOPPED): Likewise.
54042         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54043         [POSIX || XPG3] (POLL_IN): Likewise.
54044         [POSIX || XPG3] (POLL_OUT): Likewise.
54045         [POSIX || XPG3] (POLL_MSG): Likewise.
54046         [POSIX || XPG3] (POLL_ERR): Likewise.
54047         [POSIX || XPG3] (POLL_PRI): Likewise.
54048         [POSIX || XPG3] (POLL_HUP): Likewise.
54049         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54050         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54051         (SIG*): Do not allow.
54052         [XPG3] (si_*): Likewise.
54053         [XPG3] (SI_*): Likewise.
54054         [XPG3 || XPG4] (sigev_*): Likewise.
54055         [XPG3 || XPG4] (SIGEV_*): Likewise.
54056         [XPG3 || XPG4] (sival_*): Likewise.
54057         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54058         [POSIX || XPG3] (BUS_*): Likewise.
54059         [POSIX || XPG3] (CLD_*): Likewise.
54060         [POSIX || XPG3] (FPE_*): Likewise.
54061         [POSIX || XPG3] (ILL_*): Likewise.
54062         [POSIX || XPG3] (POLL_*): Likewise.
54063         [POSIX || XPG3] (SEGV_*): Likewise.
54064         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
54065         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
54066         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
54067         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
54068         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
54069         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
54070         Specify type and value.
54071         (TVERSLEN): Likewise.
54072         (REGTYPE): Likewise.
54073         (AREGTYPE): Likewise.
54074         (LNKTYPE): Likewise.
54075         (SYMTYPE): Likewise.
54076         (CHRTYPE): Likewise.
54077         (BLKTYPE): Likewise.
54078         (DIRTYPE): Likewise.
54079         (FIFOTYPE): Likewise.
54080         (CONTTYPE): Likewise.
54081         (TSUID): Likewise.
54082         (TSGID): Likewise.
54083         (TSVTX): Likewise.
54084         (TUREAD): Likewise.
54085         (TUWRITE): Likewise.
54086         (TUEXEC): Likewise.
54087         (TGREAD): Likewise.
54088         (TGWRITE): Likewise.
54089         (TGEXEC): Likewise.
54090         (TOREAD): Likewise.
54091         (TOWRITE): Likewise.
54092         (TOEXEC): Likewise.
54093         [POSIX] (TSVTX): Expect constant.
54095 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
54097         * Makefile (tests): Change dependencies to ....
54098         (tests-special): ... additions to this variable.
54099         (tests): Depend on $(tests-special).
54100         * Makerules (check-abi-list): New variable.
54101         (check-abi): Depend on $(check-abi-list).
54102         [$(subdir) = elf] (tests-special): Add
54103         $(objpfx)check-abi-libc.out.
54104         [$(build-shared) = yes && subdir] (tests-special): Add
54105         $(check-abi-list).
54106         [$(build-shared) = yes && subdir] (tests): Do not depend on
54107         check-abi.
54108         * Rules (tests): Depend on $(tests-special).
54109         (xtests): Depend on $(xtests-special).
54110         * catgets/Makefile (tests): Change dependencies to ....
54111         (tests-special): ... additions to this variable.
54112         * conform/Makefile (tests): Change dependencies to ....
54113         (tests-special): ... additions to this variable.
54114         * elf/Makefile (tests): Change dependencies to ....
54115         (tests-special): ... additions to this variable.
54116         * grp/Makefile (tests): Change dependencies to ....
54117         (tests-special): ... additions to this variable.
54118         * iconv/Makefile (xtests): Change dependencies to ....
54119         (xtests-special): ... additions to this variable.
54120         * iconvdata/Makefile (tests): Change dependencies to ....
54121         (tests-special): ... additions to this variable.
54122         * intl/Makefile (tests): Change dependencies to ....
54123         (tests-special): ... additions to this variable.  Also add
54124         $(objpfx)tst-gettext.out.
54125         * io/Makefile (tests): Change dependencies to ....
54126         (tests-special): ... additions to this variable.
54127         * libio/Makefile (tests): Change dependencies to ....
54128         (tests-special): ... additions to this variable.
54129         * malloc/Makefile (tests): Change dependencies to ....
54130         (tests-special): ... additions to this variable.
54131         * misc/Makefile (tests): Change dependencies to ....
54132         (tests-special): ... additions to this variable.
54133         * nptl/Makefile (tests): Change dependencies to ....
54134         (tests-special): ... additions to this variable.
54135         * nptl_db/Makefile (tests): Change dependencies to ....
54136         (tests-special): ... additions to this variable.
54137         * posix/Makefile (tests): Change dependencies to ....
54138         (tests-special): ... additions to this variable.
54139         (xtests): Change dependencies to ....
54140         (xtests-special): ... additions to this variable.
54141         * resolv/Makefile (tests): Change dependencies to ....
54142         (tests-special): ... additions to this variable.
54143         (xtests): Change dependencies to ....
54144         (xtests-special): ... additions to this variable.
54145         * stdio-common/Makefile (tests): Change dependencies to ....
54146         (tests-special): ... additions to this variable.
54147         (do-tst-unbputc): Remove target.
54148         (do-tst-printf): Likewise.
54149         * stdlib/Makefile (tests): Change dependencies to ....
54150         (tests-special): ... additions to this variable.
54151         * string/Makefile (tests): Change dependencies to ....
54152         (tests-special): ... additions to this variable.
54153         * sysdeps/x86/Makefile (tests): Change dependencies to ....
54154         (tests-special): ... additions to this variable.
54156         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
54157         whole file.
54158         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
54159         whole file.
54160         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
54161         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
54163         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
54164         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
54165         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
54166         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
54167         * conform/data/libgen.h-data [XPG3]: Likewise.
54168         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
54169         * conform/data/ndbm.h-data [XPG3]: Likewise.
54170         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54171         * conform/data/netdb.h-data [XPG3]: Likewise.
54172         * conform/data/netinet/in.h-data [XPG3]: Likewise.
54173         * conform/data/poll.h-data [XPG3]: Likewise.
54174         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
54175         * conform/data/strings.h-data [XPG3]: Likewise.
54176         * conform/data/stropts.h-data [XPG3]: Likewise.
54177         * conform/data/sys/mman.h-data [XPG3]: Likewise.
54178         * conform/data/sys/resource.h-data [XPG3]: Likewise.
54179         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
54180         Likewise.
54181         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
54182         * conform/data/sys/time.h-data [XPG3]: Likewise.
54183         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
54184         * conform/data/sys/uio.h-data [XPG3]: Likewise.
54185         * conform/data/sys/un.h-data [XPG3]: Likewise.
54186         * conform/data/syslog.h-data [XPG3]: Likewise.
54187         * conform/data/ucontext.h-data [XPG3]: Likewise.
54188         * conform/data/utmpx.h-data [XPG3]: Likewise.
54189         * conform/data/varargs.h-data [UNIX98]: Enable file.
54191         * manual/Makefile (INSTALL_INFO): Remove variable setting.
54193         * math/libm-test.inc (struct test_f_f_data): Move expected results
54194         into structure for each rounding mode.
54195         (struct test_ff_f_data): Likewise.
54196         (struct test_ff_f_data_nexttoward): Likewise.
54197         (struct test_fi_f_data): Likewise.
54198         (struct test_fl_f_data): Likewise.
54199         (struct test_if_f_data): Likewise.
54200         (struct test_fff_f_data): Likewise.
54201         (struct test_c_f_data): Likewise.
54202         (struct test_f_f1_data): Likewise.
54203         (struct test_fF_f1_data): Likewise.
54204         (struct test_ffI_f1_data): Likewise.
54205         (struct test_c_c_data): Likewise.
54206         (struct test_cc_c_data): Likewise.
54207         (struct test_f_i_data): Likewise.
54208         (struct test_ff_i_data): Likewise.
54209         (struct test_f_l_data): Likewise.
54210         (struct test_f_L_data): Likewise.
54211         (struct test_fFF_11_data): Likewise.
54212         (RM_): New macro.
54213         (RM_FE_DOWNWARD): Likewise.
54214         (RM_FE_TONEAREST): Likewise.
54215         (RM_FE_TOWARDZERO): Likewise.
54216         (RM_FE_UPWARD): Likewise.
54217         (RUN_TEST_LOOP_f_f): Update references to expected results.
54218         (RUN_TEST_LOOP_2_f): Likewise.
54219         (RUN_TEST_LOOP_fff_f): Likewise.
54220         (RUN_TEST_LOOP_c_f): Likewise.
54221         (RUN_TEST_LOOP_f_f1): Likewise.
54222         (RUN_TEST_LOOP_fF_f1): Likewise.
54223         (RUN_TEST_LOOP_fI_f1): Likewise.
54224         (RUN_TEST_LOOP_ffI_f1): Likewise.
54225         (RUN_TEST_LOOP_c_c): Likewise.
54226         (RUN_TEST_LOOP_cc_c): Likewise.
54227         (RUN_TEST_LOOP_f_i): Likewise.
54228         (RUN_TEST_LOOP_f_i_tg): Likewise.
54229         (RUN_TEST_LOOP_ff_i_tg): Likewise.
54230         (RUN_TEST_LOOP_f_b): Likewise.
54231         (RUN_TEST_LOOP_f_b_tg): Likewise.
54232         (RUN_TEST_LOOP_f_l): Likewise.
54233         (RUN_TEST_LOOP_f_L): Likewise.
54234         (RUN_TEST_LOOP_fFF_11): Likewise.
54235         * math/gen-libm-test.pl (parse_args): Output four copies of
54236         expected results for each test.
54238         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
54239         (__ASSUME_UTIMES): Remove.
54240         * sysdeps/unix/sysv/linux/tile/kernel-features.h
54241         (__ASSUME_UTIMES): Likewise.
54243         * math/gen-auto-libm-tests.c: Update comment on output format.
54244         (output_for_one_input_case): Generate before-rounding and
54245         after-rounding information as conditions on output flags not
54246         floating-point format.
54247         * math/auto-libm-test-out: Regenerated.
54248         * math/gen-libm-test.pl (cond_value): New function.
54249         (or_cond_value): Use cond_value.
54250         (generate_testfile): Handle conditional exceptions.
54252 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
54254         * math/libm-test.inc (max_valid_error): New variable.
54255         (init_max_error): Take new argument specifying whether function
54256         results are exactly determined.  Set max_valid_error and bound
54257         other variables for errors based on this argument.
54258         (set_max_error): Do not record results above max_valid_error.
54259         (check_float_internal): Only accept errors of up to 0.5ulps if
54260         also at most max_valid_error.
54261         (START): Take new argument EXACT and pass it to init_max_error.
54262         (acos_test): Update call to START.
54263         (acos_test_tonearest): Likewise.
54264         (acos_test_towardzero): Likewise.
54265         (acos_test_downward): Likewise.
54266         (acos_test_upward): Likewise.
54267         (acosh_test): Likewise.
54268         (asin_test): Likewise.
54269         (asin_test_tonearest): Likewise.
54270         (asin_test_towardzero): Likewise.
54271         (asin_test_downward): Likewise.
54272         (asin_test_upward): Likewise.
54273         (asinh_test): Likewise.
54274         (atan_test): Likewise.
54275         (atanh_test): Likewise.
54276         (atan2_test): Likewise.
54277         (cabs_test): Likewise.
54278         (cacos_test): Likewise.
54279         (cacosh_test): Likewise.
54280         (carg_test): Likewise.
54281         (casin_test): Likewise.
54282         (casinh_test): Likewise.
54283         (catan_test): Likewise.
54284         (catanh_test): Likewise.
54285         (cbrt_test): Likewise.
54286         (ccos_test): Likewise.
54287         (ccosh_test): Likewise.
54288         (ceil_test): Likewise.
54289         (cexp_test): Likewise.
54290         (cimag_test): Likewise.
54291         (clog_test): Likewise.
54292         (clog10_test): Likewise.
54293         (conj_test): Likewise.
54294         (copysign_test): Likewise.
54295         (cos_test): Likewise.
54296         (cos_test_tonearest): Likewise.
54297         (cos_test_towardzero): Likewise.
54298         (cos_test_downward): Likewise.
54299         (cos_test_upward): Likewise.
54300         (cosh_test): Likewise.
54301         (cosh_test_tonearest): Likewise.
54302         (cosh_test_towardzero): Likewise.
54303         (cosh_test_downward): Likewise.
54304         (cosh_test_upward): Likewise.
54305         (cpow_test): Likewise.
54306         (cproj_test): Likewise.
54307         (creal_test): Likewise.
54308         (csin_test): Likewise.
54309         (csinh_test): Likewise.
54310         (csqrt_test): Likewise.
54311         (ctan_test): Likewise.
54312         (ctan_test_tonearest): Likewise.
54313         (ctan_test_towardzero): Likewise.
54314         (ctan_test_downward): Likewise.
54315         (ctan_test_upward): Likewise.
54316         (ctanh_test): Likewise.
54317         (ctanh_test_tonearest): Likewise.
54318         (ctanh_test_towardzero): Likewise.
54319         (ctanh_test_downward): Likewise.
54320         (ctanh_test_upward): Likewise.
54321         (erf_test): Likewise.
54322         (erfc_test): Likewise.
54323         (exp_test): Likewise.
54324         (exp_test_tonearest): Likewise.
54325         (exp_test_towardzero): Likewise.
54326         (exp_test_downward): Likewise.
54327         (exp_test_upward): Likewise.
54328         (exp10_test): Likewise.
54329         (exp10_test_tonearest): Likewise.
54330         (exp10_test_towardzero): Likewise.
54331         (exp10_test_downward): Likewise.
54332         (exp10_test_upward): Likewise.
54333         (pow10_test): Likewise.
54334         (exp2_test): Likewise.
54335         (expm1_test): Likewise.
54336         (expm1_test_tonearest): Likewise.
54337         (expm1_test_towardzero): Likewise.
54338         (expm1_test_downward): Likewise.
54339         (expm1_test_upward): Likewise.
54340         (fabs_test): Likewise.
54341         (fdim_test): Likewise.
54342         (floor_test): Likewise.
54343         (fma_test): Likewise.
54344         (fma_test_towardzero): Likewise.
54345         (fma_test_downward): Likewise.
54346         (fma_test_upward): Likewise.
54347         (fmax_test): Likewise.
54348         (fmin_test): Likewise.
54349         (fmod_test): Likewise.
54350         (fpclassify_test): Likewise.
54351         (frexp_test): Likewise.
54352         (hypot_test): Likewise.
54353         (ilogb_test): Likewise.
54354         (isfinite_test): Likewise.
54355         (finite_test): Likewise.
54356         (isgreater_test): Likewise.
54357         (isgreaterequal_test): Likewise.
54358         (isinf_test): Likewise.
54359         (isless_test): Likewise.
54360         (islessequal_test): Likewise.
54361         (islessgreater_test): Likewise.
54362         (isnan_test): Likewise.
54363         (isnormal_test): Likewise.
54364         (issignaling_test): Likewise.
54365         (isunordered_test): Likewise.
54366         (j0_test): Likewise.
54367         (j1_test): Likewise.
54368         (jn_test): Likewise.
54369         (ldexp_test): Likewise.
54370         (lgamma_test): Likewise.
54371         (gamma_test): Likewise.
54372         (lrint_test): Likewise.
54373         (lrint_test_tonearest): Likewise.
54374         (lrint_test_towardzero): Likewise.
54375         (lrint_test_downward): Likewise.
54376         (lrint_test_upward): Likewise.
54377         (llrint_test): Likewise.
54378         (llrint_test_tonearest): Likewise.
54379         (llrint_test_towardzero): Likewise.
54380         (llrint_test_downward): Likewise.
54381         (llrint_test_upward): Likewise.
54382         (log_test): Likewise.
54383         (log10_test): Likewise.
54384         (log1p_test): Likewise.
54385         (log2_test): Likewise.
54386         (logb_test): Likewise.
54387         (logb_test_downward): Likewise.
54388         (lround_test): Likewise.
54389         (llround_test): Likewise.
54390         (modf_test): Likewise.
54391         (nearbyint_test): Likewise.
54392         (nextafter_test): Likewise.
54393         (nexttoward_test): Likewise.
54394         (pow_test): Likewise.
54395         (pow_test_tonearest): Likewise.
54396         (pow_test_towardzero): Likewise.
54397         (pow_test_downward): Likewise.
54398         (pow_test_upward): Likewise.
54399         (remainder_test): Likewise.
54400         (drem_test): Likewise.
54401         (remainder_test_tonearest): Likewise.
54402         (drem_test_tonearest): Likewise.
54403         (remainder_test_towardzero): Likewise.
54404         (drem_test_towardzero): Likewise.
54405         (remainder_test_downward): Likewise.
54406         (drem_test_downward): Likewise.
54407         (remainder_test_upward): Likewise.
54408         (drem_test_upward): Likewise.
54409         (remquo_test): Likewise.
54410         (rint_test): Likewise.
54411         (rint_test_tonearest): Likewise.
54412         (rint_test_towardzero): Likewise.
54413         (rint_test_downward): Likewise.
54414         (rint_test_upward): Likewise.
54415         (round_test): Likewise.
54416         (scalb_test): Likewise.
54417         (scalbn_test): Likewise.
54418         (scalbln_test): Likewise.
54419         (signbit_test): Likewise.
54420         (sin_test): Likewise.
54421         (sin_test_tonearest): Likewise.
54422         (sin_test_towardzero): Likewise.
54423         (sin_test_downward): Likewise.
54424         (sin_test_upward): Likewise.
54425         (sincos_test): Likewise.
54426         (sinh_test): Likewise.
54427         (sinh_test_tonearest): Likewise.
54428         (sinh_test_towardzero): Likewise.
54429         (sinh_test_downward): Likewise.
54430         (sinh_test_upward): Likewise.
54431         (sqrt_test): Likewise.
54432         (sqrt_test_tonearest): Likewise.
54433         (sqrt_test_towardzero): Likewise.
54434         (sqrt_test_downward): Likewise.
54435         (sqrt_test_upward): Likewise.
54436         (tan_test): Likewise.
54437         (tan_test_tonearest): Likewise.
54438         (tan_test_towardzero): Likewise.
54439         (tan_test_downward): Likewise.
54440         (tan_test_upward): Likewise.
54441         (tanh_test): Likewise.
54442         (tgamma_test): Likewise.
54443         (trunc_test): Likewise.
54444         (y0_test): Likewise.
54445         (y1_test): Likewise.
54446         (yn_test): Likewise.
54447         (significand_test): Likewise.
54449         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
54450         individual tests in comment.
54451         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
54452         (prev_max_error): New variable.
54453         (prev_real_max_error): Likewise.
54454         (prev_imag_max_error): Likewise.
54455         (compare_ulp_data): Don't refer to test names in comment.
54456         (find_test_ulps): Remove function.
54457         (find_function_ulps): Likewise.
54458         (find_complex_function_ulps): Likewise.
54459         (init_max_error): Take function name as argument.  Look up ulps
54460         for that function.
54461         (print_ulps): Remove function.
54462         (print_max_error): Use prev_max_error instead of calling
54463         find_function_ulps.
54464         (print_complex_max_error): Use prev_real_max_error and
54465         prev_imag_max_error instead of calling find_complex_function_ulps.
54466         (check_float_internal): Take max_ulp parameter instead of calling
54467         find_test_ulps.  Don't call print_ulps.
54468         (check_float): Update call to check_float_internal.
54469         (check_complex): Update calls to check_float_internal.
54470         (START): Pass argument to init_max_error.
54471         * math/gen-libm-test.pl (%results): Don't include "kind"
54472         information.
54473         (parse_ulps): Don't handle ulps of individual tests.
54474         (print_ulps_file): Likewise.
54475         (output_ulps): Likewise.
54476         * math/README.libm-test: Update.
54477         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
54478         individual tests.
54479         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
54480         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
54481         * sysdeps/arm/libm-test-ulps: Likewise.
54482         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
54483         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
54484         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
54485         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
54486         * sysdeps/microblaze/libm-test-ulps: Likewise.
54487         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
54488         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
54489         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54490         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
54491         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54492         * sysdeps/sh/libm-test-ulps: Likewise.
54493         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54494         * sysdeps/tile/libm-test-ulps: Likewise.
54495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54497 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
54499         * math/libm-test.inc (print_complex_max_error): Check separately
54500         whether real and imaginary errors are within allowed range and
54501         pass 0 to print_complex_function_ulps instead of value within
54502         allowed range.
54504 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54506         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
54507         formatting.
54508         (get_handles_fopen): Likewise.
54509         (do_write_test): Likewise.
54511         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
54513         * libio/fileops.c (do_ftell): Use cached offset when
54514         available.
54515         * libio/iofwide.c (do_ftell_wide): Likewise.
54516         * libio/iofdopen.c (_IO_new_fdopen): Don't use
54517         _IO_file_attach.
54518         * libio/wfileops.c (_IO_fwide): Don't cache offset.
54520         [BZ #16532]
54521         * libio/libioP.h (get_file_offset): New function.
54522         * libio/fileops.c (get_file_offset): Likewise.
54523         (do_ftell): Likewise.
54524         (_IO_new_file_seekoff): Split out ftell logic.
54525         * libio/wfileops.c (do_ftell_wide): Likewise.
54526         (_IO_wfile_seekoff): Split out ftell logic.
54527         * libio/tst-ftell-active-handler.c: New test case.
54528         * libio/Makefile (tests): Add it.
54530 2014-03-03  Roland McGrath  <roland@hack.frob.com>
54532         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
54533         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
54535 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54537         [BZ #16639]
54538         * nscd/connections.c (nscd_init): Call do_exit.
54539         (start_threads): Call do_exit and notify_parent.
54540         (begin_drop_privileges): Call do_exit.
54541         (finish_drop_privileges): Likewise.
54542         * nscd/selinux.c (preserve_capabilities): Likewise.
54543         (install_real_capabilities): Likewise.
54544         (nscd_selinux_enabled): Likewise.
54545         (avc_create_thread): Likewise.
54546         (avc_alloc_lock): Likewise.
54547         (nscd_avc_init): Likewise.
54548         * nscd/nscd.c (parent_fd): New static variable.
54549         (main): Create a pipe between parent and child processes.
54550         Skip closing parent_fd.
54551         (monitor_child): New function.
54552         (do_exit): Likewise.
54553         (notify_parent): Likewise.
54554         * nscd/nscd.h (notify_parent): Likewise.
54555         (do_exit): Likewise.
54557 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
54559         * malloc/malloc.c (__libc_calloc): Revert last change.
54561 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54565 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
54567         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
54568         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
54569         implementation.
54570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54571         (__libc_ifunc_impl_list): Likewise.
54572         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
54573         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
54574         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
54575         * string/strrchr.c: Define STRRCHR.
54577 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
54579         * benchtest/bench-strtok.c (simple_strtok): Delete.
54580         (strtok_string): Use as benchmark.
54581         * string/strtok (STRTOK): New macro.
54583 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
54585         * manual/threads.texi: Add header and standard comments to all
54586         functions.
54588         * elf/dl-lookup.c (check_match): New function.
54589         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
54590         (do_lookup_x): Remove nested function check_match. Use non-nested
54591         function check_match.
54593 2014-02-28  Roland McGrath  <roland@hack.frob.com>
54595         * csu/Makefile (generated, before-compile): Use += rather than =.
54596         * catgets/Makefile (generated, generated-dirs): Likewise.
54597         * debug/Makefile (generated): Likewise.
54598         * dlfcn/Makefile (generated): Likewise.
54599         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
54600         * iconvdata/Makefile (before-compile, generated): Likewise.
54601         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
54602         * libio/Makefile (generated): Likewise.
54603         * malloc/Makefile (generated): Likewise.
54604         * manual/Makefile (generated, generated-dirs): Likewise.
54605         * misc/Makefile (generated): Likewise.
54606         * posix/Makefile (generated): Likewise.
54607         * resolv/Makefile (generated): Likewise.
54608         * sunrpc/Makefile (generated, generated-dirs): Likewise.
54609         * timezone/Makefile (generated, generated-dirs): Likewise.
54611         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
54613 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
54616         power8 implementation.
54617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
54618         file: POWER8 llround ifunc implementation.
54619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
54620         (__lllround): Add POWER8 implementation.
54621         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
54622         POWER8 llround implementation.
54624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
54625         power8 implementation.
54626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
54627         file: POWER8 llrint ifunc implementation.
54628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
54629         Add POWER8 implementation.
54630         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
54631         POWER8 llrint implementation.
54633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
54634         power8 implementation.
54635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
54636         file: POWER8 finite ifunc implementation.
54637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
54638         Add POWER8 implementation.
54639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
54640         Likewise.
54641         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54642         POWER8 finite implementation.
54643         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
54645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
54646         power8 implementation.
54647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
54648         file: POWER8 isinf ifunc implementation.
54649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
54650         POWER8 implementation.
54651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
54652         Likewise.
54653         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
54654         isinf implementation.
54655         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
54657         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
54658         (INIT_ARCH): Add hwcap2 initialization.
54659         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
54660         power8 implementation.
54661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
54662         file: POWER8 isnan ifunc implementation.
54663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
54664         POWER8 implementation.
54665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
54666         Likewise.
54667         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
54668         isnan implementation.
54669         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
54671 2014-02-27  Joey Ye  <joey.ye@arm.com>
54673         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
54674         (_FP_NANFRAC_Q): Set to zero.
54676 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54678         [BZ #16623]
54679         * math/auto-libm-test-in: New test inputs.
54680         * math/auto-libm-test-out: Regenerate.
54681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
54682         and DA.
54683         (__cos): Likewise.
54684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54686 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
54688         * scripts/evaluate-test.sh: Take new argument indicating whether
54689         failure is expected.
54690         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
54691         indicating whether failure is expected.
54692         * conform/Makefile (test-xfail-run-conformtest): New variable.
54693         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
54694         level.
54695         * posix/Makefile (test-xfail-annexc): New variable.
54696         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
54698 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
54700         * argp/Makefile: Include Makeconfig immediately after defining
54701         subdir.
54702         * assert/Makefile: Likewise.
54703         * benchtests/Makefile: Likewise.
54704         * catgets/Makefile: Likewise.
54705         * conform/Makefile: Likewise.
54706         * crypt/Makefile: Likewise.
54707         * csu/Makefile: Likewise.
54708         (all): Remove target.
54709         * ctype/Makefile: Include Makeconfig immediately after defining
54710         subdir.
54711         * debug/Makefile: Likewise.
54712         * dirent/Makefile: Likewise.
54713         * dlfcn/Makefile: Likewise.
54714         * gmon/Makefile: Likewise.
54715         * gnulib/Makefile: Likewise.
54716         * grp/Makefile: Likewise.
54717         * gshadow/Makefile: Likewise.
54718         * hesiod/Makefile: Likewise.
54719         * hurd/Makefile: Likewise.
54720         (all): Remove target.
54721         * iconvdata/Makefile: Include Makeconfig immediately after
54722         defining subdir.
54723         * inet/Makefile: Likewise.
54724         * intl/Makefile: Likewise.
54725         * io/Makefile: Likewise.
54726         * libio/Makefile: Likewise.
54727         (all): Remove target.
54728         * locale/Makefile: Include Makeconfig immediately after defining
54729         subdir.
54730         * login/Makefile: Likewise.
54731         * mach/Makefile: Likewise.
54732         (all): Remove target.
54733         * malloc/Makefile: Include Makeconfig immediately after defining
54734         subdir.
54735         (all): Remove target.
54736         * manual/Makefile: Include Makeconfig immediately after defining
54737         subdir.
54738         * math/Makefile: Likewise.
54739         * misc/Makefile: Likewise.
54740         * nis/Makefile: Likewise.
54741         * nss/Makefile: Likewise.
54742         * po/Makefile: Likewise.
54743         (all): Remove target.
54744         * posix/Makefile: Include Makeconfig immediately after defining
54745         subdir.
54746         * pwd/Makefile: Likewise.
54747         * resolv/Makefile: Likewise.
54748         * resource/Makefile: Likewise.
54749         * rt/Makefile: Likewise.
54750         * setjmp/Makefile: Likewise.
54751         * shadow/Makefile: Likewise.
54752         * signal/Makefile: Likewise.
54753         * socket/Makefile: Likewise.
54754         * soft-fp/Makefile: Likewise.
54755         * stdio-common/Makefile: Likewise.
54756         * stdlib/Makefile: Likewise.
54757         * streams/Makefile: Likewise.
54758         * string/Makefile: Likewise.
54759         * sunrpc/Makefile: Likewise.
54760         (all): Remove target.
54761         * sysvipc/Makefile: Include Makeconfig immediately after defining
54762         subdir.
54763         * termios/Makefile: Likewise.
54764         * time/Makefile: Likewise.
54765         * timezone/Makefile: Likewise.
54766         (all): Remove target.
54767         * wcsmbs/Makefile: Include Makeconfig immediately after defining
54768         subdir.
54769         * wctype/Makefile: Likewise.
54771 2014-02-26  Steve Ellcey  <sellcey@mips.com>
54773         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
54774         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
54775         (libc_feholdexcept_setround_mips): Ditto.
54776         (libc_feholdsetround): New.
54777         (libc_feholdsetroundf): New.
54778         (libc_feholdsetroundl): New.
54779         (libc_feupdateenv_test_mips): New.
54780         (libc_feupdateenv_test): New.
54781         (libc_feupdateenv_testf): New.
54782         (libc_feupdateenv_testl): New.
54783         (libc_feresetround): New.
54784         (libc_feresetroundf): New.
54785         (libc_feresetroundl): New.
54786         (libc_fetestexcept_mips): New.
54787         (libc_fetestexcept): New.
54788         (libc_fetestexceptf): New.
54789         (libc_fetestexceptl): New.
54790         (HAVE_RM_CTX): New.
54791         (libc_feholdexcept_setround_mips_ctx): New.
54792         (libc_feholdexcept_setround_ctx): New.
54793         (libc_feholdexcept_setroundf_ctx): New.
54794         (libc_feholdexcept_setroundl_ctx): New.
54795         (libc_fesetenv_mips_ctx): New.
54796         (libc_fesetenv_ctx): New.
54797         (libc_fesetenv_ctxf): New.
54798         (libc_fesetenv_ctxl): New.
54799         (libc_feupdateenv_mips_ctx): New.
54800         (libc_feupdateenv_ctx): New.
54801         (libc_feupdateenvf_ctx): New.
54802         (libc_feupdateenvl_ctx): New.
54803         (libc_feholdsetround_mips_ctx): New.
54804         (libc_feholdsetround_ctx): New.
54805         (libc_feholdsetroundf_ctx): New.
54806         (libc_feholdsetroundl_ctx): New.
54807         (libc_feresetround_mips_ctx): New.
54808         (libc_feresetround_ctx): New.
54809         (libc_feresetroundf_ctx): New.
54810         (libc_feresetroundl_ctx): New.
54812 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
54814         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
54816         * manual/ipc.texi: New file.
54817         * manual/Makefile (chapters): Add ipc.
54818         * manual/job.texi: Add "Inter-Process Communication" to next.
54819         * manual/process.texi: Add "Inter-Process Communication" to prev.
54821 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54825 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
54827         * malloc/malloc.c (__libc_calloc): Simplify implementation.
54829         * manual/arith.texi: Fix spaces after sentences.
54830         * manual/charset.texi: Likewise.
54831         * manual/errno.texi: Likewise.
54832         * manual/install.texi: Likewise.
54833         * manual/llio.texi: Likewise.
54834         * manual/locale.texi: Likewise.
54835         * manual/maint.texi: Likewise.
54836         * manual/math.texi: Likewise.
54837         * manual/memory.texi: Likewise.
54838         * manual/message.texi: Likewise.
54839         * manual/probes.texi: Likewise.
54840         * manual/resource.texi: Likewise.
54841         * manual/signal.texi: Likewise.
54842         * manual/socket.texi: Likewise.
54843         * manual/stdio.texi: Likewise.
54844         * manual/string.texi: Likewise.
54845         * manual/time.texi: Likewise.
54846         * manual/users.texi: Likewise.
54848 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
54850         [BZ #16632]
54851         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
54852         _DEFAULT_SOURCE is defined.
54854 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
54855             Carlos O'Donell  <carlos@redhat.com>
54857         [BZ #16613]
54858         * elf/dl-tls.c (_dl_count_modids): New function.
54859         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
54860         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
54861         audit library and increment generation counter.
54862         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
54863         * elf/tst-audit9.c: New file.
54864         * elf/tst-auditmod9a.c: New file.
54865         * elf/tst-auditmod9b.c: New file.
54866         * elf/Makefile: Add rules to build and run tst-audit9.
54868 2014-02-25  Florian Weimer  <fweimer@redhat.com>
54870         [BZ #15347]
54871         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
54873 2014-02-25  Will Newton  <will.newton@linaro.org>
54875         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
54876         (__longjmp): Restore sp and lr before restoring callee
54877         saved registers.  Add longjmp and longjmp_target
54878         SystemTap probe point.
54879         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
54880         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
54881         Define to zero to match jmpbuf layout.
54882         * sysdeps/arm/setjmp.S: Include stap-probe.h.
54883         (__sigsetjmp): Save sp and lr before saving callee
54884         saved registers.  Add setjmp SystemTap probe point.
54886 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
54888         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
54890 2014-02-24  Andreas Schwab  <schwab@suse.de>
54892         [BZ #15804]
54893         * elf/pldd.c (wait_for_ptrace_stop): New function.
54894         (main): Call it after attaching.
54896 2014-02-22  Roland McGrath  <roland@hack.frob.com>
54898         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
54899         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
54900         Versions files is now verboten.
54901         * hurd/Versions (libc: GLIBC_2.0):
54902         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
54903         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
54904         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
54905         * mach/Versions: Likewise.
54907         * csu/Versions: Remove unused %include.
54908         * resolv/Versions: Likewise.
54910 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
54912         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
54913         ($(objpfx)check-local-headers.out): Likewise.
54914         ($(objpfx)begin-end-check.out): Likewise.
54915         * Makerules (check-abi-%.out): Likewise.
54916         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
54917         ($(objpfx)test2.cat): Likewise.
54918         ($(objpfx)de/libc.cat): Likewise.
54919         ($(objpfx)test-gencat.out): Likewise.
54920         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
54921         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
54922         ($(objpfx)noload-mem): Likewise.
54923         ($(objpfx)tst-pathopt.out): Likewise.
54924         ($(objpfx)tst-rtld-load-self.out): Likewise.
54925         ($(objpfx)tst-array1-cmp.out): Likewise.
54926         ($(objpfx)tst-array1-static-cmp.out): Likewise.
54927         ($(objpfx)tst-array2-cmp.out): Likewise.
54928         ($(objpfx)tst-array3-cmp.out): Likewise.
54929         ($(objpfx)tst-array4-cmp.out): Likewise.
54930         ($(objpfx)tst-array5-cmp.out): Likewise.
54931         ($(objpfx)tst-array5-static-cmp.out): Likewise.
54932         ($(objpfx)check-textrel.out): Likewise.
54933         ($(objpfx)check-execstack.out): Likewise.
54934         ($(objpfx)check-localplt.out): Likewise.
54935         ($(objpfx)order2-cmp.out): Likewise.
54936         ($(objpfx)tst-leaks1-mem): Likewise.
54937         ($(objpfx)tst-leaks1-static-mem): Likewise.
54938         ($(objpfx)tst-initorder-cmp.out): Likewise.
54939         ($(objpfx)tst-initorder2-cmp.out): Likewise.
54940         ($(objpfx)tst-unused-dep.out): Likewise.
54941         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
54942         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
54943         * iconv/Makefile (test-iconvconfig): Likewise.
54944         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
54945         ($(objpfx)iconv-test.out): Likewise.
54946         ($(objpfx)tst-tables.out): Likewise.
54947         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
54948         ($(objpfx)tst-gettext.out): Likewise.
54949         ($(objpfx)tst-translit.out): Likewise.
54950         ($(objpfx)tst-gettext2.out): Likewise.
54951         ($(objpfx)tst-gettext4.out): Likewise.
54952         ($(objpfx)tst-gettext6.out): Likewise.
54953         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
54954         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
54955         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
54956         ($(objpfx)tst-fopenloc-mem.out): Likewise.
54957         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
54958         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
54959         * posix/Makefile ($(objpfx)globtest.out): Likewise.
54960         ($(objpfx)wordexp-tst.out): Likewise.
54961         ($(objpfx)annexc.out): Likewise.
54962         ($(objpfx)tst-fnmatch-mem): Likewise.
54963         ($(objpfx)bug-regex2-mem): Likewise.
54964         ($(objpfx)bug-regex14-mem): Likewise.
54965         ($(objpfx)bug-regex21-mem): Likewise.
54966         ($(objpfx)bug-regex31-mem): Likewise.
54967         ($(objpfx)tst-vfork3-mem): Likewise.
54968         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54969         ($(objpfx)tst-pcre-mem): Likewise.
54970         ($(objpfx)tst-boost-mem): Likewise.
54971         ($(objpfx)tst-getconf.out): Likewise.
54972         ($(objpfx)bug-ga2-mem): Likewise.
54973         ($(objpfx)bug-glob2-mem): Likewise.
54974         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
54975         ($(objpfx)mtrace-tst-leaks2): Likewise.
54976         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
54977         ($(objpfx)tst-printf.out): Likewise.
54978         ($(objpfx)tst-setvbuf1.out): Likewise.
54979         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
54980         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
54981         ($(objpfx)tst-fmtmsg.out): Likewise.
54982         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
54983         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
54985         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
54986         * bits/sigaction.h [__USE_MISC]: Likewise.
54987         * bits/waitstatus.h: Update #endif comments.
54988         * ctype/ctype.h: Likewise.
54989         * dirent/dirent.h: Likewise.
54990         [__USE_MISC]: Remove redundant conditionals.
54991         * grp/grp.h: Update #endif comments.
54992         [__USE_GNU]: Remove redundant conditionals.
54993         [__USE_MISC]: Likewise.
54994         * inet/netinet/in.h [__USE_GNU]: Likewise.
54995         * io/sys/stat.h [__USE_MISC]: Likewise.
54996         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
54997         * libio/bits/stdio.h: Update #endif comments.
54998         [__USE_MISC]: Remove redundant conditionals.
54999         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
55000         * libio/stdio.h: Update #endif comments.
55001         [__USE_MISC]: Remove redundant conditionals.
55002         * math/bits/math-finite.h [__USE_MISC]: Likewise.
55003         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
55004         * math/math.h: Update #else and #endif comments.
55005         [__USE_MISC]: Remove redundant conditionals.
55006         * misc/sys/uio.h: Update #endif comments.
55007         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
55008         * posix/glob.h [__USE_MISC]: Likewise.
55009         * posix/sys/types.h: Update #endif comments.
55010         [__USE_MISC]: Remove redundant conditionals.
55011         * posix/sys/wait.h: Update #endif comments.
55012         [__USE_MISC]: Remove redundant conditionals.
55013         * posix/unistd.h: Update #endif comments.
55014         [__USE_MISC]: Remove redundant conditionals.
55015         * pwd/pwd.h [__USE_GNU]: Likewise.
55016         [__USE_MISC]: Likewise.
55017         * resolv/netdb.h [__USE_GNU]: Likewise.
55018         * signal/signal.h: Update #endif comments.
55019         [__USE_MISC]: Remove redundant conditionals.
55020         * stdlib/stdlib.h: Update #else and #endif comments.
55021         [__USE_MISC]: Remove redundant conditionals.
55022         [__USE_GNU]: Likewise.
55023         * string/bits/string2.h [__USE_MISC]: Likewise.
55024         * string/string.h: Update #endif comments.
55025         [__USE_MISC]: Remove redundant conditionals.
55026         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55027         Likewise.
55028         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55029         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55030         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55031         Likewise.
55032         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55033         Likewise.
55034         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55035         comments.
55036         [__USE_MISC]: Remove redundant conditionals.
55037         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55038         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55039         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55040         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55041         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55042         Likewise.
55043         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55044         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55045         Likewise.
55046         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55047         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55048         Likewise.
55049         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55050         Likewise.
55051         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55052         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55053         Likewise.
55054         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55055         Likewise.
55056         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55057         * sysdeps/x86/bits/string.h: Update #endif comments.
55058         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55059         conditionals.
55060         * time/sys/time.h: Update #endif comments.
55061         * time/time.h: Likewise.
55062         [__USE_MISC]: Remove redundant conditionals.
55064 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
55066         [BZ #16600]
55067         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
55069 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
55071         * Versions.def (librt): Add GLIBC_2.17.
55073 2014-02-21  Adam Conrad  <adconrad@0c3.net>
55075         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
55076         synonym for _SYS_AUXV_H to allow direct inclusion.
55077         * sysdeps/sparc/bits/hwcap.h: Likewise.
55078         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
55079         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
55080         * sysdeps/sparc/sysdep.h: Likewise.
55082 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55084         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
55086 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55088         * benchtests/bench-strrchr.c: Print length instead of position.
55090 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
55092         [BZ #16611]
55093         * sysdeps/unix/sysv/linux/kernel-features.h
55094         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
55095         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
55096         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
55097         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
55098         Likewise.
55099         [__i386__ || __powerpc__ || __sh__ || __sparc__]
55100         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55101         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
55102         (__ASSUME_SENDMMSG): Define instead of using previous
55103         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
55104         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55105         (__ASSUME_SENDMMSG_SYSCALL): Define.
55106         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55107         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
55108         Likewise.
55109         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55110         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55111         Likewise.
55112         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55113         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55114         Likewise.
55115         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
55116         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55117         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55118         [__ASSUME_SENDMMSG]: Change conditionals to
55119         [__ASSUME_SENDMMSG_SOCKETCALL].
55120         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55121         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
55122         Define.
55123         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55124         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
55125         Likewise.
55126         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
55127         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
55128         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
55129         [!__ASSUME_SENDMMSG]: Change conditional to
55130         [!__ASSUME_SENDMMSG_SOCKETCALL].
55131         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55132         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
55133         Define.
55135         [BZ #16610]
55136         * sysdeps/unix/sysv/linux/kernel-features.h
55137         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
55138         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
55139         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
55140         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
55141         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
55142         [__i386__ || __sparc__]
55143         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55144         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
55145         (__ASSUME_RECVMMSG): Define instead of using previous
55146         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
55147         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55148         (__ASSUME_RECVMMSG_SYSCALL): Define.
55149         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55150         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55151         Likewise.
55152         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55153         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55154         Likewise.
55155         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55156         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55157         Likewise.
55158         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
55159         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55160         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55161         [__ASSUME_RECVMMSG]: Change condition to
55162         [__ASSUME_RECVMMSG_SOCKETCALL].
55163         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55164         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55165         Define.
55166         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
55167         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55168         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
55169         Likewise.
55170         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
55171         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
55172         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
55173         [!__ASSUME_RECVMMSG]: Change condition to
55174         [!__ASSUME_RECVMMSG_SOCKETCALL].
55175         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55176         (__ASSUME_RECVMMSG_SYSCALL): Define.
55178         [BZ #16609]
55179         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
55180         __powerpc__ || __s390__ || __sh__ || __sparc__]
55181         (__ASSUME_SOCKETCALL): Define.
55182         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
55183         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
55184         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
55185         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
55186         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
55187         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
55188         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
55189         (__ASSUME_ACCEPT4): Define instead of using previous
55190         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
55191         __powerpc__ || __sparc__ || __s390__)] condition.
55192         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55193         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55194         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
55195         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55196         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55197         [!__ASSUME_ACCEPT4]: Change condition to
55198         [!__ASSUME_ACCEPT4_SOCKETCALL].
55199         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
55200         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
55201         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
55202         * sysdeps/unix/sysv/linux/arm/kernel-features.h
55203         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
55204         __ASSUME_ACCEPT4_SYSCALL.
55205         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
55206         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
55207         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
55208         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
55209         __ASSUME_ACCEPT4_SYSCALL.
55210         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
55211         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
55212         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
55213         [__ASSUME_ACCEPT4]: Change condition to
55214         [__ASSUME_ACCEPT4_SOCKETCALL].
55215         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
55216         (__ASSUME_SOCKETCALL): Define.
55217         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
55218         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55219         (__ASSUME_SOCKETCALL): Define.
55220         (__ASSUME_ACCEPT4): Remove.
55221         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
55222         Define.
55223         * sysdeps/unix/sysv/linux/mips/kernel-features.h
55224         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
55225         Likewise.
55226         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55227         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
55229         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
55230         macro.
55231         (HWCAP_ARM_LPAE): Likewise.
55232         (HWCAP_ARM_EVTSTRM): Likewise.
55233         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
55234         Add vpfd32, lpae and evtstrm.
55235         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
55236         Increase to 22.
55238 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
55240         * math/auto-libm-test-in: Add tests of clog10.
55241         * math/auto-libm-test-out: Regenerated.
55242         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
55243         * sysdeps/i386/fpu/libm-test-ulps: Update.
55244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55246 2014-02-18  Andreas Schwab  <schwab@suse.de>
55248         [BZ #16574]
55249         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
55250         Store non-zero if the second buffer was newly allocated.
55251         (send_dg): Likewise.
55252         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
55253         to send_vc and send_dg.
55254         (res_nsend): Pass NULL for ansp2_malloced.
55255         * resolv/res_query.c (__libc_res_nquery): Add parameter
55256         answerp2_malloced and pass it down to __libc_res_nsend.
55257         (res_nquery): Pass additional NULL to __libc_res_nquery.
55258         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
55259         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
55260         second answer buffer if answerp2_malloced was set.
55261         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
55262         (__libc_res_nquerydomain): Add parameter
55263         answerp2_malloced and pass it down to __libc_res_nquery.
55264         (res_nquerydomain): Pass additional NULL to
55265         __libc_res_nquerydomain.
55266         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
55267         additional NULL to __libc_res_nsend and __libc_res_nquery.
55268         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
55269         additional NULL to __libc_res_nsearch.
55270         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
55271         parameter of __libc_res_nsearch to check for separately allocated
55272         second buffer.
55273         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
55274         __libc_res_nquery.
55275         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
55276         additional NULL to __libc_res_nquery.
55277         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
55278         __libc_res_nsearch.
55279         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
55280         * include/resolv.h: Update prototypes of __libc_res_nquery,
55281         __libc_res_nsearch, __libc_res_nsend.
55283 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
55285         * math/auto-libm-test-in: Add tests of fma.
55286         * math/auto-libm-test-out: Regenerated.
55287         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
55288         (fma_towardzero_test_data): Likewise.
55289         (fma_downward_test_data): Likewise.
55290         (fma_upward_test_data): Likewise.
55291         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
55292         mpc_mode.
55293         (rounding_modes): Add values for new field.
55294         (func_calc_method): Add value mpfr_fff_f.
55295         (func_calc_desc): Add mpfr_fff_f union field.
55296         (test_function): Add field exact_args.
55297         (FUNC): Add macro argument EXACT_ARGS.
55298         (FUNC_mpfr_f_f): Update call to FUNC.
55299         (FUNC_mpfr_f_f): Likewise.
55300         (FUNC_mpfr_ff_f): Likewise.
55301         (FUNC_mpfr_if_f): Likewise.
55302         (FUNC_mpc_c_f): Likewise.
55303         (FUNC_mpc_c_c): Likewise.
55304         (test_functions): Add fma.  Update calls to FUNC.
55305         (handle_input_arg): Add argument exact_args.
55306         (add_test): Update call to handle_input_arg.
55307         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
55308         (output_for_one_input_case): Update call to calc_generic_results.
55309         Recalculate exact zero results in each rounding mode.
55311         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
55312         non-negative before setting low bit.
55313         * math/auto-libm-test-in: Mark one asin test possibly having
55314         spurious underflow.
55315         * math/auto-libm-test-out: Regenerated.
55316         * sysdeps/i386/fpu/libm-test-ulps: Update.
55317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55319 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
55321         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
55322         * sysdeps/unix/sysv/linux/microblaze: Move directory from
55323         ports/sysdeps/unix/sysv/linux/microblaze.
55324         * README: Add missing listing for microblaze*-*-linux-gnu.
55326 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
55328         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
55329         duplicate code
55331 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
55333         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
55334         * sysdeps/unix/sysv/linux/ia64: Move directory from
55335         ports/sysdeps/unix/sysv/linux/ia64.
55336         * README: Update listing for ia64-*-linux-gnu.
55338 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
55339             Joseph Myers  <joseph@codesourcery.com>
55341         * Makeconfig (test-name): New variable.
55342         (evaluate-test): Likewise.
55343         * Makerules (do-test-clean): Remove .test-result files.
55344         (common-mostlyclean): Likewise.
55345         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
55346         * scripts/evaluate-test.sh: New file.
55348 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
55350         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
55351         separate $(objpfx)tst-fopenloc-cmp.out and
55352         $(objpfx)tst-fopenloc-mem.out targets.
55353         (tests): Update dependencies.
55354         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
55355         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
55356         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
55357         (tst-rxspencer-no-utf8-ARGS): New variable.
55358         (tst-rxspencer-no-utf8-ENV): Likewise.
55359         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
55360         instead of $(objpfx)tst-rxspencer-mem.
55361         ($(objpfx)tst-rxspencer-mem): Change target to
55362         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
55363         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
55364         * posix/tst-rxspencer-no-utf8.c: New file.
55366         * elf/Makefile ($(objpfx)order.out): Remove rule.
55367         [$(run-built-tests) = yes] (tests): Depend on
55368         $(objpfx)order-cmp.out.
55369         ($(objpfx)order-cmp.out): New rule.
55370         [$(run-built-tests) = yes] (tests): Depend on
55371         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
55372         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
55373         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
55374         $(objpfx)tst-array5-static-cmp.out.
55375         ($(objpfx)tst-array1.out): Remove rule.
55376         ($(objpfx)tst-array1-cmp.out): New rule.
55377         ($(objpfx)tst-array1-static.out): Remove rule.
55378         ($(objpfx)tst-array1-static-cmp.out): New rule.
55379         ($(objpfx)tst-array2.out): Remove rule.
55380         ($(objpfx)tst-array2-cmp.out): New rule.
55381         ($(objpfx)tst-array3.out): Remove rule.
55382         ($(objpfx)tst-array3-cmp.out): New rule.
55383         ($(objpfx)tst-array4.out): Remove rule.
55384         ($(objpfx)tst-array4-cmp.out): New rule.
55385         ($(objpfx)tst-array5.out): Remove rule.
55386         ($(objpfx)tst-array5-cmp.out): New rule.
55387         ($(objpfx)tst-array5-static.out): Remove rule.
55388         ($(objpfx)tst-array5-static-cmp.out): New rule.
55389         [$(run-built-tests) = yes] (tests): Depend on
55390         $(objpfx)order2-cmp.out.
55391         ($(objpfx)order2.out): Remove rule.
55392         ($(objpfx)order2-cmp.out): New rule.
55393         ($(objpfx)tst-initorder.out): Remove rule.
55394         [$(run-built-tests) = yes] (tests): Depend on
55395         $(objpfx)tst-initorder-cmp.out.
55396         ($(objpfx)tst-initorder-cmp.out): New rule.
55397         ($(objpfx)tst-initorder2.out): Remove rule.
55398         [$(run-built-tests) = yes] (tests): Depend on
55399         $(objpfx)tst-initorder2-cmp.out.
55400         ($(objpfx)tst-initorder2-cmp.out): New rule.
55401         [$(run-built-tests) = yes] (tests): Depend on
55402         $(objpfx)tst-unused-dep-cmp.out.
55403         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
55404         ($(objpfx)tst-unused-dep-cmp.out): New rule.
55405         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
55406         on $(objpfx)tst-setvbuf1-cmp.out.
55407         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
55408         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
55409         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
55410         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
55411         ($(objpfx)tst-svc.out): Remove rule.
55412         ($(objpfx)tst-svc-cmp.out): New rule.
55414 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
55416         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
55417         * ctype/ctype.h [__USE_MISC]: Likewise.
55418         * dirent/dirent.h [__USE_MISC]: Likewise.
55419         * grp/grp.h [__USE_MISC]: Likewise.
55420         * io/fcntl.h [__USE_MISC]: Likewise.
55421         * io/sys/stat.h [__USE_MISC]: Likewise.
55422         * libio/stdio.h [__USE_MISC]: Likewise.
55423         * posix/unistd.h [__USE_MISC]: Likewise.
55424         * pwd/pwd.h [__USE_MISC]: Likewise.
55425         * stdlib.h [__USE_MISC]: Likewise.
55426         * string/bits/string2.h [__USE_MISC]: Likewise.
55427         * string/string.h [__USE_MISC]: Likewise.
55428         * time/time.h [__USE_MISC]: Likewise.
55430 2014-02-13  Andreas Schwab  <schwab@suse.de>
55432         [BZ #16574]
55433         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
55434         second answer buffer if it was separately allocated.
55436 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
55438         * sysdeps/mips/math-tests.h: Include <features.h>.
55439         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55440         (ROUNDING_TESTS_long_double): Do not define.
55441         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
55442         (EXCEPTION_TESTS_long_double): Likewise.
55443         * sysdeps/mips/mips64/libm-test-ulps: Update.
55445         * include/features.h (__USE_BSD): Remove macro definitions.
55446         (__USE_SVID): Likewise.
55447         (_BSD_SOURCE): Likewise.
55448         (_SVID_SOURCE): Likewise.
55449         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
55450         from definition of _DEFAULT_SOURCE.
55451         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
55452         [_DEFAULT_SOURCE].
55453         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
55454         * bits/mman.h [__USE_BSD]: Likewise.
55455         * bits/termios.h [__USE_BSD]: Likewise.
55456         * bits/waitstatus.h [__USE_BSD]: Likewise.
55457         * ctype/ctype.h [__USE_SVID]: Likewise.
55458         * dirent/dirent.h [__USE_BSD]: Likewise.
55459         * grp/grp.h [__USE_SVID]: Likewise.
55460         [__USE_BSD]: Likewise.
55461         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
55462         * io/fcntl.h [__USE_BSD]: Likewise.
55463         * io/ftw.h [__USE_BSD]: Likewise.
55464         * io/sys/stat.h [__USE_BSD]: Likewise.
55465         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
55466         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
55467         * libio/stdio.h [__USE_SVID]: Likewise.
55468         [__USE_BSD]: Likewise.
55469         * math/math.h [__USE_SVID]: Likewise.
55470         [__USE_BSD]: Likewise.
55471         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
55472         * misc/bits/syslog.h [__USE_BSD]: Likewise.
55473         * misc/search.h [__USE_SVID]: Likewise.
55474         * misc/sys/mman.h [__USE_BSD]: Likewise.
55475         * misc/sys/syslog.h [__USE_BSD]: Likewise.
55476         * misc/sys/uio.h [__USE_BSD]: Likewise.
55477         * posix/bits/unistd.h [__USE_BSD]: Likewise.
55478         * posix/glob.h [__USE_BSD]: Likewise.
55479         * posix/regex.h [__USE_BSD]: Likewise.
55480         * posix/sys/types.h [__USE_BSD]: Likewise.
55481         [__USE_SVID]: Likewise.
55482         * posix/sys/utsname.h [__USE_SVID]: Likewise.
55483         * posix/sys/wait.h [__USE_BSD]: Likewise.
55484         [__USE_SVID]: Likewise.
55485         * posix/unistd.h [__USE_BSD]: Likewise.
55486         [__USE_SVID]: Likewise.
55487         * pwd/pwd.h [__USE_SVID]: Likewise.
55488         * resolv/netdb.h [__USE_BSD]: Likewise.
55489         * setjmp/setjmp.h [__USE_BSD]: Likewise.
55490         * signal/signal.h [__USE_BSD]: Likewise.
55491         [__USE_SVID]: Likewise.
55492         * socket/sys/socket.h [__USE_BSD]: Likewise.
55493         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
55494         * stdlib/stdlib.h [__USE_BSD]: Likewise.
55495         [__USE_SVID]: Likewise.
55496         * string/bits/string2.h [__USE_BSD]: Likewise.
55497         [__USE_SVID]: Likewise.
55498         * string/bits/string3.h [__USE_BSD]: Likewise.
55499         * string/endian.h [__USE_BSD]: Likewise.
55500         * string/string.h [__USE_SVID]: Likewise.
55501         [__USE_BSD]: Likewise.
55502         * string/strings.h [__USE_BSD]: Likewise.
55503         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
55504         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
55505         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
55506         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
55507         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
55508         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
55509         Likewise.
55510         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
55511         Likewise.
55512         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
55513         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
55514         Likewise.
55515         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
55516         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
55517         Likewise.
55518         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
55519         Likewise.
55520         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
55521         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
55522         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
55523         Likewise.
55524         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
55525         Likewise.
55526         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
55527         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
55528         * termios/termios.h [__USE_BSD]: Likewise.
55529         * time/sys/time.h [__USE_BSD]: Likewise.
55530         * time/time.h [__USE_BSD]: Likewise.
55531         [__USE_SVID]: Likewise.
55533         * Makefile (subdir_targets): Remove subdir_lint.out.
55535         * stdio-common/Makefile (do-tst-unbputc): Remove target.
55536         (do-tst-printf): Likewise.
55537         (tests): Depend directly on $(objpfx)tst-unbputc.out and
55538         $(objpfx)tst-printf.out.
55540         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
55542         * Makerules (check-abi-%): Change target to
55543         $(objpfx)check-abi-%.out.
55544         (check-abi target): Update dependencies.
55545         (check-abi-pattern variable): Redirect output of diff to $@.
55546         (check-abi variable): Likewise.
55547         * elf/Makefile (check-abi): Update dependencies.
55549         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
55550         unused.
55551         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
55552         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
55553         subnormal range.
55554         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
55555         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
55556         value has largest subnormal exponent.
55557         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
55558         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
55559         * sysdeps/aarch64/soft-fp/sfp-machine.h
55560         (_FP_TININESS_AFTER_ROUNDING): New macro.
55561         * sysdeps/alpha/soft-fp/sfp-machine.h
55562         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55563         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55564         Likewise.
55565         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
55566         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55567         * sysdeps/mips/soft-fp/sfp-machine.h
55568         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55569         * sysdeps/powerpc/soft-fp/sfp-machine.h
55570         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55571         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55572         Likewise.
55573         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55574         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55575         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55576         (_FP_TININESS_AFTER_ROUNDING): Likewise.
55577         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
55578         Likewise.
55580 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
55582         [BZ #16545]
55583         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
55584         model 1.
55586 2014-02-12  Richard Henderson  <rth@redhat.com>
55588         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
55589         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
55590         * sysdeps/unix/sysv/linux/alpha: Move directory from
55591         ports/sysdeps/unix/sysv/linux/alpha.
55592         * README: Update listing for alpha-*-linux-gnu.
55594 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
55596         * include/features.h: Update comment documenting feature test
55597         macros.
55598         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
55599         _DEFAULT_SOURCE.
55600         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
55601         (_SVID_SOURCE): Likewise.
55602         (_DEFAULT_SOURCE): Update description of default features.
55603         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
55604         with _GNU_SOURCE.
55605         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
55606         (S_ISVTX): Likewise.
55607         * manual/math.texi (Mathematical Constants): Likewise.
55608         * manual/signal.texi (Interrupted Primitives): Likewise.
55609         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
55610         * math/test-matherr.c (_SVID_SOURCE): Do not define.
55611         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
55612         Don't refer to _SVID_SOURCE in warning text.
55614         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55616         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
55617         already defined.
55618         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
55619         * sysdeps/mips/dl-lookup.c: Remove.
55620         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
55622 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
55624         [BZ #16447]
55625         * math/auto-libm-test-in: Add testcase for expl.
55626         * math/auto-libm-test-out: Regenerate.
55627         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
55628         calculation of unsafe.
55629         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
55631 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55633         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
55634         * sysdeps/unix/sysv/linux/aarch64: Move directory from
55635         ports/sysdeps/unix/sysv/linux/aarch64.
55636         * README: Update listing for aarch64*-*-linux-gnu.
55638 2014-02-11  Will Newton  <will.newton@linaro.org>
55640         * manual/probes.texi (Mathematical Function Probes): Use
55641         "triggered" instead of "hit".
55643         * manual/probes.texi (Internal Probes): Add documentation
55644         of setjmp, longjmp and longjmp_target probes.
55646         * include/stap-probe.h: Add comment about probe argument
55647         format.
55649         * malloc/mtrace.c (attribute_hidden): Remove unused macro
55650         definition.  (tr_where, tr_freehook, tr_mallochook,
55651         tr_reallochook, tr_memalignhook): Use ANSI protoype.
55653 2014-02-11  David S. Miller  <davem@davemloft.net>
55655         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
55656         processing int_tests.
55658 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
55660         * sysdeps/mips: Move directory from ports/sysdeps/mips.
55661         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
55662         * sysdeps/unix/sysv/linux/mips: Move directory from
55663         ports/sysdeps/unix/sysv/linux/mips.
55664         * README: Update listing for mips-*-linux-gnu and
55665         mips64-*-linux-gnu.
55667 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
55669         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
55670         * sysdeps/unix/sysv/linux/m68k: Move directory from
55671         ports/sysdeps/unix/sysv/linux/m68k.
55672         * README: Update listing for m68k-*-linux-gnu.
55674 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
55676         * sysdeps/tile: Move directory from ports/sysdeps/tile.
55677         * sysdeps/unix/sysv/linux/generic: Move directory from
55678         ports/sysdeps/unix/sysv/linux/generic.
55679         * sysdeps/unix/sysv/linux/tile: Move directory from
55680         ports/sysdeps/unix/sysv/linux/tile.
55681         * README: Update listing for tile*-*-linux-gnu.
55683 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
55685         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
55686         __builtin_expect.
55687         * benchtests/bench-memmem.c (simple_memmem): Likewise.
55688         * catgets/open_catalog.c (__open_catalog): Likewise.
55689         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
55690         * debug/confstr_chk.c: Likewise.
55691         * debug/fread_chk.c (__fread_chk): Likewise.
55692         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
55693         * debug/getgroups_chk.c: Likewise.
55694         * debug/mbsnrtowcs_chk.c: Likewise.
55695         * debug/mbsrtowcs_chk.c: Likewise.
55696         * debug/mbstowcs_chk.c: Likewise.
55697         * debug/memcpy_chk.c: Likewise.
55698         * debug/memmove_chk.c: Likewise.
55699         * debug/mempcpy_chk.c: Likewise.
55700         * debug/memset_chk.c: Likewise.
55701         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55702         * debug/strcat_chk.c (__strcat_chk): Likewise.
55703         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
55704         * debug/strncat_chk.c (__strncat_chk): Likewise.
55705         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
55706         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
55707         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
55708         * debug/wcpncpy_chk.c: Likewise.
55709         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55710         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
55711         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
55712         * debug/wcsncpy_chk.c: Likewise.
55713         * debug/wcsnrtombs_chk.c: Likewise.
55714         * debug/wcsrtombs_chk.c: Likewise.
55715         * debug/wcstombs_chk.c: Likewise.
55716         * debug/wmemcpy_chk.c: Likewise.
55717         * debug/wmemmove_chk.c: Likewise.
55718         * debug/wmempcpy_chk.c: Likewise.
55719         * debug/wmemset_chk.c: Likewise.
55720         * dirent/scandirat.c (SCANDIRAT): Likewise.
55721         * dlfcn/dladdr1.c (dladdr1): Likewise.
55722         * dlfcn/dladdr.c (dladdr): Likewise.
55723         * dlfcn/dlclose.c (dlclose_doit): Likewise.
55724         * dlfcn/dlerror.c (__dlerror): Likewise.
55725         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
55726         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
55727         * dlfcn/dlopen.c (dlopen_doit): Likewise.
55728         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
55729         * dlfcn/dlsym.c (dlsym_doit): Likewise.
55730         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
55731         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
55732         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
55733         Likewise.
55734         * elf/dl-conflict.c: Likewise.
55735         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
55736         * elf/dl-dst.h: Likewise.
55737         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
55738         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
55739         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
55740         * elf/dl-init.c (call_init, _dl_init): Likewise.
55741         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
55742         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
55743         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
55744         Likewise.
55745         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
55746         Likewise.
55747         * elf/dl-minimal.c (__libc_memalign): Likewise.
55748         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
55749         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55750         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
55751         * elf/dl-sym.c (do_sym): Likewise.
55752         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
55753         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
55754         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
55755         * elf/dl-writev.h (_dl_writev): Likewise.
55756         * elf/ldconfig.c (search_dir): Likewise.
55757         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
55758         (dl_main): Likewise.
55759         * elf/setup-vdso.h (setup_vdso): Likewise.
55760         * grp/compat-initgroups.c (compat_call): Likewise.
55761         * grp/fgetgrent.c (fgetgrent): Likewise.
55762         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
55763         * grp/putgrent.c (putgrent): Likewise.
55764         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55765         Likewise.
55766         * hurd/hurdinit.c: Likewise.
55767         * iconvdata/8bit-gap.c (struct): Likewise.
55768         * iconvdata/ansi_x3.110.c : Likewise.
55769         * iconvdata/big5.c : Likewise.
55770         * iconvdata/big5hkscs.c : Likewise.
55771         * iconvdata/cp1255.c: Likewise.
55772         * iconvdata/cp1258.c : Likewise.
55773         * iconvdata/cp932.c : Likewise.
55774         * iconvdata/euc-cn.c: Likewise.
55775         * iconvdata/euc-jisx0213.c : Likewise.
55776         * iconvdata/euc-jp.c: Likewise.
55777         * iconvdata/euc-jp-ms.c : Likewise.
55778         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
55779         * iconvdata/gb18030.c : Likewise.
55780         * iconvdata/gbbig5.c (const): Likewise.
55781         * iconvdata/gbgbk.c: Likewise.
55782         * iconvdata/gbk.c : Likewise.
55783         * iconvdata/ibm1364.c : Likewise.
55784         * iconvdata/ibm930.c : Likewise.
55785         * iconvdata/ibm932.c: Likewise.
55786         * iconvdata/ibm933.c : Likewise.
55787         * iconvdata/ibm935.c : Likewise.
55788         * iconvdata/ibm937.c : Likewise.
55789         * iconvdata/ibm939.c : Likewise.
55790         * iconvdata/ibm943.c: Likewise.
55791         * iconvdata/iso_11548-1.c: Likewise.
55792         * iconvdata/iso-2022-cn.c : Likewise.
55793         * iconvdata/iso-2022-cn-ext.c : Likewise.
55794         * iconvdata/iso-2022-jp-3.c: Likewise.
55795         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
55796         * iconvdata/iso-2022-kr.c : Likewise.
55797         * iconvdata/iso646.c (gconv_end): Likewise.
55798         * iconvdata/iso_6937-2.c : Likewise.
55799         * iconvdata/iso_6937.c : Likewise.
55800         * iconvdata/iso8859-1.c: Likewise.
55801         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
55802         * iconvdata/shift_jisx0213.c : Likewise.
55803         * iconvdata/sjis.c : Likewise.
55804         * iconvdata/t.61.c : Likewise.
55805         * iconvdata/tcvn5712-1.c : Likewise.
55806         * iconvdata/tscii.c: Likewise.
55807         * iconvdata/uhc.c : Likewise.
55808         * iconvdata/unicode.c (gconv_end): Likewise.
55809         * iconvdata/utf-16.c (gconv_end): Likewise.
55810         * iconvdata/utf-32.c (gconv_end): Likewise.
55811         * iconvdata/utf-7.c (base64): Likewise.
55812         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
55813         * iconv/gconv_close.c (__gconv_close): Likewise.
55814         * iconv/gconv_open.c (__gconv_open): Likewise.
55815         * iconv/gconv_simple.c (internal_ucs4_loop_single)
55816         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
55817         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
55818         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
55819         (ucs4le_internal_loop_single): Likewise.
55820         * iconv/iconv.c (iconv): Likewise.
55821         * iconv/iconv_close.c: Likewise.
55822         * iconv/loop.c (SINGLE): Likewise.
55823         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
55824         * include/atomic.h: Likewise.
55825         * inet/inet6_option.c (option_alloc): Likewise.
55826         * intl/bindtextdom.c (set_binding_values): Likewise.
55827         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
55828         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
55829         * intl/localealias.c (read_alias_file): Likewise.
55830         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
55831         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
55832         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
55833         * libio/fmemopen.c (fmemopen): Likewise.
55834         * libio/iofgets.c (_IO_fgets): Likewise.
55835         * libio/iofgets_u.c (fgets_unlocked): Likewise.
55836         * libio/iofgetws.c (fgetws): Likewise.
55837         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
55838         * libio/iogetdelim.c (_IO_getdelim): Likewise.
55839         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
55840         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
55841         * locale/findlocale.c (_nl_find_locale): Likewise.
55842         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
55843         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
55844         Likewise.
55845         * locale/setlocale.c (setlocale): Likewise.
55846         * login/programs/pt_chown.c (main): Likewise.
55847         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
55848         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
55849         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
55850         (mmap, mmap64, mremap, munmap): Likewise.
55851         * math/e_exp2l.c: Likewise.
55852         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
55853         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
55854         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
55855         * math/s_catan.c (__catan): Likewise.
55856         * math/s_catanf.c (__catanf): Likewise.
55857         * math/s_catanh.c (__catanh): Likewise.
55858         * math/s_catanhf.c (__catanhf): Likewise.
55859         * math/s_catanhl.c (__catanhl): Likewise.
55860         * math/s_catanl.c (__catanl): Likewise.
55861         * math/s_ccosh.c (__ccosh): Likewise.
55862         * math/s_ccoshf.c (__ccoshf): Likewise.
55863         * math/s_ccoshl.c (__ccoshl): Likewise.
55864         * math/s_cexp.c (__cexp): Likewise.
55865         * math/s_cexpf.c (__cexpf): Likewise.
55866         * math/s_cexpl.c (__cexpl): Likewise.
55867         * math/s_clog10.c (__clog10): Likewise.
55868         * math/s_clog10f.c (__clog10f): Likewise.
55869         * math/s_clog10l.c (__clog10l): Likewise.
55870         * math/s_clog.c (__clog): Likewise.
55871         * math/s_clogf.c (__clogf): Likewise.
55872         * math/s_clogl.c (__clogl): Likewise.
55873         * math/s_csin.c (__csin): Likewise.
55874         * math/s_csinf.c (__csinf): Likewise.
55875         * math/s_csinh.c (__csinh): Likewise.
55876         * math/s_csinhf.c (__csinhf): Likewise.
55877         * math/s_csinhl.c (__csinhl): Likewise.
55878         * math/s_csinl.c (__csinl): Likewise.
55879         * math/s_csqrt.c (__csqrt): Likewise.
55880         * math/s_csqrtf.c (__csqrtf): Likewise.
55881         * math/s_csqrtl.c (__csqrtl): Likewise.
55882         * math/s_ctan.c (__ctan): Likewise.
55883         * math/s_ctanf.c (__ctanf): Likewise.
55884         * math/s_ctanh.c (__ctanh): Likewise.
55885         * math/s_ctanhf.c (__ctanhf): Likewise.
55886         * math/s_ctanhl.c (__ctanhl): Likewise.
55887         * math/s_ctanl.c (__ctanl): Likewise.
55888         * math/w_pow.c: Likewise.
55889         * math/w_powf.c: Likewise.
55890         * math/w_powl.c: Likewise.
55891         * math/w_scalb.c (sysv_scalb): Likewise.
55892         * math/w_scalbf.c (sysv_scalbf): Likewise.
55893         * math/w_scalbl.c (sysv_scalbl): Likewise.
55894         * misc/error.c (error_tail): Likewise.
55895         * misc/pselect.c (__pselect): Likewise.
55896         * nis/nis_callback.c (__nis_create_callback): Likewise.
55897         * nis/nis_call.c (__nisfind_server): Likewise.
55898         * nis/nis_creategroup.c (nis_creategroup): Likewise.
55899         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
55900         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
55901         * nis/nis_getservlist.c (nis_getservlist): Likewise.
55902         * nis/nis_lookup.c (nis_lookup): Likewise.
55903         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
55904         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
55905         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
55906         * nis/nis_xdr.c (xdr_endpoint): Likewise.
55907         * nis/nss_compat/compat-grp.c (getgrent_next_file)
55908         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
55909         * nis/nss_compat/compat-initgroups.c (add_group)
55910         (internal_getgrent_r): Likewise.
55911         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
55912         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
55913         * nis/nss_compat/compat-spwd.c (getspent_next_file)
55914         (internal_getspnam_r): Likewise.
55915         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
55916         (_nss_nis_getaliasbyname_r): Likewise.
55917         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
55918         (_nss_nis_getntohost_r): Likewise.
55919         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
55920         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
55921         (_nss_nis_getgrgid_r): Likewise.
55922         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
55923         (internal_nis_gethostent_r, internal_gethostbyname2_r)
55924         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
55925         (_nss_nis_gethostbyname4_r): Likewise.
55926         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
55927         (initgroups_netid): Likewise.
55928         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
55929         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
55930         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
55931         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
55932         (_nss_nis_getprotobynumber_r): Likewise.
55933         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
55934         (_nss_nis_getsecretkey): Likewise.
55935         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
55936         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
55937         (_nss_nis_getpwuid_r): Likewise.
55938         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
55939         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
55940         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
55941         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
55942         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
55943         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
55944         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
55945         Likewise.
55946         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
55947         (_nss_nisplus_getntohost_r): Likewise.
55948         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
55949         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
55950         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
55951         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
55952         Likewise.
55953         * nis/nss_nisplus/nisplus-initgroups.c
55954         (_nss_nisplus_initgroups_dyn): Likewise.
55955         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
55956         (_nss_nisplus_getnetbyaddr_r): Likewise.
55957         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
55958         (_nss_nisplus_getprotobynumber_r): Likewise.
55959         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
55960         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
55961         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
55962         Likewise.
55963         * nis/nss_nisplus/nisplus-service.c
55964         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
55965         (_nss_nisplus_getservbyport_r): Likewise.
55966         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
55967         (_nss_nisplus_getspnam_r): Likewise.
55968         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
55969         Likewise.
55970         * nscd/aicache.c (addhstaiX): Likewise.
55971         * nscd/cache.c (cache_search, prune_cache): Likewise.
55972         * nscd/connections.c (register_traced_file, send_ro_fd)
55973         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
55974         (main_loop_epoll): Likewise.
55975         * nscd/grpcache.c (addgrbyX): Likewise.
55976         * nscd/hstcache.c (addhstbyX): Likewise.
55977         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55978         * nscd/mem.c (gc, mempool_alloc): Likewise.
55979         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
55980         (addinnetgrX): Likewise.
55981         * nscd/nscd-client.h (__nscd_acquire_maplock)
55982         (__nscd_drop_map_ref): Likewise.
55983         * nscd/nscd_getai.c (__nscd_getai): Likewise.
55984         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
55985         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
55986         Likewise.
55987         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
55988         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55989         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
55990         (__nscd_get_map_ref): Likewise.
55991         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
55992         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
55993         Likewise.
55994         * nscd/pwdcache.c (addpwbyX): Likewise.
55995         * nscd/selinux.c (preserve_capabilities): Likewise.
55996         * nscd/servicescache.c (addservbyX): Likewise.
55997         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
55998         * posix/fnmatch.c (fnmatch): Likewise.
55999         * posix/getopt.c (_getopt_internal_r): Likewise.
56000         * posix/glob.c (glob, glob_in_dir): Likewise.
56001         * posix/wordexp.c (exec_comm_child): Likewise.
56002         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
56003         (getanswer_r, gaih_getanswer_slice): Likewise.
56004         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
56005         * resolv/res_init.c: Likewise.
56006         * resolv/res_mkquery.c (res_nmkquery): Likewise.
56007         * resolv/res_query.c (__libc_res_nquery): Likewise.
56008         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
56009         Likewise.
56010         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56011         * stdio-common/perror.c (perror): Likewise.
56012         * stdio-common/printf_fp.c (___printf_fp): Likewise.
56013         * stdio-common/tmpnam.c (tmpnam): Likewise.
56014         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56015         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56016         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56017         Likewise.
56018         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56019         * stdlib/putenv.c (putenv): Likewise.
56020         * stdlib/setenv.c (__add_to_environ): Likewise.
56021         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56022         * stdlib/strtol_l.c (INTERNAL): Likewise.
56023         * string/memmem.c (memmem): Likewise.
56024         * string/strerror.c (strerror): Likewise.
56025         * string/strnlen.c (__strnlen): Likewise.
56026         * string/test-memmem.c (simple_memmem): Likewise.
56027         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56028         * sunrpc/pm_getport.c (__get_socket): Likewise.
56029         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56030         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56031         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56032         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56033         Likewise.
56034         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56035         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56036         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56037         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56038         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56039         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56040         Likewise.
56041         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56042         Likewise.
56043         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56044         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56045         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56046         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56047         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56048         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56049         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56050         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56051         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56052         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56053         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56054         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56055         Likewise.
56056         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56057         Likewise.
56058         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56059         Likewise.
56060         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56061         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56062         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56063         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56064         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
56065         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
56066         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
56067         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
56068         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
56069         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
56070         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
56071         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56072         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
56073         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
56074         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56075         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
56076         Likewise.
56077         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
56078         Likewise.
56079         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
56080         Likewise.
56081         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
56082         Likewise.
56083         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56084         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56085         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
56086         Likewise.
56087         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
56088         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
56089         * sysdeps/posix/opendir.c (__opendirat): Likewise.
56090         * sysdeps/posix/sleep.c: Likewise.
56091         * sysdeps/posix/tempname.c: Likewise.
56092         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
56093         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56094         Likewise.
56095         * sysdeps/powerpc/powerpc32/dl-machine.h
56096         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
56097         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
56098         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56099         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
56100         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
56101         Likewise.
56102         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
56103         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
56104         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56105         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
56106         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
56107         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
56108         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
56109         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
56110         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56111         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
56112         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
56113         (elf_machine_lazy_rel): Likewise.
56114         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56115         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
56116         (elf_machine_lazy_rel): Likewise.
56117         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
56118         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
56119         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
56120         * sysdeps/unix/grantpt.c (grantpt): Likewise.
56121         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
56122         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
56123         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
56124         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56125         Likewise.
56126         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
56127         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
56128         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
56129         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
56130         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56131         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56132         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
56133         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
56134         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
56135         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56136         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
56137         Likewise.
56138         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
56139         (__posix_fallocate64_l64): Likewise.
56140         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
56141         (posix_fallocate): Likewise.
56142         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
56143         Likewise.
56144         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56145         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
56146         (getifaddrs_internal): Likewise.
56147         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
56148         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
56149         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
56150         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
56151         * sysdeps/unix/sysv/linux/posix_fallocate64.c
56152         (__posix_fallocate64_l64): Likewise.
56153         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
56154         Likewise.
56155         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
56156         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
56157         (__get_clockfreq): Likewise.
56158         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
56159         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
56160         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
56161         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56162         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56163         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
56164         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
56165         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
56166         Likewise.
56167         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
56168         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
56169         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
56170         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
56171         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56172         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
56173         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
56174         Likewise.
56175         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56176         (posix_fallocate): Likewise.
56177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56178         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
56179         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
56180         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
56181         (elf_machine_rela, elf_machine_rela_relative)
56182         (elf_machine_lazy_rel): Likewise.
56183         * time/asctime.c (asctime_internal): Likewise.
56184         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
56185         * time/tzset.c (__tzset_parse_tz): Likewise.
56186         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
56187         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
56188         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
56189         * wcsmbs/wcsmbsload.h: Likewise.
56191         [BZ #15894]
56192         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
56194         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
56195         (arena_get2): Remove THREAD_STATS conditionals.
56196         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
56197         (__malloc_stats, int): Likewise.
56199 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
56201         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
56202         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
56204         * manual/setjmp.texi: Fix typos/grammar errors.
56206         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
56207         Only return early when n is <= 0.  Delete unused return statement.
56209         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
56210         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
56211         * debug/tst-longjmp_chk3.c: New file.
56213         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
56214         (test_main): Replace code with set_fortify_handler call.
56215         * debug/test-strcpy_chk.c: Likewise.
56216         * debug/tst-chk1.c: Likewise.
56217         * debug/tst-longjmp_chk.c: Likewise.
56218         * test-skeleton.c: Include fcntl.h & paths.h
56219         (set_fortify_handler): Define.
56221         * debug/tst-longjmp_chk.c: Add header comment and include
56222         ../test-skeleton.c.
56223         (do_test): Mark static.
56224         (TEST_FUNCTION): Define.
56226         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
56227         (IP_PMTUDISC_INTERFACE): Likewise.
56228         (IP_MULTICAST_IF): Likewise.
56229         (IP_MULTICAST_TTL): Likewise.
56230         (IP_MULTICAST_LOOP): Likewise.
56231         (IP_ADD_MEMBERSHIP): Likewise.
56232         (IP_DROP_MEMBERSHIP): Likewise.
56233         (IP_UNBLOCK_SOURCE): Likewise.
56234         (IP_BLOCK_SOURCE): Likewise.
56235         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
56236         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
56237         (IP_MSFILTER): Likewise.
56238         (MCAST_JOIN_GROUP): Likewise.
56239         (MCAST_BLOCK_SOURCE): Likewise.
56240         (MCAST_UNBLOCK_SOURCE): Likewise.
56241         (MCAST_LEAVE_GROUP): Likewise.
56242         (MCAST_JOIN_SOURCE_GROUP): Likewise.
56243         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
56244         (MCAST_MSFILTER): Likewise.
56245         (IP_MULTICAST_ALL): Likewise.
56246         (IP_UNICAST_IF): Likewise.
56248         * timezone/Makefile: Delete $(have-ksh) check.
56249         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
56250         * timezone/tzselect.ksh: Add +x mode bits.
56252         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
56253         (ANON_INODE_FS_MAGIC): Likewise.
56254         (BDEVFS_MAGIC): Likewise.
56255         (BINFMTFS_MAGIC): Likewise.
56256         (BTRFS_TEST_MAGIC): Likewise.
56257         (CRAMFS_MAGIC_WEND): Likewise.
56258         (DEBUGFS_MAGIC): Likewise.
56259         (ECRYPTFS_SUPER_MAGIC): Likewise.
56260         (EXT3_SUPER_MAGIC): Likewise.
56261         (EXT4_SUPER_MAGIC): Likewise.
56262         (FUTEXFS_SUPER_MAGIC): Likewise.
56263         (HOSTFS_SUPER_MAGIC): Likewise.
56264         (HUGETLBFS_MAGIC): Likewise.
56265         (MINIX3_SUPER_MAGIC): Likewise.
56266         (MTD_INODE_FS_MAGIC): Likewise.
56267         (NILFS_SUPER_MAGIC): Likewise.
56268         (OPENPROM_SUPER_MAGIC): Likewise.
56269         (PIPEFS_MAGIC): Likewise.
56270         (PSTOREFS_MAGIC): Likewise.
56271         (QNX6_SUPER_MAGIC): Likewise.
56272         (RAMFS_MAGIC): Likewise.
56273         (REISERFS_SUPER_MAGIC_STRING): Likewise.
56274         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
56275         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
56276         (SECURITYFS_MAGIC): Likewise.
56277         (SELINUX_MAGIC): Likewise.
56278         (SMACK_MAGIC): Likewise.
56279         (SOCKFS_MAGIC): Likewise.
56280         (SQUASHFS_MAGIC): Likewise.
56281         (STACK_END_MAGIC): Likewise.
56282         (TMPFS_MAGIC): Likewise.
56283         (USBDEVICE_SUPER_MAGIC): Likewise.
56284         (V9FS_MAGIC): Likewise.
56285         (XENFS_SUPER_MAGIC): Likewise.
56286         (CRAMFS_MAGIC): Fix typo in comment.
56287         (EXT2_SUPER_MAGIC): Update comment.
56288         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
56290 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
56292         * sysdeps/arm: Move directory from ports/sysdeps/arm.
56293         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
56294         * sysdeps/unix/sysv/linux/arm: Move directory from
56295         ports/sysdeps/unix/sysv/linux/arm.
56296         * README: Update listing for arm-*-linux-gnueabi.
56298         * README: Remove mention of am33.
56300 2014-02-07  Roland McGrath  <roland@hack.frob.com>
56302         * bits/sigset.h (__sigemptyset): Use a statement expression rather
56303         than the comma operator, to avoid "rhs of comma has no effect"
56304         compiler warnings.
56305         (__sigfillset, __sigandset, __sigorset): Likewise.
56306         * include/signal.h (__sigemptyset): Likewise.
56307         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
56309 2014-02-07  Allan McRae  <allan@archlinux.org>
56311         * version.h (RELEASE): Set to "development".
56312         (VERSION): Set to "2.19.90"
56313         * NEWS: Add 2.20 section.
56315 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
56317         [BZ #16529]
56318         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
56320 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56322         * manual/contrib.texi: Update entry for Carlos O'Donell,
56323         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
56325 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
56327         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
56329         * sysdeps/unix/sysv/linux/kernel-features.h
56330         [__LINUX_KERNEL_VERSION >= 0x020621]
56331         (__ASSUME_PROC_PID_TASK_COMM): Define.
56333 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56335         [BZ #16398]
56336         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
56337         conversion when destination buffer does not have enough space.
56338         * libio/tst-ftell-partial-wide.c: New test case.
56339         * libio/Makefile (tests): Add tst-ftell-partial-wide.
56341         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
56342         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
56343         Leonard and Allan McRae.
56345 2014-02-04  David S. Miller  <davem@davemloft.net>
56347         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
56348         32-bit.
56350 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
56353         New file
56354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
56355         New file
56356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
56357         New file.
56358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
56359         New file.
56360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
56361         New file.
56362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
56363         New file.
56364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
56365         New file.
56366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
56367         New file.
56368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
56369         New file.
56370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
56371         New file.
56372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
56373         New file.
56374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
56375         New file.
56376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
56377         New file.
56379 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56381         * nptl/shlib-versions: Change powerpc*le start to 2.17.
56382         * shlib-versions: Likewise.
56384 2014-02-04  Roland McGrath  <roland@hack.frob.com>
56385             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56387         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
56388         (abilist-pattern): New variable, set to %-le.abilist.
56390         * Makerules (abilist-pattern): New variable.
56391         (vpath): Use $(abilist-pattern) in place of %.abilist.
56392         (check-abi-% pattern rule): Likewise.
56393         (check-abi, update-abi): Likewise.
56395 2014-02-04  Eric Wong  <normalperson@yhbt.net>
56397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56399 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
56401         * manual/startup.texi: Add next, previous, and top entries for
56402         the `Program Arguments' and `Environment Variables' nodes.
56404 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
56406         * manual/macros.texi: Add comments before MTASC-safety macros.
56408         * manual/users.texi: Document MTASC-safety properties.
56410         * manual/threads.texi (pthread_key_create, pthread_key_delete)
56411         (pthread_getspecific, pthread_setspecific): Format with
56412         @deftypefun, and add @safety note.
56413         * manual/signal.texi: Move comments that analyze the above
56414         functions to their home place.
56416 2014-02-03  Allan McRae  <allan@archlinux.org>
56418         * po/sl.po: Update Slovenian translation from translation project.
56420 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
56422         * manual/time.texi (timegm): Add missing blank after @c.
56423         Reported by Joseph Myers <joseph@codesourcery.com>.
56425 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
56427         * manual/check-safety.sh: New.
56428         * manual/Makefile ($(objpfx)stamp-summary): Run it.
56430         * manual/terminal.texi: Document MTASC-safety properties.
56432         * manual/filesys.texi: Document MTASC-safety properties.
56434         * manual/errno.texi: Document MTASC-safety properties.
56436         * manual/intro.texi: Document safety identifiers and
56437         conditionals.
56439         * manual/string.texi (wcstok): Fix prototype.
56440         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
56442         * manual/time.texi: Document MTASC-safety properties.
56444         * manual/string.texi: Document MTASC-safety properties.
56446         * manual/threads.texi: Document MTASC-safety properties.
56448         * manual/stdio.texi: Document MTASC-safety properties.
56450         * manual/syslog.texi: Document MTASC-safety properties.
56452         * manual/sysinfo.texi: Document MTASC-safety properties.
56454         * manual/startup.texi: Document MTASC-safety properties.
56456         * manual/socket.texi: Document MTASC-safety properties.
56458         * manual/signal.texi: Document MTASC-safety properties.
56460 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
56462         * manual/setjmp.texi: Document MTASC-safety properties.
56464         * manual/search.texi: Document MTASC-safety properties.
56466         * manual/resource.texi: Document MTASC-safety properties.
56468         * manual/process.texi: Document MTASC-safety properties.
56470         * manual/platform.texi: Document MTASC-safety properties.
56472         * manual/pipe.texi: Document MTASC-safety properties.
56474         * manual/pattern.texi: Document MTASC-safety properties.
56476         * manual/message.texi: Document MTASC-safety properties.
56478         [BZ #12751]
56479         * manual/memory.texi: Document MTASC-safety properties.
56481         * manual/math.texi: Document MTASC-safety properties.
56483         * manual/locale.texi: Document MTASC-safety properties.
56485         * manual/llio.texi: Document MTASC-safety properties.
56487         * manual/libdl.texi: New.
56489         * manual/lang.texi: Document MTASC-safety properties.
56491         * manual/job.texi: Document MTASC-safety properties.
56493         * manual/getopt.texi: Document MTASC-safety properties.
56495         * manual/ctype.texi: Document MTASC-safety properties.
56497 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
56499         [BZ #16046]
56500         * csu/libc-tls.c (static_map): Remove variable.
56501         (__libc_setup_tls): Use main executable's link map for TLS data.
56502         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
56503         casing for LM_ID_BASE and GL(dl_nns).
56504         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
56505         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
56506         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
56507         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
56508         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
56509         member.
56510         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
56511         l_phnum members.
56513 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
56515         * manual/debug.texi: Document MTASC-safety properties.
56517 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
56519         [BZ #16510]
56520         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
56521         of __x86_64__ when disabling x87 inline functions.
56523 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
56525         * manual/charset.texi: Document MTASC-safety properties.
56527         * manual/crypt.texi: Document MTASC-safety properties.
56529         * manual/conf.texi: Document MTASC-safety properties.
56531         * manual/arith.texi: Document MTASC-safety properties.
56533         * manual/argp.texi: Document MTASC-safety properties.
56535         * manual/macros.texi: Introduce macros to document multi
56536         thread, asynchronous signal and asynchronous cancellation
56537         safety properties.
56538         * manual/intro.texi: Introduce the properties themselves.
56540 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56542         * sysdeps/sh/sh4/Makefile: New file.
56544 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
56546         * math/gen-libm-test.pl ($srcdir): New variable.
56547         ($auto_input): Use it.
56549 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56551         [BZ #16506]
56552         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
56553         access beyond array bounds when parsing netgroups file.
56555         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
56556         the old buffer before realloc.
56558 2014-01-27  Allan McRae  <allan@archlinux.org>
56560         * po/fr.po: Update French translation from translation project.
56562 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56564         * sysdeps/sh/libm-test-ulps: Regenerate.
56566 2014-01-24  David S. Miller  <davem@davemloft.net>
56568         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
56570 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56572         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
56573         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
56575 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
56577         [BZ #16474]
56578         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
56579         string pointers after reallocation.
56581 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56583         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
56584         __SH4A__ instead of __SH_FPU_ANY__.
56586 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56588         * sysdeps/sh/fpu_control.h: New file.
56589         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
56590         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
56591         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
56592         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
56593         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
56594         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
56595         * sysdeps/sh/sys/ucontext.h: Remove.
56596         * sysdeps/sh/sys: Remove directory.
56598 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56600         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
56601         s390/sys/ucontext.h.
56602         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
56603         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
56605 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
56607         [BZ #15605]
56608         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
56610 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56612         [BZ #16431]
56613         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56614         Adjust the vDSO correctly for internal calls.
56615         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
56617 2014-01-20  Allan McRae  <allan@archlinux.org>
56619         * po/ca.po: Update Catalan translation from translation project.
56621 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
56623         * sysdeps/s390/sotruss-lib.c: New file.
56625 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56627         [BZ #16430]
56628         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
56629         (__GI___gettimeofday): Alias for a different internal symbol to avoid
56630         local calls issues by not having a PLT stub required for IFUNC calls.
56631         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
56633 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
56635         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
56636         * math/test-fpucw-static.c: Likewise.
56638 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56640         [BZ #16453]
56641         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
56643 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56645         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
56646         implementation for powerpc.
56648 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
56650         [BZ #14782]
56651         * sysdeps/posix/system.c (__libc_system): Do not enable
56652         asynchronous cancellation.
56654 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56656         [BZ #16427]
56657         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
56658         handling only for numbers special also in the IEEE case.
56660 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56662         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56664 2014-01-11  Allan McRae  <allan@archlinux.org>
56666         * po/bg.po: Update Bulgarian translation from translation project.
56668         * po/de.po: Update German translation from translation project.
56670 2014-01-10  Roland McGrath  <roland@hack.frob.com>
56672         * sysdeps/generic/gcc-compat.h: New file.
56674 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56676         * benchtests/asin-inputs: Correct slow inputs.
56677         * benchtests/acos-inputs: Likewise.
56679 2014-01-10  Allan McRae  <allan@archlinux.org>
56681         * po:sv.po: Update Swedish translation from translation project.
56683         * po/vi.po: Update Vietnamese translation from translation project.
56685         * po/eo.po: Update Esperanto translation from translation project.
56687         * po/cs.po: Update Czech translation from translation project.
56689         * po/nl.po: Update Dutch translation from translation project.
56691         * po/pl.po: Update Polish translation from translation project.
56693         * po/ru.po: Update Russian translation from translation project.
56695         * po/uk.po: Update Ukrainian translation from translation project.
56697 2014-01-08  Brooks Moses  <bmoses@google.com>
56699         * elf/dl-load.c: Fix comment typo.
56701 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
56703         * po/header.pot: Rename to...
56704         * po/pot.header: ... this.
56705         * po/Makefile: Use pot.header.
56707 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
56708             Maxim Kuvyrkov  <maxim@kugelworks.com>
56710         [BZ #16394]
56711         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
56712         SRC and DEST against LEN.
56714 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56716         [BZ #16414]
56717         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
56718         implementation.
56719         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
56721 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56725 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
56727         [BZ #16408]
56728         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
56729         for large positive arguments.
56731 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
56733         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56735         * math/auto-libm-test-in: Mark various tests with
56736         xfail-rounding:ldbl-128ibm.
56737         * math/auto-libm-test-out: Regenerated.
56739         [BZ #16407]
56740         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
56741         Increase overflow threshold.
56743 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
56745         [BZ #14286]
56746         * stdio-common/vfprintf.c: Check for integer overflow.
56748 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56750         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
56751         the first argument and return value of __tls_get_addr_internal.
56753 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56755         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
56756         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
56758 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56760         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
56761         * sysdeps/s390/rtld-global-offsets.sym: New file.
56762         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
56763         GLIBC_2.19 symbol.
56764         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
56765         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
56766         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
56767         ... this.
56768         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
56769         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
56770         ... this.
56771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56772         Regenerate.
56773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56774         Regenerate.
56775         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
56776         halfs of GPRs for high_gprs contexts.
56777         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
56778         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
56779         field.
56780         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
56781         uc_flags field.
56782         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
56783         64 bit versions:
56784         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
56785         for high GPRs (uc_high_gprs) and for future extensions
56786         (__reserved).
56787         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
56788         for future extensions (__reserved).
56789         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
56790         64 bit versions:
56791         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
56792         SC_HIGHGPRS offset definition.
56793         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
56794         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
56796         * Versions.def: Add GLIBC_2.19 for libpthread.
56797         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
56798         siglongjmp for libpthread with GLIBC_2.19 symver.
56799         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
56800         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
56801         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
56802         * sysdeps/s390/__longjmp.c: New file.
56803         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
56804         * sysdeps/s390/longjmp.c: New file.
56805         * sysdeps/s390/setjmp.S: New file.
56806         * sysdeps/s390/sigjmp.S: New file.
56807         * sysdeps/s390/v1-longjmp.c: New file.
56808         * sysdeps/s390/v1-setjmp.h: New file.
56809         * sysdeps/s390/v1-sigjmp.c: New file.
56810         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
56811         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
56812         GLIBC_2.19 version.
56813         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
56814         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
56815         versioned symbols for ____longjmp_chk.
56816         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
56817         Likewise.
56818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56819         Regenerate.
56820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
56821         Regenerate.
56822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56823         Regenerate.
56824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
56825         Regenerate.
56826         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
56827         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
56828         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
56829         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
56830         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
56831         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
56832         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
56833         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
56834         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
56835         * sysdeps/s390/rtld-__longjmp.c: New file.
56836         * sysdeps/s390/rtld-setjmp.S: New file.
56838 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
56840         [BZ #16400]
56841         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
56842         Return -__logl (x) for small positive arguments without evaluating
56843         a polynomial.
56845 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
56847         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
56848         Rename to ...
56849         (__ptrace_peeksiginfo_args): ... this.
56850         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56851         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56852         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56854 2014-01-06  Allan McRae  <allan@archlinux.org>
56856         * inet/netinet/in.h: Fix typo in comment.
56858 2014-01-05  Andreas Jaeger  <aj@suse.de>
56860         * sysdeps/i386/fpu/libm-test-ulps: Update.
56862 2014-01-05  Allan McRae  <allan@archlinux.org>
56864         * po/libc.pot: Regenerated.
56866         * malloc/memusagestat.c: Fix gettext call formatting.
56868 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
56870         * nscd/nscd.c: Improve usage() output.
56872 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
56874         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
56875         * sysdeps/unix/sysv/linux/configure: Regenerated.
56876         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
56877         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
56879 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56881         [BZ #16390]
56882         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56883         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
56885 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56887         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
56888         extra tokens at end of #undef directive.
56889         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
56890         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
56891         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
56893 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
56895         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
56897         * math/auto-libm-test-in: Mark various tests with
56898         xfail-rounding:ldbl-128ibm.
56899         * math/auto-libm-test-out: Regenerated.
56901 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
56903         [BZ #16386]
56904         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
56905         numbers with subnormal high part when calculating exponent.
56907         [BZ #16385]
56908         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
56909         fabs.
56911         [BZ #16384]
56912         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
56913         M_LN2l.
56914         (__ieee754_acoshl): Use __log1pl not __log1p.
56916 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
56918         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
56919         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
56920         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
56921         (grow_heap, heap_trim, _int_new_arena, get_free_list)
56922         (reused_arena, arena_get2): Convert to GNU style.
56923         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
56924         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
56925         (memalign_check, __malloc_set_state): Likewise.
56926         * malloc/mallocbug.c (main): Likewise.
56927         * malloc/malloc.c (__malloc_assert, malloc_init_state)
56928         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
56929         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
56930         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
56931         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
56932         (__posix_memalign, malloc_info): Likewise.
56933         * malloc/malloc.h: Likewise.
56934         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
56935         (mallochook, memalignhook, reallochook, mabort): Likewise.
56936         * malloc/mcheck.h: Likewise.
56937         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
56938         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
56939         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
56940         * malloc/morecore.c (__default_morecore): Likewise.
56941         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
56942         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
56943         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
56944         (print_and_abort): Likewise.
56945         * malloc/obstack.h: Likewise.
56946         * malloc/set-freeres.c (__libc_freeres): Likewise.
56947         * malloc/tst-mallocstate.c (main): Likewise.
56948         * malloc/tst-mtrace.c (main): Likewise.
56949         * malloc/tst-realloc.c (do_test): Likewise.
56951 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56953         [BZ #16366]
56954         * nscd/netgroupcache.c (do_notfound): New function.
56955         (addgetnetgrentX): Use it.
56957         [BZ # 16365]
56958         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
56959         NSS_STATUS_NOTFOUND.
56961 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
56963         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56966 2014-01-01  Allan McRae  <allan@archlinux.org>
56968         * scripts/update-copyrights: Update configure input file suffix.
56970         * NEWS: Update copyright year.
56971         * catgets/gencat.c: Likewise.
56972         * csu/version.c: Likewise.
56973         * debug/catchsegv.sh: Likewise.
56974         * debug/pcprofiledump.c: Likewise.
56975         * debug/xtrace.sh: Likewise.
56976         * elf/ldconfig.c: Likewise.
56977         * elf/ldd.bash.in: Likewise.
56978         * elf/pldd.c: Likewise.
56979         * elf/sotruss.ksh: Likewise.
56980         * elf/sprof.c: Likewise.
56981         * iconv/iconv_prog.c: Likewise.
56982         * iconv/iconvconfig.c: Likewise.
56983         * locale/programs/locale.c: Likewise.
56984         * locale/programs/localedef.c: Likewise.
56985         * login/programs/pt_chown.c: Likewise.
56986         * malloc/memusage.sh: Likewise.
56987         * malloc/memusagestat.c: Likewise.
56988         * malloc/mtrace.pl: Likewise.
56989         * manual/libc.texinfo: Likewise.
56990         * nscd/nscd.c: Likewise.
56991         * nss/getent.c: Likewise.
56992         * nss/makedb.c: Likewise.
56993         * posix/getconf.c: Likewise.
56994         * scripts/test-installation.pl: Likewise.
56996         * All files with FSF copyright notices: Update copyright dates
56997         using scripts/update-copyrights.
56998         * intl/plural.c: Regenerated.
56999         * locale/programs/charmap-kw.h: Likewise.
57000         * locale/programs/locfile-kw.h: Likewise.
57002 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
57004         * sysdeps/unix/sysv/linux/configure: Regenerated.
57005         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
57006         the linux/fanotify.h header.
57007         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
57008         HAVE_LINUX_FANOTIFY_H is defined.
57010 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57012         * benchtests/cos-inputs: New inputs.
57013         * benchtests/sin-inputs: Likewise.
57015         * benchtests/atan-inputs: New inputs. Fix name of multiple
57016         precision fallback inputs.
57018         * benchtests/atanh-inputs: New inputs.
57019         * benchtests/tanh-inputs: Likewise.
57021         * benchtests/acosh-inputs: New inputs.
57022         * benchtests/asinh-inputs: Likewise.
57024         * benchtests/cosh-inputs: New inputs.
57025         * benchtests/sinh-inputs: Likewise.
57027         * benchtests/acos-inputs: Add more inputs.
57028         * benchtests/asin-inputs: Likewise.
57030 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
57032         [BZ #16375]
57033         * manual/arith.texi: Fix spelling.
57034         * manual/charset.texi: Likewise.
57035         * manual/errno.texi: Likewise.
57036         * manual/filesys.texi: Likewise.
57037         * manual/lang.texi: Likewise.
57038         * manual/llio.texi: Likewise.
57039         * manual/locale.texi: Likewise.
57040         * manual/message.texi: Likewise.
57041         * manual/resource.texi: Likewise.
57042         * manual/search.texi: Likewise.
57043         * manual/setjmp.texi: Likewise.
57044         * manual/stdio.texi: Likewise.
57045         * manual/string.texi: Likewise.
57046         * manual/sysinfo.texi: Likewise.
57047         * manual/time.texi: Likewise.
57049 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
57051         * po/sl.po: New file.
57053 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
57055         * .gitignore: Add core/.gdbinit/.gdb_history.
57057 2013-12-27  Allan McRae  <allan@archlinux.org>
57059         [BZ #16369]
57060         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57061         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57063 2013-12-24  Brooks Moses  <bmoses@google.com>
57065         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57066         all compilers that claim C++98 compliance, not just GCC.
57067         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
57068         Likewise.
57070 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57072         * NEWS: Restore accidentally deleted bug-fix entries.
57074 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
57075             Ondřej Bílka  <neleai@seznam.cz>
57077         [BZ #15073]
57078         * malloc/malloc.c (_int_free): Perform sanity check only if we
57079         have_lock.
57081 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
57083         [BZ #12986]
57084         * manual/stdio.texi (String Input Conversions): Clarify that character
57085         classes are not supported.
57087 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57091 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
57093         [BZ #16337]
57094         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57095         Calculate results for small negative arguments directly rather
57096         than using reflection formula with special underflow handling.
57098         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
57099         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
57100         sysdeps/unix/bsd/bsd4.4/syscalls.list.
57101         (fchflags): Likewise.
57102         (revoke): Likewise.
57103         (setlogin): Likewise.
57104         (sigaltstack): Likewise.
57105         (wait4): Likewise.
57106         (sigblock): Remove.
57107         (sigsetmask): Likewise.
57108         (wait3): Likewise.
57109         (waitpid): Likewise.
57110         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
57111         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
57112         file.
57113         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
57114         * sysdeps/unix/bsd/Makefile: ... here.
57115         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
57116         * sysdeps/unix/bsd/Versions: ... here.
57117         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
57118         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
57119         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
57120         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
57121         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
57122         * sysdeps/unix/bsd/sigblock.c: ... here.
57123         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
57124         * sysdeps/unix/bsd/sigsetmask.c: ... here.
57125         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
57126         * sysdeps/unix/bsd/sigvec.c: ... here.
57127         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
57128         * sysdeps/unix/bsd/tcdrain.c: ... here.
57129         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
57130         * sysdeps/unix/bsd/tcgetattr.c: ... here.
57131         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
57132         * sysdeps/unix/bsd/tcsetattr.c: ... here.
57133         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
57134         * sysdeps/unix/bsd/wait.c: ... here.
57135         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
57136         * sysdeps/unix/bsd/wait3.c: ... here.
57137         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
57138         * sysdeps/unix/bsd/waitpid.c: ... here.
57140 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
57142         [BZ #16356]
57143         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
57144         round-to-nearest for [!USE_AS_EXPM1L].
57145         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
57146         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
57147         more tests of exp and exp10.  Expect some exp10 tests to miss
57148         exceptions or fail in directed rounding modes.
57149         * math/auto-libm-test-out: Regenerated.
57150         * math/libm-test.inc (exp10_tonearest_test_data): New array.
57151         (exp10_test_tonearest): New function.
57152         (exp10_towardzero_test_data): New array.
57153         (exp10_test_towardzero): New function.
57154         (exp10_downward_test_data): New array.
57155         (exp10_test_downward): New function.
57156         (exp10_upward_test_data): New array.
57157         (exp10_test_upward): New function.
57158         (main): Call the new functions.
57159         * sysdeps/i386/fpu/libm-test-ulps: Update.
57160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57162 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
57164         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
57165         asinh, atan, atan2, atanh, cbrt, cos and cosh.
57166         * math/auto-libm-test-out: Regenerated.
57167         * math/libm-test.inc (acosh_test_data): Add more tests.
57168         (atanh_test_data): Likewise.
57169         (ceil_test_data): Likewise.
57170         (copysign_test_data): Likewise.
57171         * sysdeps/i386/fpu/libm-test-ulps: Update.
57172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57174         * timezone/checktab.awk: Update from tzcode 2013i.
57175         * timezone/private.h: Likewise.
57176         * timezone/scheck.c: Likewise.
57177         * timezone/tzfile.h: Likewise.
57178         * timezone/tzselect.ksh: Likewise.
57179         * timezone/zdump.c: Likewise.
57180         * timezone/zic.c: Likewise.
57182         * math/auto-libm-test-in: Add tests of cpow.
57183         * math/auto-libm-test-out: Regenerated.
57184         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57185         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57186         mpc_cc_c.
57187         (func_calc_desc): Add mpc_cc_c union field.
57188         (test_functions): Add cpow.
57189         (special_fill_2pi): New function.
57190         (special_real_inputs): Add 2pi.
57191         (calc_generic_results): Handle mpc_cc_c.
57192         * sysdeps/i386/fpu/libm-test-ulps: Update.
57193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57195         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
57196         csqrt, ctan and ctanh.
57197         * math/auto-libm-test-out: Regenerated.
57198         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57199         (TEST_COND_x86): Likewise.
57200         (ccos_test_data): Use AUTO_TESTS_c_c.
57201         (ccosh_test_data): Likewise.
57202         (cexp_test_data): Likewise.
57203         (clog_test_data): Likewise.
57204         (csqrt_test_data): Likewise.
57205         (ctan_test_data): Likewise.
57206         (ctan_tonearest_test_data): Likewise.
57207         (ctan_towardzero_test_data): Likewise.
57208         (ctan_downward_test_data): Likewise.
57209         (ctan_upward_test_data): Likewise.
57210         (ctanh_test_data): Likewise.
57211         (ctanh_tonearest_test_data): Likewise.
57212         (ctanh_towardzero_test_data): Likewise.
57213         (ctanh_downward_test_data): Likewise.
57214         (ctanh_upward_test_data): Likewise.
57215         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57216         mpc_c_c.
57217         (func_calc_desc): Add mpc_c_c union field.
57218         (FUNC_mpc_c_c): New macro.
57219         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
57220         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
57221         ctanh.
57222         (special_fill_min_subnorm_p120): New function.
57223         (special_real_inputs): Add min_subnorm_p120.
57224         (calc_generic_results): Handle mpc_c_c.
57225         * sysdeps/i386/fpu/libm-test-ulps: Update.
57226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57228 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57230         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
57231         (do_sin_slow): New functions.
57232         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
57233         (cslow2, csloww1, csloww2): Use the new functions.
57235         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
57236         Use M to change sign of result instead of X.  Assume X is
57237         positive.
57238         (csloww1): Likewise.
57239         (__sin): Adjust.
57240         (__cos): Adjust.
57242         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
57243         arguments A and DA.
57244         (__sin): Adjust.
57245         (__cos): Likewise.
57247         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
57248         (__cos): Likewise.
57249         (sloww1): Don't adjust sign of DX.
57250         (csloww1): Likewise.
57251         (sloww2): Use X directly and don't adjust sign of DX.
57252         (csloww2): Likewise.
57254 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57256         * math/auto-libm-test-in: Add tests of cabs and carg.
57257         * math/auto-libm-test-out: Regenerated.
57258         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
57259         (carg_test_data): Likewise.
57260         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57261         mpc_c_f.
57262         (func_calc_desc): Add mpc_c_f union field.
57263         (test_functions): Add cabs and carg.
57264         (calc_generic_results): Handle mpc_c_f.
57266         * sysdeps/powerpc/powerpc32/libgcc-compat.S
57267         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
57268         as a macro and a compat symbol.
57269         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
57270         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
57271         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
57272         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
57273         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
57274         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
57275         not use .hidden.
57276         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
57277         Likewise.
57278         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
57279         Likewise.
57280         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
57281         Likewise.
57282         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
57283         Likewise.
57284         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
57285         Likewise.
57286         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
57287         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
57288         from GLIBC_2.3.2.
57290 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57294 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57296         * manual/texinfo.tex: Update to version 2013-11-26.10 with
57297         trailing whitespace removed.
57298         * scripts/config.guess: Update to version 2013-11-29.
57299         * scripts/config.sub: Update to version 2013-10-01.
57301         * math/auto-libm-test-in: Add tests of sincos.
57302         * math/auto-libm-test-out: Regenerated.
57303         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
57304         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57305         mpfr_f_11.
57306         (func_calc_desc): Add mpfr_f_11 union field.
57307         (test_functions): Add sincos.
57308         (calc_generic_results): Handle mpfr_f_11.
57309         * sysdeps/i386/fpu/libm-test-ulps: Update.
57310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57312 2013-12-19  Andreas Schwab  <schwab@suse.de>
57314         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
57315         CALL_MCOUNT.
57316         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57317         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
57318         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
57320 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
57322         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
57323         * sysdeps/i386/fpu/libm-test-ulps: Update.
57324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57326         [BZ #16293]
57327         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
57328         round-to-nearest mode when using frndint.
57329         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
57330         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
57331         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
57332         Likewise.
57333         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
57334         sinh test to fail.
57335         * math/auto-libm-test-out: Regenerated.
57336         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
57337         (TEST_COND_x86): Likewise.
57338         (expm1_tonearest_test_data): New array.
57339         (expm1_test_tonearest): New function.
57340         (expm1_towardzero_test_data): New array.
57341         (expm1_test_towardzero): New function.
57342         (expm1_downward_test_data): New array.
57343         (expm1_test_downward): New function.
57344         (expm1_upward_test_data): New array.
57345         (expm1_test_upward): New function.
57346         (main): Run the new test functions.
57347         * sysdeps/i386/fpu/libm-test-ulps: Update.
57348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57350         * include/features.h: Update comment documenting feature test
57351         macros.  Mention _DEFAULT_SOURCE in comment.
57352         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
57353         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
57354         _BSD_SOURCE and _SVID_SOURCE.
57355         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
57356         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
57357         !_SVID_SOURCE]: Likewise.
57358         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57359         (__USE_POSIX_IMPLICITLY): Define.
57360         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57361         (_POSIX_SOURCE): Undefine and redefine.
57362         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
57363         (_POSIX_C_SOURCE): Likewise.
57364         * manual/creature.texi (_DEFAULT_SOURCE): Document.
57365         (Feature Test Macros): Update documentation of default features.
57367 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
57369         * benchtests/Makefile: Add bench-strtok.
57370         * benchtests/bench-strtok.c: New file: strtok benchtest.
57372 2013-12-19  Allan McRae  <allan@archlinux.org>
57374         * manual/install.texi: Suppress menu for plain text output.
57375         * INSTALL: Regenerated.
57377 2013-12-18  Brooks Moses  <bmoses@google.com>
57379         [BZ #15846]
57380         * misc/getauxval.c: Include errno.h.
57381         (__getauxval): Set errno to ENOENT if the requested type is not
57382         found.
57383         * misc/sys/auxv.h (getauxval): Document that it may set errno;
57384         don't declare with __attribute_const__.
57385         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
57386         * manual/startup.texi: Document that getauxval sets errno.
57388 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57390         * math/auto-libm-test-in: Add tests of jn and yn.
57391         * math/auto-libm-test-out: Regenerated.
57392         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
57393         (yn_test_data): Likewise.
57394         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57395         mpfr_if_f.
57396         (func_calc_desc): Add mpfr_if_f union field.
57397         (FUNC_mpfr_if_f): New macro.
57398         (test_functions): Add jn and yn.
57399         (calc_generic_results): Assert type of second input for
57400         mpfr_ff_f.  Handle mpfr_if_f.
57401         (output_for_one_input_case): Disable all checking for arguments
57402         fitting floating-point types in case of an integer argument.
57403         * sysdeps/i386/fpu/libm-test-ulps: Update.
57404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
57407         Don't expect fegetround reference in libm.so.
57409 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57411         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
57412         $(config-cflags-nofma).
57414 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
57416         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
57417         * math/auto-libm-test-out: Regenerated.
57419         [BZ #16338]
57420         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
57421         to determine exponent and adjust argument to have exponent of -1.
57422         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
57423         log2.
57424         * math/auto-libm-test-out: Regenerated.
57425         * sysdeps/i386/fpu/libm-test-ulps: Update.
57426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57428 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
57430         * manual/probes.texi: Remove cases when per-thread arenas are
57431         disabled.
57433 2013-12-18  Andreas Schwab  <schwab@suse.de>
57435         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
57436         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
57437         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
57438         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
57439         * sysdeps/i386/i686/multiarch/Makefile: Update.
57440         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
57442 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57444         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
57445         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
57447 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
57449         [BZ #15968]
57450         Support TZ transition times < 00:00:00.
57451         This is needed for version-3 tz-format files; it supports time
57452         stamps past 2037 for America/Godthab (the only entry in the tz
57453         database for which this change is relevant).
57454         * manual/time.texi (TZ Variable): Document transition times
57455         from -167:59:59 through -00:00:01.
57456         * time/tzset.c (tz_rule): Time of day is now signed.
57457         (__tzset_parse_tz): Parse negative time of day.
57459         Document TZ transition times >= 25:00:00.
57460         * manual/time.texi (TZ Variable): Document transition times from
57461         25:00:00 through 167:59:59.  These are already supported, and this
57462         support will help with version-3 tz-format files.
57464         * manual/time.texi (TZ Variable): Modernize North America example
57465         to reflect current (i.e., 2007-and-later) daylight saving rules.
57467         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
57469 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57471         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
57472         * sysdeps/unix/bsd/bits/stat.h: Likewise.
57473         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
57474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57475         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
57476         * sysdeps/unix/bsd/bsdstat.h: Likewise.
57477         * sysdeps/unix/bsd/clock.c: Likewise.
57478         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
57479         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
57480         * sysdeps/unix/bsd/init-posix.c: Likewise.
57481         * sysdeps/unix/bsd/poll.c: Likewise.
57482         * sysdeps/unix/bsd/ptsname.c: Likewise.
57483         * sysdeps/unix/bsd/seekdir.c: Likewise.
57484         * sysdeps/unix/bsd/setegid.c: Likewise.
57485         * sysdeps/unix/bsd/seteuid.c: Likewise.
57486         * sysdeps/unix/bsd/setgid.c: Likewise.
57487         * sysdeps/unix/bsd/setrgid.c: Likewise.
57488         * sysdeps/unix/bsd/setruid.c: Likewise.
57489         * sysdeps/unix/bsd/setsid.c: Likewise.
57490         * sysdeps/unix/bsd/setuid.c: Likewise.
57491         * sysdeps/unix/bsd/sigaction.c: Likewise.
57492         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
57493         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
57494         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
57495         * sysdeps/unix/bsd/telldir.c: Likewise.
57496         * sysdeps/unix/bsd/times.c: Likewise.
57497         * sysdeps/unix/bsd/usleep.c: Likewise.
57499         * misc/Makefile (install-lib): Remove libbsd-compat.a.
57500         ($(objpfx)libbsd-compat.a): Remove rule.
57502         * include/features.h (__FAVOR_BSD): Do not define.
57503         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
57504         features conflicting with POSIX.
57505         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
57506         (_BSD_SOURCE): Remove description of not being a subset of other
57507         feature test macros.
57508         * manual/job.texi (getpgrp): Do not document BSD version.
57509         (getpgid): Do not document by reference to BSD getpgrp.
57510         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
57511         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
57512         * signal/signal.h [__FAVOR_BSD]: Likewise.
57513         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
57514         instead of making contents conditional on [__FAVOR_BSD].
57515         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
57517 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57521 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
57523         [BZ #16314]
57524         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
57525         values below 2**-450, not 2**-500.
57526         * math/auto-libm-test-in: Don't allow spurious underflow from
57527         hypot.
57528         * math/auto-libm-test-out: Regenerated.
57530         [BZ #16316]
57531         [BZ #16330]
57532         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
57533         values of ha and hb and sort them after adjusting subnormal
57534         arguments.
57535         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
57536         Likewise.
57537         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
57538         values of ea and eb and sort them after adjusting subnormal
57539         arguments.
57540         * math/auto-libm-test-in: Do not expect some hypot tests of
57541         subnormals to fail.  Add more hypot tests.
57542         * math/auto-libm-test-out: Regenerated.
57544 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57546         [BZ #13304]
57547         * sysdeps/sh/s_fma.c: New file.
57548         * sysdeps/sh/s_fmaf.c: New file.
57549         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
57550         version.
57551         * sysdeps/sh/Implies: Add sh/soft-fp.
57553 2013-12-16  Roland McGrath  <roland@hack.frob.com>
57555         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
57556         level of indirection to members `objname', `errstring', `malloced'.
57557         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
57558         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
57559         it as the __longjmp argument (just pass 1 instead).
57560         (_dl_catch_error): Initialize C with argument pointers and address of
57561         volatile local ERRCODE rather than copying values out of C at return.
57563 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
57565         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
57566         * math/auto-libm-test-out: Regenerated.
57567         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
57568         (hypot_test_data): Likewise.
57569         (pow_test_data): Likewise.
57570         (pow_tonearest_test_data): Likewise.
57571         * math/gen-auto-libm-tests.c (func_calc_method): Add value
57572         mpfr_ff_f.
57573         (func_calc_desc): Add mpfr_ff_f union field.
57574         (FUNC_mpfr_ff_f): New macro.
57575         (test_functions): Add atan2, hypot and pow.
57576         (special_fill_min): New function.
57577         (special_fill_minus_min): Likewise.
57578         (special_fill_min_subnorm): Likewise.
57579         (special_fill_minus_min_subnorm): Likewise.
57580         (special_real_inputs): Add min, -min, min_subnorm and
57581         -min_subnorm.
57582         (calc_generic_results): Handle mpfr_ff_f.
57583         * sysdeps/i386/fpu/libm-test-ulps: Update.
57584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57586 2013-12-16  Will Newton  <will.newton@linaro.org>
57588         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
57589         (Aligned Memory Blocks): Add documentation for aligned_alloc
57590         and suggest it as an alternative to posix_memalign.
57591         (Hooks for Malloc): Document __memalign_hook is also called
57592         for aligned_alloc.  (Summary of Malloc): Add summary for
57593         aligned alloc.  Document __memalign_hook is also called
57594         for aligned_alloc.
57596 2013-12-16  Will Newton  <will.newton@linaro.org>
57598         * manual/memory.texi (Malloc Examples): Clarify default
57599         alignment documentation.  Suggest posix_memalign rather
57600         than memalign or valloc.
57601         (Aligned Memory Blocks): Remove suggestion to use memalign
57602         or valloc.  Remove obsolete comment about BSD.
57603         Document memalign errno values and mark the function obsolete.
57604         Document posix_memalign returned error codes.  Mark valloc
57605         as obsolete.  (Hooks for Malloc): __memalign_hook is also
57606         called for posix_memalign and valloc.
57607         (Summary of Malloc): Add posix_memalign to function summary.
57608         __memalign_hook is also called for posix_memalign and valloc.
57610 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57612         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
57613         TAYLOR_SIN.
57614         (__sin): Adjust.
57615         (__cos): Likewise.
57616         (sloww): Use mynumber union.  Expand ternary operator into
57617         if-else statements.
57618         (cslow): use mynumber union.
57620 2013-12-16  Allan McRae  <allan@archlinux.org>
57622         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
57623         * configure: Regenerated.
57625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
57627         [BZ #14120]
57628         * configure.ac: Added --enable-maintainer-mode. Check for
57629         autoconf when enabled.
57630         * configure: Regenerated.
57632         * nscd/nscd.service: New file.
57633         * nscd/nscd.tmpfiles: New file.
57635 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
57637         [BZ #12100]
57638         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
57639         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
57640         * sysdeps/x86_64/multiarch/strstr.c: ... here.
57641         (strstr): Add __strstr_sse2_unaligned ifunc.
57642         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
57643         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
57644         (strcasestr): Remove __strcasestr_sse42 ifunc.
57645         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
57646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57649 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57651         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
57652         * sysdeps/sh/bits/fenv.h: ... here.
57653         * sysdeps/sh/sh4/fpu/bits: Remove directory.
57655 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57657         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
57659         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
57660         hypotf multiarch implementations.
57661         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
57662         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
57663         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
57664         multiarch hypot for PPC64.
57665         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
57666         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
57667         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
57668         multiarch hypotf for PPC64.
57670         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
57671         modff multiarch implementations.
57672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
57673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
57674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
57675         multiarch modf for PPC64.
57676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
57677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
57678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
57679         multiarch modff for PPC64.
57681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
57682         and logl multiarch implementations.
57683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
57684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
57685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
57686         multiarch logb for PPC64.
57687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
57688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
57689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
57690         multiarch logb for PPC64.
57691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
57692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
57693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
57694         multiarch logb for PPC64.
57696         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
57697         isinff multiarch implementation.
57698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
57699         file.
57700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
57701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
57702         multiarch isinf for PPC64.
57703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
57704         file.
57705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
57706         multiarch isinff for PPC64.
57708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
57709         finitef multiarch implementation.
57710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
57711         file.
57712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
57713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
57714         multiarch finite for PPC64.
57715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
57716         file.
57717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
57718         multiarch finitef for PPC64.
57720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
57721         lrint multiarch implementation.
57722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
57723         file.
57724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
57725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
57726         multiarch llrint for PPC64.
57727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
57728         multiarch lrint for PPC64.
57730         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
57731         copysignf multiarch implementation.
57732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
57733         file.
57734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
57735         file.
57736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
57737         multiarch copysign for PPC64.
57738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
57739         multiarch copysignf for PPC64.
57741         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
57742         multiarch implementation.
57743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
57744         file.
57745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
57746         file.
57747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
57748         file.
57749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
57750         file.
57751         multiarch llround for PPC64.
57752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
57753         multiarch trunc for PPC64.
57754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
57755         multiarch truncf for PPC64.
57757         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
57758         multiarch implementation.
57759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
57760         file.
57761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
57762         file.
57763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
57764         file.
57765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
57766         file.
57767         multiarch llround for PPC64.
57768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
57769         multiarch round for PPC64.
57770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
57771         multiarch roundf for PPC64.
57773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
57774         multiarch implementation.
57775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
57776         file.
57777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
57778         file.
57779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
57780         file.
57781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
57782         file.
57783         multiarch llround for PPC64.
57784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
57785         multiarch floor for PPC64.
57786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
57787         multiarch floorf for PPC64.
57789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
57790         multiarch implementation.
57791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
57792         file.
57793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
57794         file.
57795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
57796         file.
57797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
57798         file.
57799         multiarch llround for PPC64.
57800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
57801         multiarch ceil for PPC64.
57802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
57803         multiarch ceilf for PPC64.
57805         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
57806         multiarch implementation.
57807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
57808         file.
57809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
57810         file.
57811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
57812         file.
57813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
57814         multiarch llround for PPC64.
57815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
57816         multiarch lround for PPC64.
57818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
57819         multiarch implementation.
57820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
57821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
57822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
57823         file.
57824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
57825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
57826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
57827         multiarch isnan for PPC64.
57828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
57829         multiarch isnanf for PPC64.
57831         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
57832         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
57833         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
57834         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
57835         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
57836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
57838         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
57839         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57840         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57841         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
57844         multiarch implementations.
57845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57846         (__libc_ifunc_impl_list): Likewise.
57847         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
57848         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
57849         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
57850         multiarch stpcpy for PPC64.
57852         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
57853         multiarch implementations.
57854         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57855         (__libc_ifunc_impl_list): Likewise.
57856         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
57857         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
57858         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
57859         multiarch strcpy for PPC64.
57861         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
57862         redefine function name.
57863         (_wordcopy_fwd_dest_aligned): Likewise.
57864         (_wordcopy_bwd_aligned): Likewise.
57865         (_wordcopy_bwd_dest_aligned): Likewise.
57866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
57867         multiarch implementations.
57868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57869         (__libc_ifunc_impl_list): Likewise.
57870         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
57871         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
57872         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
57873         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
57874         multiarch wcscpy for PPC64.
57876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
57877         multiarch implementations.
57878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57879         (__libc_ifunc_impl_list): Likewise.
57880         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
57881         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
57882         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
57883         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
57884         multiarch wcscpy for PPC64.
57886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
57887         multiarch implementations.
57888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57889         (__libc_ifunc_impl_list): Likewise.
57890         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
57891         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
57892         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
57893         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
57894         multiarch wcsrchr for PPC64.
57896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
57897         multiarch implementations.
57898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57899         (__libc_ifunc_impl_list): Likewise.
57900         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
57901         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
57902         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
57903         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
57904         multiarch wcschr for PPC64.
57906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
57907         multiarch implementations.
57908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57909         (__libc_ifunc_impl_list): Likewise.
57910         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
57911         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
57912         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
57913         multiarch strchrnul for PPC64.
57915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
57916         implementations.
57917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57918         (__libc_ifunc_impl_list): Likewise.
57919         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
57920         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
57921         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
57922         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
57923         strchr for PPC64.
57925         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
57926         implementations.
57927         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57928         (__libc_ifunc_impl_list): Likewise.
57929         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
57930         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
57931         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
57932         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
57933         strncmp for PPC64.
57935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
57936         multiarch implementations.
57937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57938         (__libc_ifunc_impl_list): Likewise.
57939         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
57940         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
57941         strncasecmp for PPC64.
57942         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
57943         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
57944         multiarch strncasecmp_l for PPC64.
57946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
57947         multiarch implementations.
57948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
57949         (__libc_ifunc_impl_list): Likewise.
57950         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
57951         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
57952         multiarch strcasecmp for PPC64.
57953         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
57954         file.
57955         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
57956         multiarch strcasecmp_l for PPC64.
57958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
57959         implementations.
57960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57961         (__libc_ifunc_impl_list): Likewise.
57962         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
57963         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
57964         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
57965         strnlen for PPC64.
57967         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
57968         implementations.
57969         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57970         (__libc_ifunc_impl_list): Likewise.
57971         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
57972         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
57973         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
57974         strlen for PPC64.
57976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
57977         implementations.
57978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57979         (__libc_ifunc_impl_list): Likewise.
57980         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
57981         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
57982         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
57983         rawmemrchr for PPC64.
57985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
57986         implementation.
57987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57988         (__libc_ifunc_impl_list): Likewise.
57989         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
57990         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
57991         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
57992         memrchr for PPC64.
57994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
57995         implementation.
57996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
57997         (__libc_ifunc_impl_list): Likewise.
57998         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
57999         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
58000         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
58001         memchr for PPC64.
58003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
58004         implementation.
58005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58006         (__libc_ifunc_impl_list): Likewise.
58007         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
58008         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
58009         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58010         mempcpy for PPC64.
58012         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58013         avoid cretion of __bzero symbol.
58014         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58015         Likewise.
58016         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58017         Likewise.
58018         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58019         Likewise.
58020         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58021         multiarch implementations.
58022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58023         (__libc_ifunc_impl_list): Likewise.
58024         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58025         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58026         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58027         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58028         bzero for PPC32.
58029         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58030         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58031         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58032         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58033         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58034         memset for PPC64.
58035         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58037         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58039         implementations.
58040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58041         (__libc_ifunc_impl_list): Likewise.
58042         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58043         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58044         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58045         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58046         memcmp for PPC64.
58048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58049         multiarch for POWER/PPC64.
58050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58051         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58052         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58053         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58054         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58055         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58056         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58057         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58058         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58059         memcpy for PPC64.
58061         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58062         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58063         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58064         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
58065         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
58066         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
58067         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
58068         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
58069         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
58070         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
58071         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
58072         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
58073         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
58074         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
58075         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
58076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
58077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
58078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
58079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
58080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
58081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
58082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
58084 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58086         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
58088 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58090         * benchtests/Makefile (bench): Add exp2 and log2.
58091         (LDLIBS-bench-exp2): Add -lm.
58092         (LDLIBS-bench-log2): Likewise.
58093         * benchtests/exp2-inputs: New inputs file.
58094         * benchtests/log2-inputs: New inputs file.
58095         * benchtests/log-inputs: Add new inputs.
58096         * benchtests/tan-inputs: Likewise.
58098 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58100         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
58101         definition...
58102         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
58103         (csloww2): ... from here.
58105         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
58106         instead of structures.
58107         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
58108         (POLYNOMIAL): Likewise.
58109         (TAYLOR_SLOW): Likewise.
58110         (__sin): Likewise.
58111         (__cos): Likewise.
58112         (slow1): Likewise.
58113         (slow2): Likewise.
58114         (sloww): Likewise.
58115         (sloww1); Likewise.
58116         (sloww2): Likewise.
58117         (bsloww1): Likewise.
58118         (bsloww2): Likewise.
58119         (cslow2): Likewise.
58120         (csloww): Likewise.
58121         (csloww1): Likewise.
58122         (csloww2): Likewise.
58124 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
58126         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
58127         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
58128         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
58129         * malloc/hooks.c (realloc_check): Likewise.
58131         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
58132         * malloc/arena.c: Remove PER_THREAD conditional.
58133         [!PER_THREAD]: Remove code.
58134         (ptmalloc_unlock_all2): Likewise.
58135         (ptmalloc_init): Likewise.
58136         (_int_new_arena): Likewise.
58137         (arena_get2): Likewise.
58138         * malloc/hooks.c (__malloc_get_state): Likewise.
58139         (__malloc_set_state): Likewise.
58140         * malloc/malloc.c: Likewise.
58141         (struct malloc_state): Likewise.
58142         (struct malloc_par): Likewise.
58143         (__libc_realloc): Likewise.
58144         (__libc_mallopt): Likewise.
58146 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58148         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
58150 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
58152         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
58153         macro to a function.  Check for zero perturb_byte.
58154         (_int_malloc, _int_free): Remove zero perturb_byte checks.
58156         * malloc/malloc.c: (force_reg): Remove.
58157         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
58158         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
58159         force_reg by atomic_forced_read.
58160         * malloc/arena.c (ptmalloc_init): Likewise.
58161         * malloc/hooks.c (top_check): Likewise.
58163 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58167 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
58169         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58171 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
58173         * math/auto-libm-test-in: Add tests of lgamma.
58174         * math/auto-libm-test-out: Regenerated.
58175         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
58176         (M_LOG_2_SQRT_PIl): Likewise.
58177         (lgamma_test_data): Use AUTO_TESTS_f_f1.
58178         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58179         mpfr_f_f1.
58180         (func_calc_desc): Add mpfr_f_f1 union field.
58181         (ARGS1): New macro.
58182         (ARGS2): Likewise.
58183         (ARGS3): Likewise.
58184         (ARGS4): Likewise.
58185         (RET1): Likewise.
58186         (RET2): Likewise.
58187         (CALC): Likewise.
58188         (FUNC): Likewise.
58189         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
58190         (test_functions): Add lgamma.
58191         (calc_generic_results): Handle mpfr_f_f1.
58192         * sysdeps/i386/fpu/libm-test-ulps: Update.
58193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58195 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58197         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
58198         __mpn_add_n for PowerPC64/POWER7.
58199         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
58200         __mpn_sub_n for PowerPC64/POWER7.
58202         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
58203         __mpn_addmul_1 for PowerPC64.
58204         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
58205         __mpn_submul_1 for PowerPC64.
58206         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
58207         for PowerPC64.
58208         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
58209         for PowerPC64.
58211 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
58213         [BZ #15089]
58214         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
58216 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58218         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
58220         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
58221         add multiarch folders.
58222         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
58223         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
58224         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
58225         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
58226         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
58227         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
58228         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
58229         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
58230         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
58231         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
58232         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
58233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
58234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
58235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
58236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
58237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
58238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
58240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58241         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
58242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
58243         New file.
58244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
58245         New file.
58246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
58247         multiarch __ieee754_hypot for PowerPC32.
58248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
58249         New file.
58250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
58251         New file.
58252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
58253         multiarch __ieee754_hypotf for PowerPC32.
58255         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
58256         long_double_symbol only if __logbl is defined.
58257         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
58258         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
58259         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
58260         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
58261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
58262         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
58263         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
58264         path for implementation.
58265         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
58266         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
58267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
58268         logb, and logbl multiarch implementations for PowerPC32.
58269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
58270         file.
58271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
58272         file.
58273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
58274         multiarch logb for PowerPC32.
58275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
58276         file.
58277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
58278         file.
58279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
58280         multiarch logbf for PowerPC32.
58281         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
58282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
58283         file.
58284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
58285         multiarch logbl implementation for PowerPC32.
58287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
58288         and modff multiarch implementations.
58289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
58290         New file.
58291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
58292         New file.
58293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
58294         multiarch modf for PowerPC32.
58295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
58296         New file.
58297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
58298         New file.
58299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
58300         multiarch modff for PowerPC32.
58302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
58303         and lrintf multiarch implementations.
58304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
58305         New file.
58306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
58307         New file.
58308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
58309         multiarch lrint for PowerPC32.
58310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
58311         file: multiarch lrintf for PowerPC32.
58313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
58314         and lroundf multiarch implementations.
58315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
58316         New file.
58317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
58318         New file.
58319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
58320         New file.
58321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
58322         multiarch lround for PowerPC32.
58323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
58324         file: multiarch lroundf for PowerPC32.
58326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
58327         copysign and copysignf multiarch implementations.
58328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
58329         New file.
58330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
58331         New file.
58332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
58333         file: multiarch copysign for PowerPC32.
58334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
58335         file: multiarch copysignf for PowerPC32.
58337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
58338         and truncf multiarch implementations.
58339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
58340         New file.
58341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
58342         file.
58343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
58344         multiarch trunc for PowerPC32.
58345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
58346         New file.
58347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
58348         New file.
58349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
58350         multiarch truncf for PowerPC32.
58352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
58353         and roundf multiarch implementations.
58354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
58355         New file.
58356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
58357         file.
58358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
58359         multiarch round for PowerPC32.
58360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
58361         New file.
58362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
58363         New file.
58364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
58365         multiarch roundf for PowerPC32.
58367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
58368         and floorf multiarch implementations.
58369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
58370         New file.
58371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
58372         file.
58373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
58374         multiarch floor for PowerPC32.
58375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
58376         New file.
58377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
58378         New file.
58379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
58380         multiarch floorf for PowerPC32.
58382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
58383         and ceilf multiarch implementations.
58384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
58385         New file.
58386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
58387         file.
58388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
58389         multiarch ceil for PowerPC32.
58390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
58391         New file.
58392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
58393         file.
58394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
58395         multiarch ceilf for PowerPC32.
58397         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
58398         is defined.
58399         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
58400         FINITEF is defined.
58401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
58402         and finitef multiarch implementations.
58403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
58404         New file.
58405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
58406         file.
58407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
58408         multiarch finite for PowerPC32.
58409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
58410         New file.
58411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
58412         file: multiarch finitef for PowerPC32.
58414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
58415         and isinff multiarch implementations.
58416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
58417         file.
58418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
58419         file.
58420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
58421         multiarch isinf for PowerPC32.
58422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
58423         New file.
58424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
58425         multiarch isinff for PowerPC32.
58427         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
58428         alias when __isnan is defined.
58429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
58430         and isnanf multiarch implementations.
58431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
58432         file.
58433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
58434         file.
58435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
58436         file.
58437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
58438         file.
58439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
58440         multiarch isnan for PowerPC32.
58441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
58442         New file.
58443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
58444         New file.
58445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
58446         multiarch isnanf for PowerPC32.
58448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
58449         and sqrtf multiarch implementations.
58450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
58451         file.
58452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
58453         file.
58454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
58455         multiarch sqrt for PowerPC32.
58456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
58457         file.
58458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
58459         file.
58460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
58461         multiarch sqrtf for PowerPC32.
58463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
58464         and llroundf multiarch implementations.
58465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
58466         New file.
58467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
58468         New file.
58469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
58470         New file.
58471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
58472         file: multiarch llround for PowerPC32.
58473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
58474         file: multiarch llroundf for PowerPC32.
58476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
58477         multiarch PowerPC32 fpu implementations.
58478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
58479         New file.
58480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
58481         New file.
58482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
58483         multiarch llrint for PowerPC32.
58484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
58485         New file.
58486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
58487         New file.
58488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
58489         file.
58491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
58493         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
58494         file.
58495         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
58496         file.
58497         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
58498         file.
58499         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
58500         multiarch wordcopy for PPC32.
58501         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58502         wordcopy objects.
58503         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58504         (__libc_ifunc_impl_list): Likewise.
58505         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
58506         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
58507         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
58508         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
58509         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
58510         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
58512         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
58513         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
58514         file.
58515         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
58516         file.
58517         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
58518         file.
58519         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
58520         multiarch wcscpy for PPC32.
58521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
58522         multiarch objects.
58523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58524         (__libc_ifunc_impl_list): Likewise.
58525         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58526         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58527         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
58528         sysdeps/powerpc/power6/wcscpy.c.
58530         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
58531         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
58532         file.
58533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
58534         file.
58535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
58536         file.
58537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
58538         multiarch wcsrchr for PPC32.
58539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58540         multiarch objects.
58541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58542         (__libc_ifunc_impl_list): Likewise.
58543         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
58544         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
58545         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
58546         sysdeps/powerpc/power6/wcsrchr.c.
58548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
58549         file.
58550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
58551         file.
58552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
58553         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
58554         multiarch wcschr for PPc32.
58555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
58556         multiarch objects.
58557         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58558         (__libc_ifunc_impl_list): Likewise.
58559         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
58560         * sysdeps/powerpc/power6/wcschr.c: ... to here.
58561         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
58562         sysdeps/powerpc/power6/wcschr.c.
58564         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
58565         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
58566         file.
58567         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
58568         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
58569         file: multiarch strchr for PPC32.
58570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
58571         multiarch objects.
58572         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58573         (__libc_ifunc_impl_list): Likewise.
58575         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
58576         name.
58577         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
58578         file.
58579         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
58580         file.
58581         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
58582         multiarch strchrnul for PPC32.
58583         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
58584         multiarch objects.
58585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58586         (__libc_ifunc_impl_list): Likewise.
58588         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
58589         file.
58590         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
58591         multiarch strncasecmp for PPC32.
58592         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
58593         file.
58594         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
58595         multiarch strncasecmp_l for PPC32.
58596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
58597         strncasecmp multiarch objects.
58598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58599         (__libc_ifunc_impl_list): Likewise.
58601         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
58602         file.
58603         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
58604         multiarch strncasecmp for PPC32.
58605         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
58606         New file.
58607         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
58608         multiarch strcasecmp_l for PPC32.
58609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
58610         multiarch objects.
58611         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58612         (__libc_ifunc_impl_list): Likewise.
58614         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
58615         file.
58616         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
58617         file.
58618         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
58619         multiarch strncmp for PPC32.
58620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
58621         multiarch objects.
58622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58623         (__libc_ifunc_impl_list): Likewise.
58625         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
58626         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
58627         file.
58628         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
58629         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
58630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
58631         multiarch objects.
58632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58633         (__libc_ifunc_impl_list): Likewise.
58635         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
58636         file.
58637         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
58638         file.
58639         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
58640         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
58641         multiarch objects.
58642         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58643         (__libc_ifunc_impl_list): Likewise.
58645         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
58646         file.
58647         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
58648         file.
58649         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
58650         multiarch rawmemchr for PPC32.
58651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
58652         multiarch objects.
58653         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58654         (__libc_ifunc_impl_list): Likewise.
58656         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
58657         file.
58658         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
58659         file.
58660         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58661         file: memrchr multiarch for PPC32.
58662         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
58663         multiarch objects.
58664         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
58665         (__libc_ifunc_impl_list): Likewise.
58667         * string/memchr.c (__memchr): Using macro to redefine symbol name.
58668         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
58669         file.
58670         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
58671         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
58672         multiarch memchr for PPC32.
58673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
58674         multiarch objects.
58675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58676         (__libc_ifunc_impl_list): Likewise.
58678         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
58679         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
58680         file.
58681         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
58682         file.
58683         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
58684         file: multiarch mempcpy for PPC32.
58685         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
58686         multiarch objects.
58687         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58688         (__libc_ifunc_impl_list): Likewise.
58690         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
58691         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58692         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
58693         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
58694         multiarch bzero for PPC32.
58695         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
58696         file.
58697         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
58698         file.
58699         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
58700         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
58701         file: multiarch memset for PPC32.
58702         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
58703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
58704         memset multiarch objects.
58705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58706         (__libc_ifunc_impl_list): Likewise.
58708         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
58709         file.
58710         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
58711         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
58712         memcmp for PPC32.
58713         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
58714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
58715         multiarch objects.
58716         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58717         (__libc_ifunc_impl_list): Likewise.
58719         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
58720         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
58721         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
58722         file.
58723         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
58724         file.
58725         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
58726         file.
58727         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
58728         multiarch memcpy for PPC32.
58729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
58730         multiarch objects.
58731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
58732         (__libc_ifunc_impl_list): Likewise.
58734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
58735         support multiarch for POWER/PPC32.
58736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
58737         Likewise.
58738         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
58739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
58740         Implies file to make multiarch folder appers before the fpu and
58741         default folder for power4 configuration.
58743 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58745         * scripts/bench.pl: Append volatile keyword to type.
58747 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58749         * sysdeps/sh/sotruss-lib.c: New file.
58750         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
58752 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58756 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
58758         [BZ #6810]
58759         * math/w_tgamma.c: Include <errno.h>.
58760         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
58761         * math/w_tgammaf.c: Include <errno.h>.
58762         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
58763         * math/w_tgammal.c: Include <errno.h>.
58764         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
58765         * math/auto-libm-test-in: Do not allow missing errno on tgamma
58766         underflow.  Add more tgamma tests.
58767         * math/auto-libm-test-out: Regenerated.
58768         * sysdeps/i386/fpu/libm-test-ulps: Update.
58769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58771         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58772         sin, sinh, tan, tanh, tgamma, y0 and y1.
58773         * math/auto-libm-test-out: Regenerated.
58774         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58775         (TEST_COND_x86): Likewise.
58776         (M_E2l): Remove macro.
58777         (M_E3l): Likewise.
58778         (M_2_SQRT_PIl): Likewise.
58779         (M_SQRT_PIl): Likewise.
58780         (M_1_DIV_El): Likewise.
58781         (log_test_data): Use AUTO_TESTS_f_f.
58782         (log10_test_data): Likewise.
58783         (log1p_test_data): Likewise.
58784         (log2_test_data): Likewise.
58785         (sin_test_data): Likewise.
58786         (sin_tonearest_test_data): Likewise.
58787         (sin_towardzero_test_data): Likewise.
58788         (sin_downward_test_data): Likewise.
58789         (sin_upward_test_data): Likewise.
58790         (sinh_test_data): Likewise.
58791         (sinh_tonearest_test_data): Likewise.
58792         (sinh_towardzero_test_data): Likewise.
58793         (sinh_downward_test_data): Likewise.
58794         (sinh_upward_test_data): Likewise.
58795         (tan_test_data): Likewise.
58796         (tan_tonearest_test_data): Likewise.
58797         (tan_towardzero_test_data): Likewise.
58798         (tan_downward_test_data): Likewise.
58799         (tan_upward_test_data): Likewise.
58800         (tanh_test_data): Likewise.
58801         (tgamma_test_data): Likewise.
58802         (y0_test_data): Likewise.
58803         (y1_test_data): Likewise.
58804         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
58805         (special_real_inputs): Add pi/4.
58806         * sysdeps/i386/fpu/libm-test-ulps: Update.
58807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58809 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58811         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
58812         "longjmp_target" static probes.
58813         (__longjmp): Rename to __longjmp_symbol.
58814         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58815         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
58816         on which longjmp to generate.
58817         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
58818         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
58819         probe.
58820         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58821         (__sigjmp_save): Rename to __sigjmp_save_symbol.
58822         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
58823         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
58824         and __sigjmp_save_symbol based on which sigsetjmp to generated.
58825         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
58827         __longjmp_symbol based on which __longjmp to generate.
58828         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
58829         probe.
58830         (setjmp): Rename to setjmp_symbol.
58831         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58832         (_setjmp): Rename to _setjmp_symbol.
58833         (__sigsetjmp): Rename to __sigsetjmp_symbol.
58834         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
58835         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
58836         which setjmp to generate.
58837         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
58838         "longjmp_target" static probes.
58840 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58842         * benchtests/README: Add note about output arguments.
58843         * benchtests/bench-sincos.c: Remove file.
58844         * benchtests/sincos-inputs: New file.
58845         * scripts/bench.pl: Identify output arguments and define
58846         static variables for them.
58848         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
58850         [BZ #15941]
58851         * Makefile (INSTALL): Add install-plain.texi as the primary
58852         dependency.
58853         * manual/install-plain.texi: New file.
58854         * manual/install.texi: Include node directive only for
58855         non-plaintext output.
58857 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
58859         * stdlib/longlong.h: Update from GCC.
58861         [BZ #6807]
58862         [BZ #15901]
58863         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
58864         * math/w_j0f.c (y0f): Likewise.
58865         * math/w_j0l.c (__y0l): Likewise.
58866         * math/w_j1.c (y1): Likewise.
58867         * math/w_j1f.c (y1f): Likewise.
58868         * math/w_j1l.c (__y1l): Likewise.
58869         * math/w_jn.c (yn): Likewise.
58870         * math/w_jnf.c (ynf): Likewise.
58871         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
58872         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
58873         value for Bessel function domain errors outside _SVID_ mode.
58874         Adjust sign of return value for yn (negative integer, 0).
58875         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
58876         by zero in return for negative x and set sign appropriately for
58877         negative n.
58878         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
58879         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58880         * math/libm-test.inc (y0_test_data): Add more tests and adjust
58881         expectations in error cases.
58882         (y1_test_data): Likewise.
58883         (yn_test_data): Likewise.
58884         * sysdeps/i386/fpu/libm-test-ulps: Update.
58885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58887 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58889         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
58890         "64" to "64-v1".  Add "64-v2".
58891         (abi-64-options): Rename to ...
58892         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
58893         (abi-64-condition): Rename to ...
58894         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
58895         (abi-64-ld-soname): Rename to ...
58896         (abi-64-v1-ld-soname): ... this.
58897         (abi-64-v2-options): Define.
58898         (abi-64-v2-condition): Likewise.
58899         (abi-64-v2-ld-soname): Likewise.
58900         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
58901         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
58902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
58903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
58904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
58906 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58907             Alan Modra  <amodra@gmail.com>
58909         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
58910         New versions for use with the ELFv2 ABI.
58911         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
58912         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
58913         declaration.
58914         (struct La_ppc64v2_retval): Likewise.
58915         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
58916         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
58917         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
58918         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
58919         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
58920         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58921         Do not save or restore CR.
58922         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
58923         (_dl_profile_resolve): Do no save or restore CR.  Support extended
58924         return values for ELFv2 ABI.  Fix location of FPR return registers.
58925         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
58926         updated values for _CALL_ELF == 2.
58927         (La_regs, La_retval, int_retval): Likewise.
58929 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58931         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
58932         (FRAME_MIN_SIZE_PARM): Likewise.
58933         (FRAME_BACKCHAIN): Likewise.
58934         (FRAME_CR_SAVE): Likewise.
58935         (FRAME_LR_SAVE): Likewise.
58936         (FRAME_TOC_SAVE): Likewise.
58937         (FRAME_PARM_SAVE): Likewise.
58938         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
58939         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
58940         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58941         (call_mcount_parm_offset): New macro.
58942         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
58943         (PROF): Use symbolic stack frame offsets.
58944         (TAIL_CALL_SYSCALL_ERROR): Likewise.
58945         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
58946         Redefine in terms of FRAME_MIN_SIZE.
58947         (_dl_runtime_resolve): Use symbolic stack frame offsets.
58948         (_dl_profile_resolve): Likewise.  Update comment.
58949         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
58950         symbols stack frame offsets.
58951         (__sigsetjmp): Likewise.
58952         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
58953         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
58954         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
58955         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
58957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
58958         (FRAME_BACKCHAIN): Remove.
58959         (FRAME_CR_SAVE): Likewise.
58960         (FRAME_LR_SAVE): Likewise.
58961         (FRAME_COMPILER_DW): Likewise.
58962         (FRAME_LINKER_DW): Likewise.
58963         (FRAME_TOC_SAVE): Likewise.
58964         (FRAME_PARM_SAVE): Likewise.
58965         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
58966         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
58967         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
58968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
58969         (CHECK_SP): Use symbolic stack frame offsets.
58970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
58971         zone" instead of caller's parameter save area for temp storage.
58972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58973         Likewise.  Also, use symbolic stack frame offsets.
58974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
58975         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
58976         our own stack frame instead of the caller's.
58977         (__socket): Use symbolic stack frame offsets.
58979 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58980             Alan Modra  <amodra@gmail.com>
58982         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
58983         Define.
58984         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
58985         (PPC64_LOCAL_ENTRY_OFFSET): Define.
58986         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
58987         New function.
58988         (elf_machine_fixup_plt): Call it.
58989         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
58990         reloc arguments.
58991         (elf_machine_rela): Update call to elf_machine_plt_conflict.
58992         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
58993         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
58994         r2 before calling target.
58996 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
58997             Alan Modra  <amodra@gmail.com>
58999         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
59000         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
59001         versions of macros to support ELFv2 ABI.
59002         (LOCALENTRY): New macro.
59003         (ENTRY, EALIGN): Use it.
59004         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
59005         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
59006         fall through into ENTRY entry point.
59007         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
59008         Only define if _CALL_ELF != 2.
59010         (elf_machine_matches_host): Verify ABI version matches.
59011         (RTLD_START): Use LOCALENTRY.
59012         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59013         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59014         (PLT_ENTRY_WORDS): New macro.
59015         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59016         (elf_machine_runtime_setup): Support ELFv2 ABI.
59017         (elf_machine_fixup_plt): Likewise.
59018         (elf_machine_plt_conflict): Likewise.
59019         (resolve_ifunc): Likewise.
59020         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59021         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59022         Likewise.
59023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59024         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59026         (makecontext): Support ELFv2 ABI.
59027         * elf/elf.h (EF_PPC64_ABI): Define.
59029 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59031         * sysdeps/powerpc/powerpc64/sysdep.h
59032         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59033         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59034         (ENTRY) [ASSEMBLER]: ... but instead here ...
59035         (EALIGN) [ASSEMBLER]: ... and here.
59036         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59037         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59038         (ENTRY_2) [!ASSEMBLER]: Use it.
59039         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59040         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
59041         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59042         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59043         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59045         Use PPC64_LOAD_FUNCPTR.
59047         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59049 2013-12-04  Alan Modra  <amodra@gmail.com>
59051         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59052         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59053         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59054         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59056         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59057         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59058         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59059         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59060         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59061         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59063 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59066         (__makecontext): Fix incorrect CFI when backtracing out of
59067         context created via makecontext.
59068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
59069         (__setcontext): Fix incorrect CFI during switch to new context.
59070         (__novec_setcontext): Likewise.
59072 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59074         [BZ #4772]
59075         * time/strptime_l.c (__strptime_internal): Allow modifiers
59076         in strptime.
59077         * time/tst-strptime.c (day_tests): Add testcase.
59079 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59081         * scripts/bench.pl: Skip over blank lines.
59083 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
59085         [BZ #926]
59086         * manual/time.texi (Calendar Time): Clarify what timezone functions
59087         use.
59089 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59093 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
59095         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
59096         implementation.
59097         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
59098         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
59099         * debug/memset_chk.c (__memset_chk): Likewise.
59100         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
59101         * debug/strncpy_chk.c: Likewise.
59103 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59105         [BZ #15268]
59106         [BZ #15425]
59107         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
59108         (__ieee754_exp): For possibly underflowing results, check size of
59109         result and force underflow exception if required.
59110         * math/auto-libm-test-in: Add more tests of exp.
59111         * math/auto-libm-test-out: Regenerated.
59112         * sysdeps/i386/fpu/libm-test-ulps: Update.
59113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59115         [BZ #16283]
59116         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
59117         * math/w_exp2f.c (__exp2f): Likewise.
59118         * math/w_exp2l.c (__exp2l): Likewise.
59119         * math/auto-libm-test-in: Do not allow missing errno on exp2
59120         underflow.
59121         * math/auto-libm-test-out: Regenerated.
59123 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
59125         [BZ #16274]
59126         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
59127         handle filename validation.
59128         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
59129         (do_open): Delete.
59131 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
59133         [BZ #6786]
59134         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
59135         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
59136         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
59137         <float.h>.
59138         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
59139         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
59140         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59141         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
59142         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59143         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
59144         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
59145         * math/auto-libm-test-in: Don't allow missing errno from erfc.
59146         Add more erfc tests.
59147         * math/auto-libm-test-out: Regenerated.
59148         * sysdeps/i386/fpu/libm-test-ulps: Update.
59149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59151         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
59152         exp2, expm1, j0 and j1.
59153         * math/auto-libm-test-out: Regenerated.
59154         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
59155         (erfc_test_data): Likewise.
59156         (exp_test_data): Likewise.
59157         (exp_tonearest_test_data): Likewise.
59158         (exp_towardzero_test_data): Likewise.
59159         (exp_downward_test_data): Likewise.
59160         (exp_upward_test_data): Likewise.
59161         (exp10_test_data): Likewise.
59162         (exp2_test_data): Likewise.
59163         (expm1_test_data): Likewise.
59164         (j0_test_data): Likewise.
59165         (j1_test_data): Likewise.
59166         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
59167         (input_flag_type): Add flag_xfail_rounding.
59168         (input_flags): Add xfail-rounding.
59169         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
59170         (output_for_one_input_case): Handle flag_xfail_rounding.
59171         * sysdeps/i386/fpu/libm-test-ulps: Update.
59172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59174 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
59176         [BZ #16289]
59177         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
59178         division by 0.
59180 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59182         [BZ #16195]
59183         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
59184         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
59185         (STAP_PROBE0): New macro.
59186         (STAP_PROBE1): Likewise.
59187         (STAP_PROBE2): Likewise.
59188         (STAP_PROBE3): Likewise.
59189         (STAP_PROBE4): Likewise.
59191 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
59193         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
59195 2013-12-02  Steve Ellcey  <sellcey@mips.com>
59197         * benchtests/Makefile (bench): Add sqrt.
59198         (LDLIBS-bench-sqrt): New.
59199         * benchtests/sqrt-input: New.
59201 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
59203         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
59204         (GAIH_EAI): Likewise.
59205         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
59206         (gaih_inet): Likewise.
59207         (getaddrinfo): Don't use GAIH_EAI.
59209         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
59210         (struct gaih): Remove definition.
59212 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59214         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
59215         Use HERRNOP directly.
59217 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59221 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
59223         * math/gen-auto-libm-tests.c (test_functions): Add more
59224         single-argument functions.
59225         (special_fill_pi_2): New function.
59226         (special_fill_minus_pi_2): Likewise.
59227         (special_fill_pi_6): Likewise.
59228         (special_fill_minus_pi_6): Likewise.
59229         (special_fill_pi_3): Likewise.
59230         (special_fill_2pi_3): Likewise.
59231         (special_fill_e): Likewise.
59232         (special_fill_1_e): Likewise.
59233         (special_fill_e_minus_1): Likewise.
59234         (special_real_inputs): Add more special inputs.
59235         (output_for_one_input_case): Do not require ERANGE on underflow to
59236         zero if round-to-nearest result does not underflow to zero, unless
59237         exact results required.
59238         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
59239         atan, atanh, cbrt, cos and cosh.
59240         * math/auto-libm-test-out: Regenerated.
59241         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
59242         (acos_tonearest_test_data): Likewise.
59243         (acos_towardzero_test_data): Likewise.
59244         (acos_downward_test_data): Likewise.
59245         (acos_upward_test_data): Likewise.
59246         (acosh_test_data): Likewise.
59247         (asin_test_data): Likewise.
59248         (asin_tonearest_test_data): Likewise.
59249         (asin_towardzero_test_data): Likewise.
59250         (asin_upward_test_data): Likewise.
59251         (asinh_test_data): Likewise.
59252         (atan_test_data): Likewise.
59253         (atanh_test_data): Likewise.
59254         (cbrt_test_data): Likewise.
59255         (cos_test_data): Likewise.
59256         (cos_tonearest_test_data): Likewise.
59257         (cos_towardzero_test_data): Likewise.
59258         (cos_downward_test_data): Likewise.
59259         (cos_upward_test_data): Likewise.
59260         (cosh_test_data): Likewise.
59261         (cosh_tonearest_test_data): Likewise.
59262         (cosh_towardzero_test_data): Likewise.
59263         (cosh_downward_test_data): Likewise.
59264         (cosh_upward_test_data): Likewise.
59265         * sysdeps/i386/fpu/libm-test-ulps: Update.
59266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59268 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
59270         [BZ #6787]
59271         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
59272         * math/w_exp10f.c (__exp10f): Likewise.
59273         * math/w_exp10l.c (__exp10l): Likewise.
59274         * math/libm-test.inc (exp10_test_data): Add more tests and expect
59275         errno settings in existing tests.
59277         [BZ #14032]
59278         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
59279         precision control set to double precision.
59280         * sysdeps/i386/fpu/w_sqrt.c: New file.
59281         * math/auto-libm-test-in: Add more tests.
59282         * math/auto-libm-test-out: Update.
59284         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
59285         (sqrt_test_tonearest): New function.
59286         (sqrt_towardzero_test_data): New variable.
59287         (sqrt_test_towardzero): New function.
59288         (sqrt_downward_test_data): New variable.
59289         (sqrt_test_downward): New function.
59290         (sqrt_upward_test_data): New variable.
59291         (sqrt_test_upward): New function.
59292         (main): Call the new functions.
59294         * math/gen-auto-libm-tests.c: New file.
59295         * math/auto-libm-test-in: Likewise.
59296         * math/auto-libm-test-out: New generated file.
59297         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
59298         variables.
59299         (%beautify): Add generated representations of zero.
59300         (top level): Set $auto_input and call parse_auto_input.
59301         (beautify): Remove trailing "f" from hex float constants.
59302         (parse_args): Handle XFAIL_TEST.
59303         (convert_condition): New function.
59304         (or_value): Likewise.
59305         (or_cond_value): Likewise.
59306         (generate_testfile): Handle AUTO_TESTS_* lines.
59307         (parse_auto_input): New function.
59308         * math/libm-test.inc (XFAIL_TEST): New macro.
59309         (ERRNO_UNCHANGED): Update value.
59310         (ERRNO_EDOM): Likewise.
59311         (ERRNO_ERANGE): Likewise.
59312         (IGNORE_RESULT): Likewise.
59313         (TEST_COND_flt_32): New macro.
59314         (TEST_COND_dbl_64): Likewise.
59315         (TEST_COND_ldbl_96_intel): Likewise.
59316         (TEST_COND_ldbl_96_m68k): Likewise.
59317         (TEST_COND_ldbl_128): Likewise.
59318         (TEST_COND_ldbl_128ibm): Likewise.
59319         (TEST_COND_long32): Likewise.
59320         (TEST_COND_long64): Likewise.
59321         (TEST_COND_before_rounding): Likewise.
59322         (TEST_COND_after_rounding): Likewise.
59323         (enable_test): Handle XFAIL_TEST flag.
59324         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
59325         with finite results.
59326         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
59327         auto-libm-test-out.
59329 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59330             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59332         [BZ #16214]
59333         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
59334         __tls_get_addr_internal instead of __tls_get_offset in order to
59335         avoid GOT pointer dependency.  Make rtld export
59336         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
59337         __tls_get_addr since we are a __tls_get_offset platform.
59338         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
59339         GOT pointer being set up before.
59340         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
59342 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
59344         * manual/math.texi (Errors in Math Functions): Document accuracy
59345         goals.
59347         [BZ #15004]
59348         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
59349         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
59350         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59351         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59352         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59353         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59354         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59355         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
59356         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
59357         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59358         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59359         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59360         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59361         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59362         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59363         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
59365         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
59366         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
59367         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
59368         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
59369         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
59370         Likewise.
59371         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
59372         Likewise.
59373         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
59374         Likewise.
59375         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
59376         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
59377         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
59378         atomic-feupdateenv and flt-rounds.
59379         * sysdeps/powerpc/nofpu/Versions (libc): Add
59380         __atomic_feholdexcept, __atomic_feclearexcept,
59381         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
59382         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
59383         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
59384         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
59385         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59386         here.
59387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
59388         Update.
59390         * manual/arith.texi (FP Exceptions): Document that exceptions may
59391         not be raised when matherr is used.
59392         (Math Error Reporting): Document overflow in directed rounding
59393         modes.  Document that errno may not be set when finite values are
59394         returned on overflow.  Document intent to set errno on underflow
59395         only for underflow to zero.
59397         [BZ #16271]
59398         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
59399         round-to-nearest then adjust result for other rounding modes.
59400         * include/fenv.h (fegetround): Use libm_hidden_proto.
59401         * math/fegetround.c (fegetround): Use libm_hidden_def.
59402         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
59403         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
59404         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59405         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
59406         Likewise.
59407         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
59408         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59409         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
59410         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
59412 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59414         [BZ #16077]
59415         * nss/Versions (libnss_files): Add
59416         _nss_files_gethostbyname3_r.
59417         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
59418         New function.
59419         (HOST_DB_LOOKUP): Remove macro.
59420         (_nss_files_gethostbyname_r): Implement function without the
59421         HOST_DB_LOOKUP macro.
59422         (_nss_files_gethostbyname2_r): Likewise.
59424 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
59426         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
59428 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
59430         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
59431         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
59432         warning.
59434 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59436         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
59437         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
59438         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
59439         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
59440         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
59441         __fe_nomask_env_priv and attribute_hidden.
59442         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
59443         (libc_feupdateenv_test_ppc): Likewise.
59444         (libc_feresetround_ppc): Likewise.
59445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59446         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
59447         compat_symbol macro.
59448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59449         (__fe_nomask_env): Likewise.
59450         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
59452 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59454         * string/Makefile: Remove ifunc tests.
59455         * string/test-string.h: Define TEST_IFUNC.
59456         * string/test-bcopy-ifunc.c: Remove.
59457         * string/test-bzero-ifunc.c: Likewise.
59458         * string/test-memccpy-ifunc.c: Likewise.
59459         * string/test-memchr-ifunc.c: Likewise.
59460         * string/test-memcmp-ifunc.c: Likewise.
59461         * string/test-memcpy-ifunc.c: Likewise.
59462         * string/test-memmem-ifunc.c: Likewise.
59463         * string/test-memmove-ifunc.c: Likewise.
59464         * string/test-mempcpy-ifunc.c: Likewise.
59465         * string/test-memrchr-ifunc.c: Likewise.
59466         * string/test-memset-ifunc.c: Likewise.
59467         * string/test-rawmemchr-ifunc.c: Likewise.
59468         * string/test-stpcpy-ifunc.c: Likewise.
59469         * string/test-stpncpy-ifunc.c: Likewise.
59470         * string/test-strcasecmp-ifunc.c: Likewise.
59471         * string/test-strcasestr-ifunc.c: Likewise.
59472         * string/test-strcat-ifunc.c: Likewise.
59473         * string/test-strchr-ifunc.c: Likewise.
59474         * string/test-strchrnul-ifunc.c: Likewise.
59475         * string/test-strcmp-ifunc.c: Likewise.
59476         * string/test-strcpy-ifunc.c: Likewise.
59477         * string/test-strcspn-ifunc.c: Likewise.
59478         * string/test-strlen-ifunc.c: Likewise.
59479         * string/test-strncasecmp-ifunc.c: Likewise.
59480         * string/test-strncat-ifunc.c: Likewise.
59481         * string/test-strncmp-ifunc.c: Likewise.
59482         * string/test-strncpy-ifunc.c: Likewise.
59483         * string/test-strnlen-ifunc.c: Likewise.
59484         * string/test-strpbrk-ifunc.c: Likewise.
59485         * string/test-strrchr-ifunc.c: Likewise.
59486         * string/test-strspn-ifunc.c: Likewise.
59487         * string/test-strstr-ifunc.c: Likewise.
59489 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59491         * benchtests/Makefile: Remove ifunc tests.
59492         * benchtests/bench-string.h: Define TEST_IFUNC.
59493         * benchtests/bench-bcopy-ifunc.c: Remove.
59494         * benchtests/bench-bzero-ifunc.c: Likewise.
59495         * benchtests/bench-memccpy-ifunc.c: Likewise.
59496         * benchtests/bench-memchr-ifunc.c: Likewise.
59497         * benchtests/bench-memcmp-ifunc.c: Likewise.
59498         * benchtests/bench-memcpy-ifunc.c: Likewise.
59499         * benchtests/bench-memmem-ifunc.c: Likewise.
59500         * benchtests/bench-memmove-ifunc.c: Likewise.
59501         * benchtests/bench-mempcpy-ifunc.c: Likewise.
59502         * benchtests/bench-memrchr-ifunc.c: Likewise.
59503         * benchtests/bench-memset-ifunc.c: Likewise.
59504         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
59505         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
59506         * benchtests/bench-stpcpy-ifunc.c: Likewise.
59507         * benchtests/bench-stpncpy-ifunc.c: Likewise.
59508         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
59509         * benchtests/bench-strcasestr-ifunc.c: Likewise.
59510         * benchtests/bench-strcat-ifunc.c: Likewise.
59511         * benchtests/bench-strchr-ifunc.c: Likewise.
59512         * benchtests/bench-strchrnul-ifunc.c: Likewise.
59513         * benchtests/bench-strcmp-ifunc.c: Likewise.
59514         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
59515         * benchtests/bench-strcpy-ifunc.c: Likewise.
59516         * benchtests/bench-strcspn-ifunc.c: Likewise.
59517         * benchtests/bench-strlen-ifunc.c: Likewise.
59518         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
59519         * benchtests/bench-strncat-ifunc.c: Likewise.
59520         * benchtests/bench-strncmp-ifunc.c: Likewise.
59521         * benchtests/bench-strncpy-ifunc.c: Likewise.
59522         * benchtests/bench-strnlen-ifunc.c: Likewise.
59523         * benchtests/bench-strpbrk-ifunc.c: Likewise.
59524         * benchtests/bench-strrchr-ifunc.c: Likewise.
59525         * benchtests/bench-strsep-ifunc.c: Likewise.
59526         * benchtests/bench-strspn-ifunc.c: Likewise.
59527         * benchtests/bench-strstr-ifunc.c: Likewise.
59529 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59531         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
59533 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
59535         * resolv/netdb.h: Use __glibc_reserved instead __unused.
59536         * rt/aio.h: Likewise.
59537         * sysdeps/gnu/bits/utmp.h: Likewise.
59538         * sysdeps/gnu/bits/utmpx.h: Likewise.
59539         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59540         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
59541         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
59542         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
59543         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
59544         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
59545         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
59546         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
59547         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
59548         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
59549         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
59550         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
59551         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
59552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
59553         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59554         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
59555         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
59556         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
59557         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
59558         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
59559         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
59560         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
59561         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
59562         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
59563         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
59564         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59565         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
59566         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
59567         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
59568         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
59569         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
59570         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
59571         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
59572         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
59573         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
59574         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
59575         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
59576         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
59577         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
59578         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
59579         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
59580         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
59582 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
59584         [BZ #16245]
59585         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
59586         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
59588 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
59590         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
59591         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
59592         Likewise.
59594 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59596         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
59597         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
59598         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
59599         (__fesetround): Remove define.
59600         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
59601         rounding and exceptions handling.
59602         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
59603         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
59604         (__fe_nomask_env): Likewise.
59605         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
59606         __fegetround instead of fegetround.
59607         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
59608         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
59610 2013-11-21  Roland McGrath  <roland@hack.frob.com>
59612         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
59613         it's there.
59615         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
59617 2013-11-21  Meador Inge  <meadori@codesourcery.com>
59619         [BZ #11157]
59620         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
59621         (encrypt_r): Likewise.
59622         * malloc/obstack.h (obstack_free): Likewise.
59623         * posix/unistd.h (encrypt): Likewise.
59625 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
59627         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
59628         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
59629         DL_CALL_DT_FINI() that call the functions directly.
59630         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
59631         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
59632         * elf/dl-fini.c: Likewise.
59634 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
59636         * malloc/hooks.c (memalign_check): Add alignment rounding.
59637         * malloc/malloc.c (_mid_memalign): New function.
59638         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
59639         Implement by calling _mid_memalign.
59640         * manual/probes.texi (Memory Allocation Probes): Remove
59641         memory_valloc_retry and memory_pvalloc_retry.
59643 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59645         * locale/programs/locarchive.c (open_archive): Add const
59646         qualifier to ARCHIVEFNAME and copy default fname to
59647         DEFAULT_FNAME.
59649         [BZ #15601]
59650         * libio/tst-widetext.input: Rename Oriya to Odia.
59651         * locale/iso-639.def: Likewise.
59653         * manual/probes.texi (Mathematical Function Probes): Add
59654         documentation for sin, cos, asin and acos probes.
59655         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
59656         (__sin32): Add slowasin probe.
59657         (__cos32): Add slowacos probe.
59658         (__mpsin): Add slowsin probe.
59659         (__mpcos): Add slowcos probe.
59661 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
59663         [BZ #15483]
59664         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
59665         thread-local __sim_exceptions_thread and global
59666         __sim_exceptions_global.
59667         (__sim_disabled_exceptions): Change to thread-local
59668         __sim_disabled_exceptions_thread and global
59669         __sim_disabled_exceptions_global.
59670         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59671         and global __sim_round_mode_global.
59672         (__simulate_exceptions): Use thread-local floating-point state and
59673         set global state from it as needed.
59674         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
59675         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
59676         __sim_round_mode_thread.
59677         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
59678         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
59679         and global __sim_exceptions_global.
59680         (__sim_disabled_exceptions): Change to thread-local
59681         __sim_disabled_exceptions_thread and global
59682         __sim_disabled_exceptions_global.
59683         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59684         and global __sim_round_mode_global.
59685         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
59686         (SIM_SET_GLOBAL): Likewise.
59687         * sysdeps/powerpc/soft-fp/sfp-machine.h
59688         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
59689         __sim_round_mode_thread.
59690         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
59691         __sim_disabled_exceptions_thread.
59692         (__sim_exceptions): Change to __sim_exceptions_thread.
59693         (__sim_disabled_exceptions): Change to
59694         __sim_disabled_exceptions_thread.
59695         (__sim_round_mode): Change to __sim_round_mode_thread.
59696         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
59697         thread-local floating-point state and set global state from it as
59698         needed.
59699         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
59700         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
59701         (__sim_disabled_exceptions): Remove extern declaration.
59702         (feenableexcept): Use thread-local floating-point state and set
59703         global state from it as needed.
59704         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
59705         extern declaration.
59706         (__sim_disabled_exceptions): Likewise.
59707         (__sim_round_mode): Likewise.
59708         (__fegetenv): Use thread-local floating-point state.
59709         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
59710         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
59711         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
59712         floating-point state and set global state from it as needed.
59713         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
59714         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
59715         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
59716         Likewise.
59717         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
59718         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
59719         Likewise.
59720         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
59721         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
59722         Use __sim_round_mode_thread.
59723         * math/test-fenv-tls.c: New file.
59724         * math/Makefile (tests): Add test-fenv-tls.
59725         ($(objpfx)test-fenv-tls): Depend on
59726         $(common-objpfx)nptl/libpthread.so.
59728 2013-11-19  Andreas Schwab  <schwab@suse.de>
59730         * locale/programs/locale.c (show_info): Decode wordarray elements.
59731         * locale/categories.def (LC_MONETARY): Add element for
59732         _NL_MONETARY_CRNCYSTR.
59733         * locale/C-monetary.c (conversion_rate): New variable.
59734         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
59735         element.
59737 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
59739         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
59740         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
59742 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59744         * elf/Makefile (tst-auxv): New test.
59745         * elf/tst-auxv.c: New
59746         * elf/rtld.c (dl_main): Adjust AT_EXECFN
59748 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
59750         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
59751         (hidden_proto): Caller changed.
59752         (hidden_tls_proto): New macro.
59753         (libc_hidden_tls_proto): Likewise.
59754         (rtld_hidden_tls_proto): Likewise.
59755         (libm_hidden_tls_proto): Likewise.
59756         (libresolv_hidden_tls_proto): Likewise.
59757         (librt_hidden_tls_proto): Likewise.
59758         (libdl_hidden_tls_proto): Likewise.
59759         (libnss_files_hidden_tls_proto): Likewise.
59760         (libnsl_hidden_tls_proto): Likewise.
59761         (libnss_nisplus_hidden_tls_proto): Likewise.
59762         (libutil_hidden_tls_proto): Likewise.
59764 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
59766         [BZ #10253]
59767         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
59768         (decompose_rpath): Defer expansion to fillin_rpath.
59769         (_dl_init_paths): Pass linkmap to fillin_rpath.
59771 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59773         * benchtests/Makefile: Add strsep.
59774         * benchtests/bench-strsep.c: New file: strsep benchtest.
59775         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
59777 2013-11-18  Andreas Schwab  <schwab@suse.de>
59779         * locale/programs/locale.c (show_info) [case byte]: Check for
59780         '\377' instead of '\177'.
59781         * locale/C-monetary.c (not_available): Always use "\377".
59782         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
59783         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
59784         detect unavailable sign_posn locale elements.
59785         * locale/localeconv.c (__localeconv): For grouping and
59786         mon_grouping handle "\177" and "\377" like no grouping.
59787         (INT_ELEM): New macro.  Use it to set all numeric members.
59788         * locale/programs/ld-monetary.c (monetary_read)
59789         <tok_mon_grouping>: Normalize single -1 to the empty string.
59790         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
59791         Likewise.
59793 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
59795         [BZ #16055]
59796         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
59797         when we match (nil).
59798         * stdio-common/tst-sscanf.c (struct test): Add testcase.
59800 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
59802         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
59803         (NO_TEST_INLINE): Update value.
59804         (ERRNO_UNCHANGED): Likewise.
59805         (ERRNO_EDOM): Likewise.
59806         (ERRNO_ERANGE): Likewise.
59807         (IGNORE_RESULT): Likewise.
59808         (check_float_internal): Check signs of NaN results if
59809         TEST_NAN_SIGN used.
59810         (check_complex): Pass TEST_NAN_SIGN flag through to second
59811         check_float_internal call.
59812         (copysign_test_data): Add tests with quiet NaNs as second
59813         argument.  Use TEST_NAN_SIGN.
59814         (fabs_test_data): Add test of negative quiet NaN argument.  Use
59815         TEST_NAN_SIGN.
59816         (signbit_test_data): Add tests of quiet NaN argument.
59817         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
59819         * math/gen-libm-test.pl (show_exceptions): Take extra argument
59820         $ignore_result.
59821         (parse_args): Handle function results specified as IGNORE.
59822         * math/libm-test.inc (IGNORE_RESULT): New macro.
59823         (check_float_internal): Do not check numerical result if flag
59824         IGNORE_RESULT set.
59825         (check_complex): Pass through IGNORE_RESULT to second
59826         check_float_internal call.
59827         (check_int): Do not check numerical result if flag IGNORE_RESULT
59828         set.
59829         (check_long): Likewise.
59830         (check_bool): Likewise.
59831         (check_longlong): Likewise.
59832         (lrint_test_data): Add tests of infinite and NaN arguments.
59833         (lrint_tonearest_test_data): Likewise.
59834         (lrint_towardzero_test_data): Likewise.
59835         (lrint_downward_test_data): Likewise.
59836         (lrint_upward_test_data): Likewise.
59837         (llrint_test_data): Likewise.
59838         (llrint_tonearest_test_data): Likewise.
59839         (llrint_towardzero_test_data): Likewise.
59840         (llrint_downward_test_data): Likewise.
59841         (llrint_upward_test_data): Likewise.
59842         (lround_test_data): Likewise.
59843         (llround_test_data): Likewise.
59845         * math/libm-test.inc (NO_TEST_INLINE): New macro.
59846         (ERRNO_UNCHANGED): Update value.
59847         (ERRNO_EDOM): Likewise.
59848         (ERRNO_ERANGE): Likewise.
59849         (NO_TEST_INLINE_FLOAT): New macro.
59850         (NO_TEST_INLINE_DOUBLE): Likewise.
59851         (enable_test): New function.
59852         (RUN_TEST_f_f): Check enable_test before running test.
59853         (RUN_TEST_2_f): Likewise.
59854         (RUN_TEST_fff_f): Likewise.
59855         (RUN_TEST_c_f): Likewise.
59856         (RUN_TEST_f_f1): Likewise.
59857         (RUN_TEST_fF_f1): Likewise.
59858         (RUN_TEST_fI_f1): Likewise.
59859         (RUN_TEST_ffI_f1): Likewise.
59860         (RUN_TEST_c_c): Likewise.
59861         (RUN_TEST_cc_c): Likewise.
59862         (RUN_TEST_f_i): Likewise.
59863         (RUN_TEST_f_i_tg): Likewise.
59864         (RUN_TEST_ff_i_tg): Likewise.
59865         (RUN_TEST_f_b): Likewise.
59866         (RUN_TEST_f_b_tg): Likewise.
59867         (RUN_TEST_f_l): Likewise.
59868         (RUN_TEST_f_L): Likewise.
59869         (RUN_TEST_fFF_11): Likewise.
59870         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
59871         conditionals.
59872         (cosh_test_data): Likewise.
59873         (exp_test_data): Likewise.
59874         (expm1_test_data): Likewise.
59875         (hypot_test_data): Likewise.
59876         (pow_test_data): Likewise.
59877         (sinh_test_data): Likewise.
59878         (tanh_test_data): Likewise.
59879         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
59880         flags argument.
59882         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
59883         tests with quiet NaN input and output.
59884         (acosh_test_data): Likewise.
59885         (asin_test_data): Likewise.
59886         (asinh_test_data): Likewise.
59887         (atan_test_data): Likewise.
59888         (atanh_test_data): Likewise.
59889         (atan2_test_data): Likewise.
59890         (cbrt_test_data): Likewise.
59891         (cos_test_data): Likewise.
59892         (cosh_test_data): Likewise.
59893         (erf_test_data): Likewise.
59894         (erfc_test_data): Likewise.
59895         (exp_test_data): Likewise.
59896         (exp10_test_data): Likewise.
59897         (exp2_test_data): Likewise.
59898         (expm1_test_data): Likewise.
59899         (hypot_test_data): Likewise.
59900         (j0_test_data): Likewise.
59901         (j1_test_data): Likewise.
59902         (jn_test_data): Likewise.
59903         (lgamma_test_data): Likewise.
59904         (log_test_data): Likewise.
59905         (log10_test_data): Likewise.
59906         (log1p_test_data): Likewise.
59907         (log2_test_data): Likewise.
59908         (pow_test_data): Likewise.
59909         (scalb_test_data): Likewise.
59910         (sin_test_data): Likewise.
59911         (sincos_test_data): Likewise.
59912         (sinh_test_data): Likewise.
59913         (tan_test_data): Likewise.
59914         (tanh_test_data): Likewise.
59915         (tgamma_test_data): Likewise.
59916         (y0_test_data): Likewise.
59917         (y1_test_data): Likewise.
59918         (yn_test_data): Likewise.
59920         [BZ #16167]
59921         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
59922         argument being NaN and avoid computations with second argument in
59923         that case.
59924         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
59925         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
59926         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
59928 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
59930         * locale/iso-639.def: Add Chitwani Tharu (the).
59932 2013-11-14  Andreas Schwab  <schwab@suse.de>
59934         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
59935         word instead of empty string.
59937 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59940         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
59941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59942         (__fe_nomask_env): Likewise.
59944 2013-11-13  Steve Ellcey  <sellcey@mips.com>
59946         * benchtests/bench-timing.h: Include time.h.
59948 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
59950         [BZ #15997]
59951         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
59952         to 3.4.0 for x32.
59953         * sysdeps/unix/sysv/linux/configure: Regenerated.
59955 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
59957         [BZ #16151]
59958         * stdlib/strtod_l.c (round_and_return): Do not consider
59959         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
59960         exponent one less than half the least subnormal exponent.
59961         * stdlib/test-strtod-round-data: Add more tests.
59962         * stdlib/tst-strtod-round.c (tests): Regenerated.
59964 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59966         [BZ #14143]
59967         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
59968         (__fe_mask_env): Likewise.
59969         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
59970         libm_hidden_proto and add function prototype.
59971         (__fe_mask_env): Add function prototype.
59972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
59973         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
59974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
59975         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
59977         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
59979 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59981         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
59982         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
59984 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59986         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
59987         of htab_find_slot().
59989 2013-11-11  David S. Miller  <davem@davemloft.net>
59991         [BZ #16150]
59992         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
59993         symbol in the non-vis3 case in static builds.
59994         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59995         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
59996         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
59997         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
59999 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
60001         [BZ #387]
60002         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
60003         it is empty.
60005 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60007         * benchtests/Makefile: Add bench-strtod.
60008         * benchtests/bench-strtod.c: New file: strtod benchtest
60010 2013-11-11  Andreas Schwab  <schwab@suse.de>
60012         [BZ #16153]
60013         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60014         terminating NUL in key length.
60016 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60018         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60019         Add artificial ODP entry for vDSO symbol for PPC64.
60020         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60021         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60023 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60025         [BZ #15374]
60026         * nss/getent.c (services_keys): Recognize services starting with digit.
60028 2013-11-06  David S. Miller  <davem@davemloft.net>
60030         [BZ #15985]
60031         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60032         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60034 2013-11-06  Will Newton  <will.newton@linaro.org>
60036         * manual/memory.texi (Malloc Examples): Remove register
60037         keyword from examples.
60039 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
60041         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60043 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
60045         [BZ #6981]
60046         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60047         depending on [__GCC_IEC_559 > 0].
60048         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60049         depending on [__GCC_IEC_559_COMPLEX > 0].
60051 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
60053         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60054         to iso-639.def.
60056 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
60058         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60060 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
60062         [BZ #16112]
60063         * malloc/malloc (malloc_info): Do not handle first bin as
60064         special case.
60066 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
60068         * locale/iso-639.def: Add Central Nahuatl (nhn).
60070 2013-11-01  Bruno Haible  <bruno@clisp.org>
60072         [BZ #7003]
60073         * manual/math.texi (BSD Random): Specify range upper bound as
60074         in POSIX.
60076 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
60078         * locale/iso-639.def: Add Meadow Mari (mhr).
60080 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
60082         [BZ #14752], [BZ #15763]
60083         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
60084         Validate name.
60085         * rt/tst_shm.c: Add test for escaping directory.
60087 2013-10-31  Andreas Schwab  <schwab@suse.de>
60089         [BZ #15917]
60090         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
60091         followed by 'x' as part of digit sequence.
60092         * stdio-common/tst-sscanf.c (double_tests2): New tests.
60094 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
60096         [BZ #16037]
60097         * configure.ac: allow GNU Make 4.0 and greater.
60098         * configure: Regenerated.
60100 2013-10-30  Will Newton  <will.newton@linaro.org>
60102         [BZ #16038]
60103         * malloc/hooks.c (memalign_check): Limit alignment to the
60104         maximum representable power of two.
60105         * malloc/malloc.c (__libc_memalign): Likewise.
60106         * malloc/tst-memalign.c (do_test): Add test for very
60107         large alignment values.
60108         * malloc/tst-posix_memalign.c (do_test): Likewise.
60110 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60112         [BZ #11087]
60113         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
60114         (munmap_chunk): Likewise.
60115         (mremap_chunk): Likewise.
60117 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
60119         [BZ #15799]
60120         * stdlib/div.c (div): Remove obsolete code.
60121         * stdlib/ldiv.c (ldiv): Likewise.
60122         * stdlib/lldiv.c (lldiv): Likewise.
60124 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60126         [BZ #16071]
60127         * nss/nss_files/files-XXX.c (get_contents_ret): New
60128         enumerator.
60129         (get_contents): New function.
60130         (internal_getent): Use it.  Expand size of LINEBUFLEN.
60132 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
60134         * configure.in: Moved to ...
60135         * configure.ac: ... here. Change reference to configure.in
60136         to configure.ac.
60137         * sysdeps/arm/preconfigure.ac: ... here.
60138         configure.in to configure.ac.
60139         * sysdeps/gnu/configure.in: Moved to ...
60140         * sysdeps/gnu/configure.ac: ... here.
60141         * sysdeps/i386/configure.in: Moved to ...
60142         * sysdeps/i386/configure.ac: ... here.
60143         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
60144         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
60145         * sysdeps/mach/configure.in: Moved to ...
60146         * sysdeps/mach/configure.ac: ... here.
60147         * sysdeps/mach/hurd/configure.in: Moved to ...
60148         * sysdeps/mach/hurd/configure.ac: ... here.
60149         * sysdeps/powerpc/configure.in: Moved to ...
60150         * sysdeps/powerpc/configure.ac: ... here.
60151         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
60152         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
60153         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
60154         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
60155         * sysdeps/s390/s390-32/configure.in: Moved to ...
60156         * sysdeps/s390/s390-32/configure.ac: ... here.
60157         * sysdeps/s390/s390-64/configure.in: Moved to ...
60158         * sysdeps/s390/s390-64/configure.ac: ... here.
60159         * sysdeps/sh/configure.in: Moved to ...
60160         * sysdeps/sh/configure.ac: ... here.
60161         * sysdeps/sparc/configure.in: Moved to ...
60162         * sysdeps/sparc/configure.ac: ... here.
60163         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
60164         * sysdeps/unix/sysv/linux/configure.ac: ... here.
60165         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
60166         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
60167         * sysdeps/x86_64/configure.in: Moved to ...
60168         * sysdeps/x86_64/configure.ac: ... here.
60169         * sysdeps/x86_64/preconfigure.in: Moved to ...
60170         * sysdeps/x86_64/preconfigure.ac: ... here.
60171         * aclocal.m4: Change reference to configure.in to configure.ac.
60172         * config.h.in: Likewise.
60173         * manual/install.texi: Likewise.
60174         * manual/maint.texi: Likewise.
60175         * Makefile: Likewise.
60176         * malloc/Makefile: Likewise.
60177         * nscd/Makefile: Likewise.
60178         * Makeconfig: Change reference to configure.in and
60179         preconfigure.in to configure.ac and preconfigure.ac
60180         respectively.
60181         * INSTALL: Regenerated.
60182         * configure: Likewise.
60183         * sysdeps/gnu/configure: Likewise.
60184         * sysdeps/i386/configure: Likewise.
60185         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
60186         * sysdeps/mach/configure: Likewise.
60187         * sysdeps/mach/hurd/configure: Likewise.
60188         * sysdeps/powerpc/configure: Likewise.
60189         * sysdeps/powerpc/powerpc32/configure: Likewise.
60190         * sysdeps/powerpc/powerpc64/configure: Likewise.
60191         * sysdeps/s390/s390-32/configure: Likewise.
60192         * sysdeps/s390/s390-64/configure: Likewise.
60193         * sysdeps/sh/configure: Likewise.
60194         * sysdeps/sparc/configure: Likewise.
60195         * sysdeps/unix/sysv/linux/configure: Likewise.
60196         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
60197         * sysdeps/x86_64/configure: Likewise.
60198         * sysdeps/x86_64/preconfigure: Likewise.
60200 2013-10-29  Andreas Schwab  <schwab@suse.de>
60202         * stdio-common/Makefile (tst-swscanf-ENV): Define.
60204 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60206         * benchtests/pow-inputs: Add new inputs.
60208         * benchtests/exp-inputs: Add new inputs.
60210         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
60211         conditional check for return value.
60212         (__cos32): Likewise.
60214 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60216         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
60217         to provide a boost for large inputs with word alignment.
60218         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
60219         implementation based on optimized PPC64 strcpy.
60220         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
60221         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
60222         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
60223         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
60225 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60227         [BZ #2801]
60228         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
60230 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60232         [BZ #14876]
60233         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
60234         * time/tst-strptime.c (day_tests): Add testcase.
60236 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
60238         [BZ #14029]
60239         * manual/pattern.texi: Acknowledge that fnmatch can fail.
60241 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
60243         [BZ #16074]
60244         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
60245         MAP_FAILED on error.
60247 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60249         [BZ #16072]
60250         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
60251         heap for large requests.
60253 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
60255         [BZ #9954]
60256         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
60257         result if the result has no associated interface.
60258         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
60259         interface for all 127.X.Y.Z addresses.
60261 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
60263         * locale/iso-639.def: Add Ligurian (lij)
60265 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
60267         [BZ #15825]
60268         * sunrpc/rpc_main.c: Document rpcgen -5.
60270 2013-10-19  Michael Stahl  <mstahl@redhat.com>
60272         * elf/rtld.c (do_preload): Print the reason why preloading failed.
60274 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60276         [BZ #10278]
60277         * posix/glob.c: Match only directories when trailing slash is present.
60278         * posix/tst-gnuglob.c (my_opendir): Do not open files.
60279         (main): Add testcase.
60281 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
60283         [BZ #15670]
60284         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
60286 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
60288         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
60289         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
60290         AUTH_DES and cindex for FIPS 140-2.
60291         (DES Encryption): Add cindex FIPS 46-3.
60293         * locale/locarchive.h (struct locarhandle): Add fname.
60294         * locale/programs/localedef.c (main): Pass ARGV[remaining]
60295         if an optional argument was specified to --list-archive,
60296         otherwise NULL.
60297         * locale/programs/locarchive.c (show_archive_content): Take new
60298         argument fname and pass it via ah.fname to open_archive.
60299         * locale/programs/localedef.h: Update decl.
60300         (open_archive): If AH->fname is non-null, open that file
60301         rather than the default file name, and don't ignore ENOENT.
60302         (create_archive): Set AH.fname to NULL.
60303         (delete_locales_from_archive): Likewise.
60304         (add_locales_to_archive): Likewise.
60305         * locale/programs/locfile.c (write_all_categories): Likewise.
60307 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
60308             Aldy Hernandez  <aldyh@redhat.com>
60310         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
60311         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
60312         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
60313         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
60314         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
60315         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
60316         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
60317         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
60318         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
60319         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
60320         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
60321         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
60322         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
60323         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
60324         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
60325         Likewise.
60326         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
60327         Likewise.
60328         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
60329         Likewise.
60330         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
60331         Likewise.
60332         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
60333         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
60334         Likewise.
60335         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
60336         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
60337         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
60338         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
60339         Likewise.
60340         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
60341         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
60342         * sysdeps/powerpc/preconfigure: Likewise.
60343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
60344         Likewise.
60345         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
60346         Replace contents of file by #include of <fenv_libc.h>.
60347         * sysdeps/powerpc/soft-fp/sfp-machine.h
60348         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
60349         and <sys/prctl.h>.
60350         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
60351         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
60352         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
60353         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
60354         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
60355         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
60356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
60357         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
60358         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
60359         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
60360         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
60361         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
60362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
60363         Allow copysignl PLT reference to be missing.
60365 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
60366             Joseph Myers  <joseph@codesourcery.com
60368         [BZ #15948]
60369         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
60370         single character.
60371         (add_to_tablewc): Assert sequence of wide characters is nonempty.
60373 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60375         * elf/tst-tls-dlinfo.c: Don't include tls.h.
60376         * elf/tst-tls1.c: Likewise.
60377         * elf/tst-tls10.h: Likewise.
60378         * elf/tst-tls14.c: Likewise.
60379         * elf/tst-tls2.c: Likewise.
60380         * elf/tst-tls3.c: Likewise.
60381         * elf/tst-tls4.c: Likewise.
60382         * elf/tst-tls5.c: Likewise.
60383         * elf/tst-tls6.c: Likewise.
60384         * elf/tst-tls7.c: Likewise.
60385         * elf/tst-tls8.c: Likewise.
60386         * elf/tst-tls9.c: Likewise.
60387         * elf/tst-tlsmod1.c: Likewise.
60388         * elf/tst-tlsmod13.c: Likewise.
60389         * elf/tst-tlsmod13a.c: Likewise.
60390         * elf/tst-tlsmod14a.c: Likewise.
60391         * elf/tst-tlsmod16a.c: Likewise.
60392         * elf/tst-tlsmod16b.c: Likewise.
60393         * elf/tst-tlsmod2.c: Likewise.
60394         * elf/tst-tlsmod3.c: Likewise.
60395         * elf/tst-tlsmod4.c: Likewise.
60396         * elf/tst-tlsmod5.c: Likewise.
60397         * elf/tst-tlsmod6.c: Likewise.
60399 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
60401         [BZ #12486]
60402         * malloc/malloc.c: remove checks for statistics.
60404 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60406         [BZ #15277]
60407         * inet/inet_net.c (inet_network): Detect additional invalid strings.
60408         * inet/tst-network.c: Add testcase.
60410 2013-10-17  Andreas Schwab  <schwab@suse.de>
60412         [BZ #15218]
60413         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
60414         to determine canonical name.
60416 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
60418         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
60419         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
60420         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60421         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60422         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60423         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60424         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60425         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60426         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60427         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60428         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
60429         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60430         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60431         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60432         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60433         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60434         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60435         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60436         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60437         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60438         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60439         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60440         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60441         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
60442         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
60443         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
60444         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
60445         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
60446         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
60447         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
60448         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60449         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60450         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60451         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60452         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60453         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60454         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60455         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60456         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60457         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60458         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60459         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60460         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60461         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60462         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60463         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60464         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60465         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60466         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60467         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60468         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60469         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60470         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60471         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60472         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60473         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60474         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60475         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60477 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
60479         [BZ #16041]
60480         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
60481         make result into a quiet NaN.
60483 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
60485         * soft-fp/adddf3.c: Fix horizontal whitespace.
60486         * soft-fp/addsf3.c: Likewise.
60487         * soft-fp/addtf3.c: Likewise.
60488         * soft-fp/divdf3.c: Likewise.
60489         * soft-fp/divsf3.c: Likewise.
60490         * soft-fp/divtf3.c: Likewise.
60491         * soft-fp/double.h: Likewise.
60492         * soft-fp/eqdf2.c: Likewise.
60493         * soft-fp/eqsf2.c: Likewise.
60494         * soft-fp/eqtf2.c: Likewise.
60495         * soft-fp/extenddftf2.c: Likewise.
60496         * soft-fp/extended.h: Likewise.
60497         * soft-fp/extendsfdf2.c: Likewise.
60498         * soft-fp/extendsftf2.c: Likewise.
60499         * soft-fp/extendxftf2.c: Likewise.
60500         * soft-fp/fixdfdi.c: Likewise.
60501         * soft-fp/fixdfsi.c: Likewise.
60502         * soft-fp/fixdfti.c: Likewise.
60503         * soft-fp/fixsfdi.c: Likewise.
60504         * soft-fp/fixsfsi.c: Likewise.
60505         * soft-fp/fixsfti.c: Likewise.
60506         * soft-fp/fixtfdi.c: Likewise.
60507         * soft-fp/fixtfsi.c: Likewise.
60508         * soft-fp/fixtfti.c: Likewise.
60509         * soft-fp/fixunsdfdi.c: Likewise.
60510         * soft-fp/fixunsdfsi.c: Likewise.
60511         * soft-fp/fixunsdfti.c: Likewise.
60512         * soft-fp/fixunssfdi.c: Likewise.
60513         * soft-fp/fixunssfsi.c: Likewise.
60514         * soft-fp/fixunssfti.c: Likewise.
60515         * soft-fp/fixunstfdi.c: Likewise.
60516         * soft-fp/fixunstfsi.c: Likewise.
60517         * soft-fp/fixunstfti.c: Likewise.
60518         * soft-fp/floatdidf.c: Likewise.
60519         * soft-fp/floatdisf.c: Likewise.
60520         * soft-fp/floatditf.c: Likewise.
60521         * soft-fp/floatsidf.c: Likewise.
60522         * soft-fp/floatsisf.c: Likewise.
60523         * soft-fp/floatsitf.c: Likewise.
60524         * soft-fp/floattidf.c: Likewise.
60525         * soft-fp/floattisf.c: Likewise.
60526         * soft-fp/floattitf.c: Likewise.
60527         * soft-fp/floatundidf.c: Likewise.
60528         * soft-fp/floatundisf.c: Likewise.
60529         * soft-fp/floatunditf.c: Likewise.
60530         * soft-fp/floatunsidf.c: Likewise.
60531         * soft-fp/floatunsisf.c: Likewise.
60532         * soft-fp/floatunsitf.c: Likewise.
60533         * soft-fp/floatuntidf.c: Likewise.
60534         * soft-fp/floatuntisf.c: Likewise.
60535         * soft-fp/floatuntitf.c: Likewise.
60536         * soft-fp/fmadf4.c: Likewise.
60537         * soft-fp/fmasf4.c: Likewise.
60538         * soft-fp/fmatf4.c: Likewise.
60539         * soft-fp/gedf2.c: Likewise.
60540         * soft-fp/gesf2.c: Likewise.
60541         * soft-fp/getf2.c: Likewise.
60542         * soft-fp/ledf2.c: Likewise.
60543         * soft-fp/lesf2.c: Likewise.
60544         * soft-fp/letf2.c: Likewise.
60545         * soft-fp/muldf3.c: Likewise.
60546         * soft-fp/mulsf3.c: Likewise.
60547         * soft-fp/multf3.c: Likewise.
60548         * soft-fp/negdf2.c: Likewise.
60549         * soft-fp/negsf2.c: Likewise.
60550         * soft-fp/negtf2.c: Likewise.
60551         * soft-fp/op-1.h: Likewise.
60552         * soft-fp/op-2.h: Likewise.
60553         * soft-fp/op-4.h: Likewise.
60554         * soft-fp/op-8.h: Likewise.
60555         * soft-fp/op-common.h: Likewise.
60556         * soft-fp/quad.h: Likewise.
60557         * soft-fp/single.h: Likewise.
60558         * soft-fp/soft-fp.h: Likewise.
60559         * soft-fp/sqrtdf2.c: Likewise.
60560         * soft-fp/sqrtsf2.c: Likewise.
60561         * soft-fp/sqrttf2.c: Likewise.
60562         * soft-fp/subdf3.c: Likewise.
60563         * soft-fp/subsf3.c: Likewise.
60564         * soft-fp/subtf3.c: Likewise.
60565         * soft-fp/truncdfsf2.c: Likewise.
60566         * soft-fp/trunctfdf2.c: Likewise.
60567         * soft-fp/trunctfsf2.c: Likewise.
60568         * soft-fp/trunctfxf2.c: Likewise.
60569         * soft-fp/unorddf2.c: Likewise.
60570         * soft-fp/unordsf2.c: Likewise.
60571         * soft-fp/unordtf2.c: Likewise.
60573 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
60575         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
60576         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
60578 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
60580         * elf/dl-libc.c: Clear initfini list after freeing.
60582 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
60584         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
60585         * soft-fp/addsf3.c: Likewise.
60586         * soft-fp/addtf3.c: Likewise.
60587         * soft-fp/divdf3.c: Likewise.
60588         * soft-fp/divsf3.c: Likewise.
60589         * soft-fp/divtf3.c: Likewise.
60590         * soft-fp/double.h: Likewise.
60591         * soft-fp/eqdf2.c: Likewise.
60592         * soft-fp/eqsf2.c: Likewise.
60593         * soft-fp/eqtf2.c: Likewise.
60594         * soft-fp/extenddftf2.c: Likewise.
60595         * soft-fp/extended.h: Likewise.
60596         * soft-fp/extendsfdf2.c: Likewise.
60597         * soft-fp/extendsftf2.c: Likewise.
60598         * soft-fp/extendxftf2.c: Likewise.
60599         * soft-fp/fixdfdi.c: Likewise.
60600         * soft-fp/fixdfsi.c: Likewise.
60601         * soft-fp/fixdfti.c: Likewise.
60602         * soft-fp/fixsfdi.c: Likewise.
60603         * soft-fp/fixsfsi.c: Likewise.
60604         * soft-fp/fixsfti.c: Likewise.
60605         * soft-fp/fixtfdi.c: Likewise.
60606         * soft-fp/fixtfsi.c: Likewise.
60607         * soft-fp/fixtfti.c: Likewise.
60608         * soft-fp/fixunsdfdi.c: Likewise.
60609         * soft-fp/fixunsdfsi.c: Likewise.
60610         * soft-fp/fixunsdfti.c: Likewise.
60611         * soft-fp/fixunssfdi.c: Likewise.
60612         * soft-fp/fixunssfsi.c: Likewise.
60613         * soft-fp/fixunssfti.c: Likewise.
60614         * soft-fp/fixunstfdi.c: Likewise.
60615         * soft-fp/fixunstfsi.c: Likewise.
60616         * soft-fp/fixunstfti.c: Likewise.
60617         * soft-fp/floatdidf.c: Likewise.
60618         * soft-fp/floatdisf.c: Likewise.
60619         * soft-fp/floatditf.c: Likewise.
60620         * soft-fp/floatsidf.c: Likewise.
60621         * soft-fp/floatsisf.c: Likewise.
60622         * soft-fp/floatsitf.c: Likewise.
60623         * soft-fp/floattidf.c: Likewise.
60624         * soft-fp/floattisf.c: Likewise.
60625         * soft-fp/floattitf.c: Likewise.
60626         * soft-fp/floatundidf.c: Likewise.
60627         * soft-fp/floatundisf.c: Likewise.
60628         * soft-fp/floatunsidf.c: Likewise.
60629         * soft-fp/floatunsisf.c: Likewise.
60630         * soft-fp/floatuntidf.c: Likewise.
60631         * soft-fp/floatuntisf.c: Likewise.
60632         * soft-fp/floatuntitf.c: Likewise.
60633         * soft-fp/fmadf4.c: Likewise.
60634         * soft-fp/fmasf4.c: Likewise.
60635         * soft-fp/fmatf4.c: Likewise.
60636         * soft-fp/gedf2.c: Likewise.
60637         * soft-fp/gesf2.c: Likewise.
60638         * soft-fp/getf2.c: Likewise.
60639         * soft-fp/ledf2.c: Likewise.
60640         * soft-fp/lesf2.c: Likewise.
60641         * soft-fp/letf2.c: Likewise.
60642         * soft-fp/muldf3.c: Likewise.
60643         * soft-fp/mulsf3.c: Likewise.
60644         * soft-fp/multf3.c: Likewise.
60645         * soft-fp/negdf2.c: Likewise.
60646         * soft-fp/negsf2.c: Likewise.
60647         * soft-fp/negtf2.c: Likewise.
60648         * soft-fp/op-1.h: Likewise.
60649         * soft-fp/op-2.h: Likewise.
60650         * soft-fp/op-4.h: Likewise.
60651         * soft-fp/op-8.h: Likewise.
60652         * soft-fp/op-common.h: Likewise.
60653         * soft-fp/quad.h: Likewise.
60654         * soft-fp/single.h: Likewise.
60655         * soft-fp/soft-fp.h: Likewise.
60656         * soft-fp/sqrtdf2.c: Likewise.
60657         * soft-fp/sqrtsf2.c: Likewise.
60658         * soft-fp/sqrttf2.c: Likewise.
60659         * soft-fp/subdf3.c: Likewise.
60660         * soft-fp/subsf3.c: Likewise.
60661         * soft-fp/subtf3.c: Likewise.
60662         * soft-fp/truncdfsf2.c: Likewise.
60663         * soft-fp/trunctfdf2.c: Likewise.
60664         * soft-fp/trunctfsf2.c: Likewise.
60665         * soft-fp/trunctfxf2.c: Likewise.
60666         * soft-fp/unorddf2.c: Likewise.
60667         * soft-fp/unordsf2.c: Likewise.
60668         * soft-fp/unordtf2.c: Likewise.
60670 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
60672         [BZ #15672]
60673         * misc/error.c (error_tail): Fix possible buffer overflow.
60675 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
60677         [BZ #13028]
60678         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
60679         address.
60681 2013-10-14  P. J. McDermott  <pj@pehjota.net>
60683         [BZ #832]
60684         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
60685         testing pipefail option.
60687 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60689         * soft-fp/double.h: Indent preprocessor directives inside #if.
60690         * soft-fp/extended.h: Likewise.
60691         * soft-fp/op-2.h: Likewise.
60692         * soft-fp/op-4.h: Likewise.
60693         * soft-fp/op-common.h: Likewise.
60694         * soft-fp/quad.h: Likewise.
60695         * soft-fp/single.h: Likewise.
60696         * soft-fp/soft-fp.h: Likewise.
60698 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
60700         * iconv/iconv_prog.c: Fix typos.
60701         * stdio-common/psiginfo-data.h: Likewise.
60703 2013-10-12   Reuben Thomas <rrt@sc3d.org>
60705         [BZ #15764]
60706         * locale/setlocale.c: Fix typo.
60708 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
60710         [BZ #16036]
60711         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
60712         signaling NaN arguments.
60713         * soft-fp/unordsf2.c (__unordsf2): Likewise.
60714         * soft-fp/unordtf2.c (__unordtf2): Likewise.
60716         [BZ #14910]
60717         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
60718         unordered operands.
60719         * soft-fp/gesf2.c (__gesf2): Likewise.
60720         * soft-fp/getf2.c (__getf2): Likewise.
60721         * soft-fp/ledf2.c (__ledf2): Likewise.
60722         * soft-fp/lesf2.c (__lesf2): Likewise.
60723         * soft-fp/letf2.c (__letf2): Likewise.
60725         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
60726         * soft-fp/eqsf2.c (__eqsf2): Likewise.
60727         * soft-fp/eqtf2.c (__eqtf2): Likewise.
60728         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
60729         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
60730         * soft-fp/fixdfti.c (__fixdfti): Likewise.
60731         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
60732         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
60733         * soft-fp/fixsfti.c (__fixsfti): Likewise.
60734         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
60735         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
60736         * soft-fp/fixtfti.c (__fixtfti): Likewise.
60737         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
60738         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
60739         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
60740         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
60741         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
60742         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
60743         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
60744         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
60745         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
60746         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
60747         * soft-fp/floatdisf.c (__floatdisf): Likewise.
60748         * soft-fp/floatsisf.c (__floatsisf): Likewise.
60749         * soft-fp/floattidf.c (__floattidf): Likewise.
60750         * soft-fp/floattisf.c (__floattisf): Likewise.
60751         * soft-fp/floattitf.c (__floattitf): Likewise.
60752         * soft-fp/floatundidf.c (__floatundidf): Likewise.
60753         * soft-fp/floatundisf.c (__floatundisf): Likewise.
60754         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
60755         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
60756         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
60757         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
60758         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
60759         * soft-fp/gesf2.c (__gesf2): Likewise.
60760         * soft-fp/getf2.c (__getf2): Likewise.
60761         * soft-fp/ledf2.c (__ledf2): Likewise.
60762         * soft-fp/lesf2.c (__lesf2): Likewise.
60763         * soft-fp/letf2.c (__letf2): Likewise.
60765         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
60766         Undefine and redefine.
60767         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
60768         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
60769         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
60770         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
60771         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60772         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
60773         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60774         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
60775         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60776         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
60777         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60778         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
60779         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60780         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
60781         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
60783         [BZ #16032]
60784         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
60785         without decrementing exponent if mantissa >= that for the
60786         denominator, not >.
60787         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
60788         denominator, not >.  Decrement exponent in < case instead of
60789         incrementing in >= case.
60790         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
60791         without decrementing exponent if mantissa >= that for the
60792         denominator, not >.
60794         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
60795         computing saturated result for unsigned overflow.
60797 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60798             Jeff Law  <law@redhat.com>
60800         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
60801         (atan2Mp): Add systemtap probe marker.
60802         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
60803         (__ieee754_log): Add systemtap probe marker.
60804         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
60805         (atanMp): Add systemtap probe marker.
60806         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
60807         (tanMp): Add systemtap probe marker.
60808         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
60809         (__slowexp): Add systemtap probe marker.
60810         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
60811         (__slowpow): Add systemtap probe marker.
60812         * manual/probes.texi: Document probes.
60814 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
60816         [BZ #15362]
60817         * libio/fileops.c (_IO_new_file_write): Return count of bytes
60818         written.
60819         (_IO_new_file_xsputn): Don't return EOF if nothing has been
60820         written.
60821         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
60822         written to buffer but not flushed.
60823         * libio/iofwrite_u.c:  Likewise.
60824         * libio/iopadn.c:  Return bytes returned even if EOF was
60825         encountered.
60826         * libio/iowpadn.c:  Likewise.
60827         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
60828         if _IO_padn does not write the whole buffer.
60829         [!COMPILE_WPRINTF] (PAD): Likewise.
60831 2013-10-10  David S. Miller  <davem@davemloft.net>
60833         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
60834         directory block.
60836 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60838         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
60839         instead of FSF address.
60840         * soft-fp/fixdfti.c: Likewise.
60841         * soft-fp/fixsfti.c: Likewise.
60842         * soft-fp/fixtfti.c: Likewise.
60843         * soft-fp/fixunsdfti.c: Likewise.
60844         * soft-fp/fixunssfti.c: Likewise.
60845         * soft-fp/fixunstfti.c: Likewise.
60846         * soft-fp/floattidf.c: Likewise.
60847         * soft-fp/floattisf.c: Likewise.
60848         * soft-fp/floattitf.c: Likewise.
60849         * soft-fp/floatuntidf.c: Likewise.
60850         * soft-fp/floatuntisf.c: Likewise.
60851         * soft-fp/floatuntitf.c: Likewise.
60852         * soft-fp/trunctfxf2.c: Likewise.
60854         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
60855         * soft-fp/fixdfti.c: Likewise.
60856         * soft-fp/fixsfti.c: Likewise.
60857         * soft-fp/fixtfti.c: Likewise.
60858         * soft-fp/fixunsdfti.c: Likewise.
60859         * soft-fp/fixunssfti.c: Likewise.
60860         * soft-fp/fixunstfti.c: Likewise.
60861         * soft-fp/floattidf.c: Likewise.
60862         * soft-fp/floattisf.c: Likewise.
60863         * soft-fp/floattitf.c: Likewise.
60864         * soft-fp/floatuntidf.c: Likewise.
60865         * soft-fp/floatuntisf.c: Likewise.
60866         * soft-fp/floatuntitf.c: Likewise.
60867         * soft-fp/trunctfxf2.c: Likewise.
60869 2013-10-10  David S. Miller  <davem@davemloft.net>
60871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60873 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
60875         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
60876         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
60877         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
60878         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
60879         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
60880         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
60881         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
60883         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
60884         for NaNs before doing comparisons on argument.
60885         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
60886         Likewise.
60888 2013-10-10  Will Newton  <will.newton@linaro.org>
60890         * malloc/hooks.c (memalign_check): Ensure the value of bytes
60891         passed to _int_memalign does not overflow.
60893 2013-10-10  Torvald Riegel  <triegel@redhat.com>
60895         * scripts/bench.pl: Add include-sources directive.
60896         * benchtests/README: Update documentation.
60898 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
60900         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
60901         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
60902         instead of FP_INIT_ROUNDMODE.
60903         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
60904         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
60906         [BZ #16034]
60907         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
60908         copy class of input value.
60909         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
60910         not handle exceptions.
60911         * soft-fp/negsf2.c (__negsf2): Likewise.
60912         * soft-fp/negtf2.c (__negtf2): Likewise.
60913         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
60915 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
60917         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
60918         semicolon.  From Linux kernel.
60920 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
60922         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
60924 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
60926         [BZ #156]
60927         * manual/socket.texi: Added statement about buffer
60928         for gethostbyname2_r.
60930 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
60932         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
60933         Use .p2align directive instead, throughout.
60934         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
60935         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
60936         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
60937         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60938         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60939         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
60940         * sysdeps/x86_64/strchr.S: Likewise.
60941         * sysdeps/x86_64/strrchr.S: Likewise.
60943 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60945         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
60947         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
60949         * sysdeps/generic/math_private.h (__mpsin1): Remove
60950         declaration.
60951         (__mpcos1): Likewise.
60952         (__mpsin): New argument __range_reduce.
60953         (__mpcos): Likewise.
60954         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60955         (slow): Use __mpsin and __mpcos.
60956         (slow1): Likewise.
60957         (slow2): Likewise.
60958         (sloww): Likewise.
60959         (sloww1): Likewise.
60960         (sloww2): Likewise.
60961         (bsloww): Likewise.
60962         (bsloww1): Likewise.
60963         (bsloww2): Likewise.
60964         (cslow2): Likewise.
60965         (csloww): Likewise.
60966         (csloww1): Likewise.
60967         (csloww2): Likewise.
60968         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
60969         range_reduce.  Merge in __mpsin1.
60970         (__mpcos): Likewise.
60971         (__mpsin1): Remove.
60972         (__mpcos1): Likewise.
60974 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
60976         * locale/loadlocale.c (_nl_intern_locale_data): Use
60977         LOCFILE_ALIGNED_P.
60978         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
60979         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
60980         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
60981         obstack data is appropriately aligned.
60982         (obstack_int32_grow_fast): Likewise.
60983         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
60984         * locale/programs/locfile.c (add_locale_uint32): Likewise.
60985         (add_locale_uint32_array): Likewise.
60987 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60989         * benchtests/Makefile: Remove ARGLIST and RET variables.
60990         ($(objpfx)bench-%.c): Pass only function name to the script.
60991         * benchtests/README: Update documentation.
60992         * benchtests/acos-inputs: Add new directives.
60993         * benchtests/acosh-inputs: Likewise.
60994         * benchtests/asin-inputs: Likewise.
60995         * benchtests/asinh-inputs: Likewise.
60996         * benchtests/atan-inputs: Likewise.
60997         * benchtests/atanh-inputs: Likewise.
60998         * benchtests/cos-inputs: Likewise.
60999         * benchtests/cosh-inputs: Likewise.
61000         * benchtests/exp-inputs: Likewise.
61001         * benchtests/log-inputs: Likewise.
61002         * benchtests/pow-inputs: Likewise.
61003         * benchtests/rint-inputs: Likewise.
61004         * benchtests/sin-inputs: Likewise.
61005         * benchtests/sinh-inputs: Likewise.
61006         * benchtests/tan-inputs: Likewise.
61007         * benchtests/tanh-inputs: Likewise.
61008         * scripts/bench.pl: Add support for new directives.
61010 2013-10-07  Alan Modra  <amodra@gmail.com>
61012         * README: Fix careless merge.
61014 2013-10-05  Alan Modra  <amodra@gmail.com>
61016         * NEWS: Mention powerpc64le support and bugs fixed.
61017         * README: Both big-endian and little-endian powerpc64 supported.
61019 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61021         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61022         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61023         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61024         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61026 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
61028         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61029         match prototype.
61031 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
61033         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61034         Move -mhard-float appending from
61035         ports/sysdeps/powerpc/powerpc32/Makefile.
61036         [$(with-fp) = yes] (ASFLAGS): Likewise.
61037         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61038         * sysdeps/powerpc/nofpu: Move directory from
61039         ports/sysdeps/powerpc/nofpu.
61040         * sysdeps/powerpc/soft-fp: Move directory from
61041         ports/sysdeps/powerpc/soft-fp.
61042         * sysdeps/powerpc/powerpc32/405: Move directory from
61043         ports/sysdeps/powerpc/powerpc32/405.
61044         * sysdeps/powerpc/powerpc32/440: Move directory from
61045         ports/sysdeps/powerpc/powerpc32/440.
61046         * sysdeps/powerpc/powerpc32/464: Move directory from
61047         ports/sysdeps/powerpc/powerpc32/464.
61048         * sysdeps/powerpc/powerpc32/476: Move directory from
61049         ports/sysdeps/powerpc/powerpc32/476.
61050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61051         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61053         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61055         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61057         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61059         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61060         * README: Update for powerpc-*-linux-gnu software floating point
61061         support in libc.
61063         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61064         case to powerpc/powerpc32*.
61065         * sysdeps/unix/sysv/linux/configure: Regenerated.
61067         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
61068         (_FPU_MASK_OM): Define as 0x04.
61069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
61070         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
61071         0x00c10080.
61072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
61073         0x0000003c.
61074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
61076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
61077         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61078         getcontext_e500.
61079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
61080         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
61081         setcontext_e500.
61082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
61083         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
61084         and setcontext_e500.
61086 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
61088         * locale/iso-3166.def: Update iso-1366.def and related occurrences
61090 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61092         * manual/threads.texi (Default Thread Attributes): Fix typo.
61094 2013-10-04  Will Newton  <will.newton@linaro.org>
61096         * malloc/Makefile: Add tst-memalign.
61097         * malloc/tst-memalign.c: New file.
61099         * malloc/tst-posix_memalign.c: Add comments.
61100         (do_test): Add comments and call free on all potentially
61101         allocated pointers. Add space after cast.
61103         * malloc/tst-pvalloc.c: Add comments.
61104         (do_test): Add comments and call free on all potentially
61105         allocated pointers. Remove duplicate check for NULL pointer.
61106         Add space after cast.
61108         * malloc/tst-valloc.c: Add comments.
61109         (do_test): Add comments and call free on all potentially
61110         allocated pointers. Remove duplicate check for NULL pointer.
61111         Add space after cast.
61113 2013-10-04  Alan Modra  <amodra@gmail.com>
61115         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61116         Use stdint types in rather than __attribute__((mode())).
61117         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61119 2013-10-04  Alan Modra  <amodra@gmail.com>
61121         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
61122         Correct handling of unaligned relocs for little-endian.
61123         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
61125 2013-10-04  Alan Modra  <amodra@gmail.com>
61127         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
61128         * configure: Regenerate.
61129         * nptl/shlib-versions: Powerpc*le starts at 2.18.
61130         * shlib-versions: Likewise.
61132 2013-10-04  Alan Modra  <amodra@gmail.com>
61134         * string/tester.c (test_memrchr): Increment reported test cycle.
61136 2013-10-04  Alan Modra  <amodra@gmail.com>
61138         * string/test-memcpy.c (do_one_test): When reporting errors, print
61139         string address and don't overrun end of string.
61141 2013-10-04  Alan Modra  <amodra@gmail.com>
61143         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
61144         insrdi.  Make better use of reg selection to speed exit slightly.
61145         Schedule entry path a little better.  Remove useless "are we done"
61146         checks on entry to main loop.  Handle wrapping around zero address.
61147         Correct main loop count.  Handle single left-over word from main
61148         loop inline rather than by using loop_small.  Remove extra word
61149         case in loop_small caused by wrong loop count.  Add little-endian
61150         support.
61151         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61152         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
61153         cache hint.
61154         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61155         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
61156         support.  Avoid rlwimi.
61157         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
61159 2013-10-04  Alan Modra  <amodra@gmail.com>
61161         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
61162         insrdi.  Formatting.
61163         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
61164         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
61165         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
61166         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
61167         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
61168         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
61170 2013-10-04  Alan Modra  <amodra@gmail.com>
61172         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
61173         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61174         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
61175         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
61176         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61177         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61178         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61179         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61180         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
61181         use of regs.  Use power7 mtocrf.  Tidy function tails.
61183 2013-10-04  Alan Modra  <amodra@gmail.com>
61185         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
61186         Formatting.  Consistently use rXXX register defines or rN defines.
61187         Use early exit labels that avoid restoring unused non-volatile regs.
61188         Make cr field use more consistent with rWORDn compares.  Rename
61189         regs used as shift registers for unaligned loop, using rN defines
61190         for short lifetime/multiple use regs.
61191         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61192         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
61193         addi 1,1,64 to pop stack frame.  Simplify return value code.
61194         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61196 2013-10-04  Alan Modra  <amodra@gmail.com>
61198         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
61199         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
61200         rather than rlwimi.
61201         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
61202         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
61203         little-endian support.  Correct typos.
61204         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
61205         rather than rlwimi.
61206         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
61207         in loop and entry code to keep "and." results.
61208         (strchr): Add little-endian support.  Comment.  Move cntlzd
61209         earlier in tail.
61210         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
61212 2013-10-04  Alan Modra  <amodra@gmail.com>
61214         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
61215         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
61216         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
61217         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
61219 2013-10-04  Alan Modra  <amodra@gmail.com>
61221         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
61222         (rTMP): Define as r11.
61223         (strcmp): Add little-endian support.  Optimise tail.
61224         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
61225         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61226         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61227         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61228         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61229         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61230         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61232 2013-10-04  Alan Modra  <amodra@gmail.com>
61234         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
61235         little-endian support.  Remove unnecessary "are we done" tests.
61236         Handle "s" wrapping around zero and extremely large "size".
61237         Correct main loop count.  Handle single left-over word from main
61238         loop inline rather than by using small_loop.  Correct comments.
61239         Delete "zero" tail, use "end_max" instead.
61240         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
61242 2013-10-04  Alan Modra  <amodra@gmail.com>
61244         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
61245         support.  Don't branch over align.
61246         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
61247         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
61248         support.  Rearrange tmp reg use to suit.  Comment.
61249         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
61251 2013-10-04  Alan Modra  <amodra@gmail.com>
61253         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
61255 2013-10-04  Alan Modra  <amodra@gmail.com>
61257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
61258         conditional form of branch and link when obtaining pc.
61259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
61261 2013-10-04  Alan Modra  <amodra@gmail.com>
61263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
61264         HIWORD/LOWORD.
61265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
61266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
61268 2013-10-04  Alan Modra  <amodra@gmail.com>
61270         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
61271         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
61272         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
61273         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
61274         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
61275         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61276         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
61277         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61278         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
61279         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
61281 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61282             Alistair Popple <alistair@ozlabs.au.ibm.com>
61283             Alan Modra <amodra@gmail.com>
61285         [BZ #15723]
61286         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
61287         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
61288         _dl_hwcap access for little-endian.
61289         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
61290         destroy vmx regs when saving unaligned.
61291         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
61292         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
61293         destroy vmx regs when saving unaligned.
61295 2013-10-04  Alan Modra  <amodra@gmail.com>
61297         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
61298         Don't use a union to pack hi/low value.
61300 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61302         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
61303         for little-endian.
61304         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
61305         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
61306         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61307         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
61308         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
61310 2013-10-04  Alan Modra  <amodra@gmail.com>
61312         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
61313         constants to usual value for .cst8 section, and remove redundant
61314         high address load.
61315         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
61316         constant for 0x1p52.  Load little-endian words of double from
61317         correct stack offsets.
61319 2013-10-04  Alan Modra  <amodra@gmail.com>
61321         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
61322         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
61323         words of double from correct stack offsets.
61324         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
61325         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
61326         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
61327         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61328         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
61329         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
61330         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
61331         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
61332         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
61333         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
61334         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
61335         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
61336         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
61337         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
61338         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
61339         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
61340         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
61342 2013-10-04  Alan Modra  <amodra@gmail.com>
61344         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
61345         64-bit int/double union.
61346         (_FPU_SETCW): Likewise.
61347         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
61348         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
61350 2013-10-04  Alan Modra  <amodra@gmail.com>
61352         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
61353         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
61355 2013-10-04  Alan Modra  <amodra@gmail.com>
61357         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
61358         use vector int constants.
61359         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
61361 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61363         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
61364         array with long long.
61365         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
61366         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
61367         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
61368         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
61369         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
61370         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
61371         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
61372         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
61373         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
61374         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
61375         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
61376         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
61377         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
61379 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
61381         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
61382         (__signbit): Likewise.  Correct for little-endian.
61383         (__signbitl): Call __signbit.
61384         (lrint): Correct for little-endian.
61385         (lrintf): Call lrint.
61387 2013-10-04  Alan Modra  <amodra@gmail.com>
61389         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
61390         union 32-bit int array member with 64-bit int array.
61391         (t515, tm256): Double rather than long double.
61392         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
61394 2013-10-04  Alan Modra  <amodra@gmail.com>
61396         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
61397         Delete.
61398         (IEEE854_LONG_DOUBLE_BIAS): Delete.
61399         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
61400         version of math_ldbl.h.
61402 2013-10-04  Alan Modra  <amodra@gmail.com>
61404         [BZ #15734], [BZ #15735]
61405         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
61406         all uses of ieee875 long double macros and unions.  Simplify test
61407         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
61408         ldbl_extract_mantissa value for ix,iy exponents.  Properly
61409         normalize after ldbl_extract_mantissa, and don't add hidden bit
61410         already handled.  Don't treat low word of ieee854 mantissa like
61411         low word of IBM long double and mask off bit when testing for
61412         zero.
61413         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
61414         all uses of ieee875 long double macros and unions.  Simplify tests
61415         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
61416         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
61417         two1022, instead use their values.  Recognise that tests for large
61418         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
61419         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
61420         Rewrite all uses of ieee875 long double macros and unions.  Simplify
61421         test for 0.0L and nan.  Correct negation.
61422         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
61423         ieee875 long double macros and unions.  Correct output for large
61424         magnitude x.  Correct absolute value calculation.
61425         (__erfcl): Likewise.
61426         * math/libm-test.inc: Add tests for errors discovered in IBM long
61427         double versions of fmodl, remainderl, erfl and erfcl.
61429 2013-10-04  Alan Modra  <amodra@gmail.com>
61431         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
61432         all uses of ieee854 long double macros and unions.  Simplify tests
61433         for long doubles that are fully specified by the high double.
61434         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
61435         Likewise.
61436         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
61437         Remove dead code too.
61438         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
61439         (__ieee754_ynl): Likewise.
61440         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
61441         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
61442         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
61443         Remove dead code too.
61444         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
61445         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
61446         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
61447         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
61448         Simplify.
61449         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
61450         Simplify.
61451         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
61452         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
61453         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
61454         Comment on variable precision.
61455         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
61456         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61457         Likewise.
61458         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
61459         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61460         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61461         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61462         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
61464 2013-10-04  Alan Modra  <amodra@gmail.com>
61466         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
61467         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
61468         all uses of ieee854 long double macros and unions.
61469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
61470         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
61471         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
61472         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
61473         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
61474         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61475         Likewise.
61476         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
61477         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
61478         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
61479         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
61480         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
61481         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
61482         Simplify sign and nan test too.
61483         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
61484         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
61485         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
61486         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
61487         Likewise.
61488         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61489         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
61490         Likewise.
61491         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61492         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
61493         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
61494         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
61495         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
61496         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
61498 2013-10-04  Alan Modra  <amodra@gmail.com>
61500         * stdio-common/printf_size.c (__printf_size): Don't use
61501         union ieee854_long_double in fpnum union.
61502         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
61503         signbit macro to retrieve sign from long double.
61504         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
61505         retrieve sign from long double.
61506         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
61507         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
61508         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
61509         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
61510         * math/test-misc.c (main): Don't use union ieee854_long_double.
61512 2013-10-04  Alan Modra  <amodra@gmail.com>
61514         [BZ #15680]
61515         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
61516         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
61517         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
61518         calculation.  Remove unnecessary test for denormal exponent.
61519         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
61520         Correct handling of denormals.  Avoid undefined shift behaviour.
61521         Correct normalisation of low mantissa when low double is denormal.
61522         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
61523         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
61524         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
61525         Correct normalisation of low mantissa.  Test for overflow of high
61526         mantissa and normalise.
61527         (ldbl_nearbyint): Use more readable constant for two52.
61528         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
61529         (__mpn_construct_long_double): Fix test for overflow of high
61530         mantissa and correct normalisation.  Avoid undefined shift.
61532 2013-10-04  Alan Modra  <amodra@gmail.com>
61534         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61535         (union ibm_extended_long_double): Define as an array of ieee754_double.
61536         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
61537         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
61538         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
61539         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61540         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61541         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
61542         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61543         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61544         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
61545         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
61546         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61548 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
61550         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
61551         page size instead of calling getpagesize.
61553         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
61554         (LOCFILE_ALIGN_MASK): Likewise.
61555         (LOCFILE_ALIGN_UP): Likewise.
61556         (LOCFILE_ALIGNED_P): Likewise.
61557         * locale/programs/ld-collate.c (collate_output): Use the new
61558         macros instead of __alignof__ (int32_t).
61559         * locale/weight.h (findidx): Likewise.
61561 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
61563         [BZ #431]
61564         * manual/string.texi: Fix strncat and wcsncat.
61566 2013-10-03  Brooks Moses  <bmoses@google.com>
61568         [BZ #15915]
61569         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
61570         * Makerules: ...here, and adjust associated comments.
61572 2013-10-02  Will Newton  <will.newton@linaro.org>
61574         * malloc/Makefile: Add tst-pvalloc.
61575         * malloc/tst-pvalloc.c: New file.
61577 2013-10-02  Will Newton  <will.newton@linaro.org>
61579         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
61580         improve test coverage.
61582 2013-10-02  Will Newton  <will.newton@linaro.org>
61584         * malloc/Makefile: Add tst-posix_memalign.
61585         * malloc/tst-posix_memalign.c: New file.
61587 2013-10-01  Eric Blake  <eblake@redhat.com>
61589         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
61590         Use __THROWNL rather than __THROW on static functions.
61592 2013-09-30  Petr Machata  <pmachata@redhat.com>
61594         * elf/elf.h (R_AARCH64_ABS16): New macro.
61595         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
61596         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
61597         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
61598         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
61599         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
61600         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
61601         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
61602         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
61603         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
61604         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
61605         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
61606         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
61607         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
61608         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
61609         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
61610         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
61611         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
61612         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
61613         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
61614         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
61615         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
61616         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
61617         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
61618         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
61619         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
61620         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
61621         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
61622         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
61623         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
61624         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
61625         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
61626         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
61627         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
61628         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
61629         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
61630         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
61631         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
61632         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
61633         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
61634         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
61635         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
61636         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
61637         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
61638         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
61639         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
61640         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
61641         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
61642         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
61643         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
61644         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
61645         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
61646         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
61647         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
61648         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
61649         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
61650         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
61651         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
61652         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
61653         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
61654         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
61655         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
61656         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
61657         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
61658         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
61659         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
61660         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
61661         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
61662         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
61663         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
61664         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
61665         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
61666         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
61667         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
61668         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
61669         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
61670         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
61671         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
61672         (R_AARCH64_TLSDESC_LDR): Likewise.
61673         (R_AARCH64_TLSDESC_ADD): Likewise.
61674         (R_AARCH64_TLSDESC_CALL): Likewise.
61676 2013-09-30  Andreas Schwab  <schwab@suse.de>
61678         [BZ #15048]
61679         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
61680         the nss database lookup.
61681         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61682         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61684 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
61686         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
61688 2013-09-28  P. J. McDermott  <pj@pehjota.net>
61690         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
61691         ${Bash-specific parameter/pattern/string} parameter expansion.
61692         * sysdeps/unix/make-syscalls.sh: Likewise.
61694 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61696         * sysdeps/sh/stackguard-macros.h: New file.
61698 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
61700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
61701         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
61702         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
61703         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
61704         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61705         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
61707 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61709         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
61710         Fix thread ID register.
61712 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
61714         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
61715         [POSIX || UNIX98]: Require rather than permitting all symbols from
61716         <time.h>.
61717         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
61718         element of struct sched_param.
61719         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
61720         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
61721         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
61722         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
61723         constant.
61725 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
61727         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
61728         argument calculation.
61730 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61732         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
61733         Expect macro.
61734         [POSIX] (pthread_attr_t): Do not require type.
61735         [POSIX] (pthread_cond_t): Likewise.
61736         [POSIX] (pthread_condattr_t): Likewise.
61737         [POSIX] (pthread_key_t): Likewise.
61738         [POSIX] (pthread_mutex_t): Likewise.
61739         [POSIX] (pthread_mutexattr_t): Likewise.
61740         [POSIX] (pthread_once_t): Likewise.
61741         [POSIX] (pthread_t): Likewise.
61742         [POSIX-based standards] (pthread_atfork): Expect function.
61744 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
61745             Richard Sandiford  <richard@codesourcery.com>
61747         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
61748         (swap_endianness_p): New extern variable.
61749         (set_big_endian): New inline function.
61750         (maybe_swap_uint32): Likewise.
61751         (maybe_swap_uint32_array): Likewise.
61752         (maybe_swap_uint32_obstack): Likewise.
61753         * locale/programs/locfile.c: Include <stdbool.h>.
61754         (swap_endianness_p): New variable.
61755         (add_locale_uint32): Call maybe_swap_uint32.
61756         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
61757         (write_locale_data): Call maybe_swap_uint32_array.
61758         * locale/programs/ld-collate.c (obstack_int32_grow): Call
61759         maybe_swap_uint32.
61760         (obstack_int32_grow_fast): Likewise.
61761         (output_weightwc): Call maybe_swap_uint32_obstack.
61762         (collate_output): Likewise.
61763         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
61764         (OPT_LITTLE_ENDIAN): Likewise.
61765         (options): Add --little-endian and --big-endian options.
61766         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
61767         * locale/programs/locarchive.c: Include "locfile.h".
61768         (GET): New macro.
61769         (SET): Likewise.
61770         (INC): Likewise.
61771         (create_archive): Use the new macros to access fields of
61772         structures directly mapped from or written to locale archives.
61773         (oldlocrecentcmp): Likewise.
61774         (enlarge_archive): Likewise.
61775         (insert_name): Likewise.
61776         (add_alias): Likewise.
61777         (add_locale): Likewise.
61778         (delete_locales_from_archive): Likewise.
61779         (show_archive_content): Likewise.
61780         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
61781         locale data.
61783 2013-09-24  Roland McGrath  <roland@hack.frob.com>
61785         * manual/freemanuals.texi: Updated from (newly) canonical copy at
61786         http://www.gnu.org/doc/freemanuals.texi.
61787         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
61789 2013-09-24  Will Newton  <will.newton@linaro.org>
61791         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
61792         macro.
61794 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
61796         * locale/hashval.h (compute_hashval): Interpret bytes of key as
61797         unsigned char.
61799 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
61801         * manual/threads.texi (POSIX Threads): Fix a typo.
61803 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61805         [BZ #14547]
61806         * string/tst-strcoll-overflow.c: New test case.
61807         * string/Makefile (xtests): Add tst-strcoll-overflow.
61808         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
61809         cache if string sizes may cause integer overflow.
61811         [BZ #14547]
61812         * string/strcoll_l.c (coll_seq): New members rule, idx,
61813         save_idx and back_us.
61814         (get_next_seq_nocache): New function.
61815         (do_compare_nocache): New function.
61816         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
61817         when malloc fails.
61819 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
61821         [BZ #15754]
61822         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
61823         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
61824         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
61826         [BZ #15754]
61827         * elf/Makefile (tests): Add tst-ptrguard1.
61828         (tests-static): Add tst-ptrguard1-static.
61829         (tst-ptrguard1-ARGS): Define.
61830         (tst-ptrguard1-static-ARGS): Define.
61831         * elf/tst-ptrguard1.c: New file.
61832         * elf/tst-ptrguard1-static.c: New file.
61833         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
61834         * sysdeps/i386/stackguard-macros.h: Likewise.
61835         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61836         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61837         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61838         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61839         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61840         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61842 2013-09-23  Hector Marco  <hecmargi@upv.es>
61843             Ismael Ripoll  <iripoll@disca.upv.es>
61844             Carlos O'Donell  <carlos@redhat.com>
61846         [BZ #15754]
61847         * sysdeps/generic/stackguard-macros.h: Define
61848         __pointer_chk_guard_local and POINTER_CHK_GUARD.
61849         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
61850         Define __pointer_chk_guard_local.
61851         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
61852         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
61854 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
61856         [BZ #15859]
61857         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
61859 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
61861         * include/string.h (__ffs): Declare as hidden.
61862         * string/ffs.c (__ffs): Define as hidden.
61863         * sysdeps/i386/ffs.c (__ffs): Likewise.
61864         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
61865         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
61866         * sysdeps/s390/ffs.c (__ffs): Likewise.
61867         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
61869 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
61871         * NEWS: Mention malloc probes.
61873         * malloc/arena.c (new_heap): New memory_heap_new probe.
61874         (grow_heap): New memory_heap_more probe.
61875         (shrink_heap): New memory_heap_less probe.
61876         (heap_trim): New memory_heap_free probe.
61877         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
61878         (systrim): New memory_sbrk_less probe.
61879         * manual/probes.texi: Document them.
61881         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
61882         * manual/probes.texi: Document it.
61884         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
61885         (__libc_realloc): Add memory_realloc_retry probe.
61886         (__libc_memalign): Add memory_memalign_retry probe.
61887         (__libc_valloc): Add memory_valloc_retry probe.
61888         (__libc_pvalloc): Add memory_pvalloc_retry probe.
61889         (__libc_calloc): Add memory_calloc_retry probe.
61890         * manual/probes.texi: Document them.
61892         * malloc/arena.c (get_free_list): Add probe
61893         memory_arena_reuse_free_list.
61894         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
61895         and memory_arena_reuse.
61896         (arena_get2) [!PER_THREAD]: Likewise.
61897         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
61898         memory_arena_reuse_realloc.
61899         * manual/probes.texi: Document them.
61901         * malloc/malloc.c (__libc_free): Add
61902         memory_mallopt_free_dyn_thresholds probe.
61903         (__libc_mallopt): Add multiple memory_mallopt probes.
61904         * manual/probes.texi: Document them.
61906         * malloc/malloc.c: Include stap-probe.h.
61907         (__libc_mallopt): Add memory_mallopt probe.
61908         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
61909         * manual/probes.texi: New.
61910         * manual/Makefile (chapters): Add probes.
61911         * manual/threads.texi: Set next node.
61913 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
61915         [BZ #15963, #13985]
61916         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
61917         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
61918         Add `Chinese' to `nan' entry name.
61920 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61922         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
61923         (POLYNOMIAL): Likewise.
61924         (TAYLOR_SINCOS): Likewise.
61925         (TAYLOR_SLOW): Likewise.
61926         (__sin): Use TAYLOR_SINCOS.
61927         (__cos): Likewise.
61928         (slow): Use TAYLOR_SLOW.
61929         (sloww): Likewise.
61930         (bsloww): Likewise.
61931         (csloww): Likewise.
61933 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61935         * stdlib/strtod_l.c: Fix buffer overrun.
61937 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61939         * benchtests/Makefile (bench): Add sincos.
61940         * benchtests/bench-sincos.c: New file.
61942         * math/libm-test.inc (cos_test_data): New test inputs.
61943         (sin_test_data): Likewise.
61945         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
61946         macro.
61947         (__sin): Use it.
61948         (__cos): Likewise.
61949         (slow1): Likewise.
61950         (slow2): Likewise.
61951         (sloww1): Likewise.
61952         (sloww2): Likewise.
61953         (bsloww1): Likewise.
61954         (bsloww2): Likewise.
61955         (cslow2): Likewise.
61956         (csloww1): Likewise.
61957         (csloww2): Likewise.
61959         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
61960         function.
61961         (__sin): Use it.
61962         (__cos): Likewise.
61964         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
61965         gotos.
61966         (__cos): Likewise.
61968 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
61970         * config.h.in (HAVE_MIPS_NAN2008): New macro.
61971         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
61972         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
61973         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
61974         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
61975         * elf/cache.c (print_entry): Handle the new cache flags.
61977 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
61978             Aldy Hernandez  <aldyh@redhat.com>
61980         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
61981         Change condition to [_SOFT_FLOAT].
61982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
61983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
61984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
61985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
61986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
61987         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
61988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
61989         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
61990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
61991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
61992         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
61993         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
61994         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
61995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
61996         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
61997         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
61998         declaration.
62000 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62002         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
62003         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62004         (__longjmp): Use LOAD_GP to load saved GPRs.
62005         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
62006         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62007         (__sigsetjmp): Use SAVE_GP to save GPRs.
62009         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62010         Do not append -msoft-float.
62011         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62013 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62015         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62017 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
62019         [BZ #15966]
62020         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62021         (_FPU_GETCW): Use initial "__" on variable and field names but not
62022         on macro parameter name.
62023         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
62024         parentheses around reference to macro parameter.
62026 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
62028         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62029         prototype.
62030         (ctype_startup): Use uint32_t in cast and sizeof for
62031         ctype->charnames.
62033 2013-09-11  Jia Liu  <proljc@gmail.com>
62035         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62036         __daddr_t_defined.
62037         [__FreeBSD__]: Likewise.
62039 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
62041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62042         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62043         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62044         (strchr): Remove __strchr_sse42 ifunc selection.
62045         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62046         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62048 2013-09-11  Will Newton  <will.newton@linaro.org>
62050         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62051         parameter to RES. Remove hardcoded 1000 value.
62052         * benchtests/bench-skeleton.c (main): Pass RES parameter
62053         to TIMING_INIT and multiply result by 1000.
62055 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62059 2013-09-11  Andreas Schwab  <schwab@suse.de>
62061         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62062         if not defined.
62063         (O_TMPFILE) [__USE_GNU]: Define.
62064         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
62065         Define.
62067 2013-09-11  Will Newton  <will.newton@linaro.org>
62069         [BZ #15857]
62070         * malloc/malloc.c (__libc_memalign): Check the value of bytes
62071         does not overflow.
62073 2013-09-11  Will Newton  <will.newton@linaro.org>
62075         [BZ #15856]
62076         * malloc/malloc.c (__libc_valloc): Check the value of bytes
62077         does not overflow.
62079 2013-09-11  Will Newton  <will.newton@linaro.org>
62081         [BZ #15855]
62082         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
62083         does not overflow.
62085 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
62087         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
62088         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62089         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62090         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62091         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62093 2013-09-10  Allan McRae  <allan@archlinux.org>
62095         [BZ #15748]
62096         * manual/arith.texi (Parsing of Floats): Clarify
62097         cross-reference.
62099         [BZ #15849]
62100         * manual/install.texi (Running make install): Mention
62101         --enable-pt-chown.
62102         * INSTALL: Regenerated.
62104 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
62106         * csu/init-first.c (_init): Remove the !SHARED condition around
62107         FPU control word initialization.
62108         * elf/dl-support.c (_dl_fpu_control): New variable.
62109         (_dl_aux_init) <AT_FPUCW>: Initialize it.
62110         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
62111         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
62112         * math/test-fpucw-static.c: New file.
62113         * math/test-fpucw-ieee.c: New file.
62114         * math/test-fpucw-ieee-static.c: New file.
62115         * math/Makefile (tests): Add `test-fpucw-ieee' and
62116         `$(tests-static)'.
62117         (tests-static): New variable.
62118         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
62119         dependency to...
62120         [($(build-shared),yes)]
62121         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
62122         ... this.
62123         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
62124         New dependency.
62126 2013-09-09  Allan McRae  <allan@archlinux.org>
62128         [BZ #15939]
62129         * manual/string.texi (Collation Functions): Fix typo in
62130         strcoll example.
62131         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
62133         [BZ #15893]
62134         * stdlib/isomac.c (get_null_defines): Fix memory leak.
62136         [BZ #15892]
62137         * libio/memstream.c (open_memstream): Fix memory leak.
62138         * libio/wmemstream.c (open_wmemstream): Likewise.
62140         [BZ #15895]
62141         * nscd/netgroupcache.c: Fix nesting of ifdefs.
62143 2013-09-09  Will Newton  <will.newton@linaro.org>
62145         * malloc/Makefile: Add tst-realloc to tests.
62146         * malloc/tst-realloc.c: New file.
62148 2013-09-09  Allan McRae  <allan@archlinux.org>
62150         [BZ #15844]
62151         * COPYING: Update from GNU website to fix FSF address.
62152         * COPYING.LIB: Likewise.
62154 2013-09-06  David S. Miller  <davem@davemloft.net>
62156         * po/zh_TW.po: Update Chinese (traditional) translation from
62157         translation project.
62159 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
62160             Joseph Myers  <joseph@codesourcery.com>
62162         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
62163         "localeinfo.h".
62164         (obstack_chunk_alloc): New macro.
62165         (obstack_chunk_free): Likewise.
62166         (record_offset): New function.
62167         (init_locale_data): Likewise.
62168         (align_locale_data): Likewise.
62169         (add_locale_empty): Likewise.
62170         (add_locale_raw_data): Likewise.
62171         (add_locale_raw_obstack): Likewise.
62172         (add_locale_string): Likewise.
62173         (add_locale_wstring): Likewise.
62174         (add_locale_uint32): Likewise.
62175         (add_locale_uint32_array): Likewise.
62176         (add_locale_char): Likewise.
62177         (start_locale_structure): Likewise.
62178         (end_locale_structure): Likewise.
62179         (start_locale_prelude): Likewise.
62180         (end_locale_prelude): Likewise.
62181         (write_locale_data): Take locale_file structure rather than an
62182         iovec.
62183         * locale/programs/locfile.h: Include "obstack.h".
62184         (struct locale_file): Change to store locale file contents instead
62185         of header.
62186         (init_locale_data): New prototype.
62187         (align_locale_data): Likewise.
62188         (add_locale_empty): Likewise.
62189         (add_locale_raw_data): Likewise.
62190         (add_locale_raw_obstack): Likewise.
62191         (add_locale_string): Likewise.
62192         (add_locale_wstring): Likewise.
62193         (add_locale_uint32): Likewise.
62194         (add_locale_uint32_array): Likewise.
62195         (add_locale_char): Likewise.
62196         (start_locale_structure): Likewise.
62197         (end_locale_structure): Likewise.
62198         (start_locale_prelude): Likewise.
62199         (end_locale_prelude): Likewise.
62200         (write_locale_data): Update prototype.
62201         * locale/programs/3level.h (struct TABLE): Remove result field.
62202         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
62203         Use new locale_file interface.
62204         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
62205         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
62206         * locale/programs/ld-address.c (address_output): Use new
62207         locale_file interface.
62208         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
62209         NO_ADD_LOCALE.
62210         (collate_finish): Don't call collseq_table_finalize.
62211         (collate_output): Use new locale_file interface.
62212         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
62213         in file.
62214         (NO_FINALIZE): Change to NO_ADD_LOCALE.
62215         (TABLE): Move defines earlier in file.
62216         (ELEMENT): Likewise.
62217         (DEFAULT): Likewise.
62218         (wctrans_table_add): Move macro and inline function earlier in
62219         file.
62220         (struct wctype_table): Move type earlier in file.
62221         (add_locale_wctype_table): New static prototype.
62222         (struct locale_ctype_t): Use logical types instead of struct iovec
62223         pointers for members.
62224         (ctype_output): Use new locale_file interface.
62225         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
62226         new locale_file interface.
62227         (allocate_arrays): Update for use of new locale_file interface.
62228         * locale/programs/ld-identification.c (identification_output): Use
62229         new locale_file interface.
62230         * locale/programs/ld-measurement.c (measurement_output): Likewise.
62231         * locale/programs/ld-messages.c (messages_output): Likewise.
62232         * locale/programs/ld-monetary.c (monetary_output): Likewise.
62233         * locale/programs/ld-name.c (name_output): Likewise.
62234         * locale/programs/ld-numeric.c (numeric_output): Likewise.
62235         * locale/programs/ld-paper.c (paper_output): Likewise.
62236         * locale/programs/ld-telephone.c (telephone_output): Likewise.
62237         * locale/programs/ld-time.c (time_output): Likewise.
62239 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62241         * benchtests/Makefile: Add memrchr benchmark.
62242         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
62243         benchmark as memrchr.
62244         * benchtests/bench-memrchr-ifunc.c: New file.
62245         * benchtests/bench-memrchr.c: New file.
62247 2013-09-06   Will Newton  <will.newton@linaro.org>
62249         * benchtests/Makefile (string-bench): Add memcpy.
62251 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
62252             Cong Wang  <amwang@redhat.com>
62254         [BZ #15850]
62255         * sysdeps/unix/sysv/linux/bits/in.h
62256         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
62257         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
62258         before __USE_KERNEL_IPV6_DEFS uses.
62259         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
62260         IPPROTO_BEETPH.
62261         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
62262         sockaddr_in6, or ipv6_mreq.
62264 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62266         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
62267         memory access for final bytes in some large inputs.
62268         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
62270 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62272         * string/test-memrchr.c: New file.
62273         * string/test-memrchr-ifunc.c: New file.
62274         * string/Makefile: Add new memrchr testcase.
62276 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
62278         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
62279         fanotify_init returns EPERM.
62281 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62283         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
62284         errors.
62285         (top level): Treat second token from macro or constant entries for
62286         allowed headers as allowed.
62287         * include/complex.h: Condition internal declarations on
62288         [!_ISOMAC].
62289         * include/fenv.h: Condition include of <stdbool.h> and internal
62290         declarations on [!_ISOMAC].
62292 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
62294         [BZ #15923]
62295         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
62297 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
62299         * configure.in (--enable-versioning): Remove configure option.
62300         (libc_cv_asm_symver_directive): Remove configure test.
62301         (libc_cv_ld_version_script_option): Likewise.
62302         (VERSIONING): Remove variable and AC_SUBST.
62303         (DO_VERSIONING): Remove AC_DEFINE.
62304         * configure: Regenerated.
62305         * config.h.in (DO_VERSIONING): Remove macro.
62306         * Makerules [$(versioning) = yes]: Change conditionals to
62307         [$(build-shared) = yes].
62308         * config.make.in (versioning): Remove variable.
62309         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
62310         [$(build-shared) = yes].
62311         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
62312         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
62313         * elf/Makefile [$(versioning) = yes]: Change conditionals to
62314         [$(build-shared) = yes].
62315         * extra-lib.mk [$(versioning) = yes]: Likewise.
62316         * hurd/Makefile [$(versioning) = yes]: Likewise.
62317         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
62318         [SHARED].
62319         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
62320         [SHARED].
62321         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62322         [SHARED && !NO_HIDDEN].
62323         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
62324         [SHARED].
62325         [SHARED && DO_VERSIONING]: Likewise..
62326         * libio/Makefile [$(versioning) = yes]: Change conditionals to
62327         [$(build-shared) = yes].
62328         * manual/install.texi (--disable-versioning): Remove
62329         documentation.
62330         * INSTALL: Regenerated.
62331         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
62332         to [SHARED].
62333         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
62334         [$(build-shared) = yes].
62335         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
62336         * sysdeps/i386/i686/multiarch/strstr-c.c
62337         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
62338         [SHARED && !NO_HIDDEN].
62339         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
62340         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
62341         * sysdeps/powerpc/powerpc32/dl-machine.c
62342         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
62343         * sysdeps/powerpc/powerpc32/sysdep.h
62344         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
62345         to [SHARED && PIC && !NO_HIDDEN].
62346         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
62347         conditional to [SHARED].
62349 2013-09-04   Will Newton  <will.newton@linaro.org>
62351         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
62352         * benchtests/bench-string.h: Include bench-timing.h instead
62353         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
62354         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
62355         call to HP_TIMING_DIFF_INIT.
62356         * benchtests/bench-memccpy.c: Use bench-timing.h macros
62357         instead of hp-timing.h macros.
62358         * benchtests/bench-memchr.c: Likewise.
62359         * benchtests/bench-memcmp.c: Likewise.
62360         * benchtests/bench-memcpy.c: Likewise.
62361         * benchtests/bench-memmem.c: Likewise.
62362         * benchtests/bench-memmove.c: Likewise.
62363         * benchtests/bench-memset.c: Likewise.
62364         * benchtests/bench-rawmemchr.c: Likewise.
62365         * benchtests/bench-strcasecmp.c: Likewise.
62366         * benchtests/bench-strcasestr.c: Likewise.
62367         * benchtests/bench-strcat.c: Likewise.
62368         * benchtests/bench-strchr.c: Likewise.
62369         * benchtests/bench-strcmp.c: Likewise.
62370         * benchtests/bench-strcpy.c: Likewise.
62371         * benchtests/bench-strcpy_chk.c: Likewise.
62372         * benchtests/bench-strlen.c: Likewise.
62373         * benchtests/bench-strncasecmp.c: Likewise.
62374         * benchtests/bench-strncat.c: Likewise.
62375         * benchtests/bench-strncmp.c: Likewise.
62376         * benchtests/bench-strncpy.c: Likewise.
62377         * benchtests/bench-strnlen.c: Likewise.
62378         * benchtests/bench-strpbrk.c: Likewise.
62379         * benchtests/bench-strrchr.c: Likewise.
62380         * benchtests/bench-strspn.c: Likewise.
62381         * benchtests/bench-strstr.c: Likewise.
62383 2013-09-04  Will Newton  <will.newton@linaro.org>
62385         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
62387 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
62389         [BZ #15427]
62390         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
62391         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
62392         * math/libm-test.inc (lgamma_test_data): Add more tests.
62393         * sysdeps/i386/fpu/libm-test-ulps: Update.
62394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62396 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
62398         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
62399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62400         Add ifunc.
62401         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62402         Add strcmp-sse2-unaligned
62403         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
62405 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62407         * Versions.def (libc): Add GLIBC_2.19.
62409 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
62411         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
62412         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
62414 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
62416         [BZ #14155]
62417         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
62418         intermediate calculations in recurrence.
62419         (__ieee754_ynf): Likewise.
62420         * math/libm-test.inc (jn_test_data): Do not allow spurious
62421         underflow exception.  Add more tests.
62422         (yn_test_data): Add more tests.
62423         * sysdeps/i386/fpu/libm-test-ulps: Update.
62424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62426 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
62428         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
62430 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62432         * csu/init-first.c: Fix then/than typos.
62433         * locale/programs/ld-collate.c: Likewise.
62434         * locale/programs/linereader.h: Likewise.
62435         * manual/charset.texi: Likewise.
62436         * manual/filesys.texi: Likewise.
62437         * manual/stdio.texi: Likewise.
62438         * manual/string.texi: Likewise.
62439         * stdlib/fmtmsg.c: Likewise.
62440         * sysdeps/i386/stpncpy.S: Likewise.
62441         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62442         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62443         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62444         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62446 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
62448         * elf/dl-open.c: Fix typos.
62449         * iconvdata/gbbig5.c: Likewise.
62450         * iconvdata/iso-2022-jp.c: Likewise.
62451         * iconv/gconv_int.h: Likewise.
62452         * iconv/loop.c: Likewise.
62453         * nis/rpcsvc/nis.h: Likewise.
62454         * resolv/ns_name.c: Likewise.
62455         * stdio-common/vfscanf.c: Likewise.
62456         * streams/stropts.h: Likewise.
62457         * sunrpc/rpc_thread.c: Likewise.
62458         * sysdeps/i386/strpbrk.S: Likewise.
62459         * sysdeps/ieee754/k_standard.c: Likewise.
62460         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62461         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62462         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
62463         * sysdeps/mach/hurd/profil.c: Likewise.
62464         * sysdeps/s390/dl-procinfo.h: Likewise.
62465         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
62466         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
62467         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
62468         * sysdeps/x86_64/dl-trampoline.S: Likewise.
62469         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
62471 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
62473         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
62474         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
62476 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
62478         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
62479         aix specific files.
62480         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
62481         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
62482         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
62483         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
62484         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
62485         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
62486         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
62487         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
62489 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62490             Roland McGrath  <roland@hack.frob.com>
62492         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
62493         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
62495 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62497         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
62498         __executable_start symbol instead of _start.
62500 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
62502         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
62503         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
62504         Move macros to...
62505         * sysdeps/gnu/ldsodefs.h: ... this new file.
62507         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
62508         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
62509         instead of ELFOSABI_LINUX.
62511         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
62512         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
62513         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
62514         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
62515         Likewise.
62516         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
62517         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
62518         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
62519         Likewise.
62520         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62521         (ibm_extended_long_double): Add ieee_nan member.
62522         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
62523         (do_test): New function.
62525         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
62526         TEST_TRUNC.
62527         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
62528         functions, renamed from truncdfsf_test, trunctfsf_test,
62529         trunctfdf_test.
62530         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
62531         functions.
62532         (do_test): Run all these.
62534 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
62536         * argp/argp-help.c: Fix typos.
62537         * argp/argp-parse.c: Likewise.
62538         * debug/backtracesyms.c: Likewise.
62539         * elf/elf.h: Likewise.
62540         * malloc/malloc.c: Likewise.
62541         * nis/nis_print.c: Likewise.
62542         * resolv/res_comp.c: Likewise.
62543         * stdlib/stdlib.h: Likewise.
62544         * sunrpc/clnt_tcp.c: Likewise.
62545         * sunrpc/clnt_udp.c: Likewise.
62546         * sunrpc/clnt_unix.c: Likewise.
62547         * sysdeps/unix/bsd/ptsname.c: Likewise.
62548         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
62549         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
62550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
62551         Likewise.
62552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
62553         Likewise.
62554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
62555         Likewise.
62556         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62558 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62560         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
62561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62563 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
62565         [BZ #15897]
62566         * dlfcn/Makefile (tests): Add bug-dl-leaf.
62567         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
62568         ($(objpfx)bug-dl-leaf): New rule.
62569         ($(objpfx)bug-dl-leaf.so): Likewise.
62570         ($(objpfx)bug-dl-leaf.out): Likewise.
62571         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
62572         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
62573         * dlfcn/bug-dl-leaf.c: New test.
62574         * dlfcn/bug-dl-leaf-lib.c: Likewise.
62575         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
62576         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
62577         (dlclose): Likewise.
62578         (dlmopen): Likewise.
62580 2013-08-27  Roland McGrath  <roland@hack.frob.com>
62582         * include/netdb.h [!_ISOMAC]:
62583         Don't include <tls.h>.
62584         (h_errno, __libc_h_errno): Move declaration and macros out of
62585         [_LIBC_REENTRANT].
62587         * include/resolv.h [_RESOLV_H_]:
62588         Don't include <tls.h>.
62589         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
62590         * resolv/res_libc.c: Don't include <tls.h>.
62591         (_res): Use __attribute__ ((nocommon)) in place of
62592         __attribute__ ((section (".bss"))).
62594         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
62595         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
62597         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
62599         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
62600         only under [SIOCGIFCONF && SIOCGIFNETMASK].
62602         * resolv/res_mkquery.c: Include <sys/time.h>.
62604         * inet/ifreq.c: Moved to ...
62605         * sysdeps/unix/ifreq.c: ... here.
62606         * inet/ifreq.c: New file, true stub version.
62608         * socket/sa_len.c: New file.
62609         * socket/Makefile (aux): Add it.
62610         * sysdeps/unix/sysv/linux/Makefile
62611         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
62612         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
62613         and #include <socket/sa_len.c>.
62614         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
62615         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
62617         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
62618         * bits/socket.h: ... here.
62620         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
62621         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
62622         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
62624 2013-08-27  Andreas Schwab  <schwab@suse.de>
62626         [BZ #15736]
62627         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
62628         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
62629         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
62630         * string/test-strcasecmp.c (test_main): Run tests in several
62631         locales.
62632         * string/test-strncasecmp.c (test_main): Likewise.
62634         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
62635         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
62636         to __strcasecmp_nonascii and __strncasecmp_nonascii.
62637         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
62638         (__strncasecmp_ssse3) [PIC]: Likewise.
62640 2013-08-26  Roland McGrath  <roland@hack.frob.com>
62642         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
62644         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
62645         instead of explicitly declaring xdecrypt.
62646         * nis/nss_nis/nis-publickey.c: Likewise.
62648 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62650         [BZ #15890]
62651         * nscd/aicache.c: Include res_hconf.h.
62652         (addhstaiX): Initialize res_hconf.
62654 2013-08-26  Andreas Schwab  <schwab@suse.de>
62656         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
62657         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
62659 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62661         * nscd/aicache.c (addhstaiX): Fix indentation.
62663 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
62665         * configure.ac: Quote $build_pt_chown test.
62666         * configure: Regenerated.
62668 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
62670         [BZ #15532]
62671         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
62672         * math/s_cexpf.c (__cexpf): Likewise.
62673         * math/s_cexpl.c (__cexpl): Likewise.
62674         * math/libm-test.inc (cexp_test_data): Correct expected return
62675         value for NaN + i0.  Add another test.
62677 2013-08-22  David S. Miller  <davem@davemloft.net>
62679         * po/ca.po: Update Catalan translation from translation project.
62680         * po/uk.po: Add Ukrainian translations from translation project.
62682 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
62684         [BZ #15797]
62685         * math/s_fdim.c (__fdim): Check for infinite arguments if result
62686         is infinite, not alongside NaN test.
62687         * math/s_fdimf.c (__fdimf): Likewise.
62688         * math/s_fdiml.c (__fdiml): Likewise.
62689         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
62690         errno is unchanged.
62692 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
62694         * argp/argp-help.c: Fix typos.
62695         * crypt/speeds.c: Likewise.
62696         * csu/check_fds.c: Likewise.
62697         * elf/dl-load.c: Likewise.
62698         * elf/dl-open.c: Likewise.
62699         * elf/reldep3.c: Likewise.
62700         * elf/reldep.c: Likewise.
62701         * elf/sprof.c: Likewise.
62702         * iconv/iconv_charmap.c: Likewise.
62703         * iconv/skeleton.c: Likewise.
62704         * iconv/strtab.c: Likewise.
62705         * io/lockf64.c: Likewise.
62706         * libio/libioP.h: Likewise.
62707         * resolv/gai_notify.c: Likewise.
62708         * resolv/ns_name.c: Likewise.
62709         * resolv/ns_samedomain.c: Likewise.
62710         * resolv/res_send.c: Likewise.
62711         * stdlib/random.c: Likewise.
62712         * sunrpc/rpc/xdr.h: Likewise.
62713         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
62714         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62715         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62716         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62717         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62718         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62719         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62720         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62721         * sysdeps/mach/hurd/check_fds.c: Likewise.
62722         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62723         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62724         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62725         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62726         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62727         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62728         * sysdeps/pthread/aio_notify.c: Likewise.
62729         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
62730         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
62731         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
62732         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62733         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
62735 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62737         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
62738         version if bit_Slow_SSE4_2 is set.
62739         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62740         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62742 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62744         [BZ #15867]
62745         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
62746         trampoline stack frame information.
62747         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
62748         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
62749         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
62750         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
62751         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
62752         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62753         (_libc_vdso_platform_setup): Initialize the signal trampolines.
62754         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
62755         sa_flags value.
62756         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
62757         interrupting a syscall and set with option SA_SIGINFO.
62759 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62761         [BZ #15531]
62762         * math/s_cproj.c (__cproj): Only return an infinity if one part of
62763         argument is infinite.
62764         * math/s_cprojf.c (__cprojf): Likewise.
62765         * math/s_cprojl.c (__cprojl): Likewise.
62766         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
62767         * math/libm-test.inc (cproj_test_data): Add more tests.
62769         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
62771         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
62772         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
62773         size.  Use __ffs to determine corresponding shift.
62775 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
62776             Roland McGrath  <roland@hack.frob.com>
62778         * Makefile (INSTALL): Remove trailing blank lines from output of
62779         makeinfo.
62781 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62783         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
62784         Align 32 bit compat elf_greg to 8 bytes.
62786 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
62788         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
62790 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62792         * string/strcoll_l.c (coll_seq): New structure.
62793         (get_next_seq_cached): New function.
62794         (get_next_seq): New function.
62795         (do_compare): New function.
62796         (STRCOLL): Use GNU style definition.  Simplify implementation
62797         by using get_next_seq, get_next_seq_cached and do_compare.
62799 2013-08-16  Florian Weimer  <fweimer@redhat.com>
62801         [BZ #14699]
62802         CVE-2013-4237
62803         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
62804         member.
62805         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
62806         member.
62807         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
62808         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
62809         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
62810         conditional.
62811         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
62812         GETDENTS_64BIT_ALIGNED.
62813         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
62814         * manual/filesys.texi (Reading/Closing Directory): Document
62815         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
62816         strongly.
62817         * manual/conf.texi (Limits for Files): Add portability note to
62818         NAME_MAX, PATH_MAX.
62819         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
62821 2013-08-13  Andreas Schwab  <schwab@suse.de>
62823         [BZ #15749]
62824         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
62825         of fabs.
62826         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
62827         LDBL_MAX_EXP >= 16384]: Add tests for it.
62829 2013-08-12  David S. Miller  <davem@davemloft.net>
62831         * version.h (RELEASE): Set to "development".
62832         (VERSION): Set to "2.18.90".
62833         * NEWS: Add 2.19 section.
62835 2013-08-03  David S. Miller  <davem@davemloft.net>
62837         * po/ko.po: Update Korean translation from translation project.
62839 2013-08-01  David S. Miller  <davem@davemloft.net>
62841         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
62842         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
62843         Bilka.
62845 2013-07-30  David S. Miller  <davem@davemloft.net>
62847         * po/fr.po: Update French translation from translation project.
62849 2013-07-28  David S. Miller  <davem@davemloft.net>
62851         * po/cs.po: Update Czech translation from translation project.
62853         * po/sv.po: Update Swedish translation from translation project.
62855 2013-07-27  David S. Miller  <davem@davemloft.net>
62857         * po/eo.po: Update Esperanto translation from translation project.
62859         * po/vi.po: Update Vietnamese translation from translation project.
62861         * po/de.po: Update German translation from translation project.
62863 2013-07-26  David S. Miller  <davem@davemloft.net>
62865         * po/bg.po: Update Bulgarian translation from translation project.
62867         * po/nl.po: Update Dutch translation from translation project.
62868         * po/pl.po: Update Polish translation from translation project.
62869         * po/ru.po: Update Russian translation from translation project.
62871 2013-07-24  David S. Miller  <davem@davemloft.net>
62873         * po/libc.pot: Update.
62875 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62877         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
62878         variable page size.
62879         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
62880         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
62881         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
62883 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62885         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
62887 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62888             Andreas Schwab  <schwab@suse.de>
62889             Roland McGrath  <roland@hack.frob.com>
62890             Joseph Myers  <joseph@codesourcery.com>
62891             Carlos O'Donell  <carlos@redhat.com>
62893         [BZ #15755]
62894         * config.h.in: Define HAVE_PT_CHOWN.
62895         * config.make.in (build-pt-chown): New variable.
62896         * configure.in (--enable-pt_chown): New configure option.
62897         * configure: Regenerate.
62898         * login/Makefile: Include Makeconfig.  Build pt_chown only if
62899         build-pt-chown is enabled.
62900         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
62901         pt_chown to fix pty ownership.
62902         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
62903         CLOSE_ALL_FDS.
62904         * manual/install.texi (Configuring and compiling): Mention
62905         --enable-pt_chown. Add @findex for grantpt.
62906         * INSTALL: Regenerate.
62908 2013-07-20  David S. Miller  <davem@davemloft.net>
62910         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
62911         difference between 32-bit and 64-bit.
62913 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
62915         [BZ #15711]
62916         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
62917         Avoid system header dependency with -ffreestanding.
62918         ($(objpfx)bits/syscall%d): Likewise.
62920 2013-07-13  David S. Miller  <davem@davemloft.net>
62922         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
62923         underflows from atanl/atan2l due to bug 15319.
62924         (casinh_test_data): Likewise.
62926 2013-07-07  David S. Miller  <davem@davemloft.net>
62928         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
62930 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
62932         * sysdeps/i386/fpu/libm-test-ulps: Update.
62933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62935 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62937         * configure.in (--enable-lock-elision): Fix message text.
62938         * INSTALL: Regenerate.
62939         * configure: Regenerate.
62941 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62945 2013-07-03  Andreas Jaeger  <aj@suse.de>
62947         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
62948         define.
62949         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
62950         (ptrace_peeksiginfo_args): Add.
62951         (__ptrace_peeksiginfo_flags): Add.
62952         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
62953         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
62954         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
62956 2013-07-03  Allan McRae  <allan@archlinux.org>
62958         * sysdeps/i386/fpu/libm-test-ulps: Update.
62960 2013-07-02  David S. Miller  <davem@davemloft.net>
62962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62964 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
62966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62968 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62970         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
62971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62973 2013-07-02  Andi Kleen <ak@linux.intel.com>
62975         * config.h.in (ENABLE_LOCK_ELISION): Add.
62976         * configure.in (--enable-lock-elision): Add option.
62977         * manual/install.texi: Document --enable lock elision.
62978         * configure: Regenerate
62979         * INSTALL: Regenerate.
62981 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
62983         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
62984         SSE4.2 strcasecmp for libc.a.
62985         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
62987 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
62989         [BZ #13304]
62990         * soft-fp/op-common.h (_FP_FMA): New macro.
62991         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
62992         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
62993         (_FP_MUL_MEAT_1_imm): ... here.
62994         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
62995         (_FP_MUL_MEAT_1_wide): ... here.
62996         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
62997         (_FP_MUL_MEAT_1_hard): ... here.
62998         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
62999         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
63000         (_FP_MUL_MEAT_2_wide): ... here.
63001         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
63002         (_FP_MUL_MEAT_2_wide_3mul): ... here.
63003         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
63004         (_FP_MUL_MEAT_2_gmp): ... here.
63005         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
63006         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
63007         (_FP_MUL_MEAT_4_wide): ... here.
63008         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
63009         (_FP_MUL_MEAT_4_gmp): ... here.
63010         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63011         (_FP_WFRACBITS_DW_S): Likewise.
63012         (_FP_WFRACXBITS_DW_S): Likewise.
63013         (_FP_HIGHBIT_DW_S): Likewise.
63014         (FP_FMA_S): Likewise.
63015         (_FP_FRAC_HIGH_DW_S): Likewise.
63016         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63017         (_FP_WFRACBITS_DW_D): Likewise.
63018         (_FP_WFRACXBITS_DW_D): Likewise.
63019         (_FP_HIGHBIT_DW_D): Likewise.
63020         (FP_FMA_D): Likewise.
63021         (_FP_FRAC_HIGH_DW_D): Likewise.
63022         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63023         (_FP_WFRACBITS_DW_E): Likewise.
63024         (_FP_WFRACXBITS_DW_E): Likewise.
63025         (_FP_HIGHBIT_DW_E): Likewise.
63026         (FP_FMA_E): Likewise.
63027         (_FP_FRAC_HIGH_DW_E): Likewise.
63028         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63029         (_FP_WFRACBITS_DW_Q): Likewise.
63030         (_FP_WFRACXBITS_DW_Q): Likewise.
63031         (_FP_HIGHBIT_DW_Q): Likewise.
63032         (FP_FMA_Q): Likewise.
63033         (_FP_FRAC_HIGH_DW_Q): Likewise.
63034         * soft-fp/fmasf4.c: New file.
63035         * soft-fp/fmadf4.c: Likewise.
63036         * soft-fp/fmatf4.c: Likewise.
63038 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63041         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63042         Silvermont.
63043         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63044         macro.
63045         (index_Slow_SSE4_2): Likewise.
63046         (index_Prefer_PMINUB_for_stringop): Likewise.
63047         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63048         bit_Slow_SSE4_2 is set.
63049         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63050         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63052 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63054         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63055         rtld_global._dl_hwcap2.
63056         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63057         POWER8.
63058         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63059         POWER8 feature descriptions defined in _dl_hwcap2.
63060         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63061         string handling for POWER8 feature bits.
63062         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63063         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63064         _dl_powerpc_cap_flags.
63065         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
63066         * sysdeps/powerpc/rtld-global-offsets.sym
63067         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
63068         _dl_hwcap2 in the rtld_global_ro structure.
63070 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63072         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
63073         hardware capabilities in support of AT_HWCAP2.
63074         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
63075         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
63076         GLRO(dl_hwcap2).
63077         (_dl_show_auxv): Add support for calling _dl_procinfo to display
63078         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
63079         explicitly the unknown a_type display mechanism is used.
63080         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
63081         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
63082         struct member.
63083         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
63084         to macro prototype for AT_HWCAP2 support.
63085         * sysdeps/i386/dl-procinfo.h: Likewise.
63086         * sysdeps/s390/dl-procinfo.h: Likewise.
63087         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
63088         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
63089         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
63090         return -1 for unknown a_type display fallback.
63091         * sysdeps/sparc/dl-procinfo.h: Likewise.
63092         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
63093         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
63095 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
63097         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
63098         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
63100 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
63102         [BZ #12492]
63103         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
63104         mprotect making __stack_prot writable.
63106 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
63107             Joseph Myers  <joseph@codesourcery.com>
63109         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
63110         as being properly aligned.
63112 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
63114         * dlfcn/modstatic5.c: New file.
63115         * dlfcn/tststatic5.c: New file.
63116         * dlfcn/Makefile (tests): Add tststatic5.
63117         (tests-static): Likewise.
63118         (modules-names): Add modstatic5.
63119         (tststatic5-ENV): New variable.
63120         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
63122         [BZ #15022]
63123         * elf/dl-support.c (_dl_main_map): New variable.
63124         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
63125         (_dl_nns, _dl_load_adds): Set to 1.
63126         (_dl_initial_searchlist): Refer to _dl_main_map.
63127         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
63128         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
63129         call to _dl_get_origin.
63130         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
63131         around call_map.
63132         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
63133         * dlfcn/modstatic3.c: New file.
63134         * dlfcn/tststatic3.c: New file.
63135         * dlfcn/tststatic4.c: New file.
63136         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
63137         (tests-static): Likewise.
63138         (modules-names): Add modstatic3.
63139         (tststatic3-ENV, tststatic4-ENV): New variables.
63140         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
63141         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
63143 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
63145         * configure.in (CC): Require GCC version 4.4 or later.
63146         * configure: Regenerated.
63147         * manual/install.texi (Tools for Compilation): Update GCC version
63148         requirement.
63149         * INSTALL: Regenerated.
63151 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63153         [BZ #15674]
63154         * string/test-memcmp.c (check2): New.
63155         (main): Call check2.
63157         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
63159 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
63161         [BZ #15022]
63162         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
63163         over to...
63164         (dl_open_worker) [!SHARED]: ... here.
63166 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63168         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
63170 2013-06-25  Richard Henderson  <rth@redhat.com>
63172         * locale/programs/locarchive.c: Include <libc-internal.h>
63174 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
63176         * manual/texinfo.tex: Update to version 2013-06-21.17, with
63177         trailing whitespace removed.
63179 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63181         [BZ #10283]
63182         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
63183         * locale/programs/locarchive.c: Include libc-mmap.h.
63184         (prepare_address_space): Take two new outputs (the mmap base and len).
63185         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
63186         values.
63187         (create_archive): Declare new mmap base and len values for
63188         prepare_address_space, and store the result in ah.
63189         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
63190         (enlarge_archive): If ah->mmap_base is not NULL, use that and
63191         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63192         Declare new mmap base and len values for
63193         prepare_address_space, and store the result in new_ah.
63194         (open_archive): Declare new mmap base and len values for
63195         prepare_address_space, and store the result in ah.
63196         (close_archive): If ah->mmap_base is not NULL, use that and
63197         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
63198         * sysdeps/generic/libc-mmap.h: New file.
63200 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
63202         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
63203         (ALIGN_UP): Likewise.
63204         (PTR_ALIGN_DOWN): Likewise.
63205         (PTR_ALIGN_UP): Likewise.
63207 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63209         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
63210         entry mapped to PPC_PLATFORM_POWER8.
63211         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
63212         POWER8.
63213         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
63214         (_dl_string_platform): Add case for exporting platform position for
63215         POWER8.
63216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
63217         search path to sysdeps/powerpc/powerpc32/power8 directory.
63218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
63219         search path to sysdeps/powerpc/powerpc64/power8 directory.
63220         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
63221         power7 directories.
63222         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
63223         power7 directories.
63225 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
63227         * INSTALL: Regenerate.
63229         * nscd/connections.c (nscd_init): Fix comment.
63231 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
63233         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
63235         [BZ #15667]
63236         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
63237         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
63239 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63241         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
63242         DL_DST_REQ_STATIC.
63243         (DL_DST_REQ_STATIC): Remove macro.
63245 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
63247         [BZ #7006]
63248         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
63249         with a shift of 0 bits.
63251 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
63253         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
63254         $(tststatic-ENV).
63256 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63258         [BZ #15655]
63259         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
63261 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63263         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
63264         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
63265         accepts -fno-tree-loop-distribute-patterns.
63266         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
63267         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
63268         recursive call.
63269         * string/memset.c (memset): Likewise.
63270         * string/test-memmove.c (simple_memmove): Disable loop transformation
63271         to library calls.
63272         * string/test-memset.c (simple_memset): Likewise.
63273         * benchtests/bench-memmove.c (simple_memmove): Likewise.
63274         * benchtests/bench-memset.c (simple_memset): Likewise.
63275         * configure: Regenerated.
63277 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
63279         * math/test-misc.c (main): Ignore fesetround failure when failures
63280         of subsequent rounding tests would be ignored.
63282         [BZ #15654]
63283         * math/fedisblxcpt.c (fedisableexcept): Return 0.
63284         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
63285         * math/fegetenv.c (__fegetenv): Return 0.
63286         * math/fegetexcept.c (fegetexcept): Return 0.
63287         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
63288         FE_TONEAREST.
63289         * math/feholdexcpt.c (feholdexcept): Return 0.
63290         * math/fesetenv.c (__fesetenv): Return 0.
63291         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
63292         argument FE_TONEAREST.
63293         * math/feupdateenv.c (__feupdateenv): Return 0.
63294         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
63296 2013-06-18  Roland McGrath  <roland@hack.frob.com>
63298         * elf/rtld-Rules (rtld-compile-command.S): New variable.
63299         (rtld-compile-command.s, rtld-compile-command.c): New variables.
63300         ($(objpfx)rtld-%.os rules): Use them.
63302 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63304         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
63305         fields.
63307 2013-06-17  Roland McGrath  <roland@hack.frob.com>
63309         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
63310         length of target pattern, then descending length of dependency pattern.
63311         * configure.in (AWK): Require gawk 3.1.2 or newer.
63312         * manual/install.texi (Tools for Compilation): Say that we do.
63313         * configure: Regenerated.
63315         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
63316         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
63317         * scripts/sysd-rules.awk: ... this new script.
63318         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
63319         than a glob-style pattern.
63321 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
63323         * math/test-misc.c (main): Do not treat incorrectly rounded
63324         conversions as failure unless ROUNDING_TESTS passes.
63326 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
63328         [BZ #15631]
63329         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
63330         restore exception state around main square root computation, then
63331         check for inexactness explicitly.
63333         * math/libm-test.inc (fma_test_data): Add another test.
63335 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63337         * manual/threads.texi (Non-POSIX Extensions): New document
63338         node.  Document pthread_getattr_default_np and
63339         pthread_setattr_default_np.
63341         * Versions.def (libpthread): Add GLIBC_2.18.
63342         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
63343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63344         Likewise.
63345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63346         Likewise.
63347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63348         Likewise.
63349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63350         Likewise.
63351         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
63352         Likewise.
63353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63354         Likewise.
63355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63356         Likewise.
63357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63358         Likewise.
63359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63360         Likewise.
63362 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63365         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
63367 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63368             H.J. Lu  <hjl.tools@gmail.com>
63370         [BZ #15627]
63371         * sysdeps/x86_64/rtld-memset.c: Remove file.
63372         * sysdeps/x86_64/rtld-memset.S: New file.
63374 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
63376         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
63377         (test_in_one_mode): Take arguments for whether the rounding mode
63378         is supported for each floating-point type.
63379         (do_test): Pass new arguments to test_in_one_mode using
63380         ROUNDING_TESTS.
63382 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63384         * posix/tst-waitid.c (do_test): Distinguish different instances of
63385         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
63386         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
63387         before entering the kernel for waitpid.
63389 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63391         * NEWS: Fix note on clock function precision.  Text by Roland
63392         McGrath.
63394 2013-06-13  Roland McGrath  <roland@hack.frob.com>
63396         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
63397         it into place only when and if the sanity check passes.
63399 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
63401         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
63402         output for whether conversion result is exact.  Take argument
63403         indicating whether type is IBM long double.
63404         (round_for_all): Change need_exact field to ibm_ld.
63405         * stdlib/tst-strtod-round.c (struct exactness): New type.
63406         (struct test): Change bool ld_ok field to struct exactness exact.
63407         (TEST): Update all definitions for change to field.
63408         (tests): Regenerate array contents.
63409         (test_in_one_mode): Take pointer to new field instead of old ld_ok
63410         field value.  Check for IBM long double here.
63411         (do_test): Update calls to test_in_one_mode.
63413 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63415         [BZ #12515]
63416         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
63417         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
63419 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63421         [BZ #15605]
63422         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
63423         generated by the compiler on loop optimizations.
63424         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
63425         general definitions.
63427 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
63429         * math/bug-nextafter.c: Include <math-tests.h>.
63430         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63431         the relevant type.
63432         * math/bug-nexttoward.c: Include <math-tests.h>.
63433         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63434         the relevant type.
63435         * math/test-misc.c: Include <math-tests.h>.
63436         (main): Only test for exceptions if EXCEPTION_TESTS is true for
63437         the relevant type.
63439 2013-06-12  Andreas Jaeger  <aj@suse.de>
63441         * po/ia.po: Update Interlingua translation from translation
63442         project.
63444 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63446         * include/fenv.h: Include stdbool.h.
63447         (struct rm_ctx): New structure.
63448         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
63449         Define macro.
63450         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
63451         (SET_RESTORE_ROUNDF): Likewise.
63452         (SET_RESTORE_ROUNDL): Likewise.
63453         (SET_RESTORE_ROUND_NOEX): Likewise.
63454         (SET_RESTORE_ROUND_NOEXF): Likewise.
63455         (SET_RESTORE_ROUND_NOEXL): Likewise.
63456         (SET_RESTORE_ROUND_53BIT): Likewise.
63457         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
63458         (libc_feresetround_noexf_ctx): Likewise.
63459         (libc_feresetround_noexl_ctx): Likewise.
63460         (libc_feholdsetround_53bit_ctx): Likewise.
63461         (libc_feresetround_53bit_ctx): Likewise.
63462         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
63463         (libc_feholdexcept_setround_sse_ctx): New function.
63464         (libc_fesetenv_sse_ctx): Likewise.
63465         (libc_feupdateenv_sse_ctx): Likewise.
63466         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
63467         (libc_feholdexcept_setround_387_ctx): Likewise.
63468         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
63469         (libc_feholdsetround_387_prec_ctx): Likewise.
63470         (libc_feholdsetround_387_ctx): Likewise.
63471         (libc_feholdsetround_387_53bit_ctx): Likewise.
63472         (libc_feholdsetround_sse_ctx): Likewise.
63473         (libc_feresetround_sse_ctx): Likewise.
63474         (libc_feresetround_387_ctx): Likewise.
63475         (libc_feupdateenv_387_ctx): Likewise.
63476         (libc_feholdexcept_setroundf_ctx): Define macro.
63477         (libc_fesetenvf_ctx): Likewise.
63478         (libc_feupdateenvf_ctx): Likewise.
63479         (libc_feholdsetroundf_ctx): Likewise.
63480         (libc_feresetroundf_ctx): Likewise.
63481         (libc_feholdexcept_setround_ctx): Likewise.
63482         (libc_fesetenv_ctx): Likewise.
63483         (libc_feupdateenv_ctx): Likewise.
63484         (libc_feholdsetround_ctx): Likewise.
63485         (libc_feresetround_ctx): Likewise.
63486         (libc_feholdexcept_setroundl_ctx): Likewise.
63487         (libc_feupdateenvl_ctx): Likewise.
63488         (libc_feholdsetroundl_ctx): Likewise.
63489         (libc_feresetroundl_ctx): Likewise.
63490         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
63491         (libc_feresetround_53bit_ctx): Likewise.
63493 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63495         * locale/iso-639.def: Convert to UTF-8.
63497 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
63499         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
63500         (EXCEPTION_TESTS_double): Likewise.
63501         (EXCEPTION_TESTS_long_double): Likewise.
63502         (EXCEPTION_TESTS): Likewise.
63503         * math/libm-test.inc (test_exceptions): Only test exceptions if
63504         EXCEPTION_TESTS (FLOAT).
63506 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63508         * benchtests/Makefile (string-bench): Add strcpy_chk and
63509         stpcpy_chk.
63510         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
63511         * benchtests/bench-stpcpy_chk.c: New file.
63512         * benchtests/bench-strcpy_chk-ifunc.c: New file.
63513         * benchtests/bench-strcpy_chk.c: New file.
63514         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
63515         code.
63516         (do_test): Likewise.
63518 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63520         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
63521         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
63522         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
63523         with tabs where appropriate.
63524         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
63525         dl-procinfo.h.
63526         [PPC_PLATFORM_PPC440]: Likewise.
63527         [PPC_PLATFORM_PPC464]: Likewise.
63528         [PPC_PLATFORM_PPC476]: Likewise.
63529         (_dl_string_platform): Add support for detecting ppc405, ppc440,
63530         ppc464, and ppc476 platform strings merging from ports/
63531         dl-procinfo.h.
63533 2013-06-11  Andreas Schwab  <schwab@suse.de>
63535         [BZ #14991]
63536         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
63537         (from_ucs4_idx): Regenerate.
63538         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
63539         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
63540         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
63541         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
63542         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
63543         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
63544         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
63545         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
63546         from FROM_LOOP and TO_LOOP specific macros.
63547         (BODY): Handle combining characters.
63548         * iconvdata/BIG5HKSCS.irreversible: Update.
63549         * iconvdata/BIG5HKSCS.precomposed: New file.
63550         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
63551         characters.
63552         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
63554 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63556         * include/sys/time.h: Fix indentation and add copyright header.
63558         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
63559         (do_test): Likewise.
63560         * string/test-memchr.c (do_one_test): Likewise.
63561         (do_test): Likewise.
63562         * string/test-memcmp.c (do_one_test): Likewise.
63563         (do_test): Likewise.
63564         * string/test-memcpy.c (do_one_test): Likewise.
63565         (do_test): Likewise.
63566         * string/test-memmem.c (do_one_test): Likewise.
63567         (do_test): Likewise.
63568         (do_random_tests): Likewise.
63569         * string/test-memmove.c (do_one_test): Likewise.
63570         (do_test): Likewise.
63571         * string/test-memset.c (do_one_test): Likewise.
63572         (do_test): Likewise.
63573         * string/test-rawmemchr.c (do_one_test): Likewise.
63574         (do_test): Likewise.
63575         * string/test-strcasecmp.c (do_one_test): Likewise.
63576         (do_test): Likewise.
63577         * string/test-strcasestr.c (do_one_test): Likewise.
63578         (do_test): Likewise.
63579         * string/test-strcat.c (do_one_test): Likewise.
63580         (do_test): Likewise.
63581         * string/test-strchr.c (do_one_test): Likewise.
63582         (do_test): Likewise.
63583         * string/test-strcmp.c (do_one_test): Likewise.
63584         (do_test): Likewise.
63585         * string/test-strcpy.c (do_one_test): Likewise.
63586         (do_test): Likewise.
63587         * string/test-string.h: Likewise.
63588         (test_init): Likewise.
63589         * string/test-strlen.c (do_one_test): Likewise.
63590         (do_test): Likewise.
63591         * string/test-strncasecmp.c (do_one_test): Likewise.
63592         (do_test): Likewise.
63593         * string/test-strncat.c (do_one_test): Likewise.
63594         (do_test): Likewise.
63595         * string/test-strncmp.c (do_one_test): Likewise.
63596         (do_test_limit): Likewise.
63597         (do_test): Likewise.
63598         * string/test-strncpy.c (do_one_test): Likewise.
63599         (do_test): Likewise.
63600         * string/test-strnlen.c (do_one_test): Likewise.
63601         (do_test): Likewise.
63602         * string/test-strpbrk.c (do_one_test): Likewise.
63603         (do_test): Likewise.
63604         * string/test-strrchr.c (do_one_test): Likewise.
63605         (do_test): Likewise.
63606         * string/test-strspn.c (do_one_test): Likewise.
63607         (do_test): Likewise.
63608         * string/test-strstr.c (do_one_test): Likewise.
63609         (do_test): Likewise.
63611         * benchtests/Makefile (string-bench): Add string benchmarks.
63612         * benchtests/bench-bcopy-ifunc.c: New file.
63613         * benchtests/bench-bcopy.c: New file.
63614         * benchtests/bench-bzero-ifunc.c: New file.
63615         * benchtests/bench-bzero.c: New file.
63616         * benchtests/bench-memccpy-ifunc.c: New file.
63617         * benchtests/bench-memccpy.c: New file.
63618         * benchtests/bench-memchr-ifunc.c: New file.
63619         * benchtests/bench-memchr.c: New file.
63620         * benchtests/bench-memcmp-ifunc.c: New file.
63621         * benchtests/bench-memcmp.c: New file.
63622         * benchtests/bench-memmem-ifunc.c: New file.
63623         * benchtests/bench-memmem.c: New file.
63624         * benchtests/bench-memmove-ifunc.c: New file.
63625         * benchtests/bench-memmove.c: New file.
63626         * benchtests/bench-mempcpy-ifunc.c: New file.
63627         * benchtests/bench-mempcpy.c: New file.
63628         * benchtests/bench-memset-ifunc.c: New file.
63629         * benchtests/bench-memset.c: New file.
63630         * benchtests/bench-rawmemchr-ifunc.c: New file.
63631         * benchtests/bench-rawmemchr.c: New file.
63632         * benchtests/bench-stpcpy-ifunc.c: New file.
63633         * benchtests/bench-stpcpy.c: New file.
63634         * benchtests/bench-stpncpy-ifunc.c: New file.
63635         * benchtests/bench-stpncpy.c: New file.
63636         * benchtests/bench-strcasecmp-ifunc.c: New file.
63637         * benchtests/bench-strcasecmp.c: New file.
63638         * benchtests/bench-strcasestr-ifunc.c: New file.
63639         * benchtests/bench-strcasestr.c: New file.
63640         * benchtests/bench-strcat-ifunc.c: New file.
63641         * benchtests/bench-strcat.c: New file.
63642         * benchtests/bench-strchr-ifunc.c: New file.
63643         * benchtests/bench-strchr.c: New file.
63644         * benchtests/bench-strchrnul-ifunc.c: New file.
63645         * benchtests/bench-strchrnul.c: New file.
63646         * benchtests/bench-strcmp-ifunc.c: New file.
63647         * benchtests/bench-strcmp.c: New file.
63648         * benchtests/bench-strcpy-ifunc.c: New file.
63649         * benchtests/bench-strcpy.c: New file.
63650         * benchtests/bench-strcspn-ifunc.c: New file.
63651         * benchtests/bench-strcspn.c: New file.
63652         * benchtests/bench-strlen-ifunc.c: New file.
63653         * benchtests/bench-strlen.c: New file.
63654         * benchtests/bench-strncasecmp-ifunc.c: New file.
63655         * benchtests/bench-strncasecmp.c: New file.
63656         * benchtests/bench-strncat-ifunc.c: New file.
63657         * benchtests/bench-strncat.c: New file.
63658         * benchtests/bench-strncmp-ifunc.c: New file.
63659         * benchtests/bench-strncmp.c: New file.
63660         * benchtests/bench-strncpy-ifunc.c: New file.
63661         * benchtests/bench-strncpy.c: New file.
63662         * benchtests/bench-strnlen-ifunc.c: New file.
63663         * benchtests/bench-strnlen.c: New file.
63664         * benchtests/bench-strpbrk-ifunc.c: New file.
63665         * benchtests/bench-strpbrk.c: New file.
63666         * benchtests/bench-strrchr-ifunc.c: New file.
63667         * benchtests/bench-strrchr.c: New file.
63668         * benchtests/bench-strspn-ifunc.c: New file.
63669         * benchtests/bench-strspn.c: New file.
63670         * benchtests/bench-strstr-ifunc.c: New file.
63671         * benchtests/bench-strstr.c: New file.
63673         * benchtests/Makefile: Disable parallel execution of targets.
63674         (string-bench): Add memcpy.
63675         (benchset): New variable to store a list of benchmark sets.
63676         (bench-func): Renamed from bench.
63677         (bench-set): New target.
63678         (bench): Depend on bench-func and bench-set.
63679         * benchtests/README: Add section on benchmark sets.
63680         * benchtests/bench-memcpy-ifunc.c: New file.
63681         * benchtests/bench-memcpy.c: New file.
63682         * benchtests/bench-string.h: New file.
63684 2013-06-11  Andreas Schwab  <schwab@suse.de>
63686         [BZ #15577]
63687         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
63688         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
63689         values in the triple.
63690         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
63691         terminator in the group key.
63693 2013-06-11  Andreas Jaeger  <aj@suse.de>
63695         * po/zh_TW.po: Update Chinese (traditional) translation from
63696         translation project.
63698 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63700         * include/time.h (__clock_gettime): Add libc_hidden_proto.
63701         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
63702         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
63703         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63704         (clock_getcpuclockid): Likewise.
63705         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
63706         Add weak_alias and libc_hidden_def.
63707         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
63708         * rt/clock_gettime.c (clock_gettime): Rename to
63709         __clock_gettime.  Add weak_alias and libc_hidden_def.
63710         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
63711         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
63712         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
63713         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
63714         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
63715         Likewise.
63716         * rt/clock_settime.c (clock_settime): Rename to
63717         __clock_settime.  Add weak_alias and libc_hidden_def.
63718         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
63720 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
63722         * mach/err_boot.sub: Remove trailing whitespace.
63723         * mach/err_ipc.sub: Likewise.
63724         * mach/err_mach.sub: Likewise.
63726         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
63727         (ROUNDING_TESTS_double): Likewise.
63728         (ROUNDING_TESTS_long_double): Likewise.
63729         (ROUNDING_TESTS): Likewise.
63730         * math/libm-test.inc: Include <math-tests.h>.
63731         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
63732         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
63733         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
63734         (IF_ROUND_INIT_FE_UPWARD): Likewise.
63736 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63738         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
63739         of assigning.
63741 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
63743         * sysdeps/gnu/errlist.awk: Do not generate space at end of
63744         otherwise empty TRANS lines.
63745         * sysdeps/gnu/errlist.c: Regenerated.
63747         * catgets/gencat.c (error_print): Use (void) in function
63748         definition.
63749         * crypt/crypt_util.c (__init_des): Likewise.
63750         * crypt/speeds.c (Stop): Likewise.
63751         (main): Likewise.
63752         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
63753         * inet/ruserpass.c (token): Likewise.
63754         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
63755         * intl/localealias.c (extend_alias_table): Likewise.
63756         * intl/plural-exp.c (init_germanic_plural): Likewise.
63757         * libio/fcloseall.c (__fcloseall): Likewise.
63758         * libio/genops.c (_IO_flush_all): Likewise.
63759         (_IO_flush_all_linebuffered): Likewise.
63760         (_IO_cleanup): Likewise.
63761         (_IO_iter_begin): Likewise.
63762         (_IO_iter_end): Likewise.
63763         (_IO_list_lock): Likewise.
63764         (_IO_list_unlock): Likewise.
63765         (_IO_list_resetlock): Likewise.
63766         * libio/getchar.c (getchar): Likewise.
63767         * libio/getchar_u.c (getchar_unlocked): Likewise.
63768         * libio/getwchar.c (getwchar): Likewise.
63769         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
63770         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
63771         * login/getpt.c (__getpt): Likewise.
63772         * login/tst-utmp.c (main): Likewise.
63773         * malloc/hooks.c (__malloc_check_init): Likewise.
63774         * malloc/malloc.c (__malloc_stats): Likewise.
63775         * malloc/mtrace.c (tr_break): Likewise.
63776         (mtrace): Likewise.
63777         (muntrace): Likewise.
63778         * misc/fstab.c (endfsent): Likewise.
63779         * misc/getclktck.c (__getclktck): Likewise.
63780         * misc/getdtsz.c (__getdtablesize): Likewise.
63781         * misc/gethostid.c (gethostid): Likewise.
63782         * misc/getpagesize.c (__getpagesize): Likewise.
63783         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
63784         (__get_nprocs): Likewise.
63785         (__get_phys_pages): Likewise.
63786         (__get_avphys_pages): Likewise.
63787         * misc/getttyent.c (getttyent): Likewise.
63788         (setttyent): Likewise.
63789         (endttyent): Likewise.
63790         * misc/getusershell.c (getusershell): Likewise.
63791         (endusershell): Likewise.
63792         (setusershell): Likewise.
63793         (initshells): Likewise.
63794         * misc/hsearch.c (__hdestroy): Likewise.
63795         * misc/sync.c (sync): Likewise.
63796         * misc/syslog.c (closelog_internal): Likewise.
63797         (closelog): Likewise.
63798         * misc/ttyslot.c (ttyslot): Likewise.
63799         * misc/vhangup.c (vhangup): Likewise.
63800         * posix/fork.c (__fork): Likewise.
63801         * posix/getegid.c (__getegid): Likewise.
63802         * posix/geteuid.c (__geteuid): Likewise.
63803         * posix/getgid.c (__getgid): Likewise.
63804         * posix/getpid.c (__getpid): Likewise.
63805         * posix/getppid.c (__getppid): Likewise.
63806         * posix/getuid.c (__getuid): Likewise.
63807         * posix/pause.c (pause): Likewise.
63808         * posix/setpgrp.c (setpgrp): Likewise.
63809         * posix/setsid.c (__setsid): Likewise.
63810         * posix/test-vfork.c (noop): Likewise.
63811         * resolv/gethnamaddr.c (_endhtent): Likewise.
63812         (_gethtent): Likewise.
63813         (ht_endhostent): Likewise.
63814         (gethostent): Likewise.
63815         (dns_service): Likewise.
63816         * stdlib/drand48.c (drand48): Likewise.
63817         * stdlib/lrand48.c (lrand48): Likewise.
63818         * stdlib/mrand48.c (mrand48): Likewise.
63819         * stdlib/rand.c (rand): Likewise.
63820         * stdlib/random.c (__random): Likewise.
63821         * stdlib/setenv.c (clearenv): Likewise.
63822         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
63823         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
63824         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
63825         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
63826         (__get_nprocs): Likewise.
63827         (__get_phys_pages): Likewise.
63828         (__get_avphys_pages): Likewise.
63829         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
63830         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
63831         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
63832         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
63833         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
63834         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
63835         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
63836         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
63837         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
63838         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
63839         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
63840         * sysdeps/mach/hurd/sync.c (sync): Likewise.
63841         * sysdeps/posix/clock.c (clock): Likewise.
63842         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
63843         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
63844         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
63845         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
63846         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
63847         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
63848         (__get_nprocs_conf): Likewise.
63849         (__get_phys_pages): Likewise.
63850         (__get_avphys_pages): Likewise.
63851         * time/clock.c (clock): Likewise.
63852         * time/tzset.c (__tzname_max): Likewise.
63854 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
63856         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
63857         (__bswap_32): Do not use "register".
63858         * crypt/crypt.c (_ufc_doit_r): Likewise.
63859         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
63860         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
63861         * gmon/gmon.c (__monstartup): Likewise.
63862         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
63863         * hurd/hurdmalloc.c (more_memory): Likewise.
63864         (malloc): Likewise.
63865         (free): Likewise.
63866         (realloc): Likewise.
63867         (malloc_fork_prepare): Likewise.
63868         (malloc_fork_parent): Likewise.
63869         (malloc_fork_child): Likewise.
63870         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
63871         (_svcauth_des): Likewise.
63872         * inet/inet_lnaof.c (inet_lnaof): Likewise.
63873         * inet/inet_net.c (inet_network): Likewise.
63874         * inet/inet_netof.c (inet_netof): Likewise.
63875         * inet/rcmd.c (__validuser2_sa): Likewise.
63876         * io/fts.c (fts_open): Likewise.
63877         (fts_load): Likewise.
63878         (fts_close): Likewise.
63879         (fts_read): Likewise.
63880         (fts_children): Likewise.
63881         (fts_build): Likewise.
63882         (fts_stat): Likewise.
63883         (fts_sort): Likewise.
63884         (fts_alloc): Likewise.
63885         (fts_lfree): Likewise.
63886         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
63887         (_IO_file_xsgetn): Likewise.
63888         (_IO_file_xsgetn_mmap): Likewise.
63889         * libio/iofopncook.c (_IO_cookie_read): Likewise.
63890         (_IO_cookie_write): Likewise.
63891         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
63892         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
63893         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
63894         * malloc/obstack.c (_obstack_begin): Likewise.
63895         (_obstack_begin_1): Likewise.
63896         (_obstack_newchunk): Likewise.
63897         (_obstack_allocated_p): Likewise.
63898         (obstack_free): Likewise.
63899         (_obstack_memory_used): Likewise.
63900         * misc/getttyent.c (getttynam): Likewise.
63901         (getttyent): Likewise.
63902         (skip): Likewise.
63903         (value): Likewise.
63904         * misc/getusershell.c (initshells): Likewise.
63905         * misc/syslog.c (__vsyslog_chk): Likewise.
63906         * misc/ttyslot.c (ttyslot): Likewise.
63907         * nis/nis_hash.c (__nis_hash): Likewise.
63908         * posix/fnmatch_loop.c (FCT): Likewise.
63909         * posix/getconf.c (print_all): Likewise.
63910         (main): Likewise.
63911         * posix/getopt.c (exchange): Likewise.
63912         * posix/glob.c (globfree): Likewise.
63913         (prefix_array): Likewise.
63914         (__glob_pattern_type): Likewise.
63915         * resolv/arpa/nameser.h (NS_GET16): Likewise.
63916         (NS_GET32): Likewise.
63917         (NS_PUT16): Likewise.
63918         (NS_PUT32): Likewise.
63919         * resolv/gethnamaddr.c (getanswer): Likewise.
63920         (gethostbyname2): Likewise.
63921         (gethostbyaddr): Likewise.
63922         (_gethtent): Likewise.
63923         (_gethtbyname2): Likewise.
63924         (_gethtbyaddr): Likewise.
63925         * resolv/ns_print.c (dst_s_get_int16): Likewise.
63926         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
63927         * resolv/res_init.c (__res_vinit): Likewise.
63928         (net_mask): Likewise.
63929         * resolv/res_mkquery.c (outchar): Likewise.
63930         (PRINT): Likewise.
63931         * stdio-common/printf_fp.c (outchar): Likewise.
63932         (PRINT): Likewise.
63933         * stdio-common/printf_fphex.c (outchar): Likewise.
63934         (PRINT): Likewise.
63935         * stdio-common/printf_size.c (outchar): Likewise.
63936         (PRINT): Likewise.
63937         * stdio-common/test_rdwr.c (main): Likewise.
63938         * stdio-common/tfformat.c (matches): Likewise.
63939         * stdio-common/vfprintf.c (outchar): Likewise.
63940         (printf_unknown): Likewise.
63941         (buffered_vfprintf): Likewise.
63942         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
63943         * stdio-common/xbug.c (AppendToBuffer): Likewise.
63944         (ReadFile): Likewise.
63945         * stdlib/qsort.c (SWAP): Likewise.
63946         (_quicksort): Likewise.
63947         * stdlib/setenv.c (__add_to_environ): Likewise.
63948         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
63949         * stdlib/strtol_l.c (__strtol_l): Likewise.
63950         * stdlib/tst-strtod.c (main): Likewise.
63951         * stdlib/tst-strtol.c (main): Likewise.
63952         * stdlib/tst-strtoll.c (main): Likewise.
63953         * string/bits/string2.h (__strcmp_cc): Likewise.
63954         (__strcmp_cg): Likewise.
63955         (__strcspn_c1): Likewise.
63956         (__strcspn_c2): Likewise.
63957         (__strcspn_c3): Likewise.
63958         (__strspn_c1): Likewise.
63959         (__strspn_c2): Likewise.
63960         (__strspn_c3): Likewise.
63961         (__strsep_1c): Likewise.
63962         (__strsep_2c): Likewise.
63963         (__strsep_3c): Likewise.
63964         * string/memccpy.c (__memccpy): Likewise.
63965         * string/stpcpy.c (__stpcpy): Likewise.
63966         * string/strcmp.c (strcmp): Likewise.
63967         * string/strrchr.c (strrchr): Likewise.
63968         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
63969         Likewise.
63970         * sysdeps/mach/hurd/getcwd.c
63971         (_hurd_canonicalize_directory_name_internal): Likewise.
63972         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
63973         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
63974         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
63975         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
63976         Likewise, in both definitions.
63977         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
63978         definitions.
63979         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
63980         64] (__bswap_64): Likewise.
63981         * time/test_time.c (main): Likewise.
63982         * time/tzfile.c (__tzfile_read): Likewise.
63983         (__tzfile_compute): Likewise.
63984         * time/tzset.c (__tzset_parse_tz): Likewise.
63985         (tzset_internal): Likewise.
63986         (compute_change): Likewise.
63987         * wcsmbs/wcscat.c (__wcscat): Likewise.
63988         * wcsmbs/wcschr.c (wcschr): Likewise.
63989         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
63990         * wcsmbs/wcscspn.c (wcscspn): Likewise.
63991         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
63992         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
63993         * wcsmbs/wcsspn.c (wcsspn): Likewise.
63994         * wcsmbs/wcsstr.c (wcsstr): Likewise.
63995         * wcsmbs/wmemchr.c (wmemchr): Likewise.
63996         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
63997         * wcsmbs/wmemset.c (wmemset): Likewise.
63999 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
64001         * scripts/config.guess: Update to version 2013-05-16.
64002         * scripts/config.sub: Update to version 2013-04-24.
64003         * scripts/install-sh: Update to version 2011-11-20.07.
64004         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
64005         * scripts/move-if-change: Update to version 2012-01-06 07:23.
64007 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
64009         * debug/fgetws_u_chk.c: Fix leading whitespaces.
64010         * elf/sln.c: Likewise.
64011         * hurd/hurd/ioctl.h: Likewise.
64012         * hurd/hurdmalloc.c: Likewise.
64013         * hurd/xattr.c: Likewise.
64014         * include/shlib-compat.h: Likewise.
64015         * inet/ruserpass.c: Likewise.
64016         * libio/iofgets_u.c: Likewise.
64017         * libio/iofgetws_u.c: Likewise.
64018         * locale/programs/ld-identification.c: Likewise.
64019         * locale/programs/ld-time.c: Likewise.
64020         * mach/msg-destroy.c: Likewise.
64021         * nss/nss_files/files-netgrp.c: Likewise.
64022         * resolv/res_data.c: Likewise.
64023         * soft-fp/op-1.h: Likewise.
64024         * soft-fp/op-2.h: Likewise.
64025         * soft-fp/op-4.h: Likewise.
64026         * soft-fp/op-common.h: Likewise.
64027         * stdio-common/printf_fphex.c: Likewise.
64028         * stdlib/strtod_l.c: Likewise.
64029         * sunrpc/rpc/clnt.h: Likewise.
64030         * sysdeps/generic/framestate.c: Likewise.
64031         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64032         * sysdeps/i386/bsd-setjmp.S: Likewise.
64033         * sysdeps/i386/__longjmp.S: Likewise.
64034         * sysdeps/i386/setjmp.S: Likewise.
64035         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64036         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64037         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64038         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64039         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64040         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64041         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64042         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64043         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64044         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64045         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64046         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64047         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64048         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64049         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64050         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64051         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64052         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64053         * sysdeps/ieee754/support.c: Likewise.
64054         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64055         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64056         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64057         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64058         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64059         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64060         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64061         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64062         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64063         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64064         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
64065         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
64066         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
64067         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
64068         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
64069         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
64070         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
64073 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
64075         * posix/transbug.c: Remove executable mode.
64077 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
64079         * crypt/speeds.c: Remove trailing whitespace.
64080         * dlfcn/default.c: Likewise.
64081         * elf/ifuncdep2.c: Likewise.
64082         * elf/ifuncmain1.c: Likewise.
64083         * elf/ifuncmain1vis.c: Likewise.
64084         * elf/testobj.h: Likewise.
64085         * elf/tst-stackguard1.c: Likewise.
64086         * gmon/sys/gmon.h: Likewise.
64087         * hurd/hurdmsg.c: Likewise.
64088         * hurd/new-fd.c: Likewise.
64089         * hurd/ports-get.c: Likewise.
64090         * iconvdata/ibm1008_420.c: Likewise.
64091         * inet/tst-getni1.c: Likewise.
64092         * inet/tst-getni2.c: Likewise.
64093         * libio/ioungetc.c: Likewise.
64094         * libio/wfiledoalloc.c: Likewise.
64095         * manual/libm-err-tab.pl: Likewise.
64096         * math/w_dremf.c: Likewise.
64097         * misc/ftruncate.c: Likewise.
64098         * posix/bug-glob2.c: Likewise.
64099         * posix/tst-pcre.c: Likewise.
64100         * posix/wait4.c: Likewise.
64101         * resolv/README: Likewise.
64102         * resolv/res_debug.h: Likewise.
64103         * resolv/tst-inet_ntop.c: Likewise.
64104         * setjmp/bug269-setjmp.c: Likewise.
64105         * soft-fp/extended.h: Likewise.
64106         * soft-fp/op-1.h: Likewise.
64107         * soft-fp/op-2.h: Likewise.
64108         * soft-fp/op-4.h: Likewise.
64109         * soft-fp/op-8.h: Likewise.
64110         * soft-fp/testit.c: Likewise.
64111         * stdio-common/bug16.c: Likewise.
64112         * stdlib/random.c: Likewise.
64113         * sunrpc/rpcsvc/rquota.x: Likewise.
64114         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
64115         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64116         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64117         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64118         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64119         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64120         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64121         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64122         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64123         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64124         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
64130         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
64131         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64132         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
64133         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64134         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64135         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64136         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
64137         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
64138         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
64139         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
64140         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64141         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64142         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64143         * sysdeps/ieee754/s_lib_version.c: Likewise.
64144         * sysdeps/mach/hurd/check_fds.c: Likewise.
64145         * sysdeps/mach/hurd/getsockname.c: Likewise.
64146         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
64147         * sysdeps/mach/hurd/recvfrom.c: Likewise.
64148         * sysdeps/powerpc/bits/link.h: Likewise.
64149         * sysdeps/powerpc/dl-procinfo.c: Likewise.
64150         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
64151         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
64152         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
64153         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64154         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64155         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
64156         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64157         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
64158         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64159         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
64160         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
64161         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
64162         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64163         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64164         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64165         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
64166         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
64167         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64168         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64169         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64170         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
64171         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64172         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
64173         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
64174         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
64175         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
64176         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64177         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64178         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
64179         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
64180         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
64181         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64182         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64183         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
64184         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64185         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
64186         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
64187         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
64188         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
64189         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
64190         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
64191         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
64192         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
64193         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
64194         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
64195         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
64196         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
64197         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
64198         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
64199         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64200         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64201         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
64202         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
64203         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
64204         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
64205         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
64206         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64207         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
64208         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
64209         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
64210         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
64211         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
64212         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
64213         * sysdeps/powerpc/sysdep.h: Likewise.
64214         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64215         * sysdeps/s390/s390-64/sub_n.S: Likewise.
64216         * sysdeps/sh/dl-trampoline.S: Likewise.
64217         * sysdeps/sh/memset.S: Likewise.
64218         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
64219         * sysdeps/sh/strlen.S: Likewise.
64220         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
64221         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
64222         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
64223         * sysdeps/sparc/sparc32/rem.S: Likewise.
64224         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
64225         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
64226         * sysdeps/sparc/sparc32/strchr.S: Likewise.
64227         * sysdeps/sparc/sparc32/udiv.S: Likewise.
64228         * sysdeps/sparc/sparc32/urem.S: Likewise.
64229         * sysdeps/sparc/sparc64/add_n.S: Likewise.
64230         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64231         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
64232         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
64233         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
64234         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
64235         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
64236         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
64237         * sysdeps/unix/bsd/times.c: Likewise.
64238         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
64239         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
64240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
64241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
64242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
64243         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
64244         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
64245         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
64246         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
64247         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
64248         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
64249         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64250         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
64251         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64252         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64253         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
64254         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64255         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
64256         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
64257         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
64258         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
64259         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
64260         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64261         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
64262         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
64263         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
64264         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
64265         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64266         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
64267         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
64268         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
64269         * sysdeps/x86_64/strcspn.S: Likewise.
64271 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64273         * locale/C-translit.h: Revert #include <stdint.h> because this is a
64274         generated file.  Regenerate properly from gen-translit.pl.
64275         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
64276         locale/C-translit.h.
64278 2013-06-05  Andreas Schwab  <schwab@suse.de>
64280         [BZ #15100]
64281         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
64282         week as 6 instead of -1.
64283         * time/tst-strptime.c (day_tests): Add test case.
64285 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64287         * sysdeps/generic/math_private.h
64288         (libc_feholdexcept_setround_53bit): Replace with
64289         libc_feholdsetround_53bit.
64290         (libc_feupdateenv_53bit): Replace with
64291         libc_feresetround_53bit.
64292         (SET_RESTORE_ROUND_53BIT): Adjust.
64294 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
64296         * string/test-strchrnul.c: Add copyright header.
64298         * posix/tst-getaddrinfo4.c: Increase test timeout.
64300 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
64302         [BZ #15536]
64303         * math/libm-test.inc (MAX_EXP): Remove
64304         (MIN_EXP): Define.
64305         (ulp): Use MIN_EXP - MANT_DIG.
64306         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
64308 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
64310         * po/be.po: Revert last change.
64311         * po/zh_CN.po: Likewise.
64312         * po/header.pot: Likewise.
64314 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
64316         * Makefile ($(common-objpfx)linkobj/libc.so): Define
64317         link-libc-deps to empty as target-specific variable.
64318         * Makerules (link-libc-args): New variable.
64319         (libc-for-link): Likewise.
64320         (link-libc-deps): Likewise.
64321         (lib%.so): Depend on $(link-libc-deps).  Link with
64322         $(link-libc-args).
64323         (build-module): Link with $(link-libc-args).
64324         (build-module-asneeded): Likewise.
64325         (build-module-helper-objlist): Filter out $(link-libc-deps) from
64326         list of objects.
64327         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
64328         target-specific variable.
64329         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
64330         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
64331         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
64332         libc.
64333         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
64334         libc and ld.so.
64335         ($(objpfx)libpcprofile.so): Likewise.
64336         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
64337         libc_nonshared.a.
64338         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
64339         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
64340         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
64341         $(link-libc-deps).
64342         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
64343         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
64344         * login/Makefile ($(objpfx)libutil.so): Likewise.
64345         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
64346         * math/Makefile ($(objpfx)libm.so): Likewise.
64347         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
64348         $(objpfx)libnsl.so): Define libc-for-link as target-specific
64349         variable instead of depending directly on libc.
64350         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
64351         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
64352         $(link-libc-deps).
64353         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
64354         libc.
64355         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
64356         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
64357         ($(objpfx)libanl.so): Likewise.
64358         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
64359         ld.so.
64360         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
64361         $(link-libc-deps).
64362         * sysdeps/i386/fpu/Makefile: Remove file.
64363         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
64364         ($(objpfx)libm.so): Remove dependency on ld.so.
64366 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
64368         [BZ # 15553]
64369         * nis/yp_xdr.c (XDRMAXNAME): Define.
64370         (XDRMAXRECORD): Define.
64371         (xdr_domainname): Use XDRMAXNAME.
64372         (xdr_mapname): Likewise.
64373         (xdr_peername): Likewise.
64374         (xdr_keydat): Use XDRMAXRECORD.
64375         (xdr_valdat): Likewise.
64377 2013-05-30  Jeff Law  <law@redhat.com>
64379         [BZ #14256]
64380         * manual/errno.texi (ESTALE): Update to account for more than
64381         just NFS file systems.
64382         * sysdeps/gnu/errlist.c: Regenerated.
64384 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64386         [BZ #15465]
64387         * elf/Makefile (tests): Add tst-null-argv.
64388         (modules-names):  Add tst-null-argv-lib.
64389         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
64390         (tst-null-argv-ENV): Set environment for tst-null-argv.
64391         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
64392         (RTLD_PROGNAME): New macro.
64393         * elf/tst-null-argv.c: New test case.
64394         * elf/tst-null-argv-lib.c: Library for test case.
64395         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
64396         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
64397         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
64398         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
64399         * elf/dl-init.c (call_init): Likewise.
64400         (_dl_init): Likewise.
64401         * elf/dl-load.c (print_search_path): Likewise.
64402         (_dl_map_object): Likewise.
64403         * elf/dl-lookup.c (do_lookup_x): Likewise.
64404         (add_dependency): Likewise.
64405         (_dl_lookup_symbol_x): Likewise.
64406         (_dl_debug_bindings): Likewise.
64407         * elf/dl-open.c (_dl_show_scope): Likewise.
64408         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
64409         * elf/dl-version.c (match_symbol): Likewise.
64410         (_dl_check_map_versions): Likewise.
64411         * elf/rtld.c (dl_main): Likewise.
64412         (print_unresolved): Use RTLD_PROGNAME.
64413         (print_missing_version): Likewise.
64414         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
64415         (elf_machine_rela): Likewise.
64416         * sysdeps/powerpc/powerpc32/dl-machine.c
64417         (__process_machine_rela): Likewise.
64418         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64419         Likewise.
64420         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64421         Likewise.
64422         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
64423         Likewise.
64424         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
64425         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
64426         Likewise.
64427         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
64428         Likewise.
64429         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
64431 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
64433         * po/be.po: Add descriptive title.
64434         * po/zh_CN.po: Likewise.
64435         * po/header.pot: Likewise.
64437 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
64439         * locale/programs/locarchive.c (create_archive): Inlucde fname in
64440         error message.
64441         (enlarge_archive): Likewise.
64443 2013-05-28  Ben North  <ben@redfrontdoor.org>
64445         * manual/arith.texi (frexp): It is the magnitude of the return
64446         value which lies in [0.5, 1), not the return value itself.
64448 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64452 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
64454         * stdio-common/bug26.c (main): Correct fscanf template.
64456         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
64457         declare _dl_skip_args.
64459         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
64460         Don't declare.
64462         * manual/platform.texi: Add missing @end deftypefun.
64464 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64466         [BZ #15529]
64467         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
64468         bit of mantissa of 2^16382.
64469         * math/libm-test.inc (hypot_test_data): Add more tests.
64471         * math/libm-test.inc: Add drem and pow10 to list of tested
64472         functions.
64473         (pow10_test): New function.
64474         (drem_test): Likewise.
64475         (drem_test_tonearest): Likewise.
64476         (drem_test_towardzero): Likewise.
64477         (drem_test_downward): Likewise.
64478         (drem_test_upward): Likewise.
64479         (main): Call the new functions.
64481         * math/libm-test.inc (finite_test_data): Remove.
64482         (finite_test): Run tests from isfinite_test_data.
64483         (gamma_test_data): Remove.
64484         (gamma_test): Run tests from lgamma_test_data.
64485         * sysdeps/i386/fpu/libm-test-ulps: Update.
64486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64488 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64490         * manual/platform.texi: Add PowerPC PPR function set documentation.
64491         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
64492         implementation.
64494 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
64496         * math/libm-test.inc (MAX_EXP): Define.
64497         (ULPDIFF): Define.
64498         (ulp): New function.
64499         (check_float_internal): Use ULPDIFF.
64500         (cpow_test): Disable failing test.
64501         (check_ulp): Test ulp() implementation.
64502         (main): Call check_ulp before starting tests.
64504 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
64506         * math/gen-libm-test.pl (generate_testfile): Do not handle
64507         START_DATA and END_DATA.
64508         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
64509         END_DATA.
64510         (acos_tonearest_test_data): Likewise.
64511         (acos_towardzero_test_data): Likewise.
64512         (acos_downward_test_data): Likewise.
64513         (acos_upward_test_data): Likewise.
64514         (acosh_test_data): Likewise.
64515         (asin_test_data): Likewise.
64516         (asin_tonearest_test_data): Likewise.
64517         (asin_towardzero_test_data): Likewise.
64518         (asin_downward_test_data): Likewise.
64519         (asin_upward_test_data): Likewise.
64520         (asinh_test_data): Likewise.
64521         (atan_test_data): Likewise.
64522         (atanh_test_data): Likewise.
64523         (atan2_test_data): Likewise.
64524         (cabs_test_data): Likewise.
64525         (cacos_test_data): Likewise.
64526         (cacosh_test_data): Likewise.
64527         (carg_test_data): Likewise.
64528         (casin_test_data): Likewise.
64529         (casinh_test_data): Likewise.
64530         (catan_test_data): Likewise.
64531         (catanh_test_data): Likewise.
64532         (cbrt_test_data): Likewise.
64533         (ccos_test_data): Likewise.
64534         (ccosh_test_data): Likewise.
64535         (ceil_test_data): Likewise.
64536         (cexp_test_data): Likewise.
64537         (cimag_test_data): Likewise.
64538         (clog_test_data): Likewise.
64539         (clog10_test_data): Likewise.
64540         (conj_test_data): Likewise.
64541         (copysign_test_data): Likewise.
64542         (cos_test_data): Likewise.
64543         (cos_tonearest_test_data): Likewise.
64544         (cos_towardzero_test_data): Likewise.
64545         (cos_downward_test_data): Likewise.
64546         (cos_upward_test_data): Likewise.
64547         (cosh_test_data): Likewise.
64548         (cosh_tonearest_test_data): Likewise.
64549         (cosh_towardzero_test_data): Likewise.
64550         (cosh_downward_test_data): Likewise.
64551         (cosh_upward_test_data): Likewise.
64552         (cpow_test_data): Likewise.
64553         (cproj_test_data): Likewise.
64554         (creal_test_data): Likewise.
64555         (csin_test_data): Likewise.
64556         (csinh_test_data): Likewise.
64557         (csqrt_test_data): Likewise.
64558         (ctan_test_data): Likewise.
64559         (ctan_tonearest_test_data): Likewise.
64560         (ctan_towardzero_test_data): Likewise.
64561         (ctan_downward_test_data): Likewise.
64562         (ctan_upward_test_data): Likewise.
64563         (ctanh_test_data): Likewise.
64564         (ctanh_tonearest_test_data): Likewise.
64565         (ctanh_towardzero_test_data): Likewise.
64566         (ctanh_downward_test_data): Likewise.
64567         (ctanh_upward_test_data): Likewise.
64568         (erf_test_data): Likewise.
64569         (erfc_test_data): Likewise.
64570         (exp_test_data): Likewise.
64571         (exp_tonearest_test_data): Likewise.
64572         (exp_towardzero_test_data): Likewise.
64573         (exp_downward_test_data): Likewise.
64574         (exp_upward_test_data): Likewise.
64575         (exp10_test_data): Likewise.
64576         (exp2_test_data): Likewise.
64577         (expm1_test_data): Likewise.
64578         (fabs_test_data): Likewise.
64579         (fdim_test_data): Likewise.
64580         (finite_test_data): Likewise.
64581         (floor_test_data): Likewise.
64582         (fma_test_data): Likewise.
64583         (fma_towardzero_test_data): Likewise.
64584         (fma_downward_test_data): Likewise.
64585         (fma_upward_test_data): Likewise.
64586         (fmax_test_data): Likewise.
64587         (fmin_test_data): Likewise.
64588         (fmod_test_data): Likewise.
64589         (fpclassify_test_data): Likewise.
64590         (frexp_test_data): Likewise.
64591         (gamma_test_data): Likewise.
64592         (hypot_test_data): Likewise.
64593         (ilogb_test_data): Likewise.
64594         (isfinite_test_data): Likewise.
64595         (isgreater_test_data): Likewise.
64596         (isgreaterequal_test_data): Likewise.
64597         (isinf_test_data): Likewise.
64598         (isless_test_data): Likewise.
64599         (islessequal_test_data): Likewise.
64600         (islessgreater_test_data): Likewise.
64601         (isnan_test_data): Likewise.
64602         (isnormal_test_data): Likewise.
64603         (issignaling_test_data): Likewise.
64604         (isunordered_test_data): Likewise.
64605         (j0_test_data): Likewise.
64606         (j1_test_data): Likewise.
64607         (jn_test_data): Likewise.
64608         (ldexp_test_data): Likewise.
64609         (lgamma_test_data): Likewise.
64610         (lrint_test_data): Likewise.
64611         (lrint_tonearest_test_data): Likewise.
64612         (lrint_towardzero_test_data): Likewise.
64613         (lrint_downward_test_data): Likewise.
64614         (lrint_upward_test_data): Likewise.
64615         (llrint_test_data): Likewise.
64616         (llrint_tonearest_test_data): Likewise.
64617         (llrint_towardzero_test_data): Likewise.
64618         (llrint_downward_test_data): Likewise.
64619         (llrint_upward_test_data): Likewise.
64620         (log_test_data): Likewise.
64621         (log10_test_data): Likewise.
64622         (log1p_test_data): Likewise.
64623         (log2_test_data): Likewise.
64624         (logb_test_data): Likewise.
64625         (logb_downward_test_data): Likewise.
64626         (lround_test_data): Likewise.
64627         (llround_test_data): Likewise.
64628         (modf_test_data): Likewise.
64629         (nearbyint_test_data): Likewise.
64630         (nextafter_test_data): Likewise.
64631         (nexttoward_test_data): Likewise.
64632         (pow_test_data): Likewise.
64633         (pow_tonearest_test_data): Likewise.
64634         (pow_towardzero_test_data): Likewise.
64635         (pow_downward_test_data): Likewise.
64636         (pow_upward_test_data): Likewise.
64637         (remainder_test_data): Likewise.
64638         (remainder_tonearest_test_data): Likewise.
64639         (remainder_towardzero_test_data): Likewise.
64640         (remainder_downward_test_data): Likewise.
64641         (remainder_upward_test_data): Likewise.
64642         (remquo_test_data): Likewise.
64643         (rint_test_data): Likewise.
64644         (rint_tonearest_test_data): Likewise.
64645         (rint_towardzero_test_data): Likewise.
64646         (rint_downward_test_data): Likewise.
64647         (rint_upward_test_data): Likewise.
64648         (round_test_data): Likewise.
64649         (scalb_test_data): Likewise.
64650         (scalbn_test_data): Likewise.
64651         (scalbln_test_data): Likewise.
64652         (signbit_test_data): Likewise.
64653         (sin_test_data): Likewise.
64654         (sin_tonearest_test_data): Likewise.
64655         (sin_towardzero_test_data): Likewise.
64656         (sin_downward_test_data): Likewise.
64657         (sin_upward_test_data): Likewise.
64658         (sincos_test_data): Likewise.
64659         (sinh_test_data): Likewise.
64660         (sinh_tonearest_test_data): Likewise.
64661         (sinh_towardzero_test_data): Likewise.
64662         (sinh_downward_test_data): Likewise.
64663         (sinh_upward_test_data): Likewise.
64664         (sqrt_test_data): Likewise.
64665         (tan_test_data): Likewise.
64666         (tan_tonearest_test_data): Likewise.
64667         (tan_towardzero_test_data): Likewise.
64668         (tan_downward_test_data): Likewise.
64669         (tan_upward_test_data): Likewise.
64670         (tanh_test_data): Likewise.
64671         (tgamma_test_data): Likewise.
64672         (trunc_test_data): Likewise.
64673         (y0_test_data): Likewise.
64674         (y1_test_data): Likewise.
64675         (yn_test_data): Likewise.
64676         (significand_test_data): Likewise.
64678         * math/gen-libm-test.pl (@functions): Remove variable.
64679         (generate_testfile): Don't handle START and END lines.
64680         * math/libm-test.inc (START): New macro.
64681         (END): Likewise.
64682         (END_COMPLEX): Likewise.
64683         (acos_test): Use END macro without arguments.
64684         (acos_test_tonearest): Likewise.
64685         (acos_test_towardzero): Likewise.
64686         (acos_test_downward): Likewise.
64687         (acos_test_upward): Likewise.
64688         (acosh_test): Likewise.
64689         (asin_test): Likewise.
64690         (asin_test_tonearest): Likewise.
64691         (asin_test_towardzero): Likewise.
64692         (asin_test_downward): Likewise.
64693         (asin_test_upward): Likewise.
64694         (asinh_test): Likewise.
64695         (atan_test): Likewise.
64696         (atanh_test): Likewise.
64697         (atan2_test): Likewise.
64698         (cabs_test): Likewise.
64699         (cacos_test): Use END_COMPLEX macro without arguments.
64700         (cacosh_test): Likewise.
64701         (carg_test): Use END macro without arguments.
64702         (casin_test): Use END_COMPLEX macro without arguments.
64703         (casinh_test): Likewise.
64704         (catan_test): Likewise.
64705         (catanh_test): Likewise.
64706         (cbrt_test): Use END macro without arguments.
64707         (ccos_test): Use END_COMPLEX macro without arguments.
64708         (ccosh_test): Likewise.
64709         (ceil_test): Use END macro without arguments.
64710         (cexp_test): Use END_COMPLEX macro without arguments.
64711         (cimag_test): Use END macro without arguments.
64712         (clog_test): Use END_COMPLEX macro without arguments.
64713         (clog10_test): Likewise.
64714         (conj_test): Likewise.
64715         (copysign_test): Use END macro without arguments.
64716         (cos_test): Likewise.
64717         (cos_test_tonearest): Likewise.
64718         (cos_test_towardzero): Likewise.
64719         (cos_test_downward): Likewise.
64720         (cos_test_upward): Likewise.
64721         (cosh_test): Likewise.
64722         (cosh_test_tonearest): Likewise.
64723         (cosh_test_towardzero): Likewise.
64724         (cosh_test_downward): Likewise.
64725         (cosh_test_upward): Likewise.
64726         (cpow_test): Use END_COMPLEX macro without arguments.
64727         (cproj_test): Likewise.
64728         (creal_test): Use END macro without arguments.
64729         (csin_test): Use END_COMPLEX macro without arguments.
64730         (csinh_test): Likewise.
64731         (csqrt_test): Likewise.
64732         (ctan_test): Likewise.
64733         (ctan_test_tonearest): Likewise.
64734         (ctan_test_towardzero): Likewise.
64735         (ctan_test_downward): Likewise.
64736         (ctan_test_upward): Likewise.
64737         (ctanh_test): Likewise.
64738         (ctanh_test_tonearest): Likewise.
64739         (ctanh_test_towardzero): Likewise.
64740         (ctanh_test_downward): Likewise.
64741         (ctanh_test_upward): Likewise.
64742         (erf_test): Use END macro without arguments.
64743         (erfc_test): Likewise.
64744         (exp_test): Likewise.
64745         (exp_test_tonearest): Likewise.
64746         (exp_test_towardzero): Likewise.
64747         (exp_test_downward): Likewise.
64748         (exp_test_upward): Likewise.
64749         (exp10_test): Likewise.
64750         (exp2_test): Likewise.
64751         (expm1_test): Likewise.
64752         (fabs_test): Likewise.
64753         (fdim_test): Likewise.
64754         (finite_test): Likewise.
64755         (floor_test): Likewise.
64756         (fma_test): Likewise.
64757         (fma_test_towardzero): Likewise.
64758         (fma_test_downward): Likewise.
64759         (fma_test_upward): Likewise.
64760         (fmax_test): Likewise.
64761         (fmin_test): Likewise.
64762         (fmod_test): Likewise.
64763         (fpclassify_test): Likewise.
64764         (frexp_test): Likewise.
64765         (gamma_test): Likewise.
64766         (hypot_test): Likewise.
64767         (ilogb_test): Likewise.
64768         (isfinite_test): Likewise.
64769         (isgreater_test): Likewise.
64770         (isgreaterequal_test): Likewise.
64771         (isinf_test): Likewise.
64772         (isless_test): Likewise.
64773         (islessequal_test): Likewise.
64774         (islessgreater_test): Likewise.
64775         (isnan_test): Likewise.
64776         (isnormal_test): Likewise.
64777         (issignaling_test): Likewise.
64778         (isunordered_test): Likewise.
64779         (j0_test): Likewise.
64780         (j1_test): Likewise.
64781         (jn_test): Likewise.
64782         (ldexp_test): Likewise.
64783         (lgamma_test): Likewise.
64784         (lrint_test): Likewise.
64785         (lrint_test_tonearest): Likewise.
64786         (lrint_test_towardzero): Likewise.
64787         (lrint_test_downward): Likewise.
64788         (lrint_test_upward): Likewise.
64789         (llrint_test): Likewise.
64790         (llrint_test_tonearest): Likewise.
64791         (llrint_test_towardzero): Likewise.
64792         (llrint_test_downward): Likewise.
64793         (llrint_test_upward): Likewise.
64794         (log_test): Likewise.
64795         (log10_test): Likewise.
64796         (log1p_test): Likewise.
64797         (log2_test): Likewise.
64798         (logb_test): Likewise.
64799         (logb_test_downward): Likewise.
64800         (lround_test): Likewise.
64801         (llround_test): Likewise.
64802         (modf_test): Likewise.
64803         (nearbyint_test): Likewise.
64804         (nextafter_test): Likewise.
64805         (nexttoward_test): Likewise.
64806         (pow_test): Likewise.
64807         (pow_test_tonearest): Likewise.
64808         (pow_test_towardzero): Likewise.
64809         (pow_test_downward): Likewise.
64810         (pow_test_upward): Likewise.
64811         (remainder_test): Likewise.
64812         (remainder_test_tonearest): Likewise.
64813         (remainder_test_towardzero): Likewise.
64814         (remainder_test_downward): Likewise.
64815         (remainder_test_upward): Likewise.
64816         (remquo_test): Likewise.
64817         (rint_test): Likewise.
64818         (rint_test_tonearest): Likewise.
64819         (rint_test_towardzero): Likewise.
64820         (rint_test_downward): Likewise.
64821         (rint_test_upward): Likewise.
64822         (round_test): Likewise.
64823         (scalb_test): Likewise.
64824         (scalbn_test): Likewise.
64825         (scalbln_test): Likewise.
64826         (signbit_test): Likewise.
64827         (sin_test): Likewise.
64828         (sin_test_tonearest): Likewise.
64829         (sin_test_towardzero): Likewise.
64830         (sin_test_downward): Likewise.
64831         (sin_test_upward): Likewise.
64832         (sincos_test): Likewise.
64833         (sinh_test): Likewise.
64834         (sinh_test_tonearest): Likewise.
64835         (sinh_test_towardzero): Likewise.
64836         (sinh_test_downward): Likewise.
64837         (sinh_test_upward): Likewise.
64838         (sqrt_test): Likewise.
64839         (tan_test): Likewise.
64840         (tan_test_tonearest): Likewise.
64841         (tan_test_towardzero): Likewise.
64842         (tan_test_downward): Likewise.
64843         (tan_test_upward): Likewise.
64844         (tanh_test): Likewise.
64845         (tgamma_test): Likewise.
64846         (trunc_test): Likewise.
64847         (y0_test): Likewise.
64848         (y1_test): Likewise.
64849         (yn_test): Likewise.
64850         (significand_test): Likewise.
64852 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
64854         [BZ #15381]
64855         * libio/genops.c (_IO_no_init): Initialize wide struct info.
64857 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64859         [BZ #14894]
64860         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
64861         __ppc_mdoio and __ppc_mdoom.
64862         * manual/platform.texi: Document new functions __ppc_yield,
64863         __ppc_mdoio and __ppc_mdoom.
64865 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
64867         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
64868         (main): Mention "tls" pseudo-hwcap is legacy.
64869         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
64871 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64873         * math/gen-libm-test.pl (parse_args): Output only string of
64874         arguments as text for test name, not full call or descriptions of
64875         tests for extra outputs.
64876         (generate_testfile): Do not pass function name to parse_args.
64877         Generate this_func variable from START.
64878         * math/libm-test.inc (struct test_f_f_data): Rename test_name
64879         field to arg_str.
64880         (struct test_ff_f_data): Likewise.
64881         (test_ff_f_data_nexttoward): Likewise.
64882         (struct test_fi_f_data): Likewise.
64883         (struct test_fl_f_data): Likewise.
64884         (struct test_if_f_data): Likewise.
64885         (struct test_fff_f_data): Likewise.
64886         (struct test_c_f_data): Likewise.
64887         (struct test_f_f1_data): Likewise.  Remove field extra_name.
64888         (struct test_fF_f1_data): Likewise.
64889         (struct test_ffI_f1_data): Likewise.
64890         (struct test_c_c_data): Rename test_name field to arg_str.
64891         (struct test_cc_c_data): Likewise.
64892         (struct test_f_i_data): Likewise.
64893         (struct test_ff_i_data): Likewise.
64894         (struct test_f_l_data): Likewise.
64895         (struct test_f_L_data): Likewise.
64896         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
64897         and extra2_name.
64898         (COMMON_TEST_SETUP): New macro.
64899         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
64900         (COMMON_TEST_CLEANUP): Likewise.
64901         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
64902         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
64903         macros.
64904         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
64905         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
64906         macros.
64907         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
64908         (RUN_TEST_fff_f): Take argument string.  Call new setup and
64909         cleanup macros.
64910         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
64911         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
64912         macros.
64913         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
64914         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
64915         macros.
64916         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
64917         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
64918         cleanup macros.
64919         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
64920         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
64921         cleanup macros.
64922         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
64923         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
64924         cleanup macros.
64925         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
64926         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
64927         macros.
64928         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
64929         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
64930         macros.
64931         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
64932         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
64933         macros.
64934         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
64935         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
64936         cleanup macros.
64937         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
64938         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
64939         cleanup macros.
64940         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
64941         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
64942         macros.
64943         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
64944         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
64945         cleanup macros.
64946         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
64947         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
64948         macros.
64949         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
64950         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
64951         macros.
64952         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
64953         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
64954         cleanup macros.
64955         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
64957 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
64959         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
64960         to _sifields.sigfault.
64961         (si_addr_lsb): Define new macro.
64962         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64963         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64964         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
64966 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
64968         [BZ #15441]
64969         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
64970         returns -1.
64971         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
64972         null return -1.
64973         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
64974         loading the domain.
64976 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
64978         * math/gen-libm-test.pl (parse_args): Do not include expected
64979         result in test name.
64980         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
64981         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64982         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64983         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
64984         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64987 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64989         * benchtests/Makefile: Sort function entries.
64991         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
64992         tanh, asinh, acosh, atanh.
64993         * benchtests/acos-inputs: New file.
64994         * benchtests/acosh-inputs: New file.
64995         * benchtests/asin-inputs: New file.
64996         * benchtests/asinh-inputs: New file.
64997         * benchtests/atanh-inputs: New file.
64998         * benchtests/cosh-inputs: New file.
64999         * benchtests/log-inputs: New file.
65000         * benchtests/sinh-inputs: New file.
65001         * benchtests/tanh-inputs: New file.
65003 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
65005         [BZ #15339]
65006         * posix/tst-getaddrinfo4.c: New test.
65007         * posix/Makefile (tests): Add it.
65009 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65011         [BZ #15339]
65012         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65013         when no services were used.
65014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65015         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65017 2013-05-21  Andreas Schwab  <schwab@suse.de>
65019         [BZ #15014]
65020         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65021         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65022         successful.
65023         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65024         redundant variable declarations and reallocation of buffer when
65025         parsing as IPv6 address.  Always set NSS status when called from
65026         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
65027         buffer too small.  Correct computation of needed size.
65028         * nss/Makefile (tests): Add test-digits-dots.
65029         * nss/test-digits-dots.c: New test.
65031 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65033         * benchtests/Makefile: Remove instructions for adding
65034         benchmark tests.
65035         * benchtests/README: New file to explain how to execute and
65036         enhance the benchmark tests.
65038 2013-05-21  Andreas Schwab  <schwab@suse.de>
65040         [BZ #15493]
65041         * setjmp/Makefile (tests): Add tst-sigsetjmp.
65042         * setjmp/tst-sigsetjmp.c: New test.
65044 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65046         * sysdeps/x86_64/memset.S (memset): New implementation.
65047         (__bzero): Likewise.
65048         (__memset_tail): New function.
65050 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65052         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65053         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65054         __memcpy_sse2_unaligned ifunc selection.
65055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65056         Add memcpy-sse2-unaligned.S.
65057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65058         Add: __memcpy_sse2_unaligned.
65060 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
65062         [BZ #15490]
65063         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65064         math_force_eval before restoring floating-point envrionment.
65065         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
65066         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
65067         Likewise.
65068         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
65069         <math_private.h>.
65070         (__nearbyintl): Use math_force_eval before restoring
65071         floating-point environment.
65072         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
65074         * math/gen-libm-test.pl (special_functions): Remove.
65075         (parse_args): Don't handle TEST_extra.  Handle functions with no
65076         return value.
65077         * math/libm-test.inc (struct test_sincos_data): Replace with
65078         struct test_fFF_11_data.
65079         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
65080         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
65081         (sincos_test_data): Change element type to struct
65082         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
65083         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
65084         RUN_TEST_LOOP_sincos.
65085         * math/README.libm-test: Don't mention special handling of
65086         individual functions.
65087         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
65088         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65089         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65090         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65091         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65094         * math/gen-libm-test.pl (get_variable): Remove function.
65095         (parse_args): Don't show pointer parameters to call in test
65096         names.  Use "extra output N" in test names for extra outputs
65097         rather than naming variables.
65099 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
65101         [BZ #15488]
65102         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
65103         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
65104         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
65105         double tests.
65106         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
65107         disable.
65108         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
65109         check_long_double.
65111         * math/gen-libm-test.pl (@tests): Remove variable.
65112         ($count): Likewise.
65113         (new_test): Remove function.
65114         (show_exceptions): New function.
65115         (special_functions): Use show_exceptions instead of new_test.
65116         (parse_args): Likewise.
65117         (generate_testfile): Pass only function name in generated call to
65118         print_max_error or print_complex_max_error.
65119         (get_ulps): Do not handle complex tests specially.
65120         (output_test): Rename to ...
65121         (get_all_ulps_for_test): ... this.  Return a string rather than
65122         printing to a file.  Require ulps to be present.
65123         (output_ulps): Generate arrays rather than #defines.
65124         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
65125         (struct ulp_data): New type.
65126         (BUILD_COMPLEX_ULP): Remove macro.
65127         (compare_ulp_data): New function.
65128         (find_ulps): Likewise.
65129         (find_test_ulps): Likewise.
65130         (find_function_ulps): Likewise.
65131         (find_complex_function_ulps): Likewise.
65132         (print_max_error): Determine allowed ulps using
65133         find_function_ulps.
65134         (print_complex_max_error): Determine allowed ulps using
65135         find_complex_function_ulps.
65136         (check_float_internal): Determine max ulps using find_test_ulps.
65137         (check_float): Do not take max_ulp parameter.  Update call to
65138         check_float_internal.
65139         (check_complex): Likewise.
65140         (check_int): Do not take max_ulp parameter.
65141         (check_long): Likewise.
65142         (check_bool): Likewise.
65143         (check_longlong): Likewise.
65144         (struct test_f_f_data): Remove max_ulp field.
65145         (struct test_ff_f_data): Likewise.
65146         (struct test_ff_f_data_nexttoward): Likewise.
65147         (struct test_fi_f_data): Likewise.
65148         (struct test_fl_f_data): Likewise.
65149         (struct test_if_f_data): Likewise.
65150         (struct test_fff_f_data): Likewise.
65151         (struct test_c_f_data): Likewise.
65152         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
65153         (struct test_fF_f1_data): Likewise.
65154         (struct test_ffI_f1_data): Likewise.
65155         (struct test_c_c_data): Remove max_ulp field.
65156         (struct test_cc_c_data): Likewise.
65157         (struct test_f_i_data): Likewise.
65158         (struct test_ff_i_data): Likewise.
65159         (struct test_f_l_data): Likewise.
65160         (struct test_f_L_data): Likewise.
65161         (struct test_sincos_data): Likewise.
65162         (RUN_TEST_f_f): Do not handle ulps.
65163         (RUN_TEST_LOOP_f_f): Likewise.
65164         (RUN_TEST_2_f): Likewise.
65165         (RUN_TEST_LOOP_2_f): Likewise.
65166         (RUN_TEST_fff_f): Likewise.
65167         (RUN_TEST_LOOP_fff_f): Likewise.
65168         (RUN_TEST_c_f): Likewise.
65169         (RUN_TEST_LOOP_c_f): Likewise.
65170         (RUN_TEST_f_f1): Likewise.
65171         (RUN_TEST_LOOP_f_f1): Likewise.
65172         (RUN_TEST_fF_f1): Likewise.
65173         (RUN_TEST_LOOP_fF_f1): Likewise.
65174         (RUN_TEST_fI_f1): Likewise.
65175         (RUN_TEST_LOOP_fI_f1): Likewise.
65176         (RUN_TEST_ffI_f1): Likewise.
65177         (RUN_TEST_LOOP_ffI_f1): Likewise.
65178         (RUN_TEST_c_c): Likewise.
65179         (RUN_TEST_LOOP_c_c): Likewise.
65180         (RUN_TEST_cc_c): Likewise.
65181         (RUN_TEST_LOOP_cc_c): Likewise.
65182         (RUN_TEST_f_i): Likewise.
65183         (RUN_TEST_LOOP_f_i): Likewise.
65184         (RUN_TEST_f_i_tg): Likewise.
65185         (RUN_TEST_LOOP_f_i_tg): Likewise.
65186         (RUN_TEST_ff_i_tg): Likewise.
65187         (RUN_TEST_LOOP_ff_i_tg): Likewise.
65188         (RUN_TEST_f_b): Likewise.
65189         (RUN_TEST_LOOP_f_b): Likewise.
65190         (RUN_TEST_f_b_tg): Likewise.
65191         (RUN_TEST_LOOP_f_b_tg): Likewise.
65192         (RUN_TEST_f_l): Likewise.
65193         (RUN_TEST_LOOP_f_l): Likewise.
65194         (RUN_TEST_f_L): Likewise.
65195         (RUN_TEST_LOOP_f_L): Likewise.
65196         (RUN_TEST_sincos): Likewise.
65197         (RUN_TEST_LOOP_sincos): Likewise.
65199 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
65201         [BZ #15480]
65202         [BZ #15485]
65203         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
65204         main case of finite arguments, set rounding mode to FE_TONEAREST
65205         and discard exceptions.
65206         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
65207         exceptions.
65208         (remainder_tonearest_test_data): New variable.
65209         (remainder_test_tonearest): New function.
65210         (remainder_towardzero_test_data): New variable.
65211         (remainder_test_towardzero): New function.
65212         (remainder_downward_test_data): New variable.
65213         (remainder_test_downward): New function.
65214         (remainder_upward_test_data): New variable.
65215         (remainder_test_upward): New function.
65216         (main): Call the new test functions.
65218         * math/libm-test.inc (struct test_f_f1_data): Remove field
65219         extra_init.
65220         (struct test_fF_f1_data): Likewise.
65221         (struct test_ffI_f1_data): Likewise.
65222         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
65223         based on value of EXTRA_EXPECTED.
65224         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65225         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
65226         EXTRA_VAR based on value of EXTRA_EXPECTED.
65227         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65228         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
65229         EXTRA_VAR based on value of EXTRA_EXPECTED.
65230         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65231         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
65232         EXTRA_VAR based on value of EXTRA_EXPECTED.
65233         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65234         * math/gen-libm-test.pl (parse_args): Don't output initializers
65235         for extra output values.
65237         * math/libm-test.inc (check_int): Expect result to be exactly
65238         equal to expected value and do not handle ulps.
65239         (check_long): Likewise.
65240         (check_longlong): Likewise.
65242         * math/libm-test.inc (ceil_test_data): Test for "inexact"
65243         exceptions.
65244         (cimag_test_data): Likewise.
65245         (conj_test_data): Likewise.
65246         (copysign_test_data): Likewise.
65247         (cproj_test_data): Likewise.
65248         (creal_test_data): Likewise.
65249         (fabs_test_data): Likewise.
65250         (fdim_test_data): Likewise.
65251         (finite_test_data): Likewise.
65252         (floor_test_data): Likewise.
65253         (fmax_test_data): Likewise.
65254         (fmin_test_data): Likewise.
65255         (fmod_test_data): Likewise.
65256         (fpclassify_test_data): Likewise.
65257         (frexp_test_data): Likewise.
65258         (ilogb_test_data): Likewise.
65259         (isfinite_test_data): Likewise.
65260         (isgreater_test_data): Likewise.
65261         (isgreaterequal_test_data): Likewise.
65262         (isinf_test_data): Likewise.
65263         (isless_test_data): Likewise.
65264         (islessequal_test_data): Likewise.
65265         (islessgreater_test_data): Likewise.
65266         (isnan_test_data): Likewise.
65267         (isnormal_test_data): Likewise.
65268         (issignaling_test_data): Likewise.
65269         (isunordered_test_data): Likewise.
65270         (ldexp_test_data): Likewise.
65271         (lrint_test_data): Likewise.
65272         (lrint_test_data) [TEST_FLOAT]: Disable one test.
65273         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
65274         (lrint_tonearest_test_data): Test for "inexact" exceptions.
65275         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65276         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
65277         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65278         test input.
65279         (lrint_towardzero_test_data): Test for "inexact" exceptions.
65280         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65281         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
65282         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
65283         that test input.
65284         (lrint_downward_test_data): Test for "inexact" exceptions.
65285         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65286         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
65287         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
65288         test input.
65289         (lrint_upward_test_data): Test for "inexact" exceptions.
65290         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
65291         test input.
65292         (llrint_test_data): Test for "inexact" exceptions.
65293         (llrint_test_data) [TEST_FLOAT]: Disable one test.
65294         (llrint_tonearest_test_data): Test for "inexact" exceptions.
65295         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
65296         (llrint_towardzero_test_data): Test for "inexact" exceptions.
65297         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
65298         (llrint_downward_test_data): Test for "inexact" exceptions.
65299         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
65300         (llrint_upward_test_data): Test for "inexact" exceptions.
65301         (logb_test_data): Likewise.
65302         (logb_downward_test_data): Likewise.
65303         (nextafter_test_data): Likewise.
65304         (nexttoward_test_data): Likewise.
65305         (remainder_test_data): Likewise.
65306         (remquo_test_data): Likewise.
65307         (scalbn_test_data): Likewise.
65308         (scalbln_test_data): Likewise.
65309         (signbit_test_data): Likewise.
65310         (sqrt_test_data): Likewise.
65311         (significand_test_data): Likewise.
65313 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65315         [BZ #15424]
65316         * benchtests/bench-modf.c (struct args): Mark arg0 as
65317         volatile.
65318         * scripts/bench.pl: Mark members of struct args as volatile.
65320 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65322         [BZ # 15497]
65323         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
65324         negative infinity on POWER6 or lower.
65325         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
65327 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
65329         [BZ #15442]
65330         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
65331         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
65332         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
65333         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
65334         (_FP_SETQNAN): New macro.
65335         (_FP_SETQNAN_SEMIRAW): Likewise.
65336         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
65337         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
65338         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
65339         (FP_EXTEND): Use _FP_FRAC_SNANP.
65340         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
65341         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
65342         into account.
65343         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65344         New macro.
65345         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
65346         Likewise.
65348 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65350         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
65351         with DIVIDE_BY_ZERO_EXCEPTION.
65352         (gamma_test_data): Likewise.
65353         (lgamma_test_data): Likewise.
65354         (log_test_data): Likewise.
65355         (log10_test_data): Likewise.
65356         (log2_test_data): Likewise.
65357         (tgamma_test_data): Likewise.
65359         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
65360         (acos_test_tonearest): Likewise.
65361         (acos_test_towardzero): Likewise.
65362         (acos_test_downward): Likewise.
65363         (acos_test_upward): Likewise.
65364         (acosh_test): Likewise.
65365         (asin_test): Likewise.
65366         (asin_test_tonearest): Likewise.
65367         (asin_test_towardzero): Likewise.
65368         (asin_test_downward): Likewise.
65369         (asin_test_upward): Likewise.
65370         (asinh_test): Likewise.
65371         (atan_test): Likewise.
65372         (atanh_test): Likewise.
65373         (atan2_test): Likewise.
65374         (cabs_test): Likewise.
65375         (cacos_test): Likewise.
65376         (cacosh_test): Likewise.
65377         (casin_test): Likewise.
65378         (casinh_test): Likewise.
65379         (catan_test): Likewise.
65380         (catanh_test): Likewise.
65381         (cbrt_test): Likewise.
65382         (ccos_test): Likewise.
65383         (ccosh_test): Likewise.
65384         (cexp_test): Likewise.
65385         (clog_test): Likewise.
65386         (clog10_test): Likewise.
65387         (cos_test): Likewise.
65388         (cos_test_tonearest): Likewise.
65389         (cos_test_towardzero): Likewise.
65390         (cos_test_downward): Likewise.
65391         (cos_test_upward): Likewise.
65392         (cosh_test): Likewise.
65393         (cosh_test_tonearest): Likewise.
65394         (cosh_test_towardzero): Likewise.
65395         (cosh_test_downward): Likewise.
65396         (cosh_test_upward): Likewise.
65397         (cpow_test): Likewise.
65398         (csin_test): Likewise.
65399         (csinh_test): Likewise.
65400         (csqrt_test): Likewise.
65401         (ctan_test): Likewise.
65402         (ctan_test_tonearest): Likewise.
65403         (ctan_test_towardzero): Likewise.
65404         (ctan_test_downward): Likewise.
65405         (ctan_test_upward): Likewise.
65406         (ctanh_test): Likewise.
65407         (ctanh_test_tonearest): Likewise.
65408         (ctanh_test_towardzero): Likewise.
65409         (ctanh_test_downward): Likewise.
65410         (ctanh_test_upward): Likewise.
65411         (erf_test): Likewise.
65412         (erfc_test): Likewise.
65413         (exp_test): Likewise.
65414         (exp_test_tonearest): Likewise.
65415         (exp_test_towardzero): Likewise.
65416         (exp_test_downward): Likewise.
65417         (exp_test_upward): Likewise.
65418         (exp10_test): Likewise.
65419         (exp2_test): Likewise.
65420         (expm1_test): Likewise.
65421         (fmod_test): Likewise.
65422         (gamma_test): Likewise.
65423         (hypot_test): Likewise.
65424         (j0_test): Likewise.
65425         (j1_test): Likewise.
65426         (jn_test): Likewise.
65427         (lgamma_test): Likewise.
65428         (log_test): Likewise.
65429         (log10_test): Likewise.
65430         (log1p_test): Likewise.
65431         (log2_test): Likewise.
65432         (logb_test_downward): Likewise.
65433         (pow_test): Likewise.
65434         (pow_test_tonearest): Likewise.
65435         (pow_test_towardzero): Likewise.
65436         (pow_test_downward): Likewise.
65437         (pow_test_upward): Likewise.
65438         (remainder_test): Likewise.
65439         (remquo_test): Likewise.
65440         (sin_test): Likewise.
65441         (sin_test_tonearest): Likewise.
65442         (sin_test_towardzero): Likewise.
65443         (sin_test_downward): Likewise.
65444         (sin_test_upward): Likewise.
65445         (sincos_test): Likewise.
65446         (sinh_test): Likewise.
65447         (sinh_test_tonearest): Likewise.
65448         (sinh_test_towardzero): Likewise.
65449         (sinh_test_downward): Likewise.
65450         (sinh_test_upward): Likewise.
65451         (sqrt_test): Likewise.
65452         (tan_test): Likewise.
65453         (tan_test_tonearest): Likewise.
65454         (tan_test_towardzero): Likewise.
65455         (tan_test_downward): Likewise.
65456         (tan_test_upward): Likewise.
65457         (tanh_test): Likewise.
65458         (tgamma_test): Likewise.
65459         (y0_test): Likewise.
65460         (y1_test): Likewise.
65461         (yn_test): Likewise.
65463         * math/gen-libm-test.pl (adjust_arg): Remove function.
65464         (special_function): Remove argument $in_func.  Only handle
65465         generating output for tables of tests, not inside functions.
65466         (parse_args): Likewise.
65467         (generate_testfile): Remove variable $in_func.  Update call to
65468         parse_args.
65469         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
65470         (MINUS_ZERO_INIT): Rename macro to minus_zero.
65471         (PLUS_INFTY_INIT): Rename macro to plus_infty.
65472         (MINUS_INFTY_INIT): Rename macro to minus_infty.
65473         (QNAN_VALUE_INIT): Rename macro to qnan_value.
65474         (MAX_VALUE_INIT): Rename macro to max_value.
65475         (MIN_VALUE_INIT): Rename macro to min_value.
65476         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
65477         (plus_zero): Remove variable.
65478         (minus_zero): Likewise.
65479         (plus_infty): Likewise.
65480         (minus_infty): Likewise.
65481         (qnan_value): Likewise.
65482         (max_value): Likewise.
65483         (min_value): Likewise.
65484         (min_subnorm_value): Likewise.
65486 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65488         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
65489         uint64_t or uint32_t usage.
65490         * crypt/sha256-block.c: Likewise.
65491         * crypt/sha256-crypt.c: Likewise.
65492         * crypt/sha256.c: Likewise.
65493         * crypt/sha512-block.c: Likewise.
65494         * crypt/sha512-crypt.c: Likewise.
65495         * crypt/sha512.c: Likewise.
65496         * debug/backtrace-tst.c: Likewise.
65497         * debug/pcprofiledump.c: Likewise.
65498         * elf/cache.c: Likewise.
65499         * elf/dl-cache.c: Likewise.
65500         * elf/dl-misc.c: Likewise.
65501         * elf/dl-profile.c: Likewise.
65502         * elf/dl-support.c: Likewise.
65503         * elf/ldconfig.c: Likewise.
65504         * elf/sprof.c: Likewise.
65505         * iconv/dummy-repertoire.c: Likewise.
65506         * iconv/iconv_charmap.c: Likewise.
65507         * iconv/skeleton.c: Likewise.
65508         * iconvdata/8bit-generic.c: Likewise.
65509         * iconvdata/cp737.h: Likewise.
65510         * iconvdata/cp775.h: Likewise.
65511         * iconvdata/ibm1008.h: Likewise.
65512         * iconvdata/ibm1025.h: Likewise.
65513         * iconvdata/ibm1046.h: Likewise.
65514         * iconvdata/ibm1097.h: Likewise.
65515         * iconvdata/ibm1112.h: Likewise.
65516         * iconvdata/ibm1122.h: Likewise.
65517         * iconvdata/ibm1123.h: Likewise.
65518         * iconvdata/ibm1124.h: Likewise.
65519         * iconvdata/ibm1129.h: Likewise.
65520         * iconvdata/ibm1130.h: Likewise.
65521         * iconvdata/ibm1132.h: Likewise.
65522         * iconvdata/ibm1133.h: Likewise.
65523         * iconvdata/ibm1137.h: Likewise.
65524         * iconvdata/ibm1140.h: Likewise.
65525         * iconvdata/ibm1141.h: Likewise.
65526         * iconvdata/ibm1142.h: Likewise.
65527         * iconvdata/ibm1143.h: Likewise.
65528         * iconvdata/ibm1144.h: Likewise.
65529         * iconvdata/ibm1145.h: Likewise.
65530         * iconvdata/ibm1146.h: Likewise.
65531         * iconvdata/ibm1147.h: Likewise.
65532         * iconvdata/ibm1148.h: Likewise.
65533         * iconvdata/ibm1149.h: Likewise.
65534         * iconvdata/ibm1153.h: Likewise.
65535         * iconvdata/ibm1154.h: Likewise.
65536         * iconvdata/ibm1155.h: Likewise.
65537         * iconvdata/ibm1156.h: Likewise.
65538         * iconvdata/ibm1157.h: Likewise.
65539         * iconvdata/ibm1158.h: Likewise.
65540         * iconvdata/ibm1160.h: Likewise.
65541         * iconvdata/ibm1161.h: Likewise.
65542         * iconvdata/ibm1162.h: Likewise.
65543         * iconvdata/ibm1163.h: Likewise.
65544         * iconvdata/ibm1164.h: Likewise.
65545         * iconvdata/ibm1166.h: Likewise.
65546         * iconvdata/ibm1167.h: Likewise.
65547         * iconvdata/ibm12712.h: Likewise.
65548         * iconvdata/ibm1390.h: Likewise.
65549         * iconvdata/ibm1399.h: Likewise.
65550         * iconvdata/ibm16804.h: Likewise.
65551         * iconvdata/ibm4517.h: Likewise.
65552         * iconvdata/ibm4899.h: Likewise.
65553         * iconvdata/ibm4909.h: Likewise.
65554         * iconvdata/ibm4971.h: Likewise.
65555         * iconvdata/ibm5347.h: Likewise.
65556         * iconvdata/ibm803.h: Likewise.
65557         * iconvdata/ibm856.h: Likewise.
65558         * iconvdata/ibm901.h: Likewise.
65559         * iconvdata/ibm902.h: Likewise.
65560         * iconvdata/ibm9030.h: Likewise.
65561         * iconvdata/ibm9066.h: Likewise.
65562         * iconvdata/ibm921.h: Likewise.
65563         * iconvdata/ibm922.h: Likewise.
65564         * iconvdata/ibm9448.h: Likewise.
65565         * iconvdata/isiri-3342.h: Likewise.
65566         * iconvdata/jis0201.h: Likewise.
65567         * include/link.h: Likewise.
65568         * include/netdb.h: Likewise.
65569         * inet/check_native.c: Likewise.
65570         * inet/check_pf.c: Likewise.
65571         * inet/getipv4sourcefilter.c: Likewise.
65572         * inet/getnameinfo.c: Likewise.
65573         * inet/getsourcefilter.c: Likewise.
65574         * inet/htonl.c: Likewise.
65575         * inet/setipv4sourcefilter.c: Likewise.
65576         * inet/setsourcefilter.c: Likewise.
65577         * inet/test-inet6_opt.c: Likewise.
65578         * inet/tst-network.c: Likewise.
65579         * locale/C-collate.c: Likewise.
65580         * locale/C-ctype.c: Likewise.
65581         * locale/C-time.c: Likewise.
65582         * locale/C-translit.h: Likewise.
65583         * locale/loadarchive.c: Likewise.
65584         * locale/programs/3level.h: Likewise.
65585         * locale/programs/charmap.c: Likewise.
65586         * locale/programs/charmap.h: Likewise.
65587         * locale/programs/ld-address.c: Likewise.
65588         * locale/programs/ld-collate.c: Likewise.
65589         * locale/programs/ld-ctype.c: Likewise.
65590         * locale/programs/ld-identification.c: Likewise.
65591         * locale/programs/ld-measurement.c: Likewise.
65592         * locale/programs/ld-messages.c: Likewise.
65593         * locale/programs/ld-monetary.c: Likewise.
65594         * locale/programs/ld-name.c: Likewise.
65595         * locale/programs/ld-numeric.c: Likewise.
65596         * locale/programs/ld-paper.c: Likewise.
65597         * locale/programs/ld-telephone.c: Likewise.
65598         * locale/programs/ld-time.c: Likewise.
65599         * locale/programs/linereader.c: Likewise.
65600         * locale/programs/locale.c: Likewise.
65601         * locale/programs/locarchive.c: Likewise.
65602         * locale/programs/locfile.h: Likewise.
65603         * locale/programs/repertoire.c: Likewise.
65604         * locale/programs/simple-hash.c: Likewise.
65605         * locale/programs/simple-hash.h: Likewise.
65606         * malloc/memusage.c: Likewise.
65607         * malloc/memusagestat.c: Likewise.
65608         * nis/nis_defaults.c: Likewise.
65609         * nis/nis_hash.c: Likewise.
65610         * nis/nis_print.c: Likewise.
65611         * nis/nis_xdr.c: Likewise.
65612         * nscd/connections.c: Likewise.
65613         * nscd/hstcache.c: Likewise.
65614         * nscd/nscd_gethst_r.c: Likewise.
65615         * nscd/nscd_getserv_r.c: Likewise.
65616         * nscd/nscd_helper.c: Likewise.
65617         * nscd/servicescache.c: Likewise.
65618         * nss/makedb.c: Likewise.
65619         * nss/nss_db/db-XXX.c: Likewise.
65620         * nss/nss_db/db-initgroups.c: Likewise.
65621         * nss/nss_db/db-netgrp.c: Likewise.
65622         * nss/nss_files/files-network.c: Likewise.
65623         * nss/nss_files/files-parse.c: Likewise.
65624         * posix/bug-regex5.c: Likewise.
65625         * posix/fnmatch_loop.c: Likewise.
65626         * posix/regcomp.c: Likewise.
65627         * posix/regexec.c: Likewise.
65628         * posix/tst-rfc3484-2.c: Likewise.
65629         * posix/tst-rfc3484-3.c: Likewise.
65630         * posix/tst-rfc3484.c: Likewise.
65631         * resolv/nss_dns/dns-canon.c: Likewise.
65632         * resolv/nss_dns/dns-network.c: Likewise.
65633         * resolv/res_init.c: Likewise.
65634         * resolv/res_mkquery.c: Likewise.
65635         * resolv/tst-aton.c: Likewise.
65636         * stdlib/cxa_atexit.c: Likewise.
65637         * stdlib/cxa_finalize.c: Likewise.
65638         * stdlib/gen-fpioconst.c: Likewise.
65639         * stdlib/strtol_l.c: Likewise.
65640         * string/tst-endian.c: Likewise.
65641         * sunrpc/auth_des.c: Likewise.
65642         * sunrpc/clnt_udp.c: Likewise.
65643         * sunrpc/rtime.c: Likewise.
65644         * sunrpc/svcauth_des.c: Likewise.
65645         * sunrpc/xdr.c: Likewise.
65646         * sunrpc/xdr_intXX_t.c: Likewise.
65647         * sunrpc/xdr_rec.c: Likewise.
65648         * sysdeps/generic/ldconfig.h: Likewise.
65649         * sysdeps/generic/ldsodefs.h: Likewise.
65650         * sysdeps/generic/memusage.h: Likewise.
65651         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65652         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
65653         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
65654         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65655         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65656         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65657         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65658         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65659         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65660         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65661         * sysdeps/posix/getaddrinfo.c: Likewise.
65662         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65663         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65664         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65665         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65666         * sysdeps/powerpc/test-gettimebase.c: Likewise.
65667         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
65668         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
65669         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
65670         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
65671         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
65672         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
65673         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
65674         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
65675         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
65676         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
65677         * sysdeps/x86_64/dl-tls.h: Likewise.
65678         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
65679         * time/alt_digit.c: Likewise.
65680         * time/era.c: Likewise.
65681         * wcsmbs/tst-c16c32-1.c: Likewise.
65683 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65685         * math/libm-test.inc (struct test_sincos_data): New type.
65686         (RUN_TEST_LOOP_sincos): New macro.
65687         (sincos_test_data): New variable.
65688         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
65690 2013-05-16  Richard Henderson  <rth@redhat.com>
65692         * math/atest-exp2.c (LIMB64): New macro.
65693         (CONSTSZ): New macro.
65694         (mp_exp1, mp_exp_m1, mp_log2): New variables.
65695         (hexdig): Move ...
65696         (print_mpn_fp): ... to function scope.
65697         (read_mpn_hex): Remove.
65698         (get_log2): Remove.
65699         (exp2_mpn): Use mp_log2.
65700         (main): Use mp_exp1.
65702 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
65704         * math/libm-test.inc: Remove comment about not testing "inexact"
65705         exceptions.
65706         (INEXACT_EXCEPTION): New macro.
65707         (NO_INEXACT_EXCEPTION): Likewise.
65708         (INVALID_EXCEPTION_OK): Update value.
65709         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65710         (OVERFLOW_EXCEPTION_OK): Likewise.
65711         (UNDERFLOW_EXCEPTION_OK): Likewise.
65712         (IGNORE_ZERO_INF_SIGN): Likewise.
65713         (ERRNO_UNCHANGED): Likewise.
65714         (ERRNO_EDOM): Likewise.
65715         (ERRNO_ERANGE): Likewise.
65716         (test_exceptions): Handle testing "inexact" exceptions.
65717         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
65718         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
65719         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
65720         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
65721         INEXACT_EXCEPTION.
65722         (rint_towardzero_test_data): Likewise.
65723         (rint_downward_test_data): Likewise.
65724         (rint_upward_test_data): Likewise.
65726         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
65727         with OVERFLOW_EXCEPTION.
65728         (exp10_test_data): Likewise.
65729         (exp2_test_data): Likewise.
65730         (expm1_test_data): Likewise.
65731         (lgamma_test_data): Likewise.
65732         (pow_test_data): Likewise.
65733         (tgamma_test_data): Likewise.
65734         (yn_test_data): Remove duplicate test of overflow.
65736         * math/libm-test.inc (struct test_cc_c_data): New type.
65737         (RUN_TEST_LOOP_cc_c): New macro.
65738         (cpow_test_data): New variable.
65739         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
65741         * math/libm-test.inc (struct test_f_L_data): New type.
65742         (RUN_TEST_LOOP_f_L): New macro.
65743         (llrint_test_data): New variable.
65744         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
65745         (llrint_tonearest_test_data): New variable.
65746         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65747         (llrint_towardzero_test_data): New variable.
65748         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
65749         (llrint_downward_test_data): New variable.
65750         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
65751         (llrint_upward_test_data): New variable.
65752         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
65753         (llround_test_data): New variable.
65754         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
65756 2013-05-13  Peter Collingbourne  <pcc@google.com>
65758         * math/atest-exp2.c (get_log2): Remove const attribute.
65760 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65762         * math/libm-test.inc (struct test_f_l_data): New type.
65763         (RUN_TEST_LOOP_f_l): New macro.
65764         (lrint_test_data): New variable.
65765         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
65766         (lrint_tonearest_test_data): New variable.
65767         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
65768         (lrint_towardzero_test_data): New variable.
65769         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
65770         (lrint_downward_test_data): New variable.
65771         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
65772         (lrint_upward_test_data): New variable.
65773         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
65774         (lround_test_data): New variable.
65775         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
65777 2013-05-15  Peter Collingbourne  <pcc@google.com>
65779         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
65780         (EXTRACT_WORDS64) Use where appropriate.
65781         (INSERT_WORDS64) Likewise.
65783         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
65784         constraints with x constraints.
65785         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
65787         * malloc/obstack.c (_obstack_compat): Add initializer.
65789 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65791         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
65792         si_trapno and add si_addr_lsb to _sifields.sigfault.
65793         (si_trapno): Remove macro.
65794         (si_addr_lsb): Define new macro.
65795         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65797 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
65799         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
65800         instead of TEST_f_l.
65801         (llrint_test_tonearest): Likewise.
65802         (llrint_test_towardzero): Likewise.
65803         (llrint_test_downward): Likewise.
65804         (llrint_test_upward): Likewise.
65805         (llround_test): Likewise.
65807         * math/libm-test.inc (struct test_f_i_data): Add comment.
65808         (RUN_TEST_LOOP_f_b): New macro.
65809         (RUN_TEST_LOOP_f_b_tg): Likewise.
65810         (finite_test_data): New variable.
65811         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
65812         (isfinite_test_data): New variable.
65813         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65814         (isinf_test_data): New variable.
65815         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65816         (isnan_test_data): New variable.
65817         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65818         (isnormal_test_data): New variable.
65819         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65820         (issignaling_test_data): New variable.
65821         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65822         (signbit_test_data): New variable.
65823         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
65825         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
65826         with INVALID_EXCEPTION.
65827         (acosh_test_data): Likewise.
65828         (asin_test_data): Likewise.
65829         (atanh_test_data): Likewise.
65830         (fmod_test_data): Likewise.
65831         (log_test_data): Likewise.
65832         (log10_test_data): Likewise.
65833         (log2_test_data): Likewise.
65834         (pow_test_data): Likewise.
65835         (sqrt_test_data): Likewise.
65836         (y0_test_data): Likewise.
65837         (y1_test_data): Likewise.
65838         (yn_test_data): Likewise.
65840         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
65841         function contents.
65843         * math/libm-test.inc (struct test_ff_i_data): New type.
65844         (RUN_TEST_LOOP_ff_i_tg): New macro.
65845         (isgreater_test_data): New variable.
65846         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65847         (isgreaterequal_test_data): New variable.
65848         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65849         (isless_test_data): New variable.
65850         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65851         (islessequal_test_data): New variable.
65852         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65853         (islessgreater_test_data): New variable.
65854         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65855         (isunordered_test_data): New variable.
65856         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
65858 2013-05-14  David S. Miller  <davem@davemloft.net>
65860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65862 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
65864         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
65866         * math/libm-test.inc (struct test_fF_f1_data): Change type of
65867         extra_test to int.
65868         (struct test_f_i_data): Change type of max_ulp to int.
65870         * math/libm-test.inc (test_ffI_f1_data): New type.
65871         (RUN_TEST_LOOP_ffI_f1): New macro.
65872         (remquo_test_data): New variable.
65873         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
65875         * setjmp/tst-setjmp-fp.c: New file.
65876         * setjmp/Makefile (tests): Add tst-setjmp-fp.
65877         (link-libm): New variable.
65878         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
65880         * math/libm-test.inc (struct test_f_i_data): New type.
65881         (RUN_TEST_LOOP_f_i): New macro.
65882         (RUN_TEST_LOOP_f_i_tg): Likewise.
65883         (fpclassify_test_data): New variable.
65884         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
65885         (ilogb_test_data): New variable.
65886         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
65888         * math/libm-test.inc (scalbln_test): Correct function name in END
65889         call.
65891         * math/libm-test.inc (struct test_f_f1_data): Add comment.
65892         (RUN_TEST_LOOP_fI_f1): New macro.
65893         (frexp_test_data): New variable.
65894         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
65896         * math/libm-test.inc (struct test_fF_f1_data): New type.
65897         (RUN_TEST_LOOP_fF_f1): New macro.
65898         (modf_test_data): New variable.
65899         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
65901         * math/libm-test.inc (struct test_f_f1_data): New type.
65902         (RUN_TEST_LOOP_f_f1): New macro.
65903         (gamma_test_data): New variable.
65904         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65905         (lgamma_test_data): New variable.
65906         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65908 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
65910         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
65911         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
65912         (main): Comment "tls" pseudo-hwcap.
65914 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
65916         * math/libm-test.inc (struct test_fl_f_data): New type.
65917         (RUN_TEST_LOOP_fl_f): New variable.
65918         (scalbln_test_data): New variable.
65919         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
65921         * math/libm-test.inc (struct test_fi_f_data): New type.
65922         (RUN_TEST_LOOP_fi_f): New macro.
65923         (ldexp_test_data): New variable.
65924         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
65925         (scalbn_test_data): New variable.
65926         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
65928         * math/libm-test.inc (struct test_c_f_data): New type.
65929         (RUN_TEST_LOOP_c_f): New macro.
65930         (cabs_test_data): New variable.
65931         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65932         (carg_test_data): New variable.
65933         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
65934         (cimag_test_data): New variable.
65935         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
65936         (creal_test_data): New variable.
65937         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
65939         * math/libm-test.inc (struct test_if_f_data): New type.
65940         (RUN_TEST_LOOP_if_f): New macro.
65941         (jn_test_data): New variable.
65942         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
65943         (yn_test_data): New variable.
65944         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
65946         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
65948 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65950         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
65951         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
65953 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65955         * benchtests/Makefile (CPPFLAGS-nonlib): Add
65956         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
65957         (bench-deps): Add bench-timing.h.
65958         * benchtests-bench-skeleton.c: Include bench-timing.h.
65959         (main): Use TIMING_* macros instead of clock_gettime.
65960         * benchtests/bench-timing.h: New file.
65962         [BZ #14582]
65963         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
65964         Renamed from _LIB_VERSION.
65965         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
65967 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
65969         * math/libm-test.inc (struct test_fff_f_data): New type.
65970         (RUN_TEST_LOOP_fff_f): New macro.
65971         (fma_test_data): New variable.
65972         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
65973         (fma_towardzero_test_data): New variable.
65974         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
65975         (fma_downward_test_data): New variable.
65976         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
65977         (fma_upward_test_data): New variable.
65978         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
65980         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
65981         (struct test_c_c_data): New type.
65982         (RUN_TEST_LOOP_c_c): New macro.
65983         (cacos_test_data): New variable.
65984         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
65985         (cacosh_test_data): New variable.
65986         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
65987         (casin_test_data): New variable.
65988         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
65989         (casinh_test_data): New variable.
65990         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
65991         (catan_test_data): New variable.
65992         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
65993         (catanh_test_data): New variable.
65994         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
65995         (ccos_test_data): New variable.
65996         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
65997         (ccosh_test_data): New variable.
65998         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
65999         (cexp_test_data): New variable.
66000         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
66001         (clog_test_data): New variable.
66002         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
66003         (clog10_test_data): New variable.
66004         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
66005         (conj_test_data): New variable.
66006         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
66007         (cproj_test_data): New variable.
66008         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
66009         (csin_test_data): New variable.
66010         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66011         (csinh_test_data): New variable.
66012         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66013         (csqrt_test_data): New variable.
66014         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66015         (ctan_test_data): New variable.
66016         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66017         (ctan_tonearest_test_data): New variable.
66018         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66019         (ctan_towardzero_test_data): New variable.
66020         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66021         (ctan_downward_test_data): New variable.
66022         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66023         (ctan_upward_test_data): New variable.
66024         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66025         (ctanh_test_data): New variable.
66026         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66027         (ctanh_tonearest_test_data): New variable.
66028         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66029         (ctanh_towardzero_test_data): New variable.
66030         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66031         (ctanh_downward_test_data): New variable.
66032         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66033         (ctanh_upward_test_data): New variable.
66034         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66035         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66036         of BUILD_COMPLEX.
66038         * math/libm-test.inc (struct test_ff_f_data): New type.
66039         (struct test_ff_f_data_nexttoward): Likewise.
66040         (RUN_TEST_LOOP_2_f): New macro.
66041         (RUN_TEST_LOOP_ff_f): Likewise.
66042         (atan2_test_data): New variable.
66043         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66044         (copysign_test_data): New variable.
66045         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66046         (fdim_test_data): New variable.
66047         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66048         (fmax_test_data): New variable.
66049         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66050         (fmin_test_data): New variable.
66051         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66052         (fmod_test_data): New variable.
66053         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66054         (hypot_test_data): New variable.
66055         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66056         (nextafter_test_data): New variable.
66057         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66058         (nexttoward_test_data): New variable.
66059         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66060         (pow_test_data): New variable.
66061         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66062         (pow_tonearest_test_data): New variable.
66063         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66064         (pow_towardzero_test_data): New variable.
66065         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
66066         (pow_downward_test_data): New variable.
66067         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
66068         (pow_upward_test_data): New variable.
66069         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
66070         (remainder_test_data): New variable.
66071         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
66072         (scalb_test_data): New variable.
66073         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
66074         * sysdeps/i386/fpu/libm-test-ulps: Update.
66076 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
66078         * math/libm-test.inc (fma_test): Use max_value instead of local
66079         variable fltmax.
66080         (nextafter_test): Likewise.
66082         * math/libm-test.inc (acos_towardzero_test_data): New variable.
66083         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66084         (acos_downward_test_data): New variable.
66085         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66086         (acos_upward_test_data): New variable.
66087         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66088         (acosh_test_data): New variable.
66089         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
66090         (asin_test_data): New variable.
66091         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
66092         (asin_tonearest_test_data): New variable.
66093         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66094         (asin_towardzero_test_data): New variable.
66095         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66096         (asin_downward_test_data): New variable.
66097         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66098         (asin_upward_test_data): New variable.
66099         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66100         (asinh_test_data): New variable.
66101         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
66102         (atan_test_data): New variable.
66103         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
66104         (atanh_test_data): New variable.
66105         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
66106         (cbrt_test_data): New variable.
66107         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
66108         (ceil_test_data): New variable.
66109         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
66110         (cos_test_data): New variable.
66111         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
66112         (cos_tonearest_test_data): New variable.
66113         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66114         (cos_towardzero_test_data): New variable.
66115         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66116         (cos_downward_test_data): New variable.
66117         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66118         (cos_upward_test_data): New variable.
66119         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66120         (cosh_test_data): New variable.
66121         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
66122         (cosh_tonearest_test_data): New variable.
66123         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66124         (cosh_towardzero_test_data): New variable.
66125         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66126         (cosh_downward_test_data): New variable.
66127         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66128         (cosh_upward_test_data): New variable.
66129         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66130         (erf_test_data): New variable.
66131         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
66132         (erfc_test_data): New variable.
66133         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
66134         (exp_test_data): New variable.
66135         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
66136         (exp_tonearest_test_data): New variable.
66137         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66138         (exp_towardzero_test_data): New variable.
66139         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66140         (exp_downward_test_data): New variable.
66141         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66142         (exp_upward_test_data): New variable.
66143         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66144         (exp10_test_data): New variable.
66145         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
66146         (exp2_test_data): New variable.
66147         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
66148         (expm1_test_data): New variable.
66149         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
66150         (fabs_test_data): New variable.
66151         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
66152         (floor_test_data): New variable.
66153         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
66154         (j0_test_data): New variable.
66155         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
66156         (j1_test_data): New variable.
66157         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
66158         (log_test_data): New variable.
66159         (log_test): Run tests with RUN_TEST_LOOP_f_f.
66160         (log10_test_data): New variable.
66161         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
66162         (log1p_test_data): New variable.
66163         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
66164         (log2_test_data): New variable.
66165         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
66166         (logb_test_data): New variable.
66167         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
66168         (logb_downward_test_data): New variable.
66169         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66170         (nearbyint_test_data): New variable.
66171         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
66172         (rint_test_data): New variable.
66173         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
66174         (rint_tonearest_test_data): New variable.
66175         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66176         (rint_towardzero_test_data): New variable.
66177         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66178         (rint_downward_test_data): New variable.
66179         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66180         (rint_upward_test_data): New variable.
66181         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66182         (round_test_data): New variable.
66183         (round_test): Run tests with RUN_TEST_LOOP_f_f.
66184         (sin_test_data): New variable.
66185         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
66186         (sin_tonearest_test_data): New variable.
66187         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66188         (sin_towardzero_test_data): New variable.
66189         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66190         (sin_downward_test_data): New variable.
66191         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66192         (sin_upward_test_data): New variable.
66193         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66194         (sinh_test_data): New variable.
66195         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
66196         (sinh_tonearest_test_data): New variable.
66197         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66198         (sinh_towardzero_test_data): New variable.
66199         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66200         (sinh_downward_test_data): New variable.
66201         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66202         (sinh_upward_test_data): New variable.
66203         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66204         (sqrt_test_data): New variable.
66205         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
66206         (tan_test_data): New variable.
66207         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
66208         (tan_tonearest_test_data): New variable.
66209         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66210         (tan_towardzero_test_data): New variable.
66211         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
66212         (tan_downward_test_data): New variable.
66213         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
66214         (tan_upward_test_data): New variable.
66215         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
66216         (tanh_test_data): New variable.
66217         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
66218         (tgamma_test_data): New variable.
66219         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
66220         (trunc_test_data): New variable.
66221         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
66222         (y0_test_data): New variable.
66223         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
66224         (y1_test_data): New variable.
66225         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
66226         (significand_test_data): New variable.
66227         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
66229 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
66231         [BZ #12387]
66232         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
66234 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66236         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
66238 2013-05-10  Andreas Jaeger  <aj@suse.de>
66240         [BZ #15448]
66241         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
66242         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
66244 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66246         * math/gen-libm-test.pl (adjust_arg): New function.
66247         (special_functions): Handle generating output in both functions
66248         and arrays.
66249         (parse_args): Likewise.
66250         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
66251         $in_func argument to parse_args.
66252         * math/libm-test.inc (struct test_f_f_data): New type.
66253         (IF_ROUND_INIT_): New macro.
66254         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
66255         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
66256         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
66257         (IF_ROUND_INIT_FE_UPWARD): Likewise.
66258         (ROUND_RESTORE_): Likewise.
66259         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
66260         (ROUND_RESTORE_FE_TONEAREST): Likewise.
66261         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
66262         (ROUND_RESTORE_FE_UPWARD): Likewise.
66263         (RUN_TEST_LOOP_f_f): New macro.
66264         (acos_test_data): New variable.
66265         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
66266         (acos_tonearest_test_data): New variable.
66267         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
66269 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66271         * benchtests/bench-skeleton.c (startup): Fix coding style.
66273 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
66275         [BZ #6809]
66276         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
66277         negative infinity argument.
66278         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
66279         negative infinity argument.
66280         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
66281         negative infinity argument.
66282         * math/libm-test.inc (tgamma_test): Expect errno to be set for
66283         domain errors.
66285 2013-05-10  Florian Weimer  <fweimer@redhat.com>
66287         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
66288         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
66289         * iconv/iconv_prog.c (main): Likewise.
66290         * locale/programs/charmap-dir.c (charmap_readdir)
66291         (fopen_uncompressed): Likewise.
66292         * locale/programs/locfile.c (siblings_uncached)
66293         (write_locale_data): Use lstat64 instead of lstat.
66294         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
66295         stat.
66297 2013-05-10  Andreas Jaeger  <aj@suse.de>
66299         [BZ #15395]
66300         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
66301         localization.
66302         Include <locale.h>.
66304 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
66306         * elf/dl-close.c (_dl_close_worker): Add comments.
66308 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
66310         [BZ #15359]
66311         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
66312         high part of pi/2.
66313         (__ieee754_rem_pio2l): Update comments.
66315         [BZ #15429]
66316         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
66317         high part of pi/2.
66318         (__ieee754_rem_pio2l): Update comments.
66320         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
66321         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
66323         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
66324         M_PI_4l.
66326         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
66327         (M_PI_34_LOG10El): Likewise.
66328         (M_PI2_LOG10El): Likewise.
66329         (M_PI4_LOG10El): Likewise.
66330         (M_PI_LOG10El): Likewise.
66332 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66336 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
66338         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
66339         (MINUS_ZERO_INIT): Likewise.
66340         (PLUS_INFTY_INIT): Likewise.
66341         (MINUS_INFTY_INIT): Likewise.
66342         (QNAN_VALUE_INIT): Likewise.
66343         (MAX_VALUE_INIT): Likewise.
66344         (MIN_VALUE_INIT): Likewise.
66345         (MIN_SUBNORM_VALUE_INIT): Likewise.
66346         (plus_zero): Initialize with PLUS_ZERO_INIT.
66347         (minus_zero): Initialize with MINUS_ZERO_INIT.
66348         (plus_infty): Initialize with PLUS_INFTY_INIT.
66349         (minus_infty): Initialize with MINUS_INFTY_INIT.
66350         (qnan_value): Initialize with QNAN_VALUE_INIT.
66351         (max_value): Initialize with MAX_VALUE_INIT.
66352         (min_value): Initialize with MIN_VALUE_INIT.
66353         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
66355         * math/libm-test.inc (RUN_TEST_if_f): New macro.
66356         (jn_test): Use TEST_if_f instead of TEST_ff_f.
66357         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
66358         (yn_test): Use TEST_if_f instead of TEST_ff_f.
66360         * math/libm-test.inc (RUN_TEST_f_f): New macro.
66361         (RUN_TEST_2_f): Likewise.
66362         (RUN_TEST_ff_f): Likewise.
66363         (RUN_TEST_fi_f): Likewise.
66364         (RUN_TEST_fl_f): Likewise.
66365         (RUN_TEST_fff_f): Likewise.
66366         (RUN_TEST_c_f): Likewise.
66367         (RUN_TEST_f_f1): Likewise.
66368         (RUN_TEST_fF_f1): Likewise.
66369         (RUN_TEST_fI_f1): Likewise.
66370         (RUN_TEST_ffI_f1): Likewise.
66371         (RUN_TEST_c_c): Likewise.
66372         (RUN_TEST_cc_c): Likewise.
66373         (RUN_TEST_f_i): Likewise.
66374         (RUN_TEST_f_i_tg): Likewise.
66375         (RUN_TEST_ff_i_tg): Likewise.
66376         (RUN_TEST_f_b): Likewise.
66377         (RUN_TEST_f_b_tg): Likewise.
66378         (RUN_TEST_f_l): Likewise.
66379         (RUN_TEST_f_L): Likewise.
66380         (RUN_TEST_sincos): Likewise.
66381         * math/gen-libm-test.pl (new_test): Take new argument to indicate
66382         whether to show exceptions.  Do not include ");\n" in return
66383         value.
66384         (special_functions): Output call to RUN_TEST_sincos instead of
66385         check_float calls.  Update calls to new_test.
66386         (parse_args): Output call to single RUN_TEST_* macro instead of
66387         check_* calls and other assignments.  Update calls to new_test.
66389         [BZ #2546]
66390         [BZ #2560]
66391         [BZ #5159]
66392         [BZ #15426]
66393         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
66394         input to result for tgamma overflow.
66395         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
66396         (gamma_coeff): New variable.
66397         (NCOEFF): New macro.
66398         (gamma_positive): New function.
66399         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
66400         underflow here.  Use gamma_positive instead of exp (lgamma) for
66401         other arguments.
66402         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
66403         (gamma_coeff): New variable.
66404         (NCOEFF): New macro.
66405         (gammaf_positive): New function.
66406         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
66407         underflow here.  Use gamma_positive instead of exp (lgamma) for
66408         other arguments.
66409         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
66410         (gamma_coeff): New variable.
66411         (NCOEFF): New macro.
66412         (gammal_positive): New function.
66413         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
66414         underflow here.  Use gamma_positive instead of exp (lgamma) for
66415         other arguments.
66416         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
66417         (gamma_coeff): New variable.
66418         (NCOEFF): New macro.
66419         (gammal_positive): New function.
66420         (__ieee754_gammal_r): Handle positive infinity, overflow and
66421         underflow here.  Handle NaN the same as positive infinity.  Remove
66422         check x < 0xffffffff for negative integers.  Use gamma_positive
66423         instead of exp (lgamma) for other arguments.
66424         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
66425         (gamma_coeff): New variable.
66426         (NCOEFF): New macro.
66427         (gammal_positive): New function.
66428         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
66429         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
66430         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
66431         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
66432         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
66433         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
66434         * sysdeps/generic/math_private.h (__gamma_productf): New
66435         prototype.
66436         (__gamma_product): Likewise.
66437         (__gamma_productl): Likewise.
66438         * math/Makefile (libm-calls): Add gamma_product.
66439         * math/libm-test.inc (tgamma_test): Add more tests.
66440         * sysdeps/i386/fpu/libm-test-ulps: Update.
66441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66443 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
66445         * benchtests/bench-skeleton.c (main): Preheat CPU.
66447 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
66449         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
66451 2013-05-07  Roland McGrath  <roland@hack.frob.com>
66453         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
66454         and _dl_skip_args_internal.
66456 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
66458         * manual/message.texi (Message Translation): Talk about users.
66459         Message to key mapping impacts design.
66461 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66463         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
66465         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
66467         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
66468         * sysdeps/wordsize-64/glob64.c: ... here.
66470         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
66471         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
66472         New macros.
66474         * debug/getlogin_r_chk.c: Moved to ...
66475         * login/getlogin_r_chk.c: ... here.
66476         * debug/Makefile (routines): Move getlogin_r_chk to ...
66477         * login/Makefile (routines): ... here.
66478         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
66479         * login/Versions (libc: GLIBC_2.4): ... here.
66481         * io/poll.c (__poll): Renamed from poll.
66482         Add libc_hidden_def.
66483         (poll): Define as weak alias.
66485         * debug/ptsname_r_chk.c: Moved to ...
66486         * login/ptsname_r_chk.c: ... here.
66487         * debug/Makefile (routines): Move ptsname_r_chk to ...
66488         * login/Makefile (routines): ... here.
66489         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
66490         * login/Versions (libc: GLIBC_2.4): ... here.
66492         * posix/getlogin.c: Moved to ...
66493         * login/getlogin.c: ... here.
66494         * posix/getlogin_r.c: Moved to ...
66495         * login/getlogin_r.c: ... here.
66496         * posix/getlogin_r.c: Moved to ...
66497         * login/getlogin_r.c: ... here.
66498         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
66499         * login/Makefile (routines): ... here.
66500         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
66501         * login/Versions (libc: GLIBC_2.0): ... here.
66503         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
66504         (setrlimit): Define as weak alias.
66506         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
66507         Call __ names for open, ftruncate, and close.
66508         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
66509         (truncate): Define as weak alias.
66511 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
66513         * math/gen-libm-test.pl (parse_args): Initialize x before each
66514         test of frexp, modf and remquo.
66516         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
66517         test signgam value.
66519 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66521         [BZ #15418]
66522         [BZ #15419]
66523         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
66524         internal tests.
66525         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66527 2013-05-06  Roland McGrath  <roland@hack.frob.com>
66529         * elf/dl-writev.h: New file.
66530         * elf/dl-misc.c: Include it.
66531         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
66532         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
66534 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
66536         * math/libm-test.inc (noXFails): Remove variable.
66537         (noXPasses): Likewise.
66538         (BUILD_COMPLEX_INT): Remove macro.
66539         (print_screen): Remove xfail argument.
66540         (print_screen_max_error): Likewise.
66541         (update_stats): Likewise.
66542         (print_max_error): Likewise.  Update calls to other affected
66543         functions.
66544         (print_complex_max_error): Likewise.
66545         (test_single_exception): Update calls to print_screen.
66546         (test_single_errno): Likewise.
66547         (check_float_internal): Remove xfail argument.  Update calls to
66548         other affected functions.
66549         (check_float): Likewise.
66550         (check_complex): Likewise.
66551         (check_int): Likewise.
66552         (check_long): Likewise.
66553         (check_bool): Likewise.
66554         (check_longlong): Likewise.
66555         (main): Don't print noXFails and noXPasses.
66556         * math/gen-libm-test.pl (top level): Don't mention expected
66557         failure handling in comment.
66558         (new_test): Don't handle expected failures.
66559         (parse_args): Don't mention expected failure handling in comment.
66560         (generate_testfile): Don't handle expected failures.
66561         (parse_ulps): Likewise.
66562         (print_ulps_file): Likewise.
66563         (get_failure): Remove function.
66564         (output_test): Don't handle expected failures.
66565         * make/README.libm-test: Don't mention expected failure handling.
66567         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
66568         (minus_zero): Likewise.
66569         (plus_infty): Likewise.
66570         (minus_infty): Likewise.
66571         (qnan_value): Likewise.
66572         (max_value): Likewise.
66573         (min_value): Likewise.
66574         (min_subnorm_value): Likewise.
66575         (initialize): Do not initialize those variables dynamically.
66577 2013-05-03  Roland McGrath  <roland@hack.frob.com>
66579         * io/open.c (__open_2): Moved to ...
66580         * io/open_2.c: ... this new file.
66581         * io/open64.c (__open64_2): Moved to ...
66582         * io/open64_2.c: ... this new file.
66583         * io/openat.c (__openat_2): Moved to ...
66584         * io/openat_2.c: ... this new file.
66585         * io/openat64.c (__openat64_2): Moved to ...
66586         * io/openat64_2.c: ... this new file.
66587         * io/Makefile (routines): Add them.
66588         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
66589         * sysdeps/unix/sysv/linux/open_2.c: File removed.
66590         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
66591         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
66592         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
66593         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
66594         (__openat64): Add hidden_ver.
66595         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
66596         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
66598         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
66599         Separately conditionalize setting of GLRO(dl_sysinfo) so
66600         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
66601         as well, but the actual setting is only under [NEED_DL_SYSINFO].
66603 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66605         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
66606         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
66607         definition.
66608         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
66609         * sysdeps/unix/sysv/linux/powerpc/init-first.c
66610         (_libc_vdso_platform_setup): Add __vdso_time initialization.
66611         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
66612         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
66614 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
66616         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
66617         test signgam value.
66619         * math/libm-test.inc (hypot_test): Do not use
66620         IGNORE_ZERO_INF_SIGN.
66622 2013-05-03  Andreas Jaeger  <aj@suse.de>
66624         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
66625         Linux 3.9.
66626         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
66627         (PF_MAX): Adjust for VSOCK change.
66629 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66633 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
66635         [BZ #15264]
66636         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
66637         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
66638         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
66640 2013-05-02  David S. Miller  <davem@davemloft.net>
66642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66644 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
66646         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
66648 2013-05-01  Roland McGrath  <roland@hack.frob.com>
66650         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
66652 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
66654         [BZ #14952]
66655         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
66656         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66657         Use __attribute__ ((__gnu_inline__)).
66658         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
66659         Don't use __attribute__ ((__gnu_inline__)).
66661 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
66663         [BZ #15423]
66664         * math/s_catan.c (__catan): Handle small real or imaginary part of
66665         input specially to avoid spurious underflow.
66666         * math/s_catanf.c (__catanf): Likewise.
66667         * math/s_catanh.c (__catanh): Likewise.
66668         * math/s_catanhf.c (__catanhf): Likewise.
66669         * math/s_catanhl.c (__catanhl): Likewise.
66670         * math/s_catanl.c (__catanl): Likewise.
66671         * math/libm-test.inc (catan_test): Add more tests.
66672         (catanh_test): Likewise.
66673         * sysdeps/i386/fpu/libm-test-ulps: Update.
66674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66676 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66680 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
66682         [BZ #15416]
66683         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
66684         accurately for denominator in atan2.
66685         * math/s_catanf.c (__catanf): Likewise.
66686         * math/s_catanh.c (__catanh): Likewise.
66687         * math/s_catanhf.c (__catanhf): Likewise.
66688         * math/s_catanhl.c (__catanhl): Likewise.
66689         * math/s_catanl.c (__catanl): Likewise.
66690         * math/libm-test.inc (catan_test): Add more tests.
66691         (catanh_test): Likewise.
66692         * sysdeps/i386/fpu/libm-test-ulps: Update.
66693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66695 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66697         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
66699         * benchtests/Makefile (bench): Remove slow benchmarks.
66700         * benchtests/atan-inputs: Add slow benchmark inputs.
66701         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
66702         (BENCH_FUNC): Accept variant offset.
66703         (VARIANT): Define.
66704         * benchtests/bench-skeleton.c (main): Run benchmark for each
66705         variant.
66706         * benchtests/cos-inputs: Add slow benchmark inputs.
66707         * benchtests/exp-inputs: Likewise.
66708         * benchtests/pow-inputs: Likewise.
66709         * benchtests/sin-inputs: Likewise.
66710         * benchtests/slowatan-inputs: Remove.
66711         * benchtests/slowatan.c: Remove.
66712         * benchtests/slowcos-inputs: Remove.
66713         * benchtests/slowcos.c: Remove.
66714         * benchtests/slowexp-inputs: Remove.
66715         * benchtests/slowexp.c: Remove.
66716         * benchtests/slowpow-inputs: Remove.
66717         * benchtests/slowpow.c: Remove.
66718         * benchtests/slowsin-inputs: Remove.
66719         * benchtests/slowsin.c: Remove.
66720         * benchtests/slowtan-inputs: Remove.
66721         * benchtests/slowtan.c: Remove.
66722         * benchtests/tan-inputs: Add slow benchmark inputs.
66723         * scripts/bench.pl: Parse comments and directives.
66725         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
66726         in CPPFLAGS.
66727         ($(objpfx)bench-%.c): Remove *-ITER.
66728         * benchtests/bench-modf.c: Remove definition of ITER.
66729         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
66730         (main): Loop for DURATION seconds instead of fixed number of
66731         iterations.
66732         * scripts/bench.pl: Don't expect iterations in parameters.
66734 2013-04-29  Roland McGrath  <roland@hack.frob.com>
66736         * io/fchdir.c (__fchdir): Renamed from fchdir.
66737         (fchdir): Define as weak alias.
66739 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66741         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
66742         (ERRNO_EDOM): Likewise.
66743         (ERRNO_ERANGE): Likewise.
66744         (noErrnoTests): New variable.
66745         (init_max_error): Set errno to 0.
66746         (test_single_errno): New function.
66747         (test_errno): Likewise.
66748         (check_float_internal): Call test_errno.  Set errno to 0.
66749         (check_complex): Refer to errno tests in comment.
66750         (check_int): Call test_errno.  Set errno to 0.
66751         (check_long): Likewise.
66752         (check_bool): Likewise.
66753         (check_longlong): Likewise.
66754         (cos_test): Use ERRNO_* flags for errno tests instead of
66755         check_int.
66756         (expm1_test): Likewise.
66757         (fmod_test): Likewise.
66758         (ilogb_test): Likewise.
66759         (lgamma_test): Likewise.
66760         (pow_test): Likewise.
66761         (remainder_test): Likewise.
66762         (sin_test): Likewise.
66763         (tan_test): Likewise.
66764         (yn_test): Likewise.
66765         (initialize): Set errno to 0.
66766         (main): Print number of errno tests.
66767         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
66769 2013-04-29  Andreas Jaeger  <aj@suse.de>
66771         [BZ #15084]
66772         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
66773         and RES_USEVC.
66775         [BZ #15085]
66776         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
66777         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
66778         unimplemented.
66780         [BZ #15380]
66781         * stdlib/random.c (__initstate): Return NULL if
66782         __initstate fails.
66784         [BZ #15086]
66785         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
66786         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
66787         RES_SNGLKUPREOP.
66789 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66793 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
66795         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
66796         of individual tests.
66797         (casin_test): Likewise.
66798         (casinh_test): Likewise.
66800 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
66802         [BZ #15409]
66803         * math/s_catan.c (__catan): Handle arguments with large real or
66804         imaginary part separately without squaring.
66805         * math/s_catanf.c (__catanf): Likewise.
66806         * math/s_catanh.c (__catanh): Likewise.
66807         * math/s_catanhf.c (__catanhf): Likewise.
66808         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66809         and redefine.
66810         (__catanhl): Handle arguments with large real or imaginary part
66811         separately without squaring.
66812         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
66813         and redefine.
66814         (__catanl): Handle arguments with large real or imaginary part
66815         separately without squaring.
66816         * math/libm-test.inc (catan_test): Add more tests.
66817         (catanh_test): Likewise.
66818         * sysdeps/i386/fpu/libm-test-ulps: Update.
66819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66821 2013-04-27  Andreas Jaeger  <aj@suse.de>
66823         [BZ #15007]
66824         * stdlib/stdlib.h: Update guards for qecvt.
66825         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
66826         <stdlib.h>.
66828 2013-04-27  Allan McRae  <allan@archlinux.org>
66830         * sysdeps/i386/fpu/libm-test-ulps: Update.
66832 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
66834         [BZ #15406]
66835         * math/s_catan.c: Include <float.h>.
66836         (__catan): Ensure underflow exception occurs for underflowed
66837         result.
66838         * math/s_catanf.c: Include <float.h>.
66839         (__catanf): Ensure underflow exception occurs for underflowed
66840         result.
66841         * math/s_catanh.c: Include <float.h>.
66842         (__catanh): Ensure underflow exception occurs for underflowed
66843         result.
66844         * math/s_catanhf.c: Include <float.h>.
66845         (__catanhf): Ensure underflow exception occurs for underflowed
66846         result.
66847         * math/s_catanhl.c: Include <float.h>.
66848         (__catanhl): Ensure underflow exception occurs for underflowed
66849         result.
66850         * math/s_catanl.c: Include <float.h>.
66851         (__catanl): Ensure underflow exception occurs for underflowed
66852         result.
66853         * math/libm-test.inc (catan_test): Add more tests.
66854         (catanh_test): Likewise.
66856         [BZ #15405]
66857         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
66858         underflowed result.
66859         * math/s_ccoshf.c (__ccoshf): Likewise.
66860         * math/s_ccoshl.c (__ccoshl): Likewise.
66861         * math/s_csin.c (__csin): Likewise.
66862         * math/s_csinf.c (__csinf): Likewise.
66863         * math/s_csinh.c (__csinh): Likewise.
66864         * math/s_csinhf.c (__csinhf): Likewise.
66865         * math/s_csinhl.c (__csinhl): Likewise.
66866         * math/s_csinl.c (__csinl): Likewise.
66867         * math/libm-test.inc (ccos_test): Add more tests.
66868         (ccosh_test): Likewise.
66869         (csin_test): Likewise.
66870         (csinh_test): Likewise.
66872 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66874         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
66875         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
66876         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
66877         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
66878         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
66879         powerpc/power5+/fpu folders.
66880         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
66883 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66887 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
66889         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
66890         additions to variable.
66891         [$(config-machine) = x86_64] (modules-names): Likewise.
66892         ($(objpfx)tst-audit3): Remove dependency.
66893         ($(objpfx)tst-audit3.out): Likewise.
66894         ($(objpfx)tst-audit4): Likewise.
66895         ($(objpfx)tst-audit4.out): Likewise.
66896         ($(objpfx)tst-audit5): Likewise.
66897         ($(objpfx)tst-audit5.out): Likewise.
66898         ($(objpfx)tst-audit6): Likewise.
66899         ($(objpfx)tst-audit6.out): Likewise.
66900         ($(objpfx)tst-audit7): Likewise.
66901         ($(objpfx)tst-audit7.out): Likewise.
66902         (tst-audit3-ENV): Remove variable.
66903         (tst-audit4-ENV): Likewise.
66904         (tst-audit5-ENV): Likewise.
66905         (tst-audit6-ENV): Likewise.
66906         (tst-audit7-ENV): Likewise.
66907         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
66908         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
66909         addition to variable.
66910         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
66911         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
66912         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
66913         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
66914         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
66915         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
66916         tst-audit3, tst-audit4 and tst-audit5.
66917         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
66918         tst-audit6 and tst-audit7.
66919         [$(subdir) = elf] (modules-names): Add audit modules for those
66920         tests.
66921         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
66922         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
66923         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
66924         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
66925         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
66926         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
66927         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
66928         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
66929         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
66930         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
66931         [$(subdir) = elf] (tst-audit3-ENV): New variable.
66932         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
66933         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
66934         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
66935         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
66936         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
66937         Likewise.
66938         [$(subdir) = elf && $(config-cflags-avx) = yes]
66939         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
66940         [$(subdir) = elf && $(config-cflags-avx) = yes]
66941         (CFLAGS-tst-auditmod4a.c): Likewise.
66942         [$(subdir) = elf && $(config-cflags-avx) = yes]
66943         (CFLAGS-tst-auditmod4b.c): Likewise.
66944         [$(subdir) = elf && $(config-cflags-avx) = yes]
66945         (CFLAGS-tst-auditmod6b.c): Likewise.
66946         [$(subdir) = elf && $(config-cflags-avx) = yes]
66947         (CFLAGS-tst-auditmod6c.c): Likewise.
66948         [$(subdir) = elf && $(config-cflags-avx) = yes]
66949         (CFLAGS-tst-auditmod7b.c): Likewise.
66950         * elf/tst-audit3.c: Move to ...
66951         * sysdeps/x86_64/tst-audit3.c: ... here.
66952         * elf/tst-audit4.c: Move to ...
66953         * sysdeps/x86_64/tst-audit4.c: ... here.
66954         * elf/tst-audit5.c: Move to ...
66955         * sysdeps/x86_64/tst-audit5.c: ... here.
66956         * elf/tst-audit6.c: Move to ...
66957         * sysdeps/x86_64/tst-audit6.c: ... here.
66958         * elf/tst-audit7.c: Move to ...
66959         * sysdeps/x86_64/tst-audit7.c: ... here.
66960         * elf/tst-auditmod3a.c: Move to ...
66961         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
66962         * elf/tst-auditmod3b.c: Move to ...
66963         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
66964         * elf/tst-auditmod4a.c: Move to ...
66965         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
66966         * elf/tst-auditmod4b.c: Move to ...
66967         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
66968         * elf/tst-auditmod5a.c: Move to ...
66969         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
66970         * elf/tst-auditmod5b.c: Move to ...
66971         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
66972         * elf/tst-auditmod6a.c: Move to ...
66973         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
66974         * elf/tst-auditmod6b.c: Move to ...
66975         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
66976         * elf/tst-auditmod6c.c: Move to ...
66977         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
66978         * elf/tst-auditmod7a.c: Move to ...
66979         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
66980         * elf/tst-auditmod7b.c: Move to ...
66981         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
66983 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
66985         [BZ #15366]
66986         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
66987         define unconditionally.
66988         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
66989         define unconditionally.
66990         (INT8_C, INT16_C, etc.): Likewise.
66992 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
66994         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
66995         __ehdr_start with hidden visibility.
66997         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
66999 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
67001         * math/libm-test.inc (cos_test): Use accurate hex constants.
67002         (sincost_test): Likewise.
67004 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
67006         * math/libm-test.inc (catan_test): Add more tests.
67007         (catanh_test): Likewise.
67009         * math/s_catanf.c (__catanf): Use suffixed floating-point
67010         constants.
67011         * math/s_catanhf.c (__catanhf): Likewise.
67012         * math/s_catanhl.c (__catanhl): Likewise.
67013         * math/s_catanl.c (__catanl): Likewise.
67015         [BZ #15394]
67016         * math/s_catan.c (__catan): Calculate imaginary part of result
67017         with log1p not log unless computing log of number close to 0.
67018         * math/s_catanf.c (__catanf): Likewise.
67019         * math/s_catanl.c (__catanl): Likewise.
67020         * math/s_catanh.c (__catanh): Calculate real part of result with
67021         log1p not log unless computing log of number close to 0.
67022         * math/s_catanhf.c (__catanhf): Likewise.
67023         * math/s_catanhl.c (__catanhl): Likewise.
67024         * math/libm-test.inc (catan_test): Add more tests.
67025         (catanh_test): Likewise.
67026         * sysdeps/i386/fpu/libm-test-ulps: Update.
67027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67029 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
67031         * benchtests/Makefile: Mention files in which fast and slow
67032         paths of math functions are implemented.
67034 2013-04-23  Roland McGrath  <roland@hack.frob.com>
67036         * sysdeps/posix/timespec_get.c: New file.
67038 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67040         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67041         POWER.
67042         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67043         for POWER.
67044         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67045         powerpc/power5/fpu folders.
67046         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67047         * benchtests/Makefile: Add modf testcase.
67048         * benchtests/bench-modf.c: New file: Benchmark test for mo
67050 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
67052         [BZ #14888]
67053         * time/Makefile (tests): Add tst-strptime-whitespace.
67054         * time/strptime_l.c (get_number): Use ISSPACE.
67055         (__strptime_internal): Likewise.
67056         * time/tst-strptime-whitespace.c: New test case.
67058 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
67060         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67061         member.
67062         (_nss_files_init): Set it here.
67064 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
67066         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
67067         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
67068         unsigned.
67070 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
67072         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
67074 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67076         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
67077         size just once.
67079 2013-04-21  David S. Miller  <davem@davemloft.net>
67081         * po/ru.po: Update Russion translation from translation project.
67083 2013-04-17  Adam Conrad  <adconrad@0c3.net>
67085         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
67086         and setfsgid.
67088 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
67090         * configure.in: Remove i386 configure warning. Remove i386 case.
67091         * configure: Regenerate.
67092         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
67093         Add example to error message.
67094         * sysdeps/i386/configure: Regenerate.
67096 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67098         * benchtests/Makefile (bench): Add cos, tan, slowcos and
67099         slowtan.
67100         * benchtests/cos-inputs: New file.
67101         * benchtests/slowcos-inputs: New file.
67102         * benchtests/slowcos.c: New file.
67103         * benchtests/slowtan-inputs: New file.
67104         * benchtests/slowtan.c: New file.
67105         * benchtests/tan-inputs: New file.
67107 2013-04-16  Roland McGrath  <roland@hack.frob.com>
67109         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
67110         considered kosher.
67112 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67114         * benchtests/Makefile: Include cppflags-iterator.mk to add
67115         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
67117         * Makefile.in (bench-clean): New target.
67118         * benchtests/Makefile (bench-clean): Likewise.
67120 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
67122         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
67124 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
67126         * stdio-common/tstdiomisc.c: Fix coding-style violation.
67128 2013-04-15  Andreas Schwab  <schwab@suse.de>
67130         * nscd/grpcache.c (cache_addgr): Properly check for short write.
67131         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67132         * nscd/pwdcache.c (cache_addpw): Likewise.
67133         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
67134         more than recsize.
67136 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67138         * benchtests/Makefile (bench): Write all output to
67139         bench-out.tmp together.
67141 2013-04-15  Andreas Schwab  <schwab@suse.de>
67143         * nscd/nscd.c (main): Don't fork again after closing files.
67145 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67147         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
67149         * benchtests/Rules (bench-deps): Collect dependencies into a
67150         single variable.  Add Makefile to dependencies.
67151         ($(objpfx)bench-%.c): Depend on bench-deps.
67153 2013-04-12  Roland McGrath  <roland@hack.frob.com>
67154             Xavier Roche  <roche+kml2@exalead.com>
67156         [BZ #15361]
67157         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
67158         just that it's a file descriptor.
67159         * manual/llio.texi (Synchronizing AIO Operations): Update description
67160         for EBADF error from aio_fsync.
67162 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
67164         * Rules (bench): Move target definition...
67165         * benchtests/Makefile: ... here.
67167 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
67169         * math/libm-test.inc (cos_test): Fix PI/2 test.
67170         (sincos_test): Likewise.
67171         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
67172         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
67174 2013-04-11  Andreas Schwab  <schwab@suse.de>
67176         [BZ #13988]
67177         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
67178         accept exponent character only when digits were seen.
67179         * stdio-common/Makefile (tests): Add bug26.
67180         * stdio-common/bug26.c: New file.
67182         [BZ #14293]
67183         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
67184         non-freeable.
67186 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67188         * Makeconfig (rtld-prefix): Define built linker prefix.
67189         * Rules (run-bench): Use it.
67190         * math/Makefile (run-regen-ulps): Likewise.
67192         * Rules (bench): Remove eval.
67194 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67195             Roland McGrath  <roland@hack.frob.com>
67196             Ondrej Bilka  <neleai@seznam.cz>
67198         [BZ #15346]
67199         * time/getdate.c: Include ctype.h and alloca.h.
67200         (__getdate_r): Trim leading and trailing spaces of input.
67201         * time/tst-getdate.c (tests): Add tests with leading and
67202         trailing spaces.
67204 2013-04-08  Roland McGrath  <roland@hack.frob.com>
67206         [BZ #14280]
67207         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
67208         when computing value.
67210 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67212         * math/README.libm-test (How can I generate "libm-test-ulps"?):
67213         Use testrun.sh to run libm tests.
67215         [BZ #15309]
67216         * elf/dl-open.c (dl_open_worker): memset all of seen array.
67218 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
67220         [BZ #15264]
67221         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
67223 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67225         * Makefile.in (regen-ulps): New target.
67226         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
67227         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
67228         [ifneq (no,$(PERL)] (regen-ulps): New target.
67229         [ifeq (no,$(PERL)] (regen-ulps): New target.
67230         * math/libm-test.inc (ulps_file_name): Define.
67231         (output_dir): New variable.
67232         (options): Add "output-dir" option.
67233         (parse_opt): Handle 'o' case.
67234         (main): If output_dir is non-NULL use it as a prefix
67235         otherwise use "".
67236         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
67238 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67240         [BZ #10060, #10062]
67241         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
67242         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
67243         fail configure if __sync_val_compare_and_swap is not inlined.
67244         * sysdeps/i386/configure: Regenerate.
67245         * configure.in: Build for i686 when configured for i386.
67246         * configure: Regenerate.
67247         * README: Remove i386 reference.
67249 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
67251         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
67252         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67254 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67256         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
67257         (lmsnanval): New variables.
67258         (F): Add conversion tests.
67259         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
67260         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
67262         * stdio-common/tstdiomisc.c (F): Properly collect individual
67263         tests' results.
67265         [BZ #14686, #15336]
67266         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
67267         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
67268         Instead, use input NaN values or generate a qNaN by arithmetic
67269         operation.  Also fix bugs to comply with the standard.
67270         * math/libm-test.inc (remainder_test): Add more tests.
67272         [BZ #15335, #15342]
67273         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
67274         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
67275         input NaN values or generate a qNaN by arithmetic operation.
67277         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
67278         unreachable code.
67280         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
67281         definitions.
67283 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
67285         [BZ #14478]
67286         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
67287         underflowed result.
67288         * math/s_cexpf.c (__cexpf): Likewise.
67289         * math/s_cexpl.c (__cexpl): Likewise.
67290         * math/libm-test.inc (cexp_test): Add more tests.
67292 2013-04-03  Andreas Schwab  <schwab@suse.de>
67294         [BZ #15330]
67295         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
67296         order arrays from heap if bigger than alloca cutoff.
67298 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
67300         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
67301         (SNAN_TESTS_double): Refer to GCC PR56831.
67302         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
67303         GCC PR56828.
67305 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
67307         * Rules (bench): Move bench.out after the run is complete.
67309         * Rules (bench): Echo currently running benchmark.
67311         * benchtests/Makefile (bench): Add atan and slowatan.
67312         * benchtests/atan-inputs: New file.
67313         * benchtests/slowatan-inputs: New file.
67314         * benchtests/slowatan.c: New file.
67316         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
67317         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
67318         its value.
67320         [BZ #15305]
67321         * sysdeps/unix/sysv/linux/kernel-features.h
67322         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
67323         __ASSUME_XFS_RESTRICTED_CHOWN.
67324         * sysdeps/unix/sysv/linux/pathconf.c
67325         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
67326         Save and restore errno.
67328 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
67330         [BZ #15327]
67331         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
67332         arguments using __kernel_casinh.
67333         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
67334         arguments using __kernel_casinhf.
67335         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
67336         arguments using __kernel_casinhl.
67337         * math/libm-test.inc (cacosh_test): Add more tests.
67338         * sysdeps/i386/fpu/libm-test-ulps: Update.
67339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67341 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67343         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
67344         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
67346         * bench/Makefile (bench): Add sin and slowsin.
67347         * benchtests/sin-inputs: New file.
67348         * benchtests/slowsin-inputs: New file.
67349         * benchtests/slowsin.c: New file.
67351         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
67352         (bench): Add slowexp and slowpow.
67353         (exp-ITER): Increase iterations.
67354         (pow-ITER): Likewise.
67355         * benchtests/exp-inputs: Change input.
67356         * benchtests/pow-inputs: Likewise.
67357         * benchtests/slowexp-inputs: New file.
67358         * benchtests/slowexp.c: New file.
67359         * benchtests/slowpow-inputs: New file.
67360         * benchtests/slowpow.c: New file.
67362 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67364         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
67365         instructions.
67366         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
67367         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
67368         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
67369         * benchtests/Makefile: Add rint benchtest.
67370         * benchtests/rint-inputs: Input for rint benchtest.
67372 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67374         * Versions.def (libm): Add GLIBC_2.18.
67375         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
67376         hidden libm prototypes.
67377         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
67378         * math/Makefile (libm-calls): Add s_issignaling.
67379         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
67380         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
67381         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
67382         declaration.
67383         * math/math.h [__USE_GNU] (issignaling): New macro.
67384         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
67385         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
67386         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
67387         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
67388         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
67389         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
67390         * manual/arith.texi (issignaling): New section.
67391         * manual/libm-err-tab.pl (@all_functions): Update comment.
67392         * math/gen-libm-test.pl (parse_args): Apply special handling for
67393         issignaling.
67394         * math/libm-test.inc (print_float, issignaling_test): New
67395         functions.
67396         (check_float_internal): Add issignaling checks.
67397         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
67398         default definition.
67399         * sysdeps/powerpc/math-tests.h: New file.
67400         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
67401         tests.
67402         * math/test-snan.c (TEST_FUNC): Likewise.
67404 2013-03-30  David S. Miller  <davem@davemloft.net>
67406         * po/de.po: Update from translation team.
67408 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
67410         [BZ #10357]
67411         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67412         imaginary part less than 1.0 and real part less than 0.5
67413         specially.
67414         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67415         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67416         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
67417         (cacos_test): Add more tests.
67418         (casin_test): Likewise.
67419         (casinh_test): Likewise.
67420         * sysdeps/i386/fpu/libm-test-ulps: Update.
67421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67423 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67425         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
67426         ONE with its value.
67428         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
67429         (__pow_mp): Replace ONE and MONE with their values.
67430         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67431         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
67432         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67433         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
67434         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67435         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67437         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
67439         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
67440         (__pow_mp): Replace ZERO and MZERO with their values.
67441         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67442         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67443         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67444         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67445         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67446         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
67447         (__sqr): Likewise.
67449         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
67451         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
67453 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67455         * include/stdlib.h [!SHARED] (__call_tls_dtors):
67456         Declare with __attribute__ ((weak)).
67457         * stdlib/exit.c (__libc_atexit) [!SHARED]:
67458         Call __call_tls_dtors only if it's not NULL.
67460 2013-03-28  Roland McGrath  <roland@hack.frob.com>
67462         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
67463         didn't do it already, then set _dl_phdr and _dl_phnum based on the
67464         magic __ehdr_start linker symbol if it's defined.
67465         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
67466         them up here if it was already done.
67468         * elf/dl-support.c (_dl_phdr): Make pointer to const.
67469         (_dl_aux_init): Use const in cast when setting it.
67470         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
67471         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
67472         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
67474         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
67475         Declare them here.
67476         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
67477         * csu/libc-tls.c: Nor here.
67478         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
67480         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
67481         (__libc_message): Never call vsyslog.
67483 2013-03-28  Alan Modra  <amodra@gmail.com>
67485         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
67486         Define as empty.
67487         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
67488         Likewise.
67490 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67492         [BZ #15214]
67493         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
67494         underflow.
67495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67497 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67499         [BZ #15304]
67500         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
67501         Don't add gid passed as argument.
67503         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
67505 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
67507         [BZ #15307]
67508         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67509         imaginary part between 1.0 and 1.5 and real part less than 0.5
67510         specially.
67511         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67512         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67513         * math/libm-test.inc (cacos_test): Add more tests.
67514         (casin_test): Likewise.
67515         (casinh_test): Likewise.
67516         * sysdeps/i386/fpu/libm-test-ulps: Update.
67517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67519 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67521         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
67522         constants.
67523         (norm): Likewise.
67524         (denorm): Likewise.
67525         (__dbl_mp): Likewise.
67526         (add_magnitudes): Likewise.
67527         (sub_magnitudes): Likewise.
67528         (__add): Likewise.
67529         (__sub): Likewise.
67530         (__mul): Likewise.
67531         (__sqr): Likewise.
67532         (__inv): Likewise.
67533         (__dvd): Likewise.
67535         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
67536         commented code.
67537         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
67538         (__dubcos): Likewise.
67539         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
67540         (__ieee754_acos): Likewise.
67541         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
67542         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
67543         (__exp1): Likewise.
67544         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
67545         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67546         (log1): Likewise.
67547         (my_log2): Likewise.
67548         (checkint): Likewise.
67549         * sysdeps/ieee754/dbl-64/e_remainder.c
67550         (__ieee754_remainder): Likewise.
67551         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
67552         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
67553         (bsloww): Likewise.
67554         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67556         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67557         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
67558         MANTISSA_STORE_T to store computations on mantissa.  Use
67559         macros for rounding and division.
67560         (denorm): Likewise.
67561         (__dbl_mp): Likewise.
67562         (add_magnitudes): Likewise.
67563         (sub_magnitudes): Likewise.
67564         (__mul): Likewise.
67565         (__sqr): Likewise.
67566         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67567         powers of two in terms of TWOPOW macro.
67568         (mp_no): Make type of mantissa as MANTISSA_T.
67569         [!RADIXI]: Define RADIXI.
67570         [!TWO52]: Define TWO52.
67571         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67573 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67575         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
67576         llroundl symbol when building for PPC32.
67578 2013-03-24  Mark H Weaver  <mhw@netris.org>
67580         * manual/arith.texi (Normalization Functions): Fix prototypes for
67581         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
67583 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67585         [BZ #13889]
67586         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
67587         high value to check if expl overflow.
67588         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
67589         to check for underflow and overflow.
67590         * math/libm-test.inc: Add exp test.
67592 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
67594         [BZ #11120]
67595         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
67596         with NOT_IN_libc.
67598 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67600         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
67601         symbol.
67603 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
67605         * math/gen-libm-test.pl (parse_args, special_functions): Properly
67606         wrap blocks consisting of several statements.
67608         * sysdeps/generic/math-tests.h: New file.
67609         * sysdeps/i386/fpu/math-tests.h: Likewise.
67610         * math/test-snan.c: Include it.
67611         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
67613 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67615         [BZ #15285]
67616         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
67617         (__ieee754_j0l): Do not improve calculations using cos of twice
67618         input for inputs above LDBL_MAX / 2.0L.
67619         (__ieee754_y0l): Likewise.
67620         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
67621         (__ieee754_j1l): Do not improve calculations using cos of twice
67622         input for inputs above LDBL_MAX / 2.0L.
67623         (__ieee754_y1l): Likewise.
67624         * math/libm-test.inc (j0_test): Add another test.
67625         (j1_test): Likewise.
67626         (y0_test): Likewise.
67627         (y1_test): Likewise.
67628         * sysdeps/i386/fpu/libm-test-ulps: Update.
67630 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67632         * Rules ($(objpfx)bench-%.c): Include code from a C source
67633         file.
67635 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
67637         [BZ #15287]
67638         * math/k_casinh.c (__kernel_casinh): Handle arguments with
67639         imaginary part 1.0 and real part less than 0.5 specially.
67640         * math/k_casinhf.c (__kernel_casinhf): Likewise.
67641         * math/k_casinhl.c (__kernel_casinhl): Likewise.
67642         * math/libm-test.inc (cacos_test): Add more tests.
67643         (casin_test): Likewise.
67644         (casinh_test): Likewise.
67645         * sysdeps/i386/fpu/libm-test-ulps: Update.
67646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67648 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67650         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
67651         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
67653 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
67655         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
67656         * config.make.in (config-cflags-sse4): Remove variable.
67657         (config-cflags-avx): Likewise.
67658         (config-cflags-sse2avx): Likewise.
67659         (config-cflags-novzeroupper): Likewise.
67660         (config-asflags-i686): Likewise.
67661         (have-mfma4): Likewise.
67662         (have-as-vis3): Likewise.
67663         (MIG): Likewise.
67664         * configure.in (MIG): Do not AC_SUBST.
67665         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
67666         (libc_cv_cc_sse4): Do not AC_SUBST.
67667         (libc_cv_cc_avx): Likewise.
67668         (libc_cv_cc_sse2avx): Likewise.
67669         (libc_cv_cc_novzeroupper): Likewise.
67670         (libc_cv_cc_fma4): Likewise.
67671         (libc_cv_as_i686): Likewise.
67672         (libc_cv_sparc_as_vis3): Likewise.
67673         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
67674         LIBC_CONFIG_VAR.
67675         (config-asflags-i686): Likewise.
67676         (config-cflags-avx): Likewise.
67677         (config-cflags-sse2avx): Likewise.
67678         (have-mfma4): Likewise.
67679         (config-cflags-novzeroupper): Likewise.
67680         * sysdeps/mach/configure.in (MIG): Likewise.
67681         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
67682         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
67683         LIBC_CONFIG_VAR.
67684         (config-cflags-avx): Likewise.
67685         (config-cflags-sse2avx): Likewise.
67686         (have-mfma4): Likewise.
67687         (config-cflags-novzeroupper): Likewise.
67688         * configure: Regenerated.
67689         * sysdeps/i386/configure: Likewise.
67690         * sysdeps/mach/configure: Likewise.
67691         * sysdeps/sparc/configure: Likewise.
67692         * sysdeps/x86_64/configure: Likewise.
67694 2013-03-20  Roland McGrath  <roland@hack.frob.com>
67696         [BZ #14812]
67697         * locale/programs/localedef.c (options): Put N_ translation marker
67698         on argument names, not just descriptions.
67700 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67702         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
67704 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
67706         [BZ #14176]
67707         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
67709 2013-03-19  Roland McGrath  <roland@hack.frob.com>
67711         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
67712         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
67713         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
67714         [!BEFORE_ABORT] (before_abort): New function.
67715         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
67716         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
67717         (writev_for_fatal): New function.
67718         (WRITEV_FOR_FATAL): New macro; call that.
67719         (backtrace_and_maps): New function.
67720         (BEFORE_ABORT): New macro; call that.
67721         (struct str_list): Type removed.
67722         (__libc_message, __libc_fatal): Functions removed.
67723         Include <sysdeps/posix/libc_fatal.c> instead.
67725 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
67727         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
67728         constants.
67729         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
67730         double constants.
67732 2013-03-19  Andreas Schwab  <schwab@suse.de>
67734         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
67735         * sysdeps/gnu/configure: Regenerate.
67737         * configure.in: Substitute libc_cv_rtlddir.
67738         * configure: Regenerate.
67739         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
67740         * Makeconfig (rtlddir, inst_rtlddir): New variables.
67741         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
67742         * elf/Makefile (install-others, CFLAGS-interp.c)
67743         (ldso_install, common-ldd-rewrite): Likewise.
67744         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
67745         $(inst_slibdir)/$(rtld-installed-name).
67746         * scripts/rellns-sh: Add -p option.
67747         * Makerules (make-shlib-link): Use rellns-sh to get relative name
67748         for source.
67750 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67752         * manual/nptl.texi: Renamed to ...
67753         * manual/threads.texi: ... this.
67754         * manual/Makefile (chapters): Update.
67756 2013-03-18  Roland McGrath  <roland@hack.frob.com>
67758         [BZ #14812]
67759         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
67760         on argument names, not just descriptions.
67761         * malloc/memusagestat.c (options): Likewise.
67762         * nss/getent.c (options): Likewise.
67764 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
67766         [BZ #14812]
67767         * iconv/iconv_prog.c (options): Put N_ translation marker
67768         on argument names, not just descriptions.
67769         * iconv/iconvconfig.c (options): Likewise.
67771 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
67773         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
67774         implementation which is faster on all x86_64 architectures.
67775         Tested on AMD, Intel Nehalem, SNB, IVB.
67776         * sysdeps/x86_64/strnlen.S: Likewise.
67778         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
67779         Remove all multiarch strlen and strnlen versions.
67780         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
67781         Remove strlen and strnlen related parts.
67783         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
67784         Inline strlen part.
67785         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
67787         * sysdeps/x86_64/multiarch/strlen.S: Remove.
67788         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
67789         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
67790         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
67791         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
67792         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
67794 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
67796         * manual/memory.texi (Malloc Tunable Parameters):
67797         Sort parameters alphabetically. Add comments for missing entries.
67799 2013-03-17  David S. Miller  <davem@davemloft.net>
67801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67803 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
67805         [BZ #15283]
67806         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
67807         for arguments at most half maximum finite value.
67808         * math/libm-test.inc (j0_test): Add more tests.
67809         (j1_test): Likewise.
67810         (y0_test): Likewise.
67811         (y1_test): Likewise.
67812         * sysdeps/i386/fpu/libm-test-ulps: Update.
67813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67815         [BZ #14155]
67816         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
67817         1 / x and functions P and Q for arguments above 0x1p256L.
67818         (__ieee754_y0l): Likewise.
67819         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
67820         (__ieee754_y1l): Likewise.
67821         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
67822         (j1_test): Likewise.
67823         (y0_test): Likewise.
67824         (y1_test): Likewise.
67826 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
67828         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
67829         variable.
67831 2013-03-15  Roland McGrath  <roland@hack.frob.com>
67833         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
67834         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
67835         zero since it's initialized to EXEC_PAGESIZE.
67837         * sysdeps/unix/sysv/linux/ldsodefs.h
67838         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
67839         * sysdeps/generic/ldsodefs.h: ... here.
67841 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
67843         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
67845         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
67846         math/test-snan.c.
67847         * math/test-snan.c: Renamed from
67848         sysdeps/powerpc/fpu/test-powerpc-snan.c.
67849         * math/Makefile (tests): Add test-snan.
67850         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
67851         test-powerpc-snan.
67853         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
67854         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
67855         functions.
67856         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
67857         __builtin_nan family of functions.
67858         * math/libm-test.inc (initialize): Initialize qnan_value with
67859         __builtin_nan family of functions.
67860         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
67861         Remove variables.
67862         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
67863         Remove functions.
67864         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
67865         storage class.  Initialize qNaN_var and sNaN_var with
67866         __builtin_nan and __builtin_nans families of functions,
67867         respectively.
67869         * math/libm-test.inc (acosh_test): Also test with qNaN input.
67870         (sqrt_test): Remove duplicate test with qNaN input.
67871         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
67872         (round_test, signbit_test, significand_test): Note missing +/-Inf
67873         as well as qNaN tests.
67875         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
67876         qNaN_var.  Fix a few strings, too.
67877         * math/libm-test.inc (nan_value): Rename to qnan_value.
67878         * math/gen-libm-test.pl (%beautify): Adjust to that.
67879         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
67880         * math/test-misc.c (main): Likewise.
67881         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
67882         to __qnan_bytes, and __qnan_union, respectively.
67883         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
67884         Likewise.
67885         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
67886         and lqnanval, respectively.
67887         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
67888         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
67889         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
67890         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
67892         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
67893         * math/test-misc.c (main) [__x86_64__]: Enable test for long
67894         doubles.
67896         * math/test-misc.c (main): Fix copy'n'pastos.
67897         * misc/tst-efgcvt.c (special): Likewise.
67899         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
67900         Remove declarations.
67902 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67904         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
67905         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
67906         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
67907         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
67909 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67911         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
67912         macro to return vdso values correctly in IFUNC implementations.
67913         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
67914         Optimization by using IFUNC.
67916 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67917             Richard Henderson  <rth@redhat.com>
67918             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67920         * Makefile.in (bench): New target.
67921         * NEWS: Mention the benchmark framework.
67922         * Rules (bench): Likewise.
67923         (binaries-bench): Generate binaries for functions to
67924         benchmark.
67925         * benchtests/Makefile: New makefile for benchmark tests.
67926         * benchtests/bench-skeleton.c: New skeleton file for benchmark
67927         programs.
67928         * benchtests/exp-inputs: New input file for EXP function.
67929         * benchtests/pow-inputs: New input file for POW function.
67930         * scripts/bench.pl: New script to generate source files for
67931         benchmark programs.
67933 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67935         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
67936         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
67937         computations on mantissa.  Use macros for rounding and
67938         division.
67939         (denorm): Likewise.
67940         (__dbl_mp): Likewise.
67941         (add_magnitudes): Likewise.
67942         (sub_magnitudes): Likewise.
67943         (__mul): Likewise.
67944         (__sqr): Likewise.
67945         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
67946         powers of two in terms of TWOPOW macro.
67947         (mp_no): Make type of mantissa as MANTISSA_T.
67948         [!RADIXI]: Define RADIXI.
67949         [!TWO52]: Define TWO52.
67950         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
67952         * manual/nptl.texi (cindex): Modify threads to pthreads.
67954 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
67956         * sysdeps/x86_64/preconfigure: Regenerated.
67958 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
67960         [BZ #14155]
67961         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
67962         0x1p28 and above.
67963         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
67964         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
67965         0x1p28 and above.
67966         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
67967         * math/libm-test.inc (j0_test): Do not allow one spurious
67968         underflow exception.
67969         (y1_test): Likewise.
67971 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
67973         * manual/Makefile (chapters): Add nptl.
67974         * manual/debug.texi (Debugging Support): Add link to Threads
67975         chapter.
67976         * manual/nptl.texi: New file.
67978         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
67980 2013-03-14  Petr Baudis  <pasky@ucw.cz>
67982         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
67983         for non-NULL pointer before the memory validity test. Pointed
67984         out by Holger Brunck <holger.brunck@keymile.com>.
67986 2013-03-13  Andreas Schwab  <schwab@suse.de>
67988         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
67989         instead of .os.
67991 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
67993         * timezone/zic.c: Update from tzcode 2013b.
67995 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
67997         * manual/install.texi (Configuring and compiling):
67998         Mention i686 and i586.
67999         * INSTALL: Regenerate.
68001 2013-03-12  Roland McGrath  <roland@hack.frob.com>
68003         * sysdeps/init_array/elf-init.c: New file.
68004         * csu/elf-init.c
68005         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
68006         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
68008         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
68009         __gmon_start__ as global, but as static with a .preinit_array pointer.
68010         * sysdeps/init_array/gmon-start.c: New file.  Use that.
68011         * sysdeps/init_array/crti.S: New file, empty except for comments.
68012         * sysdeps/init_array/crtn.S: Likewise.
68014 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
68016         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68017         definining bcopy.
68018         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68019         Remove Prefer_SSE_for_memop.
68020         * sysdeps/x86_64/multiarch/init-arch.h: Remove
68021         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68022         HAS_PREFER_SSE_FOR_MEMOP.
68023         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68024         memset-x86-64.
68025         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68026         Remove bzero, memset ifunc support.
68027         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68028         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68029         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68030         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68032 2013-03-11  Andreas Schwab  <schwab@suse.de>
68034         [BZ #15234]
68035         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68036         by SHLIB_COMPAT.
68037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68038         (GLIBC_2.16): Remove pthread_atfork.
68040 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
68042         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68043         (ptestcases.h): Likewise.
68045 2013-03-08  Roland McGrath  <roland@hack.frob.com>
68047         * Makeconfig ($(common-objpfx)config.status): Depend on
68048         sysdeps/*/preconfigure{,.in} too.
68050 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
68052         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68053         (__free_hook): Use void * instead of __malloc_ptr_t.
68054         (__malloc_hook): Likewise.
68055         (__realloc_hook): Likewise.
68056         (__memalign_hook): Likewise.
68057         (__after_morecore_hook): Likewise.
68058         * malloc/arena.c (save_malloc_hook): Likewise.
68059         (save_free_hook): Likewise.
68060         * malloc/hooks.c (malloc_hook_ini): Likewise.
68061         (realloc_hook_ini): Likewise.
68062         (memalign_hook_ini): Likewise.
68063         * malloc/malloc.c (malloc_hook_ini): Likewise.
68064         (realloc_hook_ini): Likewise.
68065         (memalign_hook_ini): Likewise.
68066         (__free_hook): Likewise.
68067         (__malloc_hook): Likewise.
68068         (__realloc_hook): Likewise.
68069         (__memalign_hook): Likewise.
68070         (__libc_malloc): Likewise.
68071         (__libc_free): Likewise.
68072         (__libc_realloc): Likewise.
68073         (__libc_memalign): Likewise.
68074         (__libc_valloc): Likewise.
68075         (__libc_pvalloc): Likewise.
68076         (__libc_calloc): Likewise.
68077         (__posix_memalign): Likewise.
68078         * malloc/morecore.c (__sbrk): Likewise.
68079         (__default_morecore): Likewise.
68081         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
68083         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
68084         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
68085         __malloc_ptrdiff_t.
68087         * malloc/malloc.h (__malloc_size_t): Remove macro.
68088         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
68089         __malloc_size_t.
68090         (old_memalign_hook): Likewise.
68091         (old_realloc_hook): Likewise.
68092         (struct hdr): Likewise.
68093         (flood): Likewise.
68094         (mallochook): Likewise.
68095         (memalignhook): Likewise.
68096         (reallochook): Likewise.
68097         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
68098         (tr_old_realloc_hook): Likewise.
68099         (tr_old_memalign_hook): Likewise.
68100         (tr_mallochook): Likewise.
68101         (tr_reallochook): Likewise.
68102         (tr_memalignhook): Likewise.
68104 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68106         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
68107         default_ldbl_pack and using as default implementation.
68108         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
68109         implementation.
68110         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
68111         redundant definition.
68112         (ldbl_insert_mantissa): Likewise.
68113         (ldbl_canonicalize): Likewise.
68114         (ldbl_nearbyint): Likewise.
68115         (ldbl_pack): Rename to ldbl_pack_ppc.
68116         (ldbl_unpack): Rename to ldbl_unpack_ppc.
68117         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
68118         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
68120 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
68122         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
68123         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
68124         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
68125         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
68126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
68127         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
68128         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
68129         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
68131 2013-03-07  Andreas Jaeger  <aj@suse.de>
68133         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68134         bits/mman-linux.h.
68136 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
68138         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
68139         Include mpa.h and declare __MPEXP.
68140         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
68141         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68142         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68143         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
68144         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68145         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68146         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
68148         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
68149         (__slowpow): Use long double EXPL and LOGL functions to
68150         compute POW.
68151         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
68152         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68153         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
68154         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
68155         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
68156         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
68158         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
68159         intermediate variable to calculate exponent.
68160         (__sqr): Likewise.
68161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
68162         Likewise.
68163         (__sqr): Likewise.
68165         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
68166         [!NO__SQR]: Define __sqr.
68167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
68168         and NO__SQR.  Remove all code except __mul and __sqr.  Include
68169         sysdeps/ieee754/dbl-64/mpa.c.
68170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68172         [BZ #12723]
68173         * posix/Makefile (tests): Add tst-pathconf.
68174         * posix/tst-pathconf.c: New test case.
68175         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
68176         _PC_PIPE_BUF.
68177         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
68179 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
68181         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
68183 2013-03-06  Andreas Jaeger  <aj@suse.de>
68185         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
68186         definition via __MAP_ANONYMOUS.
68188         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
68189         it's not part of Linux headers.
68191         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
68192         (MAP_HUGE_MASK): Define.
68194         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68195         Define.
68196         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68197         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68198         Define.
68199         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68200         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
68201         Define.
68202         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68203         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
68204         Define.
68205         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
68207         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
68208         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
68209         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
68210         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
68211         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
68212         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
68214         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
68215         Handle f2fs.
68217         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68218         Handle f2fs and efivarfs.
68220         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
68221         f2fs.
68223         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
68224         (EFIVARFS_MAGIC): Add.
68225         (F2FS_LINK_MAX): Add.
68227 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68229         * stdio-common/vfprintf.c: Replace __builtin_expect with
68230         __glibc_unlikely.
68232 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
68234         [BZ #13550]
68235         * sysdeps/generic/bp-sym.h: Remove file.
68236         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
68237         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
68238         <bp-sym.h> and <bp-asm.h>.
68239         (__longjmp): Don't use BP_SYM.
68240         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
68241         and <bp-asm.h>.
68242         (memcpy): Don't use BP_SYM.
68243         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
68244         <bp-sym.h> and <bp-asm.h>.
68245         (memcpy): Don't use BP_SYM.
68246         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
68247         <bp-asm.h>.
68248         (memcpy): Don't use BP_SYM.
68249         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
68250         <bp-asm.h>.
68251         (memset): Don't use BP_SYM.
68252         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68253         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68254         (__bzero): Don't use BP_SYM.
68255         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68256         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68257         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
68258         <bp-sym.h> and <bp-asm.h>.
68259         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68260         pointers.
68261         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
68262         <bp-sym.h> and <bp-asm.h>.
68263         (memcpy): Don't use BP_SYM.
68264         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
68265         <bp-sym.h> and <bp-asm.h>.
68266         (memset): Don't use BP_SYM.
68267         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68268         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68269         (__bzero): Don't use BP_SYM.
68270         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68271         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68272         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
68273         <bp-sym.h> and <bp-asm.h>.
68274         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68275         pointers.
68276         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
68277         <bp-sym.h> and <bp-asm.h>.
68278         (memcpy): Don't use BP_SYM.
68279         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
68280         <bp-sym.h> and <bp-asm.h>.
68281         (memset): Don't use BP_SYM.
68282         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68283         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68284         (__bzero): Don't use BP_SYM.
68285         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68286         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68287         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
68288         <bp-sym.h> and <bp-asm.h>.
68289         (__memchr): Don't use BP_SYM.
68290         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
68291         <bp-sym.h> and <bp-asm.h>.
68292         (memcmp): Don't use BP_SYM.  Remove comment about bounded
68293         pointers.
68294         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
68295         <bp-sym.h> and <bp-asm.h>.
68296         (memcpy): Don't use BP_SYM.
68297         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
68298         <bp-sym.h> and <bp-asm.h>.
68299         (__mempcpy): Don't use BP_SYM.
68300         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
68301         <bp-sym.h> and <bp-asm.h>.
68302         (__memrchr): Don't use BP_SYM.
68303         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
68304         <bp-sym.h> and <bp-asm.h>.
68305         (memset): Don't use BP_SYM.
68306         (__bzero): Likewise.
68307         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
68308         <bp-sym.h> and <bp-asm.h>.
68309         (__rawmemchr): Don't use BP_SYM.
68310         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
68311         <bp-sym.h> and <bp-asm.h>.
68312         (__STRCMP): Don't use BP_SYM.
68313         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
68314         <bp-sym.h> and <bp-asm.h>.
68315         (strchr): Don't use BP_SYM.
68316         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
68317         <bp-sym.h> and <bp-asm.h>.
68318         (__strchrnul): Don't use BP_SYM.
68319         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
68320         <bp-sym.h> and <bp-asm.h>.
68321         (strlen): Don't use BP_SYM.
68322         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
68323         <bp-sym.h> and <bp-asm.h>.
68324         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68325         pointers.
68326         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
68327         <bp-sym.h> and <bp-asm.h>.
68328         (__strnlen): Don't use BP_SYM.
68329         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
68330         <bp-sym.h> and <bp-asm.h>.
68331         (__GI__setjmp): Don't use BP_SYM.
68332         (_setjmp): Likewise.
68333         (__sigsetjmp): Likewise.
68334         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
68335         (L(start_addresses)): Don't use BP_SYM.
68336         (_start): Likewise.
68337         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
68338         <bp-asm.h>.
68339         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
68340         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
68341         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68342         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68343         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
68344         <bp-asm.h>.
68345         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
68346         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
68347         about bounded pointers.
68348         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68349         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68350         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
68351         <bp-asm.h>.
68352         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68353         about bounded pointers.  Remove GKM FIXME comments.
68354         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68355         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
68356         <bp-asm.h>.
68357         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
68358         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
68359         Remove GKM FIXME comments.
68360         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68361         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68362         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
68363         <bp-asm.h>.
68364         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
68365         about bounded pointers.  Remove GKM FIXME comment.
68366         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
68367         and <bp-asm.h>.
68368         (strncmp): Don't use BP_SYM.  Remove comment about bounded
68369         pointers.
68370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
68371         <bp-sym.h> and <bp-asm.h>.
68372         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
68374         <bp-sym.h> and <bp-asm.h>.
68375         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68376         comment.
68378 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68380         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
68381         call free(NULL).
68383 2013-03-05  David S. Miller  <davem@davemloft.net>
68385         * po/es.po: Update from translation team.
68387 2013-03-05  Andreas Jaeger  <aj@suse.de>
68389         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
68390         <bits/mman-linux.h>.
68391         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68392         is fine.
68393         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
68394         <bits/mman-linux.h> to end of file.
68395         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68396         is fine.
68397         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
68398         <bits/mman-linux.h> to end of file.
68399         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
68400         is fine.
68401         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
68402         <bits/mman-linux.h> to end of file.
68404         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
68405         (MCL_CURRENT, MCL_FUTURE): Define here.
68407 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68409         [BZ #15232]
68410         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
68411         attribute_hidden.
68412         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
68414 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68416         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
68417         fourth parameter needed for rt_sigprocmask syscall.
68418         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
68419         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
68420         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
68421         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
68422         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
68423         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
68425 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
68427         [BZ #13550]
68428         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
68429         comment about bounded pointers.
68430         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
68431         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
68433 2013-03-04  Andreas Jaeger  <aj@suse.de>
68435         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
68436         common definitions.
68438         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
68439         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
68440         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
68441         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68442         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68443         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68445 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68447         [BZ #15055]
68448         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
68449         __ieee754_sqrl instead of __sqrl.
68451 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
68453         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
68454         * sysdeps/powerpc/fpu_control.h: ... here.
68455         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
68456         * sysdeps/powerpc/bits/fenvinline.h: ... here.
68457         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
68458         * sysdeps/powerpc/bits/mathinline.h: ... here.
68460 2013-03-01  Roland McGrath  <roland@hack.frob.com>
68462         * elf/dl-hwcaps.c (_dl_important_hwcaps):
68463         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
68464         to just [NEED_DL_SYSINFO_DSO].
68465         * elf/dl-support.c: Likewise.
68466         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
68467         * elf/rtld.c (dl_main): Likewise.
68468         * elf/setup-vdso.h (setup_vdso): Likewise.
68469         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
68470         * sysdeps/unix/sysv/linux/dl-sysdep.c
68471         (_dl_discover_osversion): Likewise.
68473 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
68475         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
68476         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68478 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
68480         * NEWS: Mention libm performance improvements and non-x86 PI
68481         futex support.
68483         * csu/libc-start.c (__pthread_initialize_minimal): Change
68484         function arguments.
68485         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
68487 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
68489         [BZ #13550]
68490         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
68491         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
68492         <bp-sym.h> and <bp-asm.h>.
68493         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68494         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
68495         and <bp-asm.h>.
68496         (memcpy): Don't use BP_SYM.
68497         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
68498         <bp-asm.h>.
68499         (__mpn_add_n): Don't use BP_SYM.
68500         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
68501         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
68502         and <bp-asm.h>.
68503         (__mpn_addmul_1): Don't use BP_SYM.
68504         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68505         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
68506         <bp-sym.h>.
68507         (_setjmp): Don't use BP_SYM.
68508         (__novmx_setjmp): Likewise.
68509         (__GI__setjmp): Likewise.
68510         (__vmx_setjmp): Likewise.
68511         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
68512         <bp-sym.h>.
68513         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
68514         (__bzero): Don't use BP_SYM.
68515         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
68516         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
68517         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
68518         <bp-sym.h> and <bp-asm.h>.
68519         (memcpy): Don't use BP_SYM.
68520         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
68521         <bp-sym.h> and <bp-asm.h>.
68522         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68523         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
68524         <bp-sym.h> and <bp-asm.h>.
68525         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
68526         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
68527         <bp-asm.h>.
68528         (__mpn_lshift): Don't use BP_SYM.
68529         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68530         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
68531         <bp-asm.h>.
68532         (memset): Don't use BP_SYM.
68533         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
68534         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
68535         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
68536         <bp-asm.h>.
68537         (__mpn_mul_1): Don't use BP_SYM.
68538         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68539         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
68540         <bp-sym.h> and <bp-asm.h>.
68541         (memcmp): Don't use BP_SYM.
68542         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
68543         <bp-sym.h> and <bp-asm.h>.
68544         (memcpy): Don't use BP_SYM.
68545         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
68546         <bp-sym.h> and <bp-asm.h>.
68547         (memset): Don't use BP_SYM.
68548         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
68549         <bp-sym.h> and <bp-asm.h>.
68550         (strncmp): Don't use BP_SYM.
68551         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
68552         <bp-sym.h> and <bp-asm.h>.
68553         (memcpy): Don't use BP_SYM.
68554         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
68555         <bp-sym.h> and <bp-asm.h>.
68556         (memset): Don't use BP_SYM.
68557         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
68558         <bp-sym.h> and <bp-asm.h>.
68559         (__memchr): Don't use BP_SYM.
68560         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
68561         <bp-sym.h> and <bp-asm.h>.
68562         (memcmp): Don't use BP_SYM.
68563         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
68564         <bp-sym.h> and <bp-asm.h>.
68565         (memcpy): Don't use BP_SYM.
68566         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
68567         <bp-sym.h> and <bp-asm.h>.
68568         (__mempcpy): Don't use BP_SYM.
68569         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
68570         <bp-sym.h> and <bp-asm.h>.
68571         (__memrchr): Don't use BP_SYM.
68572         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
68573         <bp-sym.h> and <bp-asm.h>.
68574         (memset): Don't use BP_SYM.
68575         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
68576         <bp-sym.h> and <bp-asm.h>.
68577         (__rawmemchr): Don't use BP_SYM.
68578         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
68579         <bp-sym.h> and <bp-asm.h>.
68580         (__STRCMP): Don't use BP_SYM.
68581         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
68582         <bp-sym.h> and <bp-asm.h>.
68583         (strchr): Don't use BP_SYM.
68584         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
68585         <bp-sym.h> and <bp-asm.h>.
68586         (__strchrnul): Don't use BP_SYM.
68587         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
68588         <bp-sym.h> and <bp-asm.h>.
68589         (strlen): Don't use BP_SYM.
68590         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
68591         <bp-sym.h> and <bp-asm.h>.
68592         (strncmp): Don't use BP_SYM.
68593         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
68594         <bp-sym.h> and <bp-asm.h>.
68595         (__strnlen): Don't use BP_SYM.
68596         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
68597         <bp-asm.h>.
68598         (__mpn_rshift): Don't use BP_SYM.
68599         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
68600         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
68601         <bp-sym.h> and <bp-asm.h>.
68602         (__sigsetjmp): Don't use BP_SYM.
68603         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
68604         (L(start_addresses)): Don't use BP_SYM.
68605         (_start): Likewise.
68606         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
68607         <bp-asm.h>.
68608         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
68609         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68610         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68611         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
68612         <bp-asm.h>.
68613         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
68614         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
68615         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
68616         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
68617         <bp-asm.h>.
68618         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68619         comments.
68620         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
68621         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
68622         <bp-asm.h>.
68623         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
68624         FIXME comments.
68625         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
68626         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
68627         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
68628         <bp-asm.h>.
68629         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
68630         comment.
68631         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
68632         and <bp-asm.h>.
68633         (strncmp): Don't use BP_SYM,
68634         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
68635         <bp-asm.h>.
68636         (__mpn_sub_n): Don't use BP_SYM.
68637         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
68638         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
68639         and <bp-asm.h>.
68640         (__mpn_submul_1): Don't use BP_SYM.
68641         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
68642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
68643         <bp-sym.h> and <bp-asm.h>.
68644         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
68645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
68646         <bp-sym.h> and <bp-asm.h>.
68647         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
68648         comment.
68650 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68652         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
68653         Use ZK to minimize writes to Z.
68654         (sub_magnitudes): Simplify code a bit.
68655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
68656         Use ZK to minimize writes to Z.
68657         (sub_magnitudes): Simplify code a bit.
68659 2013-02-27  Roland McGrath  <roland@hack.frob.com>
68661         * csu/gmon-start.c: Add special exception to license text.
68663 2013-02-27  Richard Henderson  <rth@redhat.com>
68665         * scripts/config.guess: Update from config.git.
68666         * scripts/config.sub: Likewise.
68668 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
68670         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
68672         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
68674         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
68676         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
68678         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
68680 2013-02-26  Roland McGrath  <roland@hack.frob.com>
68682         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
68683         [$(build-shared = yes].
68685 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68687         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
68688         (__mul): Reduce iterations for calculating mantissa.
68690         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
68691         MPTWO.
68692         (__mpranred): Likewise.
68694         [BZ #15160]
68695         * malloc/memusagestat.c (main): Draw graphs for heap and stack
68696         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
68698 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
68700         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
68701         Define __attribute__.
68703 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68705         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
68706         unused.
68707         * posix/regex_internal.h (__attribute): Remove.
68708         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
68709         (re_string_context_at): Likewise.
68710         (bitset_not): Use __attribute__ and mark function as possibly
68711         unused.
68712         (bitset_merge): Likewise.
68713         (bitset_mask): Likewise.
68714         (re_string_char_size_at): Likewise.
68715         (re_string_wchar_at): Likewise.
68716         (re_string_elem_size_at): Likewise.
68718 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68720         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
68721         code.
68722         (cc32): Likewise.
68724         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
68725         (__acr): Likewise.
68726         (__cpy): Likewise.
68727         (norm): Likewise.
68728         (denorm): Likewise.
68729         (__dbl_mp): Likewise.
68730         (add_magnitudes): Likewise.
68731         (sub_magnitudes): Likewise.
68732         (__mul): Likewise.
68733         (__inv): Likewise.
68735         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
68736         style.
68738         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
68739         style.
68741         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
68742         code.
68744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
68745         up changes with default code.
68746         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
68747         Likewise.
68749 2013-02-24  Allan McRae  <allan@archlinux.org>
68751         * manual/socket.texi (The Internet Namespace): Order menu items
68752         to match that in the file.
68754         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
68755         node listing of the info page menu.
68757 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
68759         [BZ #13550]
68760         * sysdeps/i386/bp-asm.h: Remove file.
68761         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
68762         (PARMS): Do not use macros from bp-asm.h.
68763         (S1): Likewise.
68764         (S2): Likewise.
68765         (SIZE): Likewise.
68766         (__mpn_add_n): Do not use BP_SYM
68767         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
68768         "bp-asm.h".
68769         (PARMS): Do not use macros from bp-asm.h.
68770         (S1): Likewise.
68771         (SIZE): Likewise.
68772         (__mpn_addmul_1): Do not use BP_SYM
68773         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
68774         "bp-asm.h".
68775         (PARMS): Do not use macros from bp-asm.h.
68776         (SIGMSK): Likewise.
68777         (_setjmp): Likewise.  Do not use BP_SYM.
68778         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
68779         "bp-asm.h".
68780         (PARMS): Do not use macros from bp-asm.h.
68781         (SIGMSK): Likewise.
68782         (setjmp): Likewise.  Do not use BP_SYM.
68783         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
68784         "bp-asm.h".
68785         (PARMS): Do not use macros from bp-asm.h.
68786         (__frexp): Do not use BP_SYM.
68787         (frexp): Likewise.
68788         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
68789         "bp-asm.h".
68790         (PARMS): Do not use macros from bp-asm.h.
68791         (__frexpf): Do not use BP_SYM.
68792         (frexpf): Likewise.
68793         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
68794         "bp-asm.h".
68795         (PARMS): Do not use macros from bp-asm.h.
68796         (__frexpl): Do not use BP_SYM.
68797         (frexpl): Likewise.
68798         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
68799         "bp-asm.h".
68800         (PARMS): Do not use macros from bp-asm.h.
68801         (__remquo): Do not use BP_SYM.
68802         (remquo): Likewise.
68803         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
68804         "bp-asm.h".
68805         (PARMS): Do not use macros from bp-asm.h.
68806         (__remquof): Do not use BP_SYM.
68807         (remquof): Likewise.
68808         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
68809         "bp-asm.h".
68810         (PARMS): Do not use macros from bp-asm.h.
68811         (__remquol): Do not use BP_SYM.
68812         (remquol): Likewise.
68813         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
68814         "bp-asm.h".
68815         (PARMS): Do not use macros from bp-asm.h.
68816         (DEST): Likewise.
68817         (SRC): Likewise.
68818         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
68819         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
68820         "bp-asm.h".
68821         (PARMS): Do not use macros from bp-asm.h.
68822         (strlen): Do not use BP_SYM.
68823         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
68824         "bp-asm.h".
68825         (PARMS): Do not use macros from bp-asm.h.
68826         (S1): Likewise.
68827         (S2): Likewise.
68828         (SIZE): Likewise.
68829         (__mpn_add_n): Do not use BP_SYM.
68830         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
68831         "bp-asm.h".
68832         (PARMS): Do not use macros from bp-asm.h.
68833         (S1): Likewise.
68834         (SIZE): Likewise.
68835         (__mpn_addmul_1): Do not use BP_SYM.
68836         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
68837         weak_alias.
68838         (bzero): Likewise.
68839         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
68840         "bp-asm.h".
68841         (PARMS): Do not use macros from bp-asm.h.
68842         (S): Likewise.
68843         (SIZE): Likewise.
68844         (__mpn_lshift): Do not use BP_SYM.
68845         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
68846         "bp-asm.h".
68847         (PARMS): Do not use macros from bp-asm.h.
68848         (DEST): Likewise.
68849         (SRC): Likewise.
68850         (LEN): Likewise.
68851         (memcpy): Likewise.  Do not use BP_SYM.
68852         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
68853         libc_hidden_def and weak_alias.
68854         (mempcpy): Do not use BP_SYM in weak_alias.
68855         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
68856         "bp-asm.h".
68857         (PARMS): Do not use macros from bp-asm.h.
68858         (DEST): Likewise.
68859         (LEN): Likewise.
68860         [!BZERO_P] (CHR): Likewise.
68861         (memset): Likewise.  Do not use BP_SYM.
68862         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
68863         "bp-asm.h".
68864         (PARMS): Do not use macros from bp-asm.h.
68865         (S1): Likewise.
68866         (SIZE): Likewise.
68867         (__mpn_mul_1): Do not use BP_SYM.
68868         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
68869         "bp-asm.h".
68870         (PARMS): Do not use macros from bp-asm.h.
68871         (S): Likewise.
68872         (SIZE): Likewise.
68873         (__mpn_rshift): Do not use BP_SYM.
68874         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
68875         "bp-asm.h".
68876         (PARMS): Do not use macros from bp-asm.h.
68877         (STR): Likewise.
68878         (CHR): Likewise.
68879         (strchr): Likewise.  Do not use BP_SYM.
68880         (index): Do not use BP_SYM in weak_alias.
68881         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
68882         "bp-asm.h".
68883         (PARMS): Do not use macros from bp-asm.h.
68884         (DEST): Likewise.
68885         (SRC): Likewise.
68886         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
68887         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
68888         "bp-asm.h".
68889         (PARMS): Do not use macros from bp-asm.h.
68890         (strlen): Do not use BP_SYM.
68891         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
68892         "bp-asm.h".
68893         (PARMS): Do not use macros from bp-asm.h.
68894         (S1): Likewise.
68895         (S2): Likewise.
68896         (SIZE): Likewise.
68897         (__mpn_sub_n): Do not use BP_SYM.
68898         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
68899         "bp-asm.h".
68900         (PARMS): Do not use macros from bp-asm.h.
68901         (S1): Likewise.
68902         (SIZE): Likewise.
68903         (__mpn_submul_1): Do not use BP_SYM.
68904         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
68905         "bp-asm.h".
68906         (PARMS): Do not use macros from bp-asm.h.
68907         (S1): Likewise.
68908         (S2): Likewise.
68909         (SIZE): Likewise.
68910         (__mpn_add_n): Do not use BP_SYM.
68911         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
68912         weak_alias.
68913         (bzero): Likewise.
68914         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
68915         "bp-asm.h".
68916         (PARMS): Do not use macros from bp-asm.h.
68917         (BLK2): Likewise.
68918         (LEN): Likewise.
68919         (memcmp): Do not use BP_SYM.
68920         (bcmp): Do not use BP_SYM in weak_alias.
68921         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
68922         "bp-asm.h".
68923         (PARMS): Do not use macros from bp-asm.h.
68924         (DEST): Likewise.
68925         (SRC): Likewise.
68926         (LEN): Likewise.
68927         (memcpy): Likewise.  Do not use BP_SYM.
68928         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
68929         "bp-asm.h".
68930         (PARMS): Do not use macros from bp-asm.h.
68931         (DEST): Likewise.
68932         (SRC): Likewise.
68933         (LEN): Likewise.
68934         (memmove): Likewise.  Do not use BP_SYM.
68935         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
68936         "bp-asm.h".
68937         (PARMS): Do not use macros from bp-asm.h.
68938         (DEST): Likewise.
68939         (SRC): Likewise.
68940         (LEN): Likewise.
68941         (__mempcpy): Likewise.  Do not use BP_SYM.
68942         (mempcpy): Do not use BP_SYM in weak_alias.
68943         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
68944         "bp-asm.h".
68945         (PARMS): Do not use macros from bp-asm.h.
68946         (DEST): Likewise.
68947         (LEN): Likewise.
68948         [!BZERO_P] (CHR): Likewise.
68949         (memset): Likewise.  Do not use BP_SYM.
68950         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
68951         "bp-asm.h".
68952         (PARMS): Do not use macros from bp-asm.h.
68953         (STR2): Likewise.
68954         (strcmp): Do not use BP_SYM.
68955         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
68956         "bp-asm.h".
68957         (PARMS): Do not use macros from bp-asm.h.
68958         (STR): Likewise.
68959         (DELIM): Likewise.
68960         [USE_AS_STRTOK_R] (SAVE): Likewise.
68961         (FUNCTION): Likewise.  Do not use BP_SYM.
68962         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
68963         aliases.
68964         (strtok_r): Likewise.
68965         (__GI___strtok_r): Likewise.
68966         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68967         (PARMS): Do not use macros from bp-asm.h.
68968         (S): Likewise.
68969         (SIZE): Likewise.
68970         (__mpn_lshift): Do not use BP_SYM.
68971         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
68972         (PARMS): Do not use macros from bp-asm.h.
68973         (STR): Likewise.
68974         (CHR): Likewise.
68975         (__memchr): Do not use BP_SYM.
68976         (memchr): Do not use BP_SYM in weak_alias.
68977         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
68978         (PARMS): Do not use macros from bp-asm.h.
68979         (BLK2): Likewise.
68980         (LEN): Likewise.
68981         (memcmp): Do not use BP_SYM.
68982         (bcmp): Do not use BP_SYM in weak_alias.
68983         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
68984         (PARMS): Do not use macros from bp-asm.h.
68985         (S1): Likewise.
68986         (SIZE): Likewise.
68987         (__mpn_mul_1): Do not use BP_SYM.
68988         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
68989         "bp-asm.h".
68990         (PARMS): Do not use macros from bp-asm.h.
68991         (STR): Likewise.
68992         (CHR): Likewise.
68993         (__rawmemchr): Do not use BP_SYM.
68994         (rawmemchr): Do not use BP_SYM in weak_alias.
68995         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
68996         (PARMS): Do not use macros from bp-asm.h.
68997         (S): Likewise.
68998         (SIZE): Likewise.
68999         (__mpn_rshift): Do not use BP_SYM.
69000         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69001         (PARMS): Do not use macros from bp-asm.h.
69002         (SIGMSK): Likewise.
69003         (__sigsetjmp): Likewise.  Do not use BP_SYM.
69004         * sysdeps/i386/start.S: Do not include "bp-sym.h".
69005         (_start): Do not use BP_SYM.
69006         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
69007         (PARMS): Do not use macros from bp-asm.h.
69008         (DEST): Likewise.
69009         (SRC): Likewise.
69010         (__stpcpy): Likewise.  Do not use BP_SYM.
69011         (stpcpy): Do not use BP_SYM in weak_alias.
69012         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69013         "bp-asm.h".
69014         (PARMS): Do not use macros from bp-asm.h.
69015         (DEST): Likewise.
69016         (SRC): Likewise.
69017         (LEN): Likewise.
69018         (__stpncpy): Likewise.  Do not use BP_SYM.
69019         (stpncpy): Do not use BP_SYM in weak_alias.
69020         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69021         (PARMS): Do not use macros from bp-asm.h.
69022         (STR): Likewise.
69023         (CHR): Likewise.
69024         (strchr): Likewise.  Do not use BP_SYM.
69025         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69026         "bp-asm.h".
69027         (PARMS): Do not use macros from bp-asm.h.
69028         (STR): Likewise.
69029         (CHR): Likewise.
69030         (__strchrnul): Likewise.  Do not use BP_SYM.
69031         (strchrnul): Do not use BP_SYM in weak_alias.
69032         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69033         "bp-asm.h".
69034         (PARMS): Do not use macros from bp-asm.h.
69035         (STOP): Likewise.
69036         (strcspn): Do not use BP_SYM.
69037         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69038         "bp-asm.h".
69039         (PARMS): Do not use macros from bp-asm.h.
69040         (STR): Likewise.
69041         (STOP): Likewise.
69042         (strpbrk): Likewise.  Do not use BP_SYM.
69043         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69044         "bp-asm.h".
69045         (PARMS): Do not use macros from bp-asm.h.
69046         (STR): Likewise.
69047         (CHR): Likewise.
69048         (strrchr): Likewise.  Do not use BP_SYM.
69049         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69050         (PARMS): Do not use macros from bp-asm.h.
69051         (SKIP): Likewise.
69052         (strspn): Do not use BP_SYM.
69053         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69054         (PARMS): Do not use macros from bp-asm.h.
69055         (STR): Likewise.
69056         (DELIM): Likewise.
69057         (SAVE): Likewise.
69058         (FUNCTION): Likewise.  Do not use BP_SYM.
69059         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69060         aliases.
69061         (strtok_r): Likewise.
69062         (__GI___strtok_r): Likewise.
69063         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69064         (PARMS): Do not use macros from bp-asm.h.
69065         (S1): Likewise.
69066         (S2): Likewise.
69067         (SIZE): Likewise.
69068         (__mpn_sub_n): Do not use BP_SYM.
69069         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
69070         "bp-asm.h".
69071         (PARMS): Do not use macros from bp-asm.h.
69072         (S1): Likewise.
69073         (SIZE): Likewise.
69074         (__mpn_submul_1): Do not use BP_SYM.
69075         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
69076         <bp-sym.h>.
69077         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
69078         and <bp-asm.h>.
69079         (PARMS): Do not use macros from bp-asm.h.
69080         (FLAGS): Likewise.
69081         (PTID): Likewise.
69082         (TLS): Likewise.
69083         (CTID): Likewise.
69084         (__clone): Do not use BP_SYM.
69085         (clone): Do not use BP_SYM in weak_alias.
69086         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
69087         and <bp-asm.h>.
69088         (PARMS): Do not use macros from bp-asm.h.
69089         (LEN): Likewise.
69090         (__mmap64): Do not use BP_SYM.
69091         (mmap64): Do not use BP_SYM in weak_alias.
69092         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
69093         <bp-sym.h> and <bp-asm.h>.
69094         (PARMS): Do not use macros from bp-asm.h.
69095         (__posix_fadvise64_l64): Do not use BP_SYM.
69096         * sysdeps/unix/sysv/linux/i386/semtimedop.S
69097         (PARMS): Do not use macros from bp-asm.h.
69098         (NSOPS): Likewise.
69099         (semtimedop): Do not use BP_SYM.
69100         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
69101         and <bp-asm.h>.
69103 2013-02-21  Allan McRae  <allan@archlinux.org>
69105         * manual/message.texi (Charset conversion in gettext):
69106         Move @end statement to beginning of line.
69108 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
69111         static.
69112         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69113         Likewise.
69115         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
69116         (denorm): Likewise.
69117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
69118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
69120 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69122         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
69123         tail-call to the resolved function if pltexit isn't needed.
69125 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
69128         or Y being zero as being unlikely.
69129         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69130         Likewise.
69132 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
69134         * manual/nss.texi (System Databases and Name Service Switch):
69135         Remove frobnicate @pxref.
69137 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69139         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69140         __attribute__ ((unused)) to __attribute__ ((__unused__)).
69142 2013-02-20  Petr Machata  <pmachata@redhat.com>
69144         * elf/elf.h (R_ARM_TARGET1): New macro.
69145         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
69146         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
69147         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
69148         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
69149         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
69150         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
69151         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
69152         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
69153         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
69154         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
69155         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
69156         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
69157         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
69158         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
69159         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
69160         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
69161         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
69162         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
69163         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
69164         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
69165         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
69166         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
69167         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
69168         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
69169         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
69170         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
69171         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
69172         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
69173         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
69174         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
69175         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
69176         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
69177         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
69178         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
69179         (R_ARM_THM_GOT_BREL12): Likewise.
69180         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
69181         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
69182         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
69183         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
69184         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
69185         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
69186         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
69187         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
69188         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
69190 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
69192         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
69193         __attribute_used__ to __attribute__ ((unused)).
69195 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69197         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
69198         powerpc mpa.c.
69199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
69200         comment formatting.
69201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
69203 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
69205         [BZ #13550]
69206         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
69207         Remove macro.
69208         (ENTER): Remove both macro definitions.
69209         (LEAVE): Likewise.
69210         (CHECK_BOUNDS_LOW): Likewise.
69211         (CHECK_BOUNDS_HIGH): Likewise.
69212         (CHECK_BOUNDS_BOTH): Likewise.
69213         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
69214         (RETURN_BOUNDED_POINTER): Likewise.
69215         (RETURN_NULL_BOUNDED_POINTER): Likewise.
69216         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
69217         (POP_ERRNO_LOCATION_RETURN): Likewise.
69218         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
69219         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69220         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
69221         macros.
69222         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69223         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
69224         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
69225         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
69226         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
69227         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
69228         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
69229         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
69230         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
69231         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
69232         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
69233         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
69234         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69235         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
69236         removed macros.
69237         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69238         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
69239         macros.
69240         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69241         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
69242         * sysdeps/i386/i586/memset.S (memset): Likewise.
69243         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
69244         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69245         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
69246         macros.
69247         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69248         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
69249         Change uses of L(2) to L(out).
69250         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
69251         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
69252         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
69253         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69254         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
69255         removed macros.
69256         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69257         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
69258         macros.
69259         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69260         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
69261         (RETURN): Do not use macro LEAVE.
69262         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
69263         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
69264         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
69265         * sysdeps/i386/i686/memset.S (memset): Likewise.
69266         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
69267         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
69268         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69269         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
69270         Likewise.
69271         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69272         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
69273         L(1_2) and L(1_3) into L(1).
69274         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69275         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
69276         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69277         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
69278         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69279         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
69280         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
69281         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69282         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
69283         macros.
69284         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
69285         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69286         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
69287         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
69288         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
69289         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69290         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
69291         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
69292         * sysdeps/i386/strcspn.S (strcspn): Likewise.
69293         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
69294         * sysdeps/i386/strrchr.S (strrchr): Likewise.
69295         * sysdeps/i386/strspn.S (strspn): Likewise.
69296         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
69297         conditional code.
69298         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69299         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
69300         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
69301         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
69302         L(1_3) into L(1_1).
69303         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
69304         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69305         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
69306         macros.
69307         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69309 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
69311         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
69312         macro.
69314 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69316         * math/atest-exp.c (exp_mpn): Remove ROUND.
69317         * math/atest-exp2.c (exp_mpn): Likewise.
69318         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
69320         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
69321         * stdlib/tst-tls-atexit-lib.c: Likewise.
69322         * stdlib/tst-tls-atexit.c: Likewise.
69324 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69326         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
69327         and __attribute_alloc_size__.
69329 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69331         * include/programs/xmalloc.h: Change __attribute_alloc_size to
69332         __attribute_alloc_size__.
69333         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
69334         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
69336 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
69338         * include/programs/xmalloc.h: New file.
69339         * catgets/gencat.c: Include it.
69340         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
69341         * elf/pldd.c: Likewise.
69342         * iconv/iconv_charmap.c: Likewise.
69343         * iconv/iconvconfig.c: Likewise.
69344         * iconv/strtab.c: Likewise.
69345         * locale/programs/locale.c: Likewise.
69346         * locale/programs/localedef.h: Likewise.
69347         * locale/programs/simple-hash.c: Likewise.
69348         * nscd/nscd.h: Likewise.
69349         * nss/makedb.c: Likewise.
69350         * sysdeps/generic/ldconfig.h: Likewise.
69352 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69354         * Versions.def: Add GLIBC_2.18.
69355         * include/link.h (struct link_map): New member l_tls_dtor_count.
69356         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
69357         (__call_tls_dtors): Likewise.
69358         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
69359         __cxa_thread_atexit_impl.
69360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69361         Likewise.
69362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69363         Likewise.
69364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
69365         Likewise.
69366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
69367         Likewise.
69368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
69370         Likewise.
69371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
69372         Likewise.
69373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69375         Likewise.
69376         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
69377         (tests): Add test case tst-tls-atexit.
69378         (modules-names): Add shared library for tst-tls-atexit.
69379         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
69380         (GLIBC_PRIVATE): Add __call_tls_dtors.
69381         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
69382         for libstdc++.
69383         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
69384         * stdlib/tst-tls-atexit.c: New test case.
69385         * stdlib/tst-tls-atexit-lib.c: New test case.
69387         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
69389         * elf/Versions (ld): Add _dl_find_dso_for_object.
69390         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
69391         * elf/dl-open.c (_dl_find_dso_for_object): New function.
69392         (dl_open_worker): Use _dl_find_dso_for_object.
69393         * elf/dl-sym.c (do_sym): Likewise.
69394         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
69396 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69398         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
69399         Syntactic changes only.
69400         (_dl_runtime_profile): Do a tail-call to the resolved function.
69402 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
69404         [BZ #13550]
69405         * sysdeps/x86_64/bp-asm.h: Remove file.
69406         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
69407         <bp-sym.h> and <bp-asm.h>.
69408         (__clone): Do not use BP_SYM.
69409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
69410         <bp-sym.h> and <bp-asm.h>.
69411         * sysdeps/unix/x86_64/sysdep.S: Likewise.
69412         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
69413         "bp-asm.h".
69414         (_setjmp): Do not use BP_SYM.
69415         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
69416         "bp-asm.h".
69417         (setjmp): Do not use BP_SYM.
69418         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
69419         libc_hidden_def.
69420         (mempcpy): Do not use BP_SYM in weak_alias.
69421         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
69422         "bp-asm.h".
69423         (strchr): Do not use BP_SYM.
69424         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
69425         "bp-asm.h".
69426         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
69427         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
69428         (_start): Do not use BP_SYM.
69429         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
69430         "bp-asm.h".
69431         (strcat): Do not use BP_SYM.
69432         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
69433         "bp-asm.h".
69434         (STRCMP): Do not use BP_SYM.
69435         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
69436         "bp-asm.h".
69437         (STRCPY): Do not use BP_SYM.
69438         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
69439         "bp-asm.h".
69440         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
69441         "bp-asm.h".
69442         (FUNCTION): Do not use BP_SYM.
69443         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
69444         weak_alias.
69445         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
69447 2013-02-17  Andreas Jaeger  <aj@suse.de>
69449         * time/Versions: Sort entries.
69450         * string/Versions: Likewise.
69451         * resolv/Versions: Likewise.
69452         * posix/Versions: Likewise.
69453         * iconv/Versions: Likewise.
69454         * elf/Versions: Likewise.
69455         * wcsmbs/Versions: Likewise.
69457 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69459         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
69460         loop termination condition.
69462         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
69463         variable to calculate EZ.
69464         (__sqr): Likewise.
69466         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
69467         the lower precision input.
69469 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
69471         [BZ #13550]
69472         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
69473         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
69474         (run-via-rtld-prefix): Do not handle %-bp tests.
69475         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
69476         (all-object-suffixes): Remove .ob.
69477         (bppfx): Remove variable.
69478         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
69479         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
69480         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
69481         [$(build-bounded) = yes] (libtype.ob): Likewise.
69482         * Makerules (elide-routines.ob): Remove variable.
69483         (do-tests-clean): Do not handle *-bp.out.
69484         (common-mostlyclean): Do not handle *-bp and *-bp.out.
69485         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
69486         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
69487         (tests): Do not include $(tests-bp.out).
69488         (xtests): Do not include $(xtests-bp.out).
69489         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
69490         [$(build-bounded) = yes] ($(addprefix
69491         $(objpfx),$(binaries-bounded))): Remove rule.
69492         ($(objpfx)%-bp.out): Remove rule.
69493         * config.make.in (build-bounded): Remove variable.
69494         * crypt/Makefile [$(build-bounded) = yes]
69495         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
69496         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
69497         append to variable.
69498         [$(build-bounded) = yes] (install-lib): Likewise.
69499         [$(build-bounded) = yes] (generated): Likewise.
69500         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
69501         Remove rule.
69502         * intl/Makefile [$(build-bounded) = yes]
69503         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
69504         * math/Makefile [$(build-bounded) = yes]
69505         ($(tests:%=$(objpfx)%-bp): Likewise.
69506         * misc/Makefile [$(build-bounded) = yes]
69507         ($(objpfx)tst-tsearch-bp): Likewise.
69508         * nptl/Makeconfig (bounded-thread-library): Remove variable.
69509         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
69510         Remove dependency.
69511         * string/Makefile (o-objects.ob): Remove variable.
69512         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
69513         (CFLAGS-.ob): Remove variable.
69514         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
69515         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
69516         both definitions of variable.
69517         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
69518         (ASFLAGS-.ob): Remove variable.
69520 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
69522         [BZ #13550]
69523         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
69524         Remove __BOUNDED_POINTERS__ from condition.
69525         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
69526         * string/bits/string2.h [!__NO_STRING_INLINES &&
69527         !__BOUNDED_POINTERS__]: Likewise.
69528         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
69529         Likewise.
69530         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
69531         Remove conditional code.
69532         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
69533         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
69534         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
69535         condition.
69537         [BZ #13550]
69538         * csu/libc-start.c: Do not include <bp-sym.h>.
69539         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
69540         * elf/dl-open.c: Do not include <bp-sym.h>.
69541         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
69542         * math/fegetenv.c: Do not include <bp-sym.h>.
69543         (fegetenv): Do not use BP_SYM in versioned symbols.
69544         * nptl/sysdeps/pthread/bits/libc-lockP.h
69545         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
69546         <bp-sym.h>.
69547         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69548         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
69549         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69550         (__pthread_mutex_destroy): Likewise.
69551         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69552         (__pthread_mutex_lock): Likewise.
69553         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69554         (__pthread_mutex_trylock): Likewise.
69555         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69556         (__pthread_mutex_unlock): Likewise.
69557         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69558         (__pthread_mutexattr_init): Likewise.
69559         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69560         (__pthread_mutexattr_destroy): Likewise.
69561         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69562         (__pthread_mutexattr_settype): Likewise.
69563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69564         (__pthread_rwlock_init): Likewise.
69565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69566         (__pthread_rwlock_destroy): Likewise.
69567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69568         (__pthread_rwlock_rdlock): Likewise.
69569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69570         (__pthread_rwlock_tryrdlock): Likewise.
69571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69572         (__pthread_rwlock_wrlock): Likewise.
69573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69574         (__pthread_rwlock_trywrlock): Likewise.
69575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69576         (__pthread_rwlock_unlock): Likewise.
69577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69578         (__pthread_key_create): Likewise.
69579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69580         (__pthread_setspecific): Likewise.
69581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69582         (__pthread_getspecific): Likewise.
69583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
69584         Likewise.
69585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69586         (_pthread_cleanup_push_defer): Likewise.
69587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69588         (_pthread_cleanup_pop_restore): Likewise.
69589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
69590         (pthread_setcancelstate): Likewise.
69591         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
69592         <bp-sym.h>.
69593         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
69594         (memchr): Do not use BP_SYM in weak_alias.
69595         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
69596         (fegetenv): Do not use BP_SYM in versioned symbols.
69597         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
69598         (fesetenv): Do not use BP_SYM in versioned symbols.
69599         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69600         (feupdateenv): Do not use BP_SYM in versioned symbols.
69601         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69602         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69603         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
69604         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
69605         (open64): Do not use BP_SYM in weak_alias.
69606         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
69607         (fegetenv): Do not use BP_SYM in versioned symbols.
69608         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
69609         (fesetenv): Do not use BP_SYM in versioned symbols.
69610         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
69611         (feupdateenv): Do not use BP_SYM in versioned symbols.
69612         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
69613         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
69614         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
69615         (feraiseexcept): Do not use BP_SYM in versioned symbols.
69616         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
69617         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
69618         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
69619         <bp-sym.h>.
69620         (__libc_start_main): Do not use BP_SYM.
69622 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
69625         redundant return line.
69626         (norm): Likewise.
69627         (denorm): Likewise.
69628         (dbl_mp): Likewise.
69629         (sub_magnitudes): Likewise.
69630         (__add): Likewise.
69631         (__sub): Likewise.
69632         (__mul): Likewise.
69633         (__inv): Likewise.
69634         (__dvd): Likewise.
69635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
69636         (norm): Likewise.
69637         (denorm): Likewise.
69638         (dbl_mp): Likewise.
69639         (sub_magnitudes): Likewise.
69640         (__add): Likewise.
69641         (__sub): Likewise.
69642         (__mul): Likewise.
69643         (__inv): Likewise.
69644         (__dvd): Likewise.
69646         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
69647         instead of __mul.
69648         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69649         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
69650         (cc32): Likewise.
69652         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
69653         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
69654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
69655         of __mul for squares.
69656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
69657         function
69658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
69659         Likewise.
69660         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
69661         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69663 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
69665         [BZ #13550]
69666         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
69667         code.
69668         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
69669         prototype or function definition.  Rename ubp_* variables and
69670         parameters.  Remove argv definitions conditional on
69671         [__BOUNDED_POINTERS__].
69672         * debug/backtrace.c (__backtrace): Do not use __unbounded.
69673         * elf/dl-runtime.c (_dl_fixup): Likewise.
69674         * include/set-hooks.h (RUN_HOOK): Likewise.
69675         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
69676         definition.
69677         * string/strcpy.c (strcpy): Do not use __unbounded.
69678         * sysdeps/generic/frame.h (struct layout): Likewise.
69679         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
69680         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
69681         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
69682         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
69683         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
69684         (__backtrace): Likewise.
69685         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
69686         use __ptrvalue.
69687         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
69688         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
69689         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
69690         Likewise.
69691         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
69692         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
69693         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
69694         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
69695         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
69696         Do not use __unbounded.
69697         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
69698         Rename __unboundedrlimits parameter to rlimits in prototype.
69699         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
69700         Do not use __unbounded.
69701         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
69702         not use __ptrvalue.
69703         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
69704         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
69705         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
69706         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
69707         __ptrvalue or __unbounded.
69708         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
69709         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
69710         use __unbounded.
69711         (__new_msgctl): Do not use __ptrvalue.
69712         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
69713         __unbounded.
69714         (__libc_msgrcv): Do not use __ptrvalue.
69715         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
69716         startup_info): Do not use __unbounded.
69717         (__libc_start_main): Likewise.  Rename ubp_* variables and
69718         parameters.  Remove argv definitions conditional on
69719         [__BOUNDED_POINTERS__].
69720         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
69721         __ptrvalue.
69722         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
69723         use __unbounded.
69724         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
69725         or __ptrvalue.
69726         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
69727         use __unbounded.
69728         (__new_shmctl): Do not use __ptrvalue.
69729         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
69730         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
69731         Likewise.
69732         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
69733         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
69734         (__libc_sigaction): Likewise.
69735         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
69736         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
69737         Likewise.
69738         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
69740 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
69742         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
69744         * string/mempcpy.c: Implement by calling memcpy.
69746 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
69748         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
69750         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
69751         evaluation.
69753         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
69754         values in the mantissa.
69756         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
69757         minimize writes to Z.
69758         (sub_magnitudes): Simplify code a bit.
69760 2013-02-12  Roland McGrath  <roland@hack.frob.com>
69762         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
69763         from the message.  The linker prefixes all warnings with that already.
69765 2013-02-12  Andreas Schwab  <schwab@suse.de>
69767         [BZ #15078]
69768         * posix/regexec.c (extend_buffers): Add parameter min_len.
69769         (check_matching): Pass minimum needed length.
69770         (clean_state_log_if_needed): Likewise.
69771         (get_subexp): Likewise.
69772         * posix/Makefile (tests): Add bug-regex34.
69773         (bug-regex34-ENV): Define.
69774         * posix/bug-regex34.c: New file.
69776         [BZ #11561]
69777         * posix/regcomp.c (parse_bracket_exp): When looking up collating
69778         elements compare against the byte sequence of it, not its name.
69779         * posix/Makefile (tests): Add bug-regex35.
69780         (bug-regex35-ENV): Define.
69781         * posix/bug-regex35.c: New file.
69783 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69785         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
69786         comment.
69787         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
69788         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
69789         (CHECK_EOL): Add undef.
69791 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
69793         * bits/stdlib-bsearch.h: New file.
69794         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
69795         * stdlib/stdlib.h: Likewise.
69797 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69799         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
69800         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
69801         declaration.
69802         * manual/search.texi (Array Search Function): Add missing const in
69803         lfind prototype.
69804         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
69805         declaration to use rlim_t.
69806         (Basic Scheduling Functions): Remove erroneous const from
69807         sched_getparam prototype.  Remove erroneous * from
69808         sched_get_priority_max and sched_get_priority_min prototypes.
69809         (Resource Usage): Fix summary @comment on vtimes to refer to
69810         sys/vtimes.h rather than vtimes.h.
69811         Add missing *s in vtimes prototype.
69812         (Limits on Resources): Fix ulimit prototype to return long int.
69813         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
69814         prototypes to use long int rather than double.
69815         (BSD Random): Fix initstate and setstate to use char *, not void *.
69816         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
69817         prototype to make second argument 'struct aiocb64 *const[]'.
69818         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
69819         (Status of AIO Operations): Remove erroneous const in aio_return and
69820         aio_return64 prototypes.
69821         (Synchronizing I/O): Fix sync prototype to return void.
69822         * manual/startup.texi (Suboptions): Remove an erroneous const in
69823         getsubopt prototype.
69824         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
69825         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
69826         use size_t rather than int.
69827         (Scanning All Users): Likewise for getpwent_r.
69828         (Setting Groups): Add missing const to setgroups prototype.
69829         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
69830         * manual/socket.texi (Host Names): Fix gethostbyaddr and
69831         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
69832         'const void *' rather than 'const char *'.
69833         (Host Address Functions): Likewise for inet_ntop.
69834         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
69835         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
69836         ssize_t for return value.
69837         (Sending Data): Likewise for send, sendto, sendmsg.
69838         (Socket Option Functions): Add a missing const in setsockopt prototype.
69839         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
69840         use wchar_t for the argument.
69841         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
69842         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
69843         take no arguments.
69844         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
69845         double/float/long double for second argument.
69846         Fix return types of significand, significandf, significandl.
69847         * manual/filesys.texi (Setting Permissions): Use mode_t for second
69848         argument in fchmod prototype.
69849         (File Owner): Use uid_t and gid_t in fchown prototype.
69850         (File Times): Add const to utimes, futimes, and lutimes prototypes.
69851         (Making Special Files): Use mode_t and dev_t in mknod prototype.
69852         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
69853         use 'const struct dirent **' as argument types to CMP function pointer
69854         argument.
69855         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
69856         (File Times): Fix summary magic @comment for struct utimbuf and utime
69857         to refer to utime.h, not time.h.
69858         * manual/string.texi (Argz Functions): Add missing const in
69859         argz_extract and argz_next prototypes.
69860         (Finding Tokens in a String): Likewise for basename.
69861         (String/Array Comparison): Fix typo in wcscasecmp prototype.
69862         (Copying and Concatenation): Fix typo in wmemmove prototype.
69863         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
69864         (Signal Stack): Remove erroneous const in sigstack prototype.
69865         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
69866         prototype.
69867         (Simple Calendar Time): Likewise for stime.
69868         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
69869         prototype.
69870         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
69871         say sys/sysctl.h instead.
69872         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
69873         and vsyslog prototypes.
69875 2013-02-11  Tom de Vries  <tom@codesourcery.com>
69877         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
69878         Remove.
69880 2013-02-11  Roland McGrath  <roland@hack.frob.com>
69882         * misc/sys/mman.h: Fix typo in mremap comment.
69884 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69886         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
69887         the '\0' terminator.
69889 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69891         [BZ #13550]
69892         * debug/segfault.c: Don't include <bp-checks.h>.
69893         * sysdeps/generic/bp-checks.h: Remove file.
69894         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
69895         (__GETDENTS): Don't use CHECK_N.
69896         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
69897         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
69898         (__getgroups): Don't use CHECK_N.
69899         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
69900         (setgroups): Don't use CHECK_N.
69901         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
69902         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
69903         (__libc_msgrcv): Don't use CHECK_N.
69904         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
69905         (__libc_msgsnd): Don't use CHECK_N.
69906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
69907         <bp-checks.h>.
69908         (__libc_pread): Don't use CHECK_N.
69909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
69910         include <bp-checks.h>.
69911         (__libc_pread64): Don't use CHECK_N.
69912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
69913         include <bp-checks.h>.
69914         (__libc_pwrite): Don't use CHECK_N.
69915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
69916         include <bp-checks.h>.
69917         (__libc_pwrite64): Don't use CHECK_N.
69918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
69919         <bp-checks.h>.
69920         (__libc_pread): Don't use CHECK_N.
69921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
69922         include <bp-checks.h>.
69923         (__libc_pread64): Don't use CHECK_N.
69924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
69925         include <bp-checks.h>.
69926         (__libc_pwrite): Don't use CHECK_N.
69927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
69928         include <bp-checks.h>.
69929         (__libc_pwrite64): Don't use CHECK_N.
69930         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
69931         (do_pread): Don't use CHECK_N.
69932         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
69933         (do_pread64): Don't use CHECK_N.
69934         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
69935         (do_pwrite): Don't use CHECK_N.
69936         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
69937         (do_pwrite64): Don't use CHECK_N.
69938         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
69939         (__libc_readv): Don't use CHECK_N.
69940         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
69941         (semop): Don't use CHECK_N.
69942         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
69943         <bp-checks.h>.
69944         (semtimedop): Don't use CHECK_N.
69945         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
69946         (__libc_pread): Don't use CHECK_N.
69947         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
69948         <bp-checks.h>.
69949         (__libc_pread64): Don't use CHECK_N.
69950         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
69951         <bp-checks.h>.
69952         (__libc_pwrite): Don't use CHECK_N.
69953         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
69954         <bp-checks.h>.
69955         (__libc_pwrite64): Don't use CHECK_N.
69956         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
69957         <bp-checks.h>.
69958         (__libc_msgrcv): Don't use CHECK_N.
69959         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
69960         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
69961         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
69962         (__libc_writev): Don't use CHECK_N.
69964 2013-02-08  Roland McGrath  <roland@hack.frob.com>
69966         * string/strcpy.c: Removed unused variable.
69968         * Makeconfig (+sysdep-includes): Define with := rather than =.
69969         Use an existing include/ subdir of each sysdeps dir before it.
69971 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69973         * nscd/connection.c (register_traced_file): Comment function.
69974         [HAVE_INOTIFY] (union __inev): Define.
69975         [HAVE_INOTIFY] (inotify_check_files): New function.
69976         [HAVE_INOTIFY] (clear_db_cache): Likewise.
69977         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
69978         clear_db_cache.
69979         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
69981 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69983         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
69984         loaded if not already and that a failure is permanent.
69986 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
69988         [BZ #15006]
69989         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
69990         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
69992 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
69994         [BZ #13550]
69995         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
69996         (CHECK_1_NULL_OK): Likewise.
69997         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
69998         (__fxstat): Do not use CHECK_1.
69999         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
70000         <bp-checks.h>.
70001         (___fxstat64): Do not use CHECK_1.
70002         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
70003         <bp-checks.h>.
70004         (__fxstatat): Do not use CHECK_1.
70005         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
70006         <bp-checks.h>.
70007         (__fxstatat64): Do not use CHECK_1.
70008         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
70009         <bp-checks.h>.
70010         (__fxstat): Do not use CHECK_1.
70011         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70012         <bp-checks.h>.
70013         (__fxstatat): Do not use CHECK_1.
70014         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70015         <bp-checks.h>.
70016         (__getresgid): Do not use CHECK_1.
70017         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70018         <bp-checks.h>.
70019         (__getresuid): Do not use CHECK_1.
70020         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70021         <bp-checks.h>.
70022         (__lxstat): Do not use CHECK_1.
70023         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70024         <bp-checks.h>.
70025         (__old_msgctl): Do not use CHECK_1.
70026         (__new_msgctl): Likewise.
70027         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70028         <bp-checks.h>.
70029         (__new_setrlimit): Do not use CHECK_1.
70030         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70031         <bp-checks.h>.
70032         (__old_shmctl): Do not use CHECK_1.
70033         (__new_shmctl): Likewise.
70034         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70035         <bp-checks.h>.
70036         (__xstat): Do not use CHECK_1.
70037         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70038         (__lxstat): Do not use CHECK_1.
70039         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70040         <bp-checks.h>.
70041         (___lxstat64): Do not use CHECK_1.
70042         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70043         (__old_msgctl): Do not use CHECK_1.
70044         (__new_msgctl): Likewise.
70045         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70046         <bp-checks.h>.
70047         (__gettimeofday): Do not use CHECK_1.
70048         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70049         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70050         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70051         <bp-checks.h>.
70052         (__gettimeofday): Do not use CHECK_1.
70053         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70054         (__old_shmctl): Do not use CHECK_1_NULL_OK.
70055         (__new_shmctl): Do not use CHECK_1.
70056         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70057         <bp-checks.h>.
70058         (do_sigtimedwait): Do not use CHECK_1.
70059         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70060         <bp-checks.h>.
70061         (do_sigwaitinfo): Do not use CHECK_1.
70062         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70063         <bp-checks.h>.
70064         (msgctl): Do not use CHECK_1.
70065         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
70066         <bp-checks.h>.
70067         (shmctl): Do not use CHECK_1.
70068         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
70069         (ustat): Do not use CHECK_1.
70070         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
70071         <bp-checks.h>.
70072         (__fxstat): Do not use CHECK_1.
70073         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
70074         <bp-checks.h>.
70075         (__fxstatat): Do not use CHECK_1.
70076         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
70077         <bp-checks.h>.
70078         (__lxstat): Do not use CHECK_1.
70079         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
70080         <bp-checks.h>.
70081         (__xstat): Do not use CHECK_1.
70082         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
70083         (__xstat): Do not use CHECK_1.
70084         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
70085         (___xstat64): Do not use CHECK_1.
70087         [BZ #13550]
70088         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
70089         definitions.
70090         (CHECK_BOUNDS_HIGH): Likewise.
70091         * string/strcpy.c: Do not include <bp-checks.h>.
70092         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
70094 2013-02-07  Roland McGrath  <roland@hack.frob.com>
70096         * nscd/nscd-client.h (__nscd_drop_map_ref):
70097         Add __attribute__ ((unused)).
70098         * nis/nss-nisplus.h (niserr2nss): Likewise.
70100         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
70101         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
70103         * csu/libc-tls.c (init_static_tls, init_slotinfo):
70104         Remove inline keyword.
70105         * include/rounding-mode.h (round_away): Likewise.
70106         * libio/wfileops.c (adjust_wide_data): Likewise.
70107         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
70108         (__m128i_strloadu_tolower): Likewise.
70109         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
70110         (__m128i_strloadu_tolower): Likewise.
70111         * time/mktime.c (ydhms_diff): Likewise.
70112         * locale/elem-hash.h (elem_hash): Likewise.
70113         * locale/setlocale.c (setdata): Likewise.
70114         * posix/regex_internal.h (re_string_char_size_at): Likewise.
70115         (re_string_wchar_at): Likewise.
70116         (bitset_not, bitset_merge, bitset_mask): Likewise.
70117         [!(__GNUC__ > 3)] (inline): Remove macro.
70118         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
70119         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
70120         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
70121         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
70122         * string/memcmp.c (memcmp_bytes): Likewise.
70123         * locale/programs/locarchive.c (compute_hashval): Likewise.
70124         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
70125         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
70126         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
70127         * nss/getent.c (print_rpc, print_protocols): Likewise.
70128         (print_passwd, print_group, print_aliases): Likewise.
70129         * nis/nss-nisplus.h (niserr2nss): Likewise.
70130         * nscd/connections.c (restart_p): Likewise.
70131         Change return type to bool.
70133 2013-02-05  Roland McGrath  <roland@hack.frob.com>
70135         * Makeconfig (all-Depend-files): Add existing
70136         $(sorted-subdirs:=/Depend) files.
70137         (all-subdirs): Remove nss.
70138         * sysdeps/unix/inet/Subdirs: Add it here instead.
70139         * hesiod/Depend: New file.
70141         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
70142         instead of calling alloca.
70144         * io/lseek.c (__lseek): Rename to __libc_lseek.
70145         Define __lseek as an alias.
70147         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
70149 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
70151         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
70152         else clause and remove check for non-standard endianness.
70154 2013-02-04  David S. Miller  <davem@davemloft.net>
70156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70158 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
70160         [BZ #13550]
70161         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
70162         (__ubp_memchr): Remove prototype.
70163         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
70164         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70165         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
70166         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
70167         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
70168         Remove alias.
70169         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
70170         (__ubp_memchr): Likewise.
70171         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
70172         (__ubp_memchr): Likewise.
70173         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
70174         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
70175         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
70176         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
70177         CHECK_STRING.
70178         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
70179         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
70180         (__getcwd): Do not use CHECK_STRING.
70181         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70182         <bp-checks.h>.
70183         (__real_chown): Do not use CHECK_STRING.
70184         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
70185         <bp-checks.h>.
70186         (fchownat): Do not use CHECK_STRING.
70187         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
70188         CHECK_STRING.
70189         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70190         <bp-checks.h>.
70191         (__lchown): Do not use CHECK_STRING.
70192         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70193         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70194         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70195         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
70196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70197         include <bp-checks.h>.
70198         (truncate64): Do not use CHECK_STRING.
70199         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70200         <bp-checks.h>.
70201         (__real_chown): Do not use CHECK_STRING.
70202         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70203         <bp-checks.h>.
70204         (__lchown): Do not use CHECK_STRING.
70205         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70206         <bp-checks.h>.
70207         (__chown): Do not use CHECK_STRING.
70208         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
70209         <bp-checks.h>.
70210         (truncate64): Do not use CHECK_STRING.
70211         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
70212         Likewise.
70213         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
70214         (__xmknod): Do not use CHECK_STRING.
70215         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
70216         <bp-checks.h>.
70217         (__xmknodat): Do not use CHECK_STRING.
70218         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70219         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
70221 2013-02-04  Andreas Schwab  <schwab@suse.de>
70223         [BZ #14142]
70224         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
70225         * include/netdb.h: Likewise for h_errno.
70226         * elf/tst-stackguard1.c: Include <tls.h>.
70228 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
70230         * elf/link.h (struct link_map): Extend the l_addr comment.
70231         * include/link.h (struct link_map): Likewise.
70233 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
70235         [BZ #13550]
70236         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
70237         (BOUNDED_1): Remove macro.
70238         * debug/backtrace.c: Don't include <bp-checks.h>.
70239         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
70240         (__backtrace): Likewise.
70241         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
70242         <bp-checks.h>.
70243         (__backtrace): Don't use BOUNDED_1.
70244         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
70245         <bp-checks.h>.
70246         (__backtrace): Don't use BOUNDED_1.
70247         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
70248         (__backtrace): Don't use BOUNDED_1.
70249         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
70250         (shmat): Don't use BOUNDED_N.
70252 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
70254         [BZ #13550]
70255         * sysdeps/generic/bp-start.h: Remove file.
70256         * csu/libc-start.c: Don't include <bp-start.h>.
70257         (LIBC_START_MAIN): Set up __environ directly instead of using
70258         INIT_ARGV_and_ENVIRON.
70259         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
70260         <bp-start.h>.
70262         [BZ #13550]
70263         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
70264         definitions.
70265         (CHECK_FCNTL): Likewise.
70266         (CHECK_N_PAGES): Likewise.
70268         [BZ #13550]
70269         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
70270         definitions.
70271         (CHECK_SIGSET_NULL_OK): Likewise.
70272         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
70273         <bp-checks.h>.
70274         (sigpending): Don't use CHECK_SIGSET.
70275         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
70276         <bp-checks.h>.
70277         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70278         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
70279         <bp-checks.h>.
70280         (do_sigsuspend): Don't use CHECK_SIGSET.
70281         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
70282         use CHECK_SIGSET.
70283         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
70284         (do_sigwait): Don't use CHECK_SIGSET.
70285         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
70286         use CHECK_SIGSET.
70287         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
70288         include <bp-checks.h>.
70289         (sigpending): Don't use CHECK_SIGSET.
70290         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
70291         include <bp-checks.h>.
70292         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70293         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
70294         <bp-checks.h>.
70295         (sigpending): Don't use CHECK_SIGSET.
70296         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
70297         <bp-checks.h>.
70298         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
70300         [BZ #13550]
70301         * sysdeps/generic/bp-semctl.h: Remove file.
70302         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
70303         <bp-checks.h> and <bp-semctl.h>.
70304         (__old_semctl): Don't use CHECK_SEMCTL.
70305         (__new_semctl): Likewise.
70306         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
70307         and <bp-semctl.h>.
70308         (__old_semctl): Don't use CHECK_SEMCTL.
70309         (__new_semctl): Likewise.
70310         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
70311         <bp-checks.h> and <bp-semctl.h>.
70312         (__old_semctl): Don't use CHECK_SEMCTL.
70313         (__new_semctl): Likewise.
70314         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
70315         <bp-checks.h> and <bp-semctl.h>.
70316         (semctl): Don't use CHECK_SEMCTL.
70318         [BZ #13550]
70319         * Makerules (elide-bp-thunks): Remove variable.
70320         (elide-routines.oS): Don't use $(elide-bp-thunks).
70321         (elide-routines.os): Likewise.
70322         (elide-routines.o): Likewise.
70323         (elide-routines.op): Likewise.
70324         (elide-routines.og): Likewise.
70325         (objects): Don't use $(bp-thunks).
70326         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
70327         include.
70328         (common-generated): Do not add s-proto-bp.d.
70329         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
70330         (int): Likewise.
70331         (typ): Likewise.
70332         Do not generate makefile rules for bounded-pointer thunks.
70333         * sysdeps/generic/bp-thunks.h: Remove file.
70334         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
70335         * sysdeps/unix/s-proto-bp.S: Likewise.
70337         [BZ #15062]
70338         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
70339         parts of result separately when argument is not close to line from
70340         -i to i and one part of argument is small.
70341         * math/k_casinhf.c (__kernel_casinhf): Likewise.
70342         * math/k_casinhl.c (__kernel_casinhl): Likewise.
70343         * math/libm-test.inc (cacos_test): Add more tests.
70344         (casin_test): Likewise.
70345         (casinh_test): Likewise.
70346         * sysdeps/i386/fpu/libm-test-ulps: Update.
70347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70349 2013-01-31  David S. Miller  <davem@davemloft.net>
70351         * po/de.po: Update from translation team.
70353 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
70355         * time/tzfile.c: Include stdint.h for SIZE_MAX.
70357 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
70359         * configure.in (_AC_PROG_CC_C89): New definition.
70360         * configure: Regenerate.
70362         * configure.in (AC_PROG_CPP): New definition.
70363         * configure: Regenerate.
70365 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70367         * debug/tst-backtrace.h: New file.
70368         * debug/tst-backtrace2.c: Include tst-backtrace.h.
70369         (ret): Remove variable.
70370         (x): Likewise.
70371         (FAIL): Remove macro.
70372         (NO_INLINE): Likewise.
70373         (fn1): Use match function instead of strstr.
70374         * debug/tst-backtrace3.c: Include tst-backtrace.h.
70375         (ret): Remove variable.
70376         (x): Likewise.
70377         (FAIL): Remove macro.
70378         (NO_INLINE): Likewise.
70379         (fn): Use match function instead of strstr.
70380         * debug/tst-backtrace4.c: Include tst-backtrace.h.
70381         (ret): Remove variable.
70382         (x): Likewise.
70383         (FAIL): Remove macro.
70384         (NO_INLINE): Likewise.
70385         (handle_signal): Use match function instead of strstr.
70386         * debug/tst-backtrace5.c: Include tst-backtrace.h.
70387         (ret): Remove variable.
70388         (x): Likewise.
70389         (FAIL): Remove macro.
70390         (NO_INLINE): Likewise.
70391         (handle_signal): Use match function instead of strstr.
70393 2013-01-23  Roland McGrath  <roland@hack.frob.com>
70395         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
70397 2013-01-23  David S. Miller  <davem@davemloft.net>
70399         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
70400         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
70401         argument of CAS if possible.
70402         * sysdeps/sparc/sparc64/bits/atomic.h
70403         (__arch_compare_and_exchange_val_32_acq): Likewise.
70404         (__arch_compare_and_exchange_val_64_acq): Likewise.
70406 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
70408         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
70409         * sysdeps/posix/ulimit.c: ... this.
70410         Include <limits.h>.
70411         * sysdeps/unix/bsd/ulimit.c: Remove file.
70413 2013-01-23  Adam Conrad  <adconrad@0c3.net>
70415         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
70416         (LDFLAGS-tst-array5): Likewise.
70418 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
70420         [BZ #15036]
70421         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
70422         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
70423         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
70424         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
70426 2013-01-21  David S. Miller  <davem@davemloft.net>
70428         * sysdeps/sparc/backtrace.c: New file.
70429         * sysdeps/sparc/sparc32/backtrace.h: New file.
70430         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
70431         * sysdeps/sparc/sparc64/backtrace.h: New file.
70432         * sysdeps/sparc/sparc64/backtrace.c: Delete.
70433         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
70434         -funwind-tables.
70436 2013-01-21  Andreas Schwab  <schwab@suse.de>
70438         [BZ #15020]
70439         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
70440         closed its stdout.
70442 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
70444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
70445         "mpa2.h".
70446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70448 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
70449             Mark Mitchell  <mark@codesourcery.com>
70450             Tom de Vries  <tom@codesourcery.com>
70451             Paul Pluzhnikov  <ppluzhnikov@google.com>
70453         * debug/tst-backtrace2.c: New file.
70454         * debug/tst-backtrace3.c: Likewise.
70455         * debug/tst-backtrace4.c: Likewise.
70456         * debug/tst-backtrace5.c: Likewise.
70457         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
70458         (CFLAGS-tst-backtrace3.c): Likewise.
70459         (CFLAGS-tst-backtrace4.c): Likewise.
70460         (CFLAGS-tst-backtrace5.c): Likewise.
70461         (LDFLAGS-tst-backtrace2): Likewise.
70462         (LDFLAGS-tst-backtrace3): Likewise.
70463         (LDFLAGS-tst-backtrace4): Likewise.
70464         (LDFLAGS-tst-backtrace5): Likewise.
70465         (tests): Add new tests tst-backtrace2, tst-backtrace3,
70466         tst-backtrace4 and tst-backtrace5.
70468 2013-01-18  Anton Blanchard  <anton@samba.org>
70469             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70471         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
70472         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
70473         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
70474         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
70475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70476         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
70477         "+r" and remove output regs list as redundant.  Add explicit inline
70478         asm to specify register of return val to work around compiler codegen
70479         bug.  Remove (int) cast on return value.  Add return type parameter to
70480         use in macro so that this macro does not truncate return value for
70481         64-bit values.
70482         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
70483         pass to INTERNAL_VSYSCALL_NCS.
70484         (INLINE_VSYSCALL): Add 'long int' as return type to
70485         INTERNAL_VSYSCALL_NCS macro invocation.
70486         (INTERNAL_VSYSCALL): Add 'long int' as return type to
70487         INTERNAL_VSYSCALL_NCS macro invocation.
70488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70490 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70492         [BZ #14496]
70493         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
70494         Fix application of SIMD FP exception mask.
70496         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
70497         mp_no from a power of two.
70498         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
70499         __mpexp_twomm1.  Use __pow_mp.
70501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
70502         multiplication.
70504 2013-01-17  David S. Miller  <davem@davemloft.net>
70506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70508 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70510         [BZ #15023]
70511         * include/complex.h: Condition contents on [!_COMPLEX_H].
70512         (__kernel_casinhf): New prototype.
70513         (__kernel_casinh): Likewise.
70514         (__kernel_casinhl): Likewise.
70515         * math/Makefile (libm_calls): Add k_casinh.
70516         * math/k_casinh.c: New file.
70517         * math/k_casinhf.c: Likewise.
70518         * math/k_casinhl.c: Likewise.
70519         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
70520         finite nonzero arguments.
70521         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
70522         finite nonzero arguments.
70523         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
70524         finite nonzero arguments.
70525         * math/s_casinh.c: Do not include <float.h>.
70526         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
70527         * math/s_casinhf.c: Do not include <float.h>.
70528         (__casinhf): Move code for finite nonzero arguments to
70529         k_casinhf.c.
70530         * math/s_casinhl.c: Do not include <float.h>.
70531         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
70532         redefine.
70533         (__casinhl): Move code for finite nonzero arguments to
70534         k_casinhl.c.
70535         * math/libm-test.inc (cacos_test): Add more tests.
70536         * sysdeps/i386/fpu/libm-test-ulps: Update.
70537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70539 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
70541         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
70542         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
70543         [!HAVE_MREMAP]: Remove [defined linux] case.
70544         * malloc/arena.c: Do not include <malloc-sysdep.h>.
70546 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
70548         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
70550 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
70552         * elf/elf.h (R_386_SIZE32): New relocation.
70553         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
70554         R_386_SIZE32.
70555         (elf_machine_rela): Likewise.
70556         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
70557         R_X86_64_SIZE64 and R_X86_64_SIZE32.
70559 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
70561         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
70562         (FP_FAST_FMA): Do not define.
70563         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
70564         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
70565         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
70566         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
70567         !_SOFT_FLOAT]: Likewise.
70568         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
70569         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
70570         value.
70571         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
70572         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
70573         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
70574         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
70575         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
70576         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
70577         file.
70579 2013-01-16  Andreas Schwab  <schwab@suse.de>
70581         [BZ #14327]
70582         * include/stdlib.h (__mktemp): Add declaration.
70583         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
70584         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
70586 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
70588         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
70589         definitions.
70590         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70591         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
70592         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
70593         definitions here.
70594         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
70595         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
70596         definitions.
70597         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
70598         and ONE.
70599         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
70600         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
70601         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
70602         definitions.
70603         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
70604         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
70605         definitions.
70606         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70608         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
70610 2013-01-15  David S. Miller  <davem@davemloft.net>
70612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70613         trunc{,f} to libm-sysdep_routes.
70614         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
70616         file.
70617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
70618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
70619         file.
70620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
70621         file.
70622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
70623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
70624         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
70625         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
70626         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
70627         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
70628         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
70629         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
70631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70632         nearbyint{,f} to libm-sysdep_routes.
70633         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
70635         New file.
70636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
70637         file.
70638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
70639         New file.
70640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
70641         file.
70642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
70643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
70644         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
70645         file.
70646         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
70647         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
70648         file.
70649         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
70650         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
70651         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
70653         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
70654         libc_feholdexcept and libc_fesetenv.
70656 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
70658         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
70660 2013-01-14  David S. Miller  <davem@davemloft.net>
70662         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
70663         (SPARC_ASM_VIS2_IFUNC): Likewise.
70664         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
70665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
70666         use of 'siam' instruction.
70667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
70668         Likewise.
70669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
70670         Likewise.
70671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
70672         Likewise.
70673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
70674         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
70675         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
70676         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
70677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
70678         file.
70679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
70680         file.
70681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
70682         file.
70683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
70684         file.
70685         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
70686         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
70687         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
70688         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
70689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
70690         new VIS2 routines.
70691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
70692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
70694         Likewise.
70695         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
70696         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
70697         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
70698         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
70699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
70700         routines to libm-sysdep_routines.
70701         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
70703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
70704         fdim/fdimf to libm-sysdep_routines.
70705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
70706         file.
70707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
70708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
70709         file.
70710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
70711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
70712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
70713         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
70714         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
70715         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
70716         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
70718 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70720         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
70721         to optimize copies.
70723         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
70724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70725         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
70728         local variable MPTWO.
70729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70730         Likewise.
70732 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70734         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
70735         GLOB_NOESCAPE.
70737 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70739         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
70741 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
70743         * manual/pattern.texi (glob_t): Document gl_flags.
70744         (glob64_t): Likewise.
70746 2013-01-11  David S. Miller  <davem@davemloft.net>
70748         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
70749         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
70750         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
70751         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
70752         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
70753         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
70754         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
70755         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
70756         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
70757         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
70758         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
70759         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
70760         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
70762         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70763         sparc V9 rather than using V8 code.
70764         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70765         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70767         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70768         Move to...
70769         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
70770         Here.
70772 2013-01-11  Roland McGrath  <roland@hack.frob.com>
70774         [BZ #14941]
70775         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
70776         not in the main loop.
70777         * configure: Regenerated.
70779 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
70781         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
70782         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
70783         to just #else.
70784         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
70785         [!__GLIBC_HAVE_LONG_LONG] case.
70786         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
70787         condition to just #else.
70788         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
70789         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
70790         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
70791         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
70792         unconditional.
70793         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
70794         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70795         #elif condition to just #else.
70796         * sysdeps/unix/sysv/linux/sys/sysmacros.h
70797         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
70798         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
70799         #elif condition to just #else.
70801 2013-01-11  Steve Ellcey  <sellcey@mips.com>
70803         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
70804         (EF_MIPS_ARCH_64): Fix value.
70805         (EF_MIPS_ARCH_32R2): New.
70806         (EF_MIPS_ARCH_64R2): New.
70808 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
70810         * Makeconfig (+link-pie-before-libc): New.
70811         (+link-pie-after-libc): Likewise.
70812         (+link-pie-tests): Likewise.
70813         (+link-pie): Rewritten.
70814         (link-before-libc): Remove $(config-LDFLAGS).
70815         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
70816         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
70817         (config-LDFLAGS): Renamed to ...
70818         (rtld-LDFLAGS): This.
70819         (rtld-tests-LDFLAGS): New macro.
70820         (link-libc-rpath-link): Likewise.
70821         (link-libc-tests-rpath-link): Likewise.
70822         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
70823         (link-libc): Prepand $(link-libc-rpath-link).
70824         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
70825         (test-program-prefix): New macro.
70826         (test-via-rtld-prefix): Likewise.
70827         (test-program-cmd): Likewise.
70828         (host-test-program-cmd): Likewise.
70829         * Makefile ($(common-objpfx)testrun.sh): Replace
70830         $(run-program-prefix) with $(test-program-prefix).
70831         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
70832         $(rtld-LDFLAGS).
70833         ($(common-objpfx)shlib.lds): Likewise.
70834         (build-module-helper): Likewise.
70835         ($(common-objpfx)format.lds): Likewise.
70836         * Rules (binaries-pie-tests): New.
70837         (binaries-pie-notests): Likewise.
70838         (binaries-pie): Rewritten.
70839         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
70840         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
70841         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
70842         (make-test-out): Replace $(host-built-program-cmd) with
70843         $(host-test-program-cmd).
70844         * config.make.in (build-hardcoded-path-in-tests): New variable.
70845         * configure.in (--enable-hardcoded-path-in-tests): New configure
70846         option.
70847         (hardcoded_path_in_tests): New AC_SUBST.
70848         * configure: Regenerated.
70849         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
70850         $(built-program-cmd) with $(test-program-cmd).
70851         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
70852         (test_program_cmd): This.
70853         * elf/Makefile ($(objpfx)order.out): Run test with
70854         $(test-program-prefix).
70855         ($(objpfx)order2.out): Likewise.
70856         ($(objpfx)tst-initorder.out): Likewise.
70857         ($(objpfx)tst-initorder2.out): Likewise.
70858         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
70859         $(test-program-cmd).
70860         ($(objpfx)tst-array1-static.out): Likewise.
70861         ($(objpfx)tst-array2.out): Likewise.
70862         ($(objpfx)tst-array3.out): Likewise.
70863         ($(objpfx)tst-array4.out): Likewise.
70864         ($(objpfx)tst-array5.out): Likewise.
70865         ($(objpfx)tst-array5-static.out): Likewise.
70866         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
70867         $(test-program-cmd).
70868         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
70869         $(run-program-prefix) with $(test-program-prefix).
70870         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
70871         (test_program_prefix): This.
70872         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
70873         $(run-program-prefix) with $(test-program-prefix).
70874         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
70875         (test_program_prefix): This.
70876         * iconvdata/tst-tables.sh: Likewise.
70877         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
70878         $(run-program-prefix) with $(test-program-prefix).
70879         ($(objpfx)tst-translit.out): Likewise.
70880         ($(objpfx)tst-gettext2.out): Likewise.
70881         ($(objpfx)tst-gettext4.out): Likewise.
70882         ($(objpfx)tst-gettext6.out): Likewise.
70883         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
70884         (test_program_prefix): This.
70885         * intl/tst-gettext2.sh: Likewise.
70886         * intl/tst-gettext4.sh  Likewise.
70887         * intl/tst-gettext6.sh: Likewise.
70888         * intl/tst-translit.sh: Likewise.
70889         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
70890         with $(test-program-cmd).
70891         * libio/Makefile ($(objpfx)test-freopen.out): Replace
70892         $(run-program-prefix) with $(test-program-prefix).
70893         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
70894         (test_program_prefix): This.
70895         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
70896         $(run-program-prefix) with $(test-program-prefix).
70897         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
70898         (test_program_prefix): This.
70899         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
70900         * posix/Makefile ($(objpfx)globtest.out): Replace
70901         $(run-via-rtld-prefix) and $(test-wrapper) with
70902         $(test-program-prefix) and $(test-via-rtld-prefix).
70903         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
70904         $(test-program-prefix).
70905         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
70906         $(host-test-program-cmd).
70907         (tst-spawn-ARGS): Likewise.
70908         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
70909         $(test-program-prefix).
70910         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
70911         (test_via_rtld_prefix): This.
70912         (test_wrapper): Renamed to ...
70913         (test_program_prefix): This.
70914         (run_program_prefix): Replaced by test_program_prefix.
70915         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
70916         (test_program_prefix): This.
70917         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
70918         with $(host-test-program-cmd).
70919         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
70920         $(run-program-prefix) with $(test-program-prefix).
70921         ($(objpfx)tst-printf.out): Likewise.
70922         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
70923         $(test-program-cmd).
70924         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
70925         (test_program_prefix): This.
70926         * stdio-common/tst-unbputc.sh: Likewise.
70927         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
70928         $(run-program-prefix) with $(test-program-prefix).
70929         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
70930         (test_program_prefix): This.
70931         * string/Makefile ($(objpfx)tst-svc.out):  Replace
70932         $(built-program-cmd) with $(test-program-cmd).
70934 2013-01-11  Andreas Jaeger  <aj@suse.de>
70936         [BZ #15003]
70937         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
70938         value. Sync with Linux 3.7.
70940 2013-01-10  David S. Miller  <davem@davemloft.net>
70942         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
70943         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70944         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70946 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70948         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
70949         never set.
70950         * configure: Regenerated.
70952 2013-01-10  David S. Miller  <davem@davemloft.net>
70954         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
70955         sparc V9 rather than using V8 code.
70956         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
70957         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
70959 2013-01-10  Roland McGrath  <roland@hack.frob.com>
70961         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
70962         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
70963         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
70964         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
70965         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
70966         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
70967         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
70968         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
70969         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
70970         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
70971         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
70972         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
70973         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
70974         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
70975         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
70976         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
70977         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
70978         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
70979         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
70980         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
70981         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
70982         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
70983         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
70984         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
70985         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
70986         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
70987         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
70989 2013-01-10  David S. Miller  <davem@davemloft.net>
70991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70993 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
70995         * posix/Makefile (tests-static): New variable.
70996         (tests): Add $(tests-static).
70997         (tst-exec-static-ARGS): New variable.
70998         (tst-spawn-static-ARGS): Likewise.
70999         * posix/tst-exec-static.c: New file.
71000         * posix/tst-spawn-static.c: Likewise.
71001         * posix/tst-exec.c: Support run directly.
71002         * posix/tst-spawn.c: Likewise.
71004 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
71006         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
71007         long.
71008         * math/bits/mathcalls.h (llrint): Likewise.
71009         (llround): Likewise.
71010         * stdlib/stdlib.h (struct drand48_data): Likewise.
71011         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71012         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71013         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71014         Likewise.
71015         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71016         Likewise.
71017         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71018         (elf_greg_t): Likewise.
71019         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71020         (__jmp_buf): Likewise.
71021         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71022         definitions.
71023         (llrint): Likewise, for all definitions.
71024         (llrintl): Likewise.
71026         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71027         Remove [__GNUC__] condition.
71028         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71029         condition to just [__USE_ISOC99].
71030         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71032 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71034         [BZ #14200]
71035         * sysdeps/unix/sysv/linux/x86/bits/environments.h
71036         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71037         defined.
71038         (_POSIX_V6_ILP32_OFF32): Likewise.
71039         (_XBS5_ILP32_OFF32): Likewise.
71040         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71041         (__ILP32_OFFBIG_LDFLAGS): Likewise.
71043 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71045         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71047         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71048         doubles __mpexp_twomm1.  Adjust usage.
71049         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71050         Remove.
71052 2013-01-10  Andreas Schwab  <schwab@suse.de>
71054         [BZ #14964]
71055         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71056         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71058 2013-01-09  David S. Miller  <davem@davemloft.net>
71060         [BZ #15003]
71061         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71062         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71063         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71064         (TCP_FASTOPEN): Define.
71065         (tcp_repair_opt): New structure.
71066         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
71067         enum values.
71068         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
71069         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
71070         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
71071         (tcp_cookie_transactions): New structure.
71073 2013-01-09  Anton Blanchard  <anton@samba.org>
71075         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
71076         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
71077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
71078         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
71080 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
71082         * include/features.h (__USE_ANSI): Remove.
71084 2013-01-09  Roland McGrath  <roland@hack.frob.com>
71086         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
71088         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
71090 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
71092         * sysdeps/s390/fpu/libm-test-ulps: Update.
71094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71096         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
71097         (__acr): Likewise.
71098         (__cpy): Likewise.
71099         (norm): Likewise.
71100         (denorm): Likewise.
71101         (__mp_dbl): Likewise.
71102         (__dbl_mp): Likewise.
71103         (add_magnitudes): Likewise.
71104         (sub_magnitudes): Likewise.
71105         (__add): Likewise.
71106         (__sub): Likewise.
71107         (__mul): Likewise.
71108         (__inv): Likewise.
71109         (__dvd): Likewise.
71110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
71111         (__acr): Likewise.
71112         (__cpy): Likewise.
71113         (norm): Likewise.
71114         (denorm): Likewise.
71115         (__mp_dbl): Likewise.
71116         (__dbl_mp): Likewise.
71117         (add_magnitudes): Likewise.
71118         (sub_magnitudes): Likewise.
71119         (__add): Likewise.
71120         (__sub): Likewise.
71121         (__mul): Likewise.
71122         (__inv): Likewise.
71123         (__dvd): Likewise.
71124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
71125         (__acr): Likewise.
71126         (__cpy): Likewise.
71127         (norm): Likewise.
71128         (denorm): Likewise.
71129         (__mp_dbl): Likewise.
71130         (__dbl_mp): Likewise.
71131         (add_magnitudes): Likewise.
71132         (sub_magnitudes): Likewise.
71133         (__add): Likewise.
71134         (__sub): Likewise.
71135         (__mul): Likewise.
71136         (__inv): Likewise.
71137         (__dvd): Likewise.
71139 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
71141         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
71142         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
71143         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
71144         2 && __USE_EXTERN_INLINES]: Likewise.
71146 2013-01-08  Andreas Jaeger  <aj@suse.de>
71148         [BZ #14985]
71149         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
71150         Remove.
71151         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71152         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
71154 2013-01-07  Anton Blanchard  <anton@samba.org>
71156         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
71157         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
71158         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
71159         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
71160         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
71161         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71162         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
71163         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71165         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71166         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71167         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71168         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71169         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
71170         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
71171         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71172         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71173         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
71174         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
71175         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
71176         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
71177         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
71178         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71179         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
71180         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
71181         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
71182         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71183         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
71184         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
71185         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71186         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
71187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71188         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71189         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
71190         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
71191         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71192         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
71193         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71194         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
71195         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
71196         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
71197         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71198         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
71200 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
71202         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
71203         (__MALLOC_PMT): Likewise.
71204         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
71205         [__GNUC__], only on [_LIBC].
71206         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71207         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
71208         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
71209         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
71210         forward declaration.
71211         (realloc_hook_ini): Likewise.
71212         (memalign_hook_ini): Likewise.
71213         (__libc_memalign): Do not use __MALLOC_PMT in variable
71214         declaration.
71215         (__libc_valloc): Likewise.
71216         (__libc_pvalloc): Likewise.
71217         (__libc_calloc): Likewise.
71218         (__posix_memalign): Likewise.
71220         [BZ #14996]
71221         * math/s_casinh.c: Include <float.h>.
71222         (__casinh): Do not do computation with squaring and square root
71223         for large arguments.
71224         * math/s_casinhf.c: Include <float.h>.
71225         (__casinhf): Do not do computation with squaring and square root
71226         for large arguments.
71227         * math/s_casinhl.c: Include <float.h>.
71228         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
71229         (__casinhl): Do not do computation with squaring and square root
71230         for large arguments.
71231         * math/libm-test.inc (casin_test): Add more tests.
71232         (casinh_test): Likewise.
71233         * sysdeps/i386/fpu/libm-test-ulps: Update.
71234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71236 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
71238         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
71239         (__x86_64_raw_data_cache_size): Likewise.
71240         (__x86_64_data_cache_size_half): Likewise.
71241         (__x86_64_raw_data_cache_size_half): Likewise.
71242         (__x86_64_shared_cache_size): Likewise.
71243         (__x86_64_raw_shared_cache_size): Likewise.
71244         (__x86_64_shared_cache_size_half): Likewise.
71245         (__x86_64_raw_shared_cache_size_half): Likewise.
71246         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
71247         to ...
71248         (__x86_data_cache_size): This.
71249         (__x86_64_raw_data_cache_size): Renamed to ...
71250         (__x86_raw_data_cache_size): This.
71251         (__x86_64_data_cache_size_half): Renamed to ...
71252         (__x86_data_cache_size_half): This.
71253         (__x86_64_raw_data_cache_size_half): Renamed to ...
71254         (__x86_raw_data_cache_size_half): This.
71255         (__x86_64_shared_cache_size): Renamed to ...
71256         (__x86_shared_cache_size): This.
71257         (__x86_64_raw_shared_cache_size): Renamed to ...
71258         (__x86_raw_shared_cache_size): This.
71259         (__x86_64_shared_cache_size_half): Renamed to ...
71260         (__x86_shared_cache_size_half): This.
71261         (__x86_64_raw_shared_cache_size_half): Renamed to ...
71262         (__x86_raw_shared_cache_size_half): This.
71263         * sysdeps/x86_64/memcpy.S: Updated.
71264         * sysdeps/x86_64/memset.S: Likewise.
71265         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
71266         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71267         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71269 2013-01-04  David S. Miller  <davem@davemloft.net>
71271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71273 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
71275         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
71276         1 to avoid redefinition warning.
71277         (__USE_GNU): Don't define.
71278         (init_signaling_nan): Protoize.
71280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71282 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71284         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
71285         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
71286         (__cpymn): Likewise.
71287         (norm): Remove commented code.
71288         (denorm): Likewise.
71289         (__mp_dbl): Likewise.
71290         (__inv): Likewise.
71291         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
71292         (__cpymn): Likewise.
71293         (norm): Remove commented code.
71294         (denorm): Likewise.
71295         (__mp_dbl): Likewise.
71296         (__inv): Likewise.
71298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
71299         mp_no value for 1.0 and 2.0.
71300         (norm): Use RADIXI instead of radixi.d.
71301         (denorm): Likewise.
71302         (__mul): Use 0.0 instead of zero.d.
71303         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
71304         mp_no value for 1.0 and 2.0.
71305         (norm): Use RADIXI instead of radixi.d.
71306         (denorm): Likewise.
71307         (__mul): Use 0.0 instead of zero.d.
71309 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
71311         [BZ #14994]
71312         * math/s_casinh.c (__casinh): Reduce finite argument to first
71313         quadrant then set signs of results at the end.
71314         * math/s_casinhf.c (__casinhf): Likewise.
71315         * math/s_casinhl.c (__casinhl): Likewise.
71316         * math/libm-test.inc (casin_test): Add more tests.
71317         (casinh_test): Likewise.
71318         * sysdeps/i386/fpu/libm-test-ulps: Update.
71319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71321 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
71323         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
71325         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
71327         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
71328         declarations.
71329         (denorm): Likewise.
71330         (__mp_dbl): Likewise.
71331         (__inv): Likewise.
71333         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
71334         and adjust the header comment.
71336         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
71337         variable name from declaration.
71339 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
71341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71342         Initialize COMMON_CPUID_INDEX_7 element.
71343         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
71344         (CPUID_RTM): Likewise.
71345         (HAS_RTM): Likewise.
71346         (COMMON_CPUID_INDEX_7): New enum.
71348 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
71350         [BZ #14981]
71351         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
71352         size is zero, record memory as freed.
71354 2013-01-03  Andreas Jaeger  <aj@suse.de>
71356         * po/ia.po: Add new Interlingua translation.
71358 2012-01-03  Allan McRae  <allan@archlinux.org>
71360         * locale/programs/localedef.c: Fix description of '--posix' flag.
71362 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
71364         * NEWS: Update dates in second copyright notice.
71365         * README: Update copyright dates in example.
71366         * manual/libc.texinfo: Update copyright dates.
71367         * scripts/test-installation.pl: Update copyright date in --version
71368         output.
71370         * hurd/ctty-input.c: Fix copyright notice formatting.
71371         * hurd/ctty-output.c: Likewise.
71372         * hurd/dtable.c: Likewise.
71373         * hurd/hurd-raise.c: Likewise.
71374         * hurd/hurdprio.c: Likewise.
71375         * hurd/msgportdemux.c: Likewise.
71376         * misc/sys/file.h: Likewise.
71377         * misc/sys/ioctl.h: Likewise.
71378         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
71379         * sysdeps/mach/hurd/chdir.c: Likewise.
71380         * sysdeps/mach/hurd/fchdir.c: Likewise.
71381         * sysdeps/mach/hurd/rename.c: Likewise.
71382         * sysdeps/mach/hurd/rmdir.c: Likewise.
71383         * sysdeps/mach/hurd/seekdir.c: Likewise.
71384         * sysdeps/mach/hurd/setsid.c: Likewise.
71385         * sysdeps/posix/wait3.c: Likewise.
71387         * All files with FSF copyright notices: Update copyright dates
71388         using scripts/update-copyrights.
71389         * intl/plural.c: Regenerated.
71390         * locale/programs/charmap-kw.h: Likewise.
71391         * locale/programs/locfile-kw.h: Likewise.
71393 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
71395         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
71396         four values.
71398         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
71399         calculation loop and add branch prediction.
71401         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
71402         check access beyond bounds of m1np.
71404         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71405         MPTWO.
71406         (__inv): Remove local variable MPTWO to use the global
71407         constant.
71408         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
71409         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71410         variable MPTWO.
71411         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
71412         MP3HALFS static const.
71414 2013-01-01  David S. Miller  <davem@davemloft.net>
71416         * po/ca.po: Update from translation team.
71418 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
71420         * scripts/update-copyrights: New file.
71421         * Makeconfig: Reformat copyright notice.
71422         * ctype/ctype.h: Likewise.
71423         * debug/swprintf_chk.c: Likewise.
71424         * elf/dl-cache.c: Likewise.
71425         * elf/dl-debug.c: Likewise.
71426         * elf/dl-object.c: Likewise.
71427         * grp/initgroups.c: Likewise.
71428         * hurd/Makefile: Likewise.
71429         * hurd/hurd/signal.h: Likewise.
71430         * hurd/hurdfault.c: Likewise.
71431         * hurd/hurdioctl.c: Likewise.
71432         * hurd/hurdlookup.c: Likewise.
71433         * hurd/intr-msg.c: Likewise.
71434         * iconv/gconv_open.c: Likewise.
71435         * libio/swprintf.c: Likewise.
71436         * locale/lc-ctype.c: Likewise.
71437         * locale/nl_langinfo.c: Likewise.
71438         * mach/Machrules: Likewise.
71439         * mach/Makefile: Likewise.
71440         * malloc/obstack.h: Likewise.
71441         * manual/Makefile: Likewise.
71442         * manual/tsort.awk: Likewise.
71443         * misc/bits/stab.def: Likewise.
71444         * nis/nis_print_group_entry.c: Likewise.
71445         * nis/nis_table.c: Likewise.
71446         * nis/nss_compat/compat-pwd.c: Likewise.
71447         * nis/nss_compat/compat-spwd.c: Likewise.
71448         * po/Makefile: Likewise.
71449         * posix/fnmatch.c: Likewise.
71450         * posix/regex.h: Likewise.
71451         * resolv/Makefile: Likewise.
71452         * resolv/nss_dns/dns-network.c: Likewise.
71453         * resolv/res_hconf.c: Likewise.
71454         * scripts/gen-sorted.awk: Likewise.
71455         * soft-fp/soft-fp.h: Likewise.
71456         * stdio-common/printf.h: Likewise.
71457         * stdlib/monetary.h: Likewise.
71458         * stdlib/random.c: Likewise.
71459         * stdlib/random_r.c: Likewise.
71460         * sysdeps/generic/Makefile: Likewise.
71461         * sysdeps/gnu/Makefile: Likewise.
71462         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71464         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71466         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71467         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71468         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71469         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71470         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71471         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71472         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
71473         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
71474         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
71475         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
71476         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
71477         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
71478         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
71479         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71480         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71482         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71483         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71484         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71485         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
71486         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
71487         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
71488         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
71489         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
71490         * sysdeps/mach/hurd/errnos.awk: Likewise.
71491         * sysdeps/mach/hurd/fork.c: Likewise.
71492         * sysdeps/mach/hurd/getcwd.c: Likewise.
71493         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
71494         * sysdeps/mach/hurd/mmap.c: Likewise.
71495         * sysdeps/mach/hurd/utimes.c: Likewise.
71496         * sysdeps/mach/hurd/xmknod.c: Likewise.
71497         * sysdeps/posix/profil.c: Likewise.
71498         * sysdeps/posix/readdir_r.c: Likewise.
71499         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71500         * sysdeps/powerpc/bits/setjmp.h: Likewise.
71501         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
71502         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
71503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71504         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71505         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71506         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71508         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71509         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71510         * sysdeps/pthread/lio_listio.c: Likewise.
71511         * sysdeps/sparc/dl-procinfo.h: Likewise.
71512         * sysdeps/unix/i386/sysdep.S: Likewise.
71513         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
71514         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
71515         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
71516         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
71517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71518         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
71519         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
71520         * sysdeps/unix/sysv/linux/speed.c: Likewise.
71521         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
71522         * sysdeps/wordsize-32/divdi3.c: Likewise.
71523         * time/sys/time.h: Likewise.
71524         * wcsmbs/Makefile: Likewise.
71526 2013-01-01  David S. Miller  <davem@davemloft.net>
71528         * po/fr.po: Update from translation team.
71530         * catgets/gencat.c: Update copyright year.
71531         * csu/version.c: Likewise.
71532         * debug/catchsegv.sh: Likewise.
71533         * debug/pcprofiledump.c: Likewise.
71534         * debug/xtrace.sh: Likewise.
71535         * elf/ldconfig.c: Likewise.
71536         * elf/ldd.bash.in: Likewise.
71537         * elf/pldd.c: Likewise.
71538         * elf/sotruss.ksh: Likewise.
71539         * elf/sprof.c: Likewise.
71540         * iconv/iconv_prog.c: Likewise.
71541         * iconv/iconvconfig.c: Likewise.
71542         * locale/programs/locale.c: Likewise.
71543         * locale/programs/localedef.c: Likewise.
71544         * login/programs/pt_chown.c: Likewise.
71545         * malloc/memusage.sh: Likewise.
71546         * malloc/memusagestat.c: Likewise.
71547         * malloc/mtrace.pl: Likewise.
71548         * nscd/nscd.c: Likewise.
71549         * nss/getent.c: Likewise.
71550         * nss/makedb.c: Likewise.
71551         * posix/getconf.c: Likewise.
71553 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71555         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
71556         numbers.
71558 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
71560         * math/bits/mathcalls.h (modf): Use __nonnull.
71562 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71564         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
71565         (split): Use macro CN instead of the bare value.
71566         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
71567         could be used.
71568         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
71569         instead of the bare value.
71570         (power1): Likewise.
71572 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71574         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
71575         __ATAN_TWOM.
71576         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71578         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
71579         their values.
71580         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71581         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
71582         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
71583         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71585 2012-12-28  Andreas Jaeger  <aj@suse.de>
71587         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
71588         values are from Linux 3.7.
71590         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
71591         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
71593 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71595         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
71596         TRUE case.
71598         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
71599         (norm): Likewise.
71600         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
71601         variables with preprocessor constants.
71602         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
71603         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
71604         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
71606 2012-12-27  Bruno Haible  <bruno@clisp.org>
71608         [BZ #14317]
71609         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
71610         only if needed.
71612 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
71614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
71615         and use variable directly.
71616         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
71618         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
71619         MPONE.
71620         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
71621         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
71622         variable MPONE.
71623         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
71624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
71625         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
71626         include directive.  Remove local variable MPONE.
71627         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
71628         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
71629         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71631 2012-12-25  David S. Miller  <davem@davemloft.net>
71633         * version.h (RELEASE): Set to "development".
71634         (VERSION): Set to "2.17.90".
71635         * NEWS: Add 2.18 section.
71637 2012-12-21  David S. Miller  <davem@davemloft.net>
71639         * po/hr.po: Update from translation team.
71641 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71643         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
71645 2012-12-19  Steve Ellcey  <sellcey@mips.com>
71647         * NEWS:  Mention new memcpy for MIPS.
71649 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71651         * manual/contrib.texi (Contributors): Spelling correction.
71653 2012-12-15  David S. Miller  <davem@davemloft.net>
71655         * po/ru.po: Update from translation team.
71657 2012-12-13  David S. Miller  <davem@davemloft.net>
71659         * NEWS: Mention IFUNC testsuite enhancements.
71661         * po/pl.po: Update from translation team.
71662         * po/bg.po: Likewise.
71664         * manual/contrib.texi (Contributors): Update entries for Hongjiu
71665         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
71667 2012-12-11  David S. Miller  <davem@davemloft.net>
71669         * po/sv.po: Update from translation team.
71671         * po/vi.po: Update from translation team.
71673         * po/cs.po: Update from translation team.
71675         * po/de.po: Update from translation team.
71676         * po/eo.po: Likewise.
71677         * po/nl.po: Likewise.
71679 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
71681         [BZ #14246]
71682         * manual/argp.texi (Argp Helper Functions): Move node to follow
71683         Argp Parsing State.
71685         [BZ #14872]
71686         * manual/conf.texi (Limits on File System Capacity): Mention if
71687         terminating null is included in the max size.
71689 2012-12-10  Andreas Jaeger  <aj@suse.de>
71691         * po/cs.po: Update from translation team.
71693 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
71695         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
71696         void pointer and cast to uintptr_t.
71697         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
71698         path.
71699         * sysdeps/s390/s390-64/memcpy.S: Likewise.
71700         * sysdeps/s390/s390-64/memset.S: Likewise.
71702 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
71704         [BZ #14833]
71705         * menual/message.texi (Message Translation): Fix typos.
71706         (Helper programs for gettext): Likewise.
71708 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
71710         [BZ #14898]
71711         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
71712         Change to -1.
71714 2012-12-07  David S. Miller  <davem@davemloft.net>
71716         * po/libc.pot: Update.
71718 2012-12-07  Richard Henderson  <rth@redhat.com>
71720         [BZ #10114]
71721         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
71722         normal/normal case to before the switch.
71723         (_FP_DIV): Likewise.
71725 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
71726             Mike Frysinger  <vapier@gentoo.org>
71728         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
71729         check for __NR_fadvise64_64.
71731 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
71733         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
71734         0, not just to plain "0" as a statement.
71735         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
71736         with cw.
71738 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
71740         * NEWS: Use sourceware.org in Bugzilla URL.
71742 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
71744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
71745         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71747         * stdio-common/tst-put-error.c (do_test): Add newline to the
71748         padded test to ensure flush.
71750 2012-12-05  Jeff Law  <law@redhat.com>
71752         * sunrpc/etc.rpc (fedfs_admin): Add entry.
71754 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
71756         * README: Don't refer to ports add-on as distributed separately.
71757         Mention AArch64 in list of systems supported in the ports add-on.
71759         * LICENSES: Add more non-FSF copyright and license notices.
71761         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
71762         ((unused)).
71764         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
71766         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
71767         10000 as width of padded output.
71769 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71771         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
71773         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
71774         variable LX with __attribute__ ((unused)).
71775         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
71776         Likewise.
71777         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
71778         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71779         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
71780         with __attribute__ ((unused)).
71782 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
71784         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
71786 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
71788         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
71789         (CFLAGS-nldbl-acos.c): New variable.
71790         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
71791         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
71792         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
71793         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
71794         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
71795         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
71796         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
71797         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
71798         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
71799         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
71800         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
71801         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
71802         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
71803         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
71804         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
71805         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
71806         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
71807         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
71808         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
71809         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
71810         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
71811         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
71812         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
71813         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
71814         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
71815         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
71816         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
71817         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
71818         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
71819         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
71820         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
71821         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
71822         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
71823         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
71824         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
71825         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
71826         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
71827         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
71828         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
71829         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
71830         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
71831         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
71832         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
71833         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
71834         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
71835         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
71836         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
71837         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
71838         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
71839         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
71840         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
71841         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
71842         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
71843         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
71844         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
71845         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
71846         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
71847         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
71848         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
71849         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
71850         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
71851         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
71852         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
71853         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
71854         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
71855         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
71856         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
71857         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
71858         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
71859         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
71860         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
71861         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
71862         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
71863         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
71864         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
71865         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
71866         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
71867         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
71868         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
71869         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
71870         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
71871         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
71872         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
71873         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
71874         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
71875         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
71876         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
71877         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
71878         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
71879         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
71880         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
71881         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
71882         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
71883         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
71884         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
71885         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
71886         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
71888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71889         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
71891         [BZ #14914]
71892         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
71893         whole low double instead of just low 47 bits when splitting values
71894         into two parts.
71896 2012-12-03  Allan McRae  <allan@archlinux.org>
71898         * manual/stdio.texi (Predefined Printf Handlers): Remove
71899         @hsep and @vsep usage.
71901 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
71903         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
71904         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
71906 2012-12-03  Jeff Law  <law@redhat.com>
71908         * time/sys/time.h (settimeofday): Do not mark TV argument
71909         as __nonnull.
71911 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
71913         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
71914         when currently writing and seek to current position when not.
71915         * libio/Makefile (tests): Remove bug-fclose1.
71916         * libio/bug-fclose1.c: Delete.
71918 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
71920         * manual/arith.texi (feenableexcept): Fix typo.
71921         (fedisableexcept): Likewise.
71923 2012-11-30  Roland McGrath  <roland@hack.frob.com>
71925         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
71926         second, differently-typed declaration, rather than a cast.
71928 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71930         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
71931         * include/rpc/svc.h: ... here.
71933 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
71935         [BZ #13013]
71936         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
71937         depending n and resplen2 to catch cases where answer
71938         equals answerp2.
71940 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
71942         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
71943         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
71945 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
71947         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
71949 2012-11-29  Roland McGrath  <roland@hack.frob.com>
71951         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
71953 2012-11-28  Jeff Law  <law@redhat.com>
71955         [BZ #13761]
71956         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
71957         dataset_temporary.  Track alloca usage into alloca_used.
71958         If dataset is large allocate and release it via malloc/free.
71960 2012-06-04  Florian Weimer  <fweimer@redhat.com>
71962         [BZ #14197]
71963         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
71965 2012-11-28  David S. Miller  <davem@davemloft.net>
71967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71969 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71971         [BZ #14803]
71972         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
71973         of pi/2 rounded to nearest to 64 bits.
71974         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
71975         nearest to 64 bits.
71976         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
71977         bits.
71979 2012-11-28  Jeff Law <law@redhat.com>
71980             Martin Osvald <mosvald@redhat.com>
71982         [BZ #14889]
71983         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
71984         * sunrpc/svc.c: Include time.h.
71985         (__svc_accept_failed): New function.
71986         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
71987         any reason other than EINTR, call __svc_accept_failed.
71988         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
71989         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
71991 2012-11-28  Andreas Schwab  <schwab@suse.de>
71993         * scripts/abilist.awk: Also handle indirect functions in .opd
71994         section.
71996 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
71998         [BZ #13881]
71999         * sysdeps/x86/fpu/powl_helper.c: New file.
72000         * sysdeps/x86/fpu/Makefile: Likewise.
72001         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
72002         (p3): New object.
72003         (__ieee754_powl): Use __powl_helper for finite arguments except
72004         integer exponents below 8.
72005         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
72006         (p3): New object.
72007         (__ieee754_powl): Use __powl_helper for finite arguments except
72008         integer exponents below 8.
72009         * math/libm-test.inc (pow_test): Add more tests and enable some
72010         previously disabled tests.
72011         * sysdeps/i386/fpu/libm-test-ulps: Update.
72012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72014 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72015             Carlos O'Donell  <carlos_odonell@mentor.com>
72017         * nss/makedb.c (is_prime): Assert that input is odd and greater
72018         than 4.  Note that fact in a comment too.
72019         (next_prime): Add 4 to input.
72021 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72023         [BZ #11741]
72024         * libio/Makefile (tests): Add test case tst-fwrite-error.
72025         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72026         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72027         * libio/tst-fwrite-error.c: New test case.
72029 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
72031         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72032         before casting to void *.
72033         * include/libc-internal.h (__pointer_type): New macro.
72034         (__integer_if_pointer_type_sub): Likewise.
72035         (__integer_if_pointer_type): Likewise.
72036         (cast_to_integer): Likewise.
72037         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72038         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72039         before casting to atomic64_t.
72040         (atomic_exchange_acq): Likewise.
72041         (__arch_exchange_and_add_body): Likewise.
72042         (__arch_add_body): Likewise.
72043         (atomic_add_negative): Likewise.
72044         (atomic_add_zero): Likewise.
72046 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
72048         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72049         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72050         (add_fdes): Likewise.
72051         (linear_search_fdes): Likewise.
72052         (binary_search_unencoded_fdes): Likewise.
72054 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
72056         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72058 2012-11-24  Adam Conrad  <adconrad@0c3.net>
72060         * configure.in: Autodetect C++ header directories.
72061         * configure: Regenerated.
72063 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
72065         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
72067 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
72069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72071 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
72073         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
72074         LDBL_MANT_DIG == 106]: Disable some tests.
72075         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72076         Likewise.
72077         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
72078         Likewise.
72080         [BZ #14871]
72081         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
72082         input for small inputs.  Return +/- pi/2 for large inputs.
72083         * math/libm-test.inc (atan_test): Add more tests.
72085         * sysdeps/generic/unwind-dw2-fde-glibc.c
72086         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
72087         __attribute__ ((unused)).
72089         [BZ #14645]
72090         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
72091         x * y if x and y are nonzero and z is zero.
72093         [BZ #14811]
72094         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
72095         nonzero exponents with absolute value below 0x1p-117 to +/-
72096         0x1p-117.
72098         [BZ #14869]
72099         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
72100         up arguments below 2**-450, not just those below 2**-500.
72101         * math/libm-test.inc (hypot_test): Add another test.
72103         [BZ #14868]
72104         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
72105         Return a+b for ratio over 2**120, not 2**60.
72106         * math/libm-test.inc (hypot_test): Add another test.
72108         * math/libm-test.inc (clog_test): Use
72109         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
72110         (clog10_test): Likewise.
72112         [BZ #6778]
72113         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
72115 2012-11-22  Andreas Schwab  <schwab@suse.de>
72117         * sysdeps/i386/fpu/libm-test-ulps: Update.
72119 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
72121         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
72122         printf output with newline.
72124 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
72126         [BZ #14865]
72127         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
72128         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
72129         -z nodlopen, -z initfirst and -z execstack support.
72130         * configure: Regenerated.
72132         * elf/elf.h (DF_1_NODIRECT): New macro.
72133         (DF_1_IGNMULDEF): Likewise.
72134         (DF_1_NOKSYMS): Likewise.
72135         (DF_1_NOHDR): Likewise.
72136         (DF_1_EDITED): Likewise.
72137         (DF_1_NORELOC): Likewise.
72138         (DF_1_SYMINTPOSE): Likewise.
72139         (DF_1_GLOBAUDIT): Likewise.
72140         (DF_1_SINGLETON): Likewise.
72141         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
72142         DT_1_SUPPORTED_MASK bits.
72143         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
72145 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
72147         * sysdeps/unix/make-syscalls.sh: Document prefixes.
72149 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
72151         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
72152         macro.
72154         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
72155         (sendmmsg): Move declarations...
72156         * socket/sys/socket.h: ... here.
72157         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
72158         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
72159         include it from...
72160         * socket/recvmmsg.c: ... this new file.
72161         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
72162         (sendmmsg): Rename to __sendmmsg, create weak alias and make
72163         definition of __sendmmsg hidden.
72164         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
72165         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
72166         Move ENOSYS stub into and include it from...
72167         * socket/sendmmsg.c: ... this new file.
72168         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
72169         (sysdep_routines): Move recvmmsg and sendmmsg...
72170         * socket/Makefile (routines): ... here.
72171         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
72172         (GLIBC_PRIVATE): Add __sendmmsg.
72173         * include/sys/socket.h (__sendmmsg): Add declarations.
72174         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
72175         sendmmsg.
72177 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
72179         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
72180         variable I1 with __attribute__ ((unused)).
72181         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72183 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72185         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
72186         DUMMY variables with __attribute__ ((unused)).
72188         * bits/byteswap.h: Include <bits/types.h>.
72189         (__bswap_64): Use __uint64_t instead of unsigned long long int.
72191 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72193         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
72194         string_t.  Do not manually set errno.
72195         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
72196         length with __strnlen.  Make sure to both set errno and return it on
72197         failure.
72199 2012-11-19  David S. Miller  <davem@davemloft.net>
72201         With help from Joseph Myers.
72202         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
72203         very large arguments properly.
72204         * math/libm-test.inc (atan_test): New tests.
72205         (atan2_test): New tests.
72206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72209 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
72211         [BZ #14856]
72212         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
72213         Define to 3.
72215         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
72216         [POSIX] (EADDRNOTAVAIL): Likewise.
72217         [POSIX] (EAFNOSUPPORT): Likewise.
72218         [POSIX] (EALREADY): Likewise.
72219         [POSIX] (ECONNABORTED): Likewise.
72220         [POSIX] (ECONNREFUSED): Likewise.
72221         [POSIX] (ECONNRESET): Likewise.
72222         [POSIX] (EDESTADDRREQ): Likewise.
72223         [POSIX] (EDQUOT): Likewise.
72224         [POSIX] (EHOSTUNREACH): Likewise.
72225         [POSIX] (EIDRM): Likewise.
72226         [POSIX] (EISCONN): Likewise.
72227         [POSIX] (ELOOP): Likewise.
72228         [POSIX] (EMULTIHOP): Likewise.
72229         [POSIX] (ENETDOWN): Likewise.
72230         [POSIX] (ENETUNREACH): Likewise.
72231         [POSIX] (ENOBUFS): Likewise.
72232         [POSIX] (ENODATA): Likewise.
72233         [POSIX] (ENOLINK): Likewise.
72234         [POSIX] (ENOMSG): Likewise.
72235         [POSIX] (ENOPROTOOPT): Likewise.
72236         [POSIX] (ENOSR): Likewise.
72237         [POSIX] (ENOSTR): Likewise.
72238         [POSIX] (ENOTCONN): Likewise.
72239         [POSIX] (ENOTSOCK): Likewise.
72240         [POSIX] (EOPNOTSUPP): Likewise.
72241         [POSIX] (EOVERFLOW): Likewise.
72242         [POSIX] (EPROTO): Likewise.
72243         [POSIX] (EPROTONOSUPPORT): Likewise.
72244         [POSIX] (EPROTOTYPE): Likewise.
72245         [POSIX] (ESTALE): Likewise.
72246         [POSIX] (ETIME): Likewise.
72247         [POSIX] (ETXTBSY): Likewise.
72248         [POSIX] (EWOULDBLOCK): Likewise.
72249         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
72250         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
72251         [POSIX] (SEEK_CUR): Likewise.
72252         [POSIX] (SEEK_END): Likewise.
72253         [POSIX || UNIX98] (mode_t): Do not require.
72254         [POSIX] (off_t): Likewise.
72255         [POSIX] (pid_t): Likewise.
72256         [POSIX] (sys/stat.h): Do not allow header.
72257         [POSIX] (unistd.h): Likewise.
72258         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
72259         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
72260         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
72261         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
72262         require.
72263         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
72264         sigevent): Specify elements.
72265         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
72266         entry.
72267         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
72268         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
72270         * conform/data/cpio.h-data [POSIX]: Disable whole file.
72271         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
72272         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
72273         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
72274         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
72275         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
72276         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
72277         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
72278         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
72279         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
72280         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
72281         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
72282         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
72283         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
72284         Likewise.
72285         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
72286         Likewise.
72287         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
72288         Likewise.
72289         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
72290         Likewise.
72291         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
72292         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
72293         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
72294         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
72295         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
72296         Specify lower bound on value.
72297         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
72298         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
72299         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
72300         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
72301         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
72302         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
72303         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
72304         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
72305         value.
72306         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
72307         as optional.
72308         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
72309         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
72310         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
72311         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
72312         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
72313         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
72314         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
72315         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
72316         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
72317         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
72318         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
72319         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
72320         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
72321         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
72322         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
72323         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
72324         entry.
72325         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
72326         optional.
72327         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
72328         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
72329         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
72330         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
72331         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
72332         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
72333         Likewise.
72334         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
72335         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
72336         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
72337         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
72338         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
72339         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
72340         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
72341         as optional.
72342         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
72343         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
72344         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
72345         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
72346         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
72347         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
72348         specify as optional.
72349         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
72350         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
72351         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
72352         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
72353         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
72354         [XPG3] (NL_LANGMAX): Likewise.
72355         [POSIX || XPG3] (NL_MSGMAX): Likewise.
72356         [POSIX || XPG3] (NL_NMAX): Likewise.
72357         [POSIX || XPG3] (NL_SETMAX): Likewise.
72358         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
72359         [XPG3] (NZERO): Likewise.
72360         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
72361         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
72362         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
72363         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
72364         (REG_ERANGE): Expect.
72365         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
72366         optional-constant.
72367         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
72368         Use (void) in prototype.
72369         [POSIX] (*_t): Allow.
72370         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
72371         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
72372         (WRDE_BADVAL): Expect.
72374         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
72375         expect.
72376         [XPG3 || XPG4] (O_RSYNC): Likewise.
72377         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
72378         Likewise.
72379         [XPG3 || XPG4] (pthread_sigmask): Likewise.
72380         [XPG3 || XPG4] (sigqueue): Likewise.
72381         [XPG3 || XPG4] (sigtimedwait): Likewise.
72382         [XPG3 || XPG4] (sigwaitinfo): Likewise.
72383         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
72384         [XPG3 || XPG4] (vsnprintf): Likewise.
72385         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
72386         Likewise.
72387         [XPG3 || XPG4] (blksize_t): Likewise.
72388         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
72389         Likewise.
72390         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
72391         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
72392         [XPG3 || XPG4] (struct itimerspec): Likewise.
72393         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
72394         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
72395         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
72396         [XPG3 || XPG4] (clockid_t): Likewise.
72397         [XPG3 || XPG4] (timer_t): Likewise.
72398         [XPG3 || XPG4] (clock_getres): Likewise.
72399         [XPG3 || XPG4] (clock_gettime): Likewise.
72400         [XPG3 || XPG4] (clock_settime): Likewise.
72401         [XPG3 || XPG4] (nanosleep): Likewise.
72402         [XPG3 || XPG4] (timer_create): Likewise.
72403         [XPG3 || XPG4] (timer_delete): Likewise.
72404         [XPG3 || XPG4] (timer_gettime): Likewise.
72405         [XPG3 || XPG4] (timer_getoverrun): Likewise.
72406         [XPG3 || XPG4] (timer_settime): Likewise.
72407         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
72408         [XPG3 || XPG4] (getlogin_r): Likewise.
72409         [XPG3 || XPG4] (pread): Likewise.
72410         [XPG3 || XPG4] (pthread_atfork): Likewise.
72411         [XPG3 || XPG4] (pwrite): Likewise.
72413         [BZ #14835]
72414         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
72415         <bits/siginfo.h>.
72417 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
72419         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
72420         finalizing MALLSTREAM.
72422         * sysdeps/mach/hurd/syncfs.c: New file.
72424 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
72426         [BZ #14719]
72427         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
72428         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
72429         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
72430         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
72431         (_nss_dns_gethostbyname4_r): Likewise.
72432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
72433         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
72435 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
72437         [BZ #13763]
72438         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
72440 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
72442         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
72443         * elf/cache.c (print_entry): Print ",AArch64" for
72444         FLAG_AARCH64_LIB64
72446         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
72447         * elf/cache.c (print_entry): Print ",hard-float" for
72448         FLAG_ARM_LIBHF.
72450 2012-11-18  David S. Miller  <davem@davemloft.net>
72452         With help from Joseph Myers.
72453         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
72454         cutoff to 2**-13.
72455         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
72456         cutoff to 2**-25.
72457         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
72458         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
72459         small.
72460         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
72461         * math/libm-test.inc (y0_test): New tests.
72462         (y1_test): New tests.
72463         * sysdeps/i386/fpu/libm-test-ulps: Update.
72464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72467 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
72469         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
72470         64-bit targets.
72471         * configure: Regenerated.
72473 2012-11-17  David S. Miller  <davem@davemloft.net>
72475         [BZ #14811]
72476         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
72477         nonzero exponents with absolute value below 0x1p-128 to +/-
72478         0x1p-128.
72480 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
72482         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
72484         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
72486         * posix/getconf-speclist.c: New file.
72487         * posix/posix-envs.def: Likewise.
72488         * posix/confstr.c (START_ENV_GROUP): New macro.
72489         (END_ENV_GROUP): Likewise.
72490         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72491         (KNOWN_PRESENT_ENV_STRING): Likewise.
72492         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72493         (UNKNOWN_ENVIRONMENT): Likewise.
72494         (confstr): Include posix-envs.def instead of handling
72495         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
72496         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
72497         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
72498         (END_ENV_GROUP): Likewise.
72499         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
72500         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
72501         (UNKNOWN_ENVIRONMENT): Likewise.
72502         (__sysconf): Include posix-envs.def instead of handling associated
72503         cases directly here.
72504         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
72505         preprocessing getconf-speclist.c rather than running getconf or
72506         generating empty file.
72508 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
72510         * scripts/check-local-headers.sh: Ignore 'mach' headers.
72512 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
72514         [BZ #14672]
72515         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
72517 2012-11-16  David S. Miller  <davem@davemloft.net>
72519         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
72520         smaller than LDBL_EPSILON/2.0L, just return xm1.
72522 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
72524         * elf/tst-array1.c (init): Set constructor priority to 1000.
72525         (fini): Set destructor priority to 1000.
72526         * elf/tst-array2dep.c: Likewise.
72528 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72530         [BZ #11741]
72531         * libio/fileops.c (_IO_new_file_write): Correctly return error.
72532         (_IO_new_file_xsputn): Also return EOF if none of the input
72533         data was written when overflow failed.
72534         * libio/iopadn.c (_IO_padn): Likewise.
72535         * libio/iowpadn.c (_IO_wpadn): Likewise.
72536         * stdio-common/tst-put-error.c: Add copyright notice.
72537         (do_test): Add case for printing padded string.
72538         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
72539         _IO_padn returned error.
72540         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
72541         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
72542         return EOF.
72544 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72546         * libio/libioP.h: Add comment note that the references to C++
72547         bits are now obsolete.
72549 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72551         * math/libm-test.inc (check_complex): Use asprintf.
72553 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
72555         * debug/pcprofiledump.c (print_version): Update copyright year.
72556         * malloc/memusagestat.c (print_version): Likewise.
72558 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
72560         [BZ #14831]
72561         * elf/Makefile (tests): Add tst-audit8.
72562         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
72563         ($(objpfx)tst-audit8.out): New target.
72564         (tst-audit8-ENV): New variable.
72565         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
72566         audit if l_reloc_result is NULL.
72567         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
72568         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
72569         * elf/tst-audit8.c: New file.
72571 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72573         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
72574         * misc/Makefile (CFLAGS-select.c): Define.
72575         * posix/Makefile (CFLAGS-pause.c): Define.
72577 2012-11-13  David S. Miller  <davem@davemloft.net>
72579         * crypt/Makefile: Move test targets after toplevel Rules
72580         inclusion.  Grab any necessary sysdep routines when linking.
72581         * crypt/md5.c (md5_process_block): Remove define, we will always
72582         name it __md5_process_block.
72583         (md5_finish_ctx): Update md5_process_block call.
72584         (md5_stream): Likewise.
72585         (md5_process_bytes): Likewise.
72586         (md5_process_block): Rename to __md5_process_block and move to ...
72587         * crypt/md5-block.c: ... here.
72588         * crypt/sha256.c (sha256_process_block): Move to ...
72589         * crypt/sha256-block.c: ... here.
72590         * crypt/sha512.c (sha512_process_block): Move to ...
72591         * crypt/sha512-block.c: ... here.
72592         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
72593         path.
72594         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
72595         * sysdeps/sparc/sparc64/multiarch/Makefile
72596         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
72597         crypt subdir.
72598         (localedef-aux): Add md5 crypto assembler when in locale subdir.
72599         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
72600         multiarch changes.
72601         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
72602         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
72603         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
72604         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
72605         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
72606         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
72607         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
72608         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
72609         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
72610         file.
72611         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
72612         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
72613         file.
72614         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
72616 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
72618         * timezone/tzselect.ksh: Update from tzcode git revision
72619         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
72620         * timezone/zdump.c: Likewise.
72621         * timezone/zic.c: Likewise.
72622         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
72623         in TZVERSION setting, not $(PKGVERSION).
72624         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
72625         REPORT_BUGS_TO settings.
72627         [BZ #14838]
72628         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
72629         macro.
72631 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72633         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
72634         detection to immediately after _FP_ROUND().
72635         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
72636         bits are 0.
72638 2012-11-11  David S. Miller  <davem@davemloft.net>
72640         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
72641         inttypes.h
72642         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
72643         __close rather than their public counterparts.
72645 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
72647         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
72648         file.
72649         [UNIX98] (sem_timedwait): Do not expect.
72650         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
72651         [XPG4 || UNIX98] (sockatmark): Do not expect.
72652         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
72653         (clock_getcpuclockid): Do not expect.
72654         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
72655         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
72656         Do not expect.
72657         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
72658         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
72659         [UNIX98] (vwscanf): Likewise.
72660         [UNIX98] (vswscanf): Likewise.
72662 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
72664         * timezone/version.h: Remove file.
72665         * timezone/README: Do not refer to version.h.
72666         * timezone/Makefile ($(objpfx)zic.o): New dependency on
72667         $(objpfx)version.h.
72668         ($(objpfx)zdump.o): Likewise.
72669         ($(objpfx)version.h): New target.
72671         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
72672         2012i.
72673         * timezone/README: Don't mention modification to tzselect.ksh.
72674         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
72675         work on unmodified tzselect.ksh.  Substitute version numbers in
72676         tzselect.ksh.
72678         * Makefile (format-me): Remove.
72679         (INSTALL): Adjust indentation.  Use commands directly instead of
72680         using $(format-me).
72682         * aclocal.m4 (ACX_PKGVERSION): New macro.
72683         (ACX_BUGURL): Likewise.
72684         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
72685         (PKGVERSION): New AC_DEFINE_UNQUOTED.
72686         (REPORT_BUGS_TO): Likewise.
72687         * configure: Regenerated.
72688         * config.h.in (PKGVERSION): New macro.
72689         (REPORT_BUGS_TO): Likewise.
72690         * config.make.in (PKGVERSION): New variable.
72691         (PKGVERSION_TEXI): Likewise.
72692         (REPORT_BUGS_TO): Likewise.
72693         (REPORT_BUGS_TEXI): Likewise.
72694         * Makefile (format-me): Use -I$(common-objpfx)manual.
72695         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
72696         ($(common-objpfx)manual/%): New target.
72697         (manual/%): Remove target.
72698         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
72699         (print_version): Use PKGVERSION.
72700         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
72701         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
72702         and REPORT_BUGS_TO.
72703         ($(objpfx)xtrace): Likewise.
72704         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
72705         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
72706         (print_version): Use PKGVERSION.
72707         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
72708         (do_version): Use PKGVERSION.
72709         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
72710         REPORT_BUGS_TO.
72711         (common-ldd-rewrite): Likewise.
72712         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
72713         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
72714         (print_version): Use PKGVERSION.
72715         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
72716         * elf/pldd.c (argp_program_bug_address): Remove variable.
72717         (more_help): New function.
72718         (argp): Use more_help.
72719         (print_version): Use PKGVERSION.
72720         * elf/sln.c (main): Use PKGVERSION.
72721         (usage): Use REPORT_BUGS_TO.
72722         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
72723         (top level): Use PKGVERSION.
72724         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
72725         (print_version): Use PKGVERSION.
72726         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
72727         (print_version): Use PKGVERSION.
72728         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
72729         (print_version): Use PKGVERSION.
72730         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
72731         (print_version): Use PKGVERSION.
72732         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
72733         (print_version): Use PKGVERSION.
72734         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
72735         (print_version): Use PKGVERSION.
72736         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
72737         and BUGURL.
72738         ($(objpfx)memusage): Likewise.
72739         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
72740         (do_version): Use PKGVERSION.
72741         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
72742         (print_version): Use PKGVERSION.
72743         * malloc/mtrace.pl ($PACKAGE): Remove variable.
72744         ($PKGVERSION): New variable.
72745         ($REPORT_BUGS_TO): Likewise.
72746         (usage): Use $REPORT_BUGS_TO.
72747         (top level): Use $PKGVERSION.
72748         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
72749         ($(objpfx)pkgvers.texi): New rule.
72750         ($(objpfx)stamp-pkgvers): Likewise.
72751         * manual/install.texi: Include pkgvers.texi.
72752         (--with-pkgversion): Document new configure option.
72753         (--with-bugurl): Likewise.
72754         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
72755         than necessarily for this particular distribution.  Use
72756         REPORT_BUGS_TO for where to report bugs.
72757         * INSTALL: Regenerated.
72758         * manual/libc.texinfo: Include pkgvers.texi.
72759         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
72760         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
72761         (print_version): Use PKGVERSION.
72762         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
72763         (print_version): Use PKGVERSION.
72764         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
72765         (print_version): Use PKGVERSION.
72766         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
72767         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
72768         macro.
72769         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
72770         (print_version): Use PKGVERSION.
72771         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
72772         (print_version): Use PKGVERSION.
72773         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
72774         and PKGVERSION.
72776         * timezone/checktab.awk: Update from tzcode 2012i.
72777         * timezone/ialloc.c: Likewise.
72778         * timezone/private.h: Likewise.
72779         * timezone/scheck.c: Likewise.
72780         * timezone/tzfile.h: Likewise.
72781         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
72782         (TZVERSION): Hardcode tzcode version number.
72783         * timezone/zdump.c: Update from tzcode 2012i.
72784         * timezone/zic.c: Likewise.
72785         * timezone/version.h: New file.
72786         * timezone/README: Describe version.h.  Update upstream location.
72788         [BZ #14824]
72789         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
72790         (mktemp): Enable declaration.
72791         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
72792         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
72793         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
72794         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
72795         Likewise.
72796         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
72797         Likewise.
72798         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
72799         Likewise.
72800         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
72801         Likewise.
72802         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
72803         Likewise.
72804         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
72805         Likewise.
72807         [BZ #14821]
72808         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
72809         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
72810         for copies of such integer values.
72811         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
72812         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
72814 2012-11-09  Andreas Jaeger  <aj@suse.de>
72816         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
72817         definitions and declarations that are provided by
72818         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72820 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72822         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
72823         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
72824         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
72825         definition.
72827 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72829         * elf/elf.h: Update comment before AArch64 relocations.
72831 2012-11-07  David S. Miller  <davem@davemloft.net>
72833         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
72834         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72835         (__start_context): Declare.
72836         (__makecontext_ret): Delete.
72837         (__makecontext): Hook up __start_context instead of
72838         __makecontext_ret.
72839         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
72840         (sysdep_routines): Add __start_context when in stdlib.
72842 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72844         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
72845         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
72846         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
72847         hardcoded "nm".
72848         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
72849         (READELF): New variable.  Use it instead of hardcoded "readelf".
72851 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72853         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
72854         * sysdeps/x86/Makefile: Here.
72855         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
72856         * sysdeps/x86/tst-xmmymm.sh: This.
72858 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
72860         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
72861         expectations.
72862         [UNIX98] (pthread_barrier_t): Do not expect.
72863         [UNIX98] (pthread_barrierattr_t): Likewise.
72864         [UNIX98] (pthread_spinlock_t): Likewise.
72865         [UNIX98] (pthread_barrier_destroy): Likewise.
72866         [UNIX98] (pthread_barrier_init): Likewise.
72867         [UNIX98] (pthread_barrier_wait): Likewise.
72868         [UNIX98] (pthread_barrierattr_destroy): Likewise.
72869         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
72870         [UNIX98] (pthread_barrierattr_init): Likewise.
72871         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
72872         [UNIX98] (pthread_getcpuclockid): Likewise.
72873         [UNIX98] (pthread_mutex_timedlock): Likewise.
72874         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
72875         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
72876         [UNIX98] (pthread_sigmask): Likewise.
72877         [UNIX98] (pthread_spin_destroy): Likewise.
72878         [UNIX98] (pthread_spin_init): Likewise.
72879         [UNIX98] (pthread_spin_lock): Likewise.
72880         [UNIX98] (pthread_spin_trylock): Likewise.
72881         [UNIX98] (pthread_spin_unlock): Likewise.
72882         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
72883         Do not expect.
72884         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
72885         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
72886         [XPG3 || XPG4] (pthread_cond_t): Likewise.
72887         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
72888         [XPG3 || XPG4] (pthread_key_t): Likewise.
72889         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
72890         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
72891         [XPG3 || XPG4] (pthread_once_t): Likewise.
72892         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
72893         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
72894         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
72895         [XPG3 || XPG4] (pthread_t): Likewise.
72897         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
72898         not expect.
72899         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
72901         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
72902         Change function return type to int.
72904         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
72905         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
72906         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
72907         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
72908         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
72909         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
72910         [!POSIX] (posix_madvise): Likewise.
72911         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
72912         && !UNIX98].
72913         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
72914         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
72915         (mode_t): Likewise.
72916         (posix_mem_offset): Likewise.
72917         (posix_typed_mem_get_info): Likewise.
72918         (posix_typed_mem_open): Likewise.
72920         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
72921         Change condition to [XOPEN2K8].
72923         * conform/conformtest.pl: Preprocess allow-header data with -x c
72924         instead of from stdin.
72925         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
72926         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
72927         [C99-based standards] (cerfc): Likewise.
72928         [C99-based standards] (cexp2): Likewise.
72929         [C99-based standards] (cexpm1): Likewise.
72930         [C99-based standards] (clog10): Likewise.
72931         [C99-based standards] (clog1p): Likewise.
72932         [C99-based standards] (clog2): Likewise.
72933         [C99-based standards] (clgamma): Likewise.
72934         [C99-based standards] (ctgamma): Likewise.
72935         [C99-based standards] (cerff): Likewise.
72936         [C99-based standards] (cerfcf): Likewise.
72937         [C99-based standards] (cexp2f): Likewise.
72938         [C99-based standards] (cexpm1f): Likewise.
72939         [C99-based standards] (clog10f): Likewise.
72940         [C99-based standards] (clog1pf): Likewise.
72941         [C99-based standards] (clog2f): Likewise.
72942         [C99-based standards] (clgammaf): Likewise.
72943         [C99-based standards] (ctgammaf): Likewise.
72944         [C99-based standards] (cerfl): Likewise.
72945         [C99-based standards] (cerfcl): Likewise.
72946         [C99-based standards] (cexp2l): Likewise.
72947         [C99-based standards] (cexpm1l): Likewise.
72948         [C99-based standards] (clog10l): Likewise.
72949         [C99-based standards] (clog1pl): Likewise.
72950         [C99-based standards] (clog2l): Likewise.
72951         [C99-based standards] (clgammal): Likewise.
72952         [C99-based standards] (ctgammal): Likewise.
72953         * conform/data/inttypes.h-data [C99-based standards]: Include
72954         stdint.h-data.  Remove all expectations for stdint.h contents.
72955         [C99-based standards] (PRI*): Do not allow.
72956         [C99-based standards] (SCN*): Likewise.
72957         [C99-based standards] (*_t): Likewise.
72958         [C99-based-standards] (PRId8): Expect macro.
72959         [C99-based-standards] (PRIi8): Likewise.
72960         [C99-based-standards] (PRIo8): Likewise.
72961         [C99-based-standards] (PRIu8): Likewise.
72962         [C99-based-standards] (PRIx8): Likewise.
72963         [C99-based-standards] (PRIX8): Likewise.
72964         [C99-based-standards] (SCNd8): Likewise.
72965         [C99-based-standards] (SCNi8): Likewise.
72966         [C99-based-standards] (SCNo8): Likewise.
72967         [C99-based-standards] (SCNu8): Likewise.
72968         [C99-based-standards] (SCNx8): Likewise.
72969         [C99-based-standards] (PRIdLEAST8): Likewise.
72970         [C99-based-standards] (PRIiLEAST8): Likewise.
72971         [C99-based-standards] (PRIoLEAST8): Likewise.
72972         [C99-based-standards] (PRIuLEAST8): Likewise.
72973         [C99-based-standards] (PRIxLEAST8): Likewise.
72974         [C99-based-standards] (PRIXLEAST8): Likewise.
72975         [C99-based-standards] (SCNdLEAST8): Likewise.
72976         [C99-based-standards] (SCNiLEAST8): Likewise.
72977         [C99-based-standards] (SCNoLEAST8): Likewise.
72978         [C99-based-standards] (SCNuLEAST8): Likewise.
72979         [C99-based-standards] (SCNxLEAST8): Likewise.
72980         [C99-based-standards] (PRIdFAST8): Likewise.
72981         [C99-based-standards] (PRIiFAST8): Likewise.
72982         [C99-based-standards] (PRIoFAST8): Likewise.
72983         [C99-based-standards] (PRIuFAST8): Likewise.
72984         [C99-based-standards] (PRIxFAST8): Likewise.
72985         [C99-based-standards] (PRIXFAST8): Likewise.
72986         [C99-based-standards] (SCNdFAST8): Likewise.
72987         [C99-based-standards] (SCNiFAST8): Likewise.
72988         [C99-based-standards] (SCNoFAST8): Likewise.
72989         [C99-based-standards] (SCNuFAST8): Likewise.
72990         [C99-based-standards] (SCNxFAST8): Likewise.
72991         [C99-based-standards] (PRId16): Likewise.
72992         [C99-based-standards] (PRIi16): Likewise.
72993         [C99-based-standards] (PRIo16): Likewise.
72994         [C99-based-standards] (PRIu16): Likewise.
72995         [C99-based-standards] (PRIx16): Likewise.
72996         [C99-based-standards] (PRIX16): Likewise.
72997         [C99-based-standards] (SCNd16): Likewise.
72998         [C99-based-standards] (SCNi16): Likewise.
72999         [C99-based-standards] (SCNo16): Likewise.
73000         [C99-based-standards] (SCNu16): Likewise.
73001         [C99-based-standards] (SCNx16): Likewise.
73002         [C99-based-standards] (PRIdLEAST16): Likewise.
73003         [C99-based-standards] (PRIiLEAST16): Likewise.
73004         [C99-based-standards] (PRIoLEAST16): Likewise.
73005         [C99-based-standards] (PRIuLEAST16): Likewise.
73006         [C99-based-standards] (PRIxLEAST16): Likewise.
73007         [C99-based-standards] (PRIXLEAST16): Likewise.
73008         [C99-based-standards] (SCNdLEAST16): Likewise.
73009         [C99-based-standards] (SCNiLEAST16): Likewise.
73010         [C99-based-standards] (SCNoLEAST16): Likewise.
73011         [C99-based-standards] (SCNuLEAST16): Likewise.
73012         [C99-based-standards] (SCNxLEAST16): Likewise.
73013         [C99-based-standards] (PRIdFAST16): Likewise.
73014         [C99-based-standards] (PRIiFAST16): Likewise.
73015         [C99-based-standards] (PRIoFAST16): Likewise.
73016         [C99-based-standards] (PRIuFAST16): Likewise.
73017         [C99-based-standards] (PRIxFAST16): Likewise.
73018         [C99-based-standards] (PRIXFAST16): Likewise.
73019         [C99-based-standards] (SCNdFAST16): Likewise.
73020         [C99-based-standards] (SCNiFAST16): Likewise.
73021         [C99-based-standards] (SCNoFAST16): Likewise.
73022         [C99-based-standards] (SCNuFAST16): Likewise.
73023         [C99-based-standards] (SCNxFAST16): Likewise.
73024         [C99-based-standards] (PRId32): Likewise.
73025         [C99-based-standards] (PRIi32): Likewise.
73026         [C99-based-standards] (PRIo32): Likewise.
73027         [C99-based-standards] (PRIu32): Likewise.
73028         [C99-based-standards] (PRIx32): Likewise.
73029         [C99-based-standards] (PRIX32): Likewise.
73030         [C99-based-standards] (SCNd32): Likewise.
73031         [C99-based-standards] (SCNi32): Likewise.
73032         [C99-based-standards] (SCNo32): Likewise.
73033         [C99-based-standards] (SCNu32): Likewise.
73034         [C99-based-standards] (SCNx32): Likewise.
73035         [C99-based-standards] (PRIdLEAST32): Likewise.
73036         [C99-based-standards] (PRIiLEAST32): Likewise.
73037         [C99-based-standards] (PRIoLEAST32): Likewise.
73038         [C99-based-standards] (PRIuLEAST32): Likewise.
73039         [C99-based-standards] (PRIxLEAST32): Likewise.
73040         [C99-based-standards] (PRIXLEAST32): Likewise.
73041         [C99-based-standards] (SCNdLEAST32): Likewise.
73042         [C99-based-standards] (SCNiLEAST32): Likewise.
73043         [C99-based-standards] (SCNoLEAST32): Likewise.
73044         [C99-based-standards] (SCNuLEAST32): Likewise.
73045         [C99-based-standards] (SCNxLEAST32): Likewise.
73046         [C99-based-standards] (PRIdFAST32): Likewise.
73047         [C99-based-standards] (PRIiFAST32): Likewise.
73048         [C99-based-standards] (PRIoFAST32): Likewise.
73049         [C99-based-standards] (PRIuFAST32): Likewise.
73050         [C99-based-standards] (PRIxFAST32): Likewise.
73051         [C99-based-standards] (PRIXFAST32): Likewise.
73052         [C99-based-standards] (SCNdFAST32): Likewise.
73053         [C99-based-standards] (SCNiFAST32): Likewise.
73054         [C99-based-standards] (SCNoFAST32): Likewise.
73055         [C99-based-standards] (SCNuFAST32): Likewise.
73056         [C99-based-standards] (SCNxFAST32): Likewise.
73057         [C99-based-standards] (PRId64): Likewise.
73058         [C99-based-standards] (PRIi64): Likewise.
73059         [C99-based-standards] (PRIo64): Likewise.
73060         [C99-based-standards] (PRIu64): Likewise.
73061         [C99-based-standards] (PRIx64): Likewise.
73062         [C99-based-standards] (PRIX64): Likewise.
73063         [C99-based-standards] (SCNd64): Likewise.
73064         [C99-based-standards] (SCNi64): Likewise.
73065         [C99-based-standards] (SCNo64): Likewise.
73066         [C99-based-standards] (SCNu64): Likewise.
73067         [C99-based-standards] (SCNx64): Likewise.
73068         [C99-based-standards] (PRIdLEAST64): Likewise.
73069         [C99-based-standards] (PRIiLEAST64): Likewise.
73070         [C99-based-standards] (PRIoLEAST64): Likewise.
73071         [C99-based-standards] (PRIuLEAST64): Likewise.
73072         [C99-based-standards] (PRIxLEAST64): Likewise.
73073         [C99-based-standards] (PRIXLEAST64): Likewise.
73074         [C99-based-standards] (SCNdLEAST64): Likewise.
73075         [C99-based-standards] (SCNiLEAST64): Likewise.
73076         [C99-based-standards] (SCNoLEAST64): Likewise.
73077         [C99-based-standards] (SCNuLEAST64): Likewise.
73078         [C99-based-standards] (SCNxLEAST64): Likewise.
73079         [C99-based-standards] (PRIdFAST64): Likewise.
73080         [C99-based-standards] (PRIiFAST64): Likewise.
73081         [C99-based-standards] (PRIoFAST64): Likewise.
73082         [C99-based-standards] (PRIuFAST64): Likewise.
73083         [C99-based-standards] (PRIxFAST64): Likewise.
73084         [C99-based-standards] (PRIXFAST64): Likewise.
73085         [C99-based-standards] (SCNdFAST64): Likewise.
73086         [C99-based-standards] (SCNiFAST64): Likewise.
73087         [C99-based-standards] (SCNoFAST64): Likewise.
73088         [C99-based-standards] (SCNuFAST64): Likewise.
73089         [C99-based-standards] (SCNxFAST64): Likewise.
73090         [C99-based-standards] (PRIdMAX): Likewise.
73091         [C99-based-standards] (PRIiMAX): Likewise.
73092         [C99-based-standards] (PRIoMAX): Likewise.
73093         [C99-based-standards] (PRIuMAX): Likewise.
73094         [C99-based-standards] (PRIxMAX): Likewise.
73095         [C99-based-standards] (PRIXMAX): Likewise.
73096         [C99-based-standards] (SCNdMAX): Likewise.
73097         [C99-based-standards] (SCNiMAX): Likewise.
73098         [C99-based-standards] (SCNoMAX): Likewise.
73099         [C99-based-standards] (SCNuMAX): Likewise.
73100         [C99-based-standards] (SCNxMAX): Likewise.
73101         [C99-based-standards] (PRIdPTR): Likewise.
73102         [C99-based-standards] (PRIiPTR): Likewise.
73103         [C99-based-standards] (PRIoPTR): Likewise.
73104         [C99-based-standards] (PRIuPTR): Likewise.
73105         [C99-based-standards] (PRIxPTR): Likewise.
73106         [C99-based-standards] (PRIXPTR): Likewise.
73107         [C99-based-standards] (SCNdPTR): Likewise.
73108         [C99-based-standards] (SCNiPTR): Likewise.
73109         [C99-based-standards] (SCNoPTR): Likewise.
73110         [C99-based-standards] (SCNuPTR): Likewise.
73111         [C99-based-standards] (SCNxPTR): Likewise.
73112         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
73113         allow.
73114         * conform/data/stdint.h-data: Update comments to clarify
73115         requirements.
73116         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
73117         type.
73118         [C99-based standards] (INT8_MAX): Likewise.
73119         [C99-based standards] (INT16_MIN): Likewise.
73120         [C99-based standards] (INT16_MAX): Likewise.
73121         [C99-based standards] (INT32_MIN): Likewise.
73122         [C99-based standards] (INT32_MAX): Likewise.
73123         [C99-based standards] (INT64_MIN): Likewise.
73124         [C99-based standards] (INT64_MAX): Likewise.
73125         [C99-based standards] (UINT8_MAX): Likewise.
73126         [C99-based standards] (UINT16_MAX): Likewise.
73127         [C99-based standards] (UINT32_MAX): Likewise.
73128         [C99-based standards] (UINT64_MAX): Likewise.
73129         [C99-based standards] (INT_LEAST8_MIN): Likewise.
73130         [C99-based standards] (INT_LEAST8_MAX): Likewise.
73131         [C99-based standards] (INT_LEAST16_MIN): Likewise.
73132         [C99-based standards] (INT_LEAST16_MAX): Likewise.
73133         [C99-based standards] (INT_LEAST32_MIN): Likewise.
73134         [C99-based standards] (INT_LEAST32_MAX): Likewise.
73135         [C99-based standards] (INT_LEAST64_MIN): Likewise.
73136         [C99-based standards] (INT_LEAST64_MAX): Likewise.
73137         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
73138         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
73139         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
73140         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
73141         [C99-based standards] (INT_FAST8_MIN): Likewise.
73142         [C99-based standards] (INT_FAST8_MAX): Likewise.
73143         [C99-based standards] (INT_FAST16_MIN): Likewise.
73144         [C99-based standards] (INT_FAST16_MAX): Likewise.
73145         [C99-based standards] (INT_FAST32_MIN): Likewise.
73146         [C99-based standards] (INT_FAST32_MAX): Likewise.
73147         [C99-based standards] (INT_FAST64_MIN): Likewise.
73148         [C99-based standards] (INT_FAST64_MAX): Likewise.
73149         [C99-based standards] (UINT_FAST8_MAX): Likewise.
73150         [C99-based standards] (UINT_FAST16_MAX): Likewise.
73151         [C99-based standards] (UINT_FAST32_MAX): Likewise.
73152         [C99-based standards] (UINT_FAST64_MAX): Likewise.
73153         [C99-based standards] (INTPTR_MIN): Likewise.
73154         [C99-based standards] (INTPTR_MAX): Likewise.
73155         [C99-based standards] (UINTPTR_MAX): Likewise.
73156         [C99-based standards] (INTMAX_MIN): Likewise.
73157         [C99-based standards] (INTMAX_MAX): Likewise.
73158         [C99-based standards] (UINTMAX_MAX): Likewise.
73159         [C99-based standards] (PTRDIFF_MIN): Likewise.
73160         [C99-based standards] (PTRDIFF_MAX): Likewise.
73161         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
73162         [C99-based standards] (SIZE_MAX): Likewise.
73163         [C99-based standards] (WCHAR_MAX): Likewise.
73164         [C99-based standards] (WINT_MAX): Likewise.
73165         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
73166         constraint on value.
73167         [C99-based standards] (WCHAR_MIN): Likewise.
73168         [C99-based standards] (WINT_MIN): Likewise.
73169         [C99-based standards] (*_t): Allow.
73170         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
73171         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
73172         Include math.h-data and complex.h-data.  Remove all expectations
73173         of math.h and complex.h contents.
73174         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
73175         at end of line.
73176         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
73177         (struct tm): Expect tag.
73178         [C99-based-standards] (wcstof): Expect function.
73179         [C99-based-standards] (wcstold): Likewise.
73180         [C99-based-standards] (wcstoll): Likewise.
73181         [C99-based-standards] (wcstoull): Likewise.
73182         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
73183         macro-int-constant.  Specify type.
73184         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
73185         constraint on value.
73186         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73187         Specify type.
73188         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
73189         Specify value.
73190         [ISO C standards]: Do not allow headers.
73191         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
73192         wcs[abcdefghijklmnopqrstuvwxyz]*.
73193         [ISO C standards] (*_t): Do not allow.
73194         * conform/data/wctype.h-data [C99-based standards] (iswblank):
73195         Expect function.
73196         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
73197         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
73198         Specify type.
73199         [ISO C standards]: Do not allow headers.
73200         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
73201         is[abcdefghijklmnopqrstuvwxyz]*.
73202         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
73203         to[abcdefghijklmnopqrstuvwxyz]*.
73204         [ISO C standards] (*_t): Do not allow.
73205         * conform/data/stdalign.h-data: New file.
73206         * conform/data/stdbool.h-data: Likewise.
73207         * conform/data/stdnoreturn.h-data: Likewise.
73209 2012-11-07  Roland McGrath  <roland@hack.frob.com>
73211         [BZ #14815]
73212         * manual/filesys.texi (Directory Entries): Typo fix.
73213         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
73215 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73217         * elf/elf.h (EM_AARCH64): New macro.
73218         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
73219         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
73220         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
73221         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
73222         (R_AARCH64_TLSDESC): Likewise.
73223         (NT_ARM_TLS): Likewise.
73224         (NT_ARM_HW_BREAK): Likewise.
73225         (NT_ARM_HW_WATCH): Likewise.
73227 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73229         [BZ #14811]
73230         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
73231         (__ieee754_powl): Saturate nonzero exponents with absolute value
73232         below 0x1p-79 to +/- 0x1p-79.
73233         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
73234         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
73235         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
73236         nonzero exponents with absolute value below 0x1p-32 to +/-
73237         0x1p-32.
73238         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
73239         (__ieee754_powl): Saturate nonzero exponents with absolute value
73240         below 0x1p-79 to +/- 0x1p-79.
73241         * math/libm-test.inc (pow_test): Add more tests.
73243 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73245         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
73246         _dl_s390_cap_flags with kernel. Increase string length.
73247         (_dl_s390_platforms): Add z196 and zEC12.
73249 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73251         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
73252         Change XOPEN21K to XOPEN2K.
73254 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
73256         * string/memmove.c: Use memcpy when possible.
73258 2012-11-06  Andreas Jaeger  <aj@suse.de>
73260         * po/eo.po: Update from translation team.
73262 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
73264         [BZ #14793]
73265         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
73266         exponent and small x and y exponents, scale x or y up.  Increase
73267         by 2 the exponent used in scaling up.
73268         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73269         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73270         * math/libm-test.inc (fma_test): Add more tests.
73271         (fma_test_towardzero): Likewise.
73272         (fma_test_downward): Likewise.
73273         (fma_test_upward): Likewise.
73275 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
73277         [BZ #14805]
73278         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
73279         fenv_t *.
73281         [BZ #14801]
73282         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
73283         namespace for names of struct fields.
73284         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
73285         fenv_t fields.
73286         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
73287         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
73289 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73291         [BZ #3665]
73292         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
73294 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73296         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
73297         PTR_DEMANGLE.
73299         [BZ #5246]
73300         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
73301         PTR_DEMANGLE.
73303 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
73305         [BZ #14797]
73306         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
73307         definitely overflow as x * y not x * y + z.
73308         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73309         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73310         * math/libm-test.inc (fma_test): Add more tests.
73311         (fma_test_towardzero): Likewise.
73312         (fma_test_downward): Likewise.
73313         (fma_test_upward): Likewise.
73315 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
73317         [BZ #157]
73319         * include/stub-tag.h: Remove file.
73320         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
73321         '#include' of it.
73322         * manual/maint.texi (Porting): Don't reference it.
73323         * Makerules ($(objpfx)stubs): Likewise.
73324         * dirent/closedir.c: Don't include <stub-tag.h>.
73325         * dirent/dirfd.c: Likewise.
73326         * dirent/fdopendir.c: Likewise.
73327         * dirent/getdents.c: Likewise.
73328         * dirent/getdents64.c: Likewise.
73329         * dirent/opendir.c: Likewise.
73330         * dirent/readdir.c: Likewise.
73331         * dirent/readdir64.c: Likewise.
73332         * dirent/readdir64_r.c: Likewise.
73333         * dirent/readdir_r.c: Likewise.
73334         * dirent/rewinddir.c: Likewise.
73335         * dirent/seekdir.c: Likewise.
73336         * dirent/telldir.c: Likewise.
73337         * gmon/profil.c: Likewise.
73338         * grp/setgroups.c: Likewise.
73339         * inet/if_index.c: Likewise.
73340         * io/access.c: Likewise.
73341         * io/chdir.c: Likewise.
73342         * io/chmod.c: Likewise.
73343         * io/chown.c: Likewise.
73344         * io/close.c: Likewise.
73345         * io/dup.c: Likewise.
73346         * io/dup2.c: Likewise.
73347         * io/dup3.c: Likewise.
73348         * io/euidaccess.c: Likewise.
73349         * io/faccessat.c: Likewise.
73350         * io/fchdir.c: Likewise.
73351         * io/fchmod.c: Likewise.
73352         * io/fchmodat.c: Likewise.
73353         * io/fchown.c: Likewise.
73354         * io/fchownat.c: Likewise.
73355         * io/fcntl.c: Likewise.
73356         * io/flock.c: Likewise.
73357         * io/fstatfs.c: Likewise.
73358         * io/fstatfs64.c: Likewise.
73359         * io/fstatvfs.c: Likewise.
73360         * io/fstatvfs64.c: Likewise.
73361         * io/futimens.c: Likewise.
73362         * io/fxstat.c: Likewise.
73363         * io/fxstat64.c: Likewise.
73364         * io/fxstatat.c: Likewise.
73365         * io/fxstatat64.c: Likewise.
73366         * io/getcwd.c: Likewise.
73367         * io/isatty.c: Likewise.
73368         * io/lchmod.c: Likewise.
73369         * io/lchown.c: Likewise.
73370         * io/link.c: Likewise.
73371         * io/linkat.c: Likewise.
73372         * io/lseek.c: Likewise.
73373         * io/lseek64.c: Likewise.
73374         * io/lxstat64.c: Likewise.
73375         * io/mkdir.c: Likewise.
73376         * io/mkdirat.c: Likewise.
73377         * io/mkfifo.c: Likewise.
73378         * io/mkfifoat.c: Likewise.
73379         * io/open.c: Likewise.
73380         * io/open64.c: Likewise.
73381         * io/openat.c: Likewise.
73382         * io/openat64.c: Likewise.
73383         * io/pipe.c: Likewise.
73384         * io/pipe2.c: Likewise.
73385         * io/poll.c: Likewise.
73386         * io/posix_fadvise.c: Likewise.
73387         * io/posix_fadvise64.c: Likewise.
73388         * io/posix_fallocate.c: Likewise.
73389         * io/posix_fallocate64.c: Likewise.
73390         * io/read.c: Likewise.
73391         * io/readlink.c: Likewise.
73392         * io/readlinkat.c: Likewise.
73393         * io/rmdir.c: Likewise.
73394         * io/sendfile.c: Likewise.
73395         * io/sendfile64.c: Likewise.
73396         * io/statfs.c: Likewise.
73397         * io/statfs64.c: Likewise.
73398         * io/statvfs.c: Likewise.
73399         * io/statvfs64.c: Likewise.
73400         * io/symlink.c: Likewise.
73401         * io/symlinkat.c: Likewise.
73402         * io/ttyname.c: Likewise.
73403         * io/ttyname_r.c: Likewise.
73404         * io/umask.c: Likewise.
73405         * io/unlink.c: Likewise.
73406         * io/unlinkat.c: Likewise.
73407         * io/utime.c: Likewise.
73408         * io/utimensat.c: Likewise.
73409         * io/write.c: Likewise.
73410         * io/xmknod.c: Likewise.
73411         * io/xmknodat.c: Likewise.
73412         * io/xstat.c: Likewise.
73413         * io/xstat64.c: Likewise.
73414         * login/getpt.c: Likewise.
73415         * login/grantpt.c: Likewise.
73416         * login/unlockpt.c: Likewise.
73417         * math/e_acoshl.c: Likewise.
73418         * math/e_acosl.c: Likewise.
73419         * math/e_asinl.c: Likewise.
73420         * math/e_atan2l.c: Likewise.
73421         * math/e_atanhl.c: Likewise.
73422         * math/e_coshl.c: Likewise.
73423         * math/e_expl.c: Likewise.
73424         * math/e_fmodl.c: Likewise.
73425         * math/e_gammal_r.c: Likewise.
73426         * math/e_hypotl.c: Likewise.
73427         * math/e_j0l.c: Likewise.
73428         * math/e_j1l.c: Likewise.
73429         * math/e_jnl.c: Likewise.
73430         * math/e_lgammal_r.c: Likewise.
73431         * math/e_log10l.c: Likewise.
73432         * math/e_log2l.c: Likewise.
73433         * math/e_logl.c: Likewise.
73434         * math/e_powl.c: Likewise.
73435         * math/e_rem_pio2l.c: Likewise.
73436         * math/e_sinhl.c: Likewise.
73437         * math/e_sqrtl.c: Likewise.
73438         * math/fclrexcpt.c: Likewise.
73439         * math/fedisblxcpt.c: Likewise.
73440         * math/feenablxcpt.c: Likewise.
73441         * math/fegetenv.c: Likewise.
73442         * math/fegetexcept.c: Likewise.
73443         * math/fegetround.c: Likewise.
73444         * math/feholdexcpt.c: Likewise.
73445         * math/fesetenv.c: Likewise.
73446         * math/fesetround.c: Likewise.
73447         * math/feupdateenv.c: Likewise.
73448         * math/fgetexcptflg.c: Likewise.
73449         * math/fraiseexcpt.c: Likewise.
73450         * math/fsetexcptflg.c: Likewise.
73451         * math/ftestexcept.c: Likewise.
73452         * math/k_cosl.c: Likewise.
73453         * math/k_rem_pio2l.c: Likewise.
73454         * math/k_sinl.c: Likewise.
73455         * math/k_tanl.c: Likewise.
73456         * math/s_asinhl.c: Likewise.
73457         * math/s_atanl.c: Likewise.
73458         * math/s_cbrtl.c: Likewise.
73459         * math/s_erfl.c: Likewise.
73460         * math/s_expm1l.c: Likewise.
73461         * math/s_log1pl.c: Likewise.
73462         * math/s_tanhl.c: Likewise.
73463         * misc/acct.c: Likewise.
73464         * misc/brk.c: Likewise.
73465         * misc/chflags.c: Likewise.
73466         * misc/chroot.c: Likewise.
73467         * misc/fchflags.c: Likewise.
73468         * misc/fgetxattr.c: Likewise.
73469         * misc/flistxattr.c: Likewise.
73470         * misc/fremovexattr.c: Likewise.
73471         * misc/fsetxattr.c: Likewise.
73472         * misc/fsync.c: Likewise.
73473         * misc/ftruncate.c: Likewise.
73474         * misc/futimes.c: Likewise.
73475         * misc/futimesat.c: Likewise.
73476         * misc/getdomain.c: Likewise.
73477         * misc/getdtsz.c: Likewise.
73478         * misc/gethostid.c: Likewise.
73479         * misc/gethostname.c: Likewise.
73480         * misc/getloadavg.c: Likewise.
73481         * misc/getpagesize.c: Likewise.
73482         * misc/getsysstats.c: Likewise.
73483         * misc/getxattr.c: Likewise.
73484         * misc/gtty.c: Likewise.
73485         * misc/ioctl.c: Likewise.
73486         * misc/lgetxattr.c: Likewise.
73487         * misc/listxattr.c: Likewise.
73488         * misc/llistxattr.c: Likewise.
73489         * misc/lremovexattr.c: Likewise.
73490         * misc/lsetxattr.c: Likewise.
73491         * misc/lutimes.c: Likewise.
73492         * misc/madvise.c: Likewise.
73493         * misc/mincore.c: Likewise.
73494         * misc/mlock.c: Likewise.
73495         * misc/mlockall.c: Likewise.
73496         * misc/mmap.c: Likewise.
73497         * misc/mprotect.c: Likewise.
73498         * misc/msync.c: Likewise.
73499         * misc/munlock.c: Likewise.
73500         * misc/munlockall.c: Likewise.
73501         * misc/munmap.c: Likewise.
73502         * misc/preadv.c: Likewise.
73503         * misc/preadv64.c: Likewise.
73504         * misc/ptrace.c: Likewise.
73505         * misc/pwritev.c: Likewise.
73506         * misc/pwritev64.c: Likewise.
73507         * misc/readv.c: Likewise.
73508         * misc/reboot.c: Likewise.
73509         * misc/remap_file_pages.c: Likewise.
73510         * misc/removexattr.c: Likewise.
73511         * misc/revoke.c: Likewise.
73512         * misc/select.c: Likewise.
73513         * misc/setdomain.c: Likewise.
73514         * misc/setegid.c: Likewise.
73515         * misc/seteuid.c: Likewise.
73516         * misc/sethostid.c: Likewise.
73517         * misc/sethostname.c: Likewise.
73518         * misc/setregid.c: Likewise.
73519         * misc/setreuid.c: Likewise.
73520         * misc/setxattr.c: Likewise.
73521         * misc/sstk.c: Likewise.
73522         * misc/stty.c: Likewise.
73523         * misc/swapoff.c: Likewise.
73524         * misc/swapon.c: Likewise.
73525         * misc/sync.c: Likewise.
73526         * misc/syncfs.c: Likewise.
73527         * misc/syscall.c: Likewise.
73528         * misc/truncate.c: Likewise.
73529         * misc/ualarm.c: Likewise.
73530         * misc/usleep.c: Likewise.
73531         * misc/ustat.c: Likewise.
73532         * misc/utimes.c: Likewise.
73533         * misc/vhangup.c: Likewise.
73534         * misc/writev.c: Likewise.
73535         * posix/_exit.c: Likewise.
73536         * posix/alarm.c: Likewise.
73537         * posix/execve.c: Likewise.
73538         * posix/fexecve.c: Likewise.
73539         * posix/fork.c: Likewise.
73540         * posix/fpathconf.c: Likewise.
73541         * posix/getaddrinfo.c: Likewise.
73542         * posix/getegid.c: Likewise.
73543         * posix/geteuid.c: Likewise.
73544         * posix/getgid.c: Likewise.
73545         * posix/getgroups.c: Likewise.
73546         * posix/getlogin.c: Likewise.
73547         * posix/getlogin_r.c: Likewise.
73548         * posix/getpgid.c: Likewise.
73549         * posix/getpid.c: Likewise.
73550         * posix/getppid.c: Likewise.
73551         * posix/getresgid.c: Likewise.
73552         * posix/getresuid.c: Likewise.
73553         * posix/getsid.c: Likewise.
73554         * posix/getuid.c: Likewise.
73555         * posix/glob64.c: Likewise.
73556         * posix/nanosleep.c: Likewise.
73557         * posix/pathconf.c: Likewise.
73558         * posix/pause.c: Likewise.
73559         * posix/posix_madvise.c: Likewise.
73560         * posix/pread.c: Likewise.
73561         * posix/pread64.c: Likewise.
73562         * posix/pwrite.c: Likewise.
73563         * posix/pwrite64.c: Likewise.
73564         * posix/sched_getaffinity.c: Likewise.
73565         * posix/sched_getp.c: Likewise.
73566         * posix/sched_gets.c: Likewise.
73567         * posix/sched_primax.c: Likewise.
73568         * posix/sched_primin.c: Likewise.
73569         * posix/sched_rr_gi.c: Likewise.
73570         * posix/sched_setaffinity.c: Likewise.
73571         * posix/sched_setp.c: Likewise.
73572         * posix/sched_sets.c: Likewise.
73573         * posix/sched_yield.c: Likewise.
73574         * posix/setgid.c: Likewise.
73575         * posix/setlogin.c: Likewise.
73576         * posix/setpgid.c: Likewise.
73577         * posix/setresgid.c: Likewise.
73578         * posix/setresuid.c: Likewise.
73579         * posix/setsid.c: Likewise.
73580         * posix/setuid.c: Likewise.
73581         * posix/sleep.c: Likewise.
73582         * posix/spawni.c: Likewise.
73583         * posix/sysconf.c: Likewise.
73584         * posix/times.c: Likewise.
73585         * posix/wait.c: Likewise.
73586         * posix/wait3.c: Likewise.
73587         * posix/wait4.c: Likewise.
73588         * posix/waitpid.c: Likewise.
73589         * resolv/gai_sigqueue.c: Likewise.
73590         * resource/getpriority.c: Likewise.
73591         * resource/getrlimit.c: Likewise.
73592         * resource/getrusage.c: Likewise.
73593         * resource/nice.c: Likewise.
73594         * resource/setpriority.c: Likewise.
73595         * resource/setrlimit.c: Likewise.
73596         * resource/ulimit.c: Likewise.
73597         * rt/aio_cancel.c: Likewise.
73598         * rt/aio_fsync.c: Likewise.
73599         * rt/aio_read.c: Likewise.
73600         * rt/aio_sigqueue.c: Likewise.
73601         * rt/aio_suspend.c: Likewise.
73602         * rt/aio_write.c: Likewise.
73603         * rt/clock_getres.c: Likewise.
73604         * rt/clock_gettime.c: Likewise.
73605         * rt/clock_nanosleep.c: Likewise.
73606         * rt/clock_settime.c: Likewise.
73607         * rt/lio_listio.c: Likewise.
73608         * rt/mq_close.c: Likewise.
73609         * rt/mq_getattr.c: Likewise.
73610         * rt/mq_notify.c: Likewise.
73611         * rt/mq_open.c: Likewise.
73612         * rt/mq_receive.c: Likewise.
73613         * rt/mq_send.c: Likewise.
73614         * rt/mq_setattr.c: Likewise.
73615         * rt/mq_timedreceive.c: Likewise.
73616         * rt/mq_timedsend.c: Likewise.
73617         * rt/mq_unlink.c: Likewise.
73618         * rt/shm_open.c: Likewise.
73619         * rt/shm_unlink.c: Likewise.
73620         * rt/timer_create.c: Likewise.
73621         * rt/timer_delete.c: Likewise.
73622         * rt/timer_getoverr.c: Likewise.
73623         * rt/timer_gettime.c: Likewise.
73624         * rt/timer_settime.c: Likewise.
73625         * setjmp/__longjmp.c: Likewise.
73626         * setjmp/setjmp.c: Likewise.
73627         * signal/kill.c: Likewise.
73628         * signal/killpg.c: Likewise.
73629         * signal/raise.c: Likewise.
73630         * signal/sigaction.c: Likewise.
73631         * signal/sigaltstack.c: Likewise.
73632         * signal/sigblock.c: Likewise.
73633         * signal/sigignore.c: Likewise.
73634         * signal/sigintr.c: Likewise.
73635         * signal/signal.c: Likewise.
73636         * signal/sigpause.c: Likewise.
73637         * signal/sigpending.c: Likewise.
73638         * signal/sigqueue.c: Likewise.
73639         * signal/sigreturn.c: Likewise.
73640         * signal/sigset.c: Likewise.
73641         * signal/sigsetmask.c: Likewise.
73642         * signal/sigstack.c: Likewise.
73643         * signal/sigsuspend.c: Likewise.
73644         * signal/sigtimedwait.c: Likewise.
73645         * signal/sigvec.c: Likewise.
73646         * signal/sigwait.c: Likewise.
73647         * signal/sigwaitinfo.c: Likewise.
73648         * signal/sysv_signal.c: Likewise.
73649         * socket/accept.c: Likewise.
73650         * socket/accept4.c: Likewise.
73651         * socket/bind.c: Likewise.
73652         * socket/connect.c: Likewise.
73653         * socket/getpeername.c: Likewise.
73654         * socket/getsockname.c: Likewise.
73655         * socket/getsockopt.c: Likewise.
73656         * socket/isfdtype.c: Likewise.
73657         * socket/listen.c: Likewise.
73658         * socket/recv.c: Likewise.
73659         * socket/recvfrom.c: Likewise.
73660         * socket/recvmsg.c: Likewise.
73661         * socket/send.c: Likewise.
73662         * socket/sendmsg.c: Likewise.
73663         * socket/sendto.c: Likewise.
73664         * socket/setsockopt.c: Likewise.
73665         * socket/shutdown.c: Likewise.
73666         * socket/sockatmark.c: Likewise.
73667         * socket/socket.c: Likewise.
73668         * socket/socketpair.c: Likewise.
73669         * stdio-common/ctermid.c: Likewise.
73670         * stdio-common/cuserid.c: Likewise.
73671         * stdio-common/remove.c: Likewise.
73672         * stdio-common/rename.c: Likewise.
73673         * stdio-common/renameat.c: Likewise.
73674         * stdio-common/tempname.c: Likewise.
73675         * stdlib/getcontext.c: Likewise.
73676         * stdlib/makecontext.c: Likewise.
73677         * stdlib/setcontext.c: Likewise.
73678         * stdlib/swapcontext.c: Likewise.
73679         * stdlib/system.c: Likewise.
73680         * streams/fattach.c: Likewise.
73681         * streams/fdetach.c: Likewise.
73682         * streams/getmsg.c: Likewise.
73683         * streams/getpmsg.c: Likewise.
73684         * streams/putmsg.c: Likewise.
73685         * streams/putpmsg.c: Likewise.
73686         * sysdeps/unix/bsd/getpt.c: Likewise.
73687         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
73688         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
73689         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
73690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73691         Likewise.
73692         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
73693         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73694         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
73695         * sysvipc/msgctl.c: Likewise.
73696         * sysvipc/msgget.c: Likewise.
73697         * sysvipc/msgrcv.c: Likewise.
73698         * sysvipc/msgsnd.c: Likewise.
73699         * sysvipc/semctl.c: Likewise.
73700         * sysvipc/semget.c: Likewise.
73701         * sysvipc/semop.c: Likewise.
73702         * sysvipc/semtimedop.c: Likewise.
73703         * sysvipc/shmat.c: Likewise.
73704         * sysvipc/shmctl.c: Likewise.
73705         * sysvipc/shmdt.c: Likewise.
73706         * sysvipc/shmget.c: Likewise.
73707         * termios/tcdrain.c: Likewise.
73708         * termios/tcflow.c: Likewise.
73709         * termios/tcflush.c: Likewise.
73710         * termios/tcgetattr.c: Likewise.
73711         * termios/tcgetpgrp.c: Likewise.
73712         * termios/tcsendbrk.c: Likewise.
73713         * termios/tcsetattr.c: Likewise.
73714         * termios/tcsetpgrp.c: Likewise.
73715         * time/adjtime.c: Likewise.
73716         * time/clock.c: Likewise.
73717         * time/getitimer.c: Likewise.
73718         * time/gettimeofday.c: Likewise.
73719         * time/setitimer.c: Likewise.
73720         * time/settimeofday.c: Likewise.
73721         * time/stime.c: Likewise.
73722         * time/time.c: Likewise.
73724 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
73726         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
73727         /usr/old/bin.
73729         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
73730         instead of spaces.
73731         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
73733 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
73735         [BZ #14796]
73736         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
73737         FE_TONEAREST before applying Dekker multiplication and Knuth
73738         addition.  Clear inexact exceptions and check for exact zero
73739         results afterwards.
73740         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73741         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73742         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73743         * math/libm-test.inc (fma_test): Add more tests.
73744         (fma_test_towardzero): Likewise.
73745         (fma_test_downward): Likewise.
73746         (fma_test_upward): Likewise.
73747         * sysdeps/generic/math_private.h (default_libc_fesetround): New
73748         function.
73749         (libc_fesetround): New macro.
73750         (libc_fesetroundf): Likewise.
73751         (libc_fesetroundl): Likewise.
73752         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
73753         function.
73754         (libc_fesetround_387): Likewise.
73755         (libc_fesetroundf): New macro.
73756         (libc_fesetround): Likewise.
73757         (libc_fesetroundl): Likewise.
73758         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
73759         function.
73760         (libc_fesetroundf): New macro.
73761         (libc_fesetround): Likewise.
73762         (libc_fesetroundl): Likewise.
73763         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
73764         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
73765         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
73766         libm_hidden_ver.
73767         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
73768         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
73769         libm_hidden_def.
73770         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
73771         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
73772         libm_hidden_ver.
73773         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
73774         libm_hidden_def.
73776         [BZ #3439]
73777         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
73778         integer constant usable in #if and use that to give value to enum
73779         constant.
73780         (FE_DIVBYZERO): Likewise.
73781         (FE_UNDERFLOW): Likewise.
73782         (FE_OVERFLOW): Likewise.
73783         (FE_INVALID): Likewise.
73784         (FE_INVALID_SNAN): Likewise.
73785         (FE_INVALID_ISI): Likewise.
73786         (FE_INVALID_IDI): Likewise.
73787         (FE_INVALID_ZDZ): Likewise.
73788         (FE_INVALID_IMZ): Likewise.
73789         (FE_INVALID_COMPARE): Likewise.
73790         (FE_INVALID_SOFTWARE): Likewise.
73791         (FE_INVALID_SQRT): Likewise.
73792         (FE_INVALID_INTEGER_CONVERSION): Likewise.
73793         (FE_TONEAREST): Likewise.
73794         (FE_TOWARDZERO): Likewise.
73795         (FE_UPWARD): Likewise.
73796         (FE_DOWNWARD): Likewise.
73797         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
73798         (FE_DIVBYZERO): Likewise.
73799         (FE_OVERFLOW): Likewise.
73800         (FE_UNDERFLOW): Likewise.
73801         (FE_INEXACT): Likewise.
73802         (FE_TONEAREST): Likewise.
73803         (FE_DOWNWARD): Likewise.
73804         (FE_UPWARD): Likewise.
73805         (FE_TOWARDZERO): Likewise.
73806         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
73807         (FE_UNDERFLOW): Likewise.
73808         (FE_OVERFLOW): Likewise.
73809         (FE_DIVBYZERO): Likewise.
73810         (FE_INVALID): Likewise.
73811         (FE_TONEAREST): Likewise.
73812         (FE_TOWARDZERO): Likewise.
73813         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
73814         (FE_OVERFLOW): Likewise.
73815         (FE_UNDERFLOW): Likewise.
73816         (FE_DIVBYZERO): Likewise.
73817         (FE_INEXACT): Likewise.
73818         (FE_TONEAREST): Likewise.
73819         (FE_TOWARDZERO): Likewise.
73820         (FE_UPWARD): Likewise.
73821         (FE_DOWNWARD): Likewise.
73822         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
73823         (FE_DIVBYZERO): Likewise.
73824         (FE_OVERFLOW): Likewise.
73825         (FE_UNDERFLOW): Likewise.
73826         (FE_INEXACT): Likewise.
73827         (FE_TONEAREST): Likewise.
73828         (FE_DOWNWARD): Likewise.
73829         (FE_UPWARD): Likewise.
73830         (FE_TOWARDZERO): Likewise.
73832 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
73834         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
73836 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
73838         * scripts/cross-test-ssh.sh (command): Use newlines to separate
73839         commands.  Quote $PWD.
73840         (blacklist_exports): Don't use remove_newlines.  Replace "declare
73841         -x" by "export".
73842         (remove_newlines): Remove.
73844 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
73846         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
73847         * stdlib/stdlib.h (atof): Moved to ...
73848         * include/bits/stdlib-float.h: Here.  New file.
73849         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
73850         * stdlib/bits/stdlib-float.h: New file.
73851         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
73852         -mno-sse -mno-mmx.
73853         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
73854         <xmmintrin.h>.
73856 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73858         * conform/conformtest.pl (@headers): Add fenv.h.
73859         * conform/data/fenv.h-data: New file.
73860         * include/fenv.h [_ISOMAC]: Disable all contents of file except
73861         include of <math/fenv.h>.
73863         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
73864         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
73865         && !UNIX98].  Enables tests for XOPEN2K8.
73866         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
73867         POSIX2008]: Likewise.
73869         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
73870         (struct rusage): Do not expect type or its members.
73872         [BZ #3439]
73873         * math/math.h (FP_NAN): Define macro to integer constant usable in
73874         #if and use that to give value to enum constant.
73875         (FP_INFINITE): Likewise.
73876         (FP_ZERO): Likewise.
73877         (FP_SUBNORMAL): Likewise.
73878         (FP_NORMAL): Likewise.
73880 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
73882         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
73883         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
73884         arguments.
73886 2012-11-02  Roland McGrath  <roland@hack.frob.com>
73888         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
73889         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
73890         autoconf-time if not.
73891         * configure.in: Remove AC_PREREQ.
73893 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73895         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
73896         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
73897         of the internal implementation.
73899 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
73901         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
73902         except include of <misc/sys/syslog.h>.
73904 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
73907         function returns with a NULL context exit with zero.
73909 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73911         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
73913 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
73915         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
73916         (run_program_cmd): This.
73917         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
73918         (tst_langinfo): New variable.  Use it.
73920 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
73922         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
73923         floating point opcodes.
73925 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73927         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
73928         variable.
73930         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
73932         * sysdeps/mach/hurd/powerpc: Remove directory.
73933         * sysdeps/mach/powerpc: Likewise.
73935 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73937         * scripts/check-local-headers.sh: Ignore c++ headers.
73939 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73941         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
73942         __libc_cleanup_region_start argument.
73944 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
73946         [BZ #14784]
73947         [BZ #14785]
73948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
73949         x * y using scaling, not as x * y + z.
73950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73952         * math/libm-test.inc (fma_test): Add more tests.
73953         (fma_test_towardzero): Likewise.
73954         (fma_test_downward): Likewise.
73955         (fma_test_upward): Likewise.
73957 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
73959         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
73961 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73963         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
73964         New variable.
73966 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
73968         * rt/tst-shm.c (worker): Correct checking for mmap failure.
73970 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73973         Fix sort order.
73974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73975         Likewise.
73977 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73980         Fix the order of the list for glibc 2.17.
73981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73982         Likewise.
73984 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
73986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73988 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
73990         [BZ #14610]
73991         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
73992         for low part of x being zero before using __atanl (y).
73993         * math/libm-test.inc (atan2_test): Add another test.
73995         * manual/install.texi (Configuring and compiling): Document
73996         general use of test-wrapper and test-wrapper-env.
73997         * INSTALL: Regenerated.
73999         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
74000         (__fma): Do not extract and scale down low bits on after-rounding
74001         systems when result rounded to normal precision would have normal
74002         exponent.
74003         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
74004         (__fmal): Do not extract and scale down low bits on after-rounding
74005         systems when result rounded to normal precision would have normal
74006         exponent.
74007         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
74008         (__fmal): Do not extract and scale down low bits on after-rounding
74009         systems when result rounded to normal precision would have normal
74010         exponent.
74011         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74012         macro.
74013         (fma_test): Add more tests.
74014         (fma_test_towardzero): Likewise.
74015         (fma_test_downward): Likewise.
74016         (fma_test_upward): Likewise.
74018 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
74020         * sysdeps/i386/tininess.h: Renamed to ...
74021         * sysdeps/x86/tininess.h: This.
74022         * sysdeps/x86_64/tininess.h: Removed.
74024 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74026         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74027         input.  Use $(build-program-cmd).
74028         ($(objpfx)tst-array1-static.out): Likewise.
74029         ($(objpfx)tst-array2.out): Likewise.
74030         ($(objpfx)tst-array3.out): Likewise.
74031         ($(objpfx)tst-array4.out): Likewise.
74032         ($(objpfx)tst-array5.out): Likewise.
74033         ($(objpfx)tst-array5-static.out): Likewise.
74035 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
74037         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74038         if defined.
74040         * nss/nsswitch.h (nss_interface_function): Provide new
74041         macro for use with NSS functions.
74042         * grp/initgroups.c: Use new macro.
74043         * nss/getXXbyYY.c: Likewise.
74044         * nss/getXXbyYY_r.c: Likewise.
74045         * nss/getXXent.c: Likewise.
74046         * nss/getXXent_r.c: Likewise.
74047         * sysdeps/posix/getaddrinfo.c: Likewise.
74049 2012-10-30  Andreas Jaeger  <aj@suse.de>
74051         * po/ru.po: Update Russion translation from translation project.
74053 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74055         [BZ #14152]
74056         [BZ #14783]
74057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74058         result and shift together with sticky bit instead of replicating
74059         round-to-nearest rounding.
74060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74061         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74062         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
74063         missing underflow exceptions.
74064         (fma_test_towardzero): Add more tests.
74065         (fma_test_downward): Likewise.
74066         (fma_test_upward): Likewise.
74068         [BZ #14047]
74069         * sysdeps/generic/tininess.h: New file.
74070         * sysdeps/i386/tininess.h: Likewise.
74071         * sysdeps/sh/tininess.h: Likewise.
74072         * sysdeps/x86_64/tininess.h: Likewise.
74073         * stdlib/tst-strtod-underflow.c: Likewise.
74074         * stdlib/tst-tininess.c: Likewise.
74075         * stdlib/strtod_l.c: Include <tininess.h>.
74076         (round_and_return): Do not set errno for exact underflow cases.
74077         Force an underflow exception when setting errno for underflow.
74078         Determine underflow based on rounding to normal precision if
74079         TININESS_AFTER_ROUNDING.
74080         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
74081         ERANGE for exact underflow cases.
74082         * stdlib/Makefile (tests): Add tst-tininess and
74083         tst-strtod-underflow.
74084         ($(objpfx)tst-tininess): Use $(link-libm).
74085         ($(objpfx)tst-strtod-underflow): Likewise.
74087 2012-10-30  Andreas Jaeger  <aj@suse.de>
74089         [BZ #14767]
74090         * elf/Makefile (tests): Remove conditional for have-initfini-array
74091         since this is now always required and the variable does not exist
74092         anymore.
74093         (tests-static): Likewise.
74094         (modules-names): Likewise.
74096         * po/eo.po: Add Esperanto translation from translation project.
74098         * elf/tst-array1.c (fini_array): Make writeable so that it can be
74099         merged with constructor/destructor.
74100         (init_array): Likewise.
74101         * elf/tst-array2dep.c (fini_array): Likewise.
74102         (init_array): Likewise.
74104 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
74106         * manual/message.texi: Delete @cartouche tags.
74108 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
74110         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
74111         EOPNOTSUPP.
74112         * sysdeps/mach/hurd/fsync.c: Likewise.
74114         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
74115         [_POSIX_REALTIME_SIGNALS]: Change condition to
74116         [_POSIX_REALTIME_SIGNALS > 0].
74118 2012-10-27  Andreas Jaeger  <aj@suse.de>
74120         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
74121         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
74122         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
74123         [__WORDSIZE != 64]: Likewise.
74125 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
74127         *  iconvdata/tst-table.sh: Remove ${SHELL}.
74128         *  iconvdata/tst-tables.sh: Likewise.
74130 2012-10-25  David S. Miller  <davem@davemloft.net>
74132         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74133         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
74134         of strtoull.
74136         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
74137         ifunc-impl-list.c
74138         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74139         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
74140         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
74141         file.
74143 2012-10-25  Roland McGrath  <roland@hack.frob.com>
74145         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74146         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
74147         __getdirentries.
74149 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74150             Jim Blandy  <jimb@codesourcery.com>
74152         * scripts/cross-test-ssh.sh: New file.
74153         * manual/install.texi (Configuring and compiling): Document use of
74154         cross-test-ssh.sh.
74155         * INSTALL: Regenerated.
74157 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
74159         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
74160         EOPNOTSUPP.
74162 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
74164         * Makeconfig (run-program-prefix): Fix comment.
74166 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74167             Jim Blandy  <jimb@codesourcery.com>
74169         * Makeconfig (test-wrapper): New variable,
74170         (test-wrapper-env): Likewise.
74171         [$(cross-compiling) = yes && $(test-wrapper) != ""]
74172         (run-built-tests): Define to yes.
74173         (run-program-prefix): Use $(test-wrapper).
74174         (built-program-cmd): Likewise.
74175         * Rules (make-test-out): Use $(test-wrapper-env) and
74176         $(host-built-program-cmd).
74177         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
74178         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
74179         tst-pathopt.sh.
74180         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
74181         $(test-wrapper-env) to tst-rtld-load-self.sh.
74182         ($(objpfx)order2.out): Use $(test-wrapper).
74183         ($(objpfx)tst-initorder.out): Likewise.
74184         ($(objpfx)tst-initorder2.out): Likewise.
74185         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
74186         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
74187         (test_wrapper_env): New variable.  Use it to run ld.so.
74188         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
74189         Use it to run ld.so.
74190         (test_wrapper_env): Likewise.
74191         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
74192         $(test-wrapper) to run-iconv-test.sh.
74193         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
74194         (ICONV): Use $test_wrapper.
74195         * posix/Makefile ($(objpfx)globtest.out): Pass
74196         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
74197         globtest.sh, not $(run-program-prefix).
74198         * posix/globtest.sh (run_via_rtld_prefix): New variable.
74199         (test_wrapper): Likewise.
74200         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
74201         set together with run_via_rtld_prefix.
74202         (run_program_prefix): Define in terms of test_wrapper and
74203         run_via_rtld_prefix.
74205 2012-10-24  Roland McGrath  <roland@hack.frob.com>
74207         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
74208         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
74209         Targets removed.
74211         [BZ #14743]
74212         * include/time.h: Remove librt_hidden_proto (clock_gettime).
74213         Declare __clock_getres, __clock_gettime, __clock_settime,
74214         __clock_nanosleep, and __clock_getcpuclockid.
74215         * rt/clock_gettime.c: Define __clock_gettime as an alias.
74216         Remove librt_hidden_def (clock_gettime).
74217         * sysdeps/unix/clock_gettime.c: Likewise.
74218         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
74219         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
74220         * rt/clock_getres.c: Define __clock_getres as an alias.
74221         * sysdeps/posix/clock_getres.c: Likewise.
74222         * rt/clock_settime.c: Define __clock_settime as an alias.
74223         * sysdeps/unix/clock_settime.c: Likewise.
74224         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
74225         * sysdeps/unix/clock_nanosleep.c: Likewise.
74226         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
74227         * rt/clock-compat.c: New file.
74228         * rt/Makefile (librt-routines): Add clock-compat and move
74229         $(clock-routines) to ...
74230         (routines): ... here, new variable.
74231         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
74232         Don't add get_clockfreq here.
74233         * rt/Versions (libc: GLIBC_2.17): New version set.
74234         Add clock_* symbols here.
74235         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
74236         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
74237         (GLIBC_2.17): Add clock_* symbols.
74238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
74239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
74240         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
74241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74242         Likewise.
74243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74244         Likewise.
74245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
74246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
74247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
74248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
74249         * NEWS: Mention the move.
74251         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
74252         Use __open, __read, __close rather than their public counterparts.
74253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74254         (__get_clockfreq_via_cpuinfo): Likewise.
74255         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
74256         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
74258         * config.h.in (HAVE_IFUNC): New #undef.
74259         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
74260         was successful.
74261         * configure: Regenerated.
74263 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74265         * configure.in: Move READELF check to start of file.
74266         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
74267         libc_cv_asm_gnu_indirect_function in the process.
74268         * configure: Regenerated.
74270 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
74272         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
74273         send the output to /dev/null.
74274         (libc_cv_cc_with_libunwind): Likewise.
74275         (libc_cv_as_noexecstack): Likewise.
74276         * configure: Regenerate.
74278 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
74280         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
74282         * posix/globtest.sh (TMPDIR): Do not set.
74283         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
74284         (testout): Likewise.
74286 2012-10-24  Andreas Jaeger  <aj@suse.de>
74288         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
74289         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
74290         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
74291         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
74292         posix_fadvise64, posix_fallocate64.
74294         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
74295         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
74296         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
74297         Likewise.
74298         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
74299         Likewise.
74300         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
74302         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
74303         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
74304         <bits/fcntl-linux.h>.
74305         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
74307         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
74308         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
74309         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
74310         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
74311         [__WORDSIZE != 64]: Likewise.
74313 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74315         * Makeconfig (run-built-tests): New variable.
74316         * Rules [$(cross-compiling) = yes]: Change condition to
74317         [$(run-built-tests) = no].
74318         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
74319         to [$(run-built-tests) = yes].
74320         * elf/Makefile [$(cross-compiling) = no]: Likewise.
74321         * grp/Makefile [$(cross-compiling) = no]: Likewise.
74322         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
74323         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
74324         * intl/Makefile [$(cross-compiling) = no]: Likewise.
74325         * io/Makefile [$(cross-compiling) = no]: Likewise.
74326         * libio/Makefile [$(cross-compiling) = no]: Likewise.
74327         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
74328         * misc/Makefile [$(cross-compiling) = no]: Likewise.
74329         * posix/Makefile [$(cross-compiling) = no]: Likewise.
74330         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
74331         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
74332         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
74333         * string/Makefile [$(cross-compiling) = no]: Likewise.
74335         * posix/Makefile ($(objpfx)globtest.out): Pass
74336         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
74337         $(rtld-installed-name).
74338         * posix/globtest.sh (elf_objpfx): Remove variable.
74339         (rtld_installed_name): Likewise.
74340         (library_path): Likewise.
74341         (run_program_prefix): New variable.  Use for running globtest
74342         binary.
74344 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
74345             Joseph Myers  <joseph@codesourcery.com>
74347         * Makeconfig (host-built-program-cmd): New variable.
74348         * elf/Makefile (tst-stackguard1-ARGS): Use
74349         $(host-built-program-cmd).
74350         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
74351         (tst-spawn-ARGS): Likewise.
74352         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
74354 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
74355             Jim Blandy  <jimb@codesourcery.com>
74357         * Makeconfig (run-via-rtld-prefix): New variable.
74358         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
74359         (built-program-cmd): Likewise.
74361 2012-10-22  Andreas Jaeger  <aj@suse.de>
74363         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
74364         __O_RSYNC if it exists, otherwise to O_SYNC.
74366 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
74367             Joseph Myers  <joseph@codesourcery.com>
74369         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
74370         /dev/null.
74371         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
74372         from /dev/null
74373         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
74374         /dev/null.
74376 2012-10-22  Andreas Jaeger  <aj@suse.de>
74378         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
74379         Define always.
74380         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
74382         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74383         bits/fcntl-linux.h.
74385         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
74386         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
74388         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
74389         to __O_LARGEFILE.
74390         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
74391         to __O_LARGEFILE.
74393 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
74394             Joseph Myers  <joseph@codesourcery.com>
74396         * config.make.in (NM): New variable.
74398 2012-10-21  Andreas Jaeger  <aj@suse.de>
74400         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
74401         definitions and declarations that are provided by
74402         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74404 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74406         [BZ #14683]
74407         * elf/Makefile (tests-static): Add tst-leaks1-static.
74408         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
74409         ($(objpfx)tst-leaks1-static): New rule.
74410         ($(objpfx)tst-leaks1-static-mem): Likewise.
74411         (tst-leaks1-static-ENV): New macro.
74412         * elf/dl-open.c (dl_open_worker): Check the main application
74413         only if SHARED is defined.
74414         * elf/tst-leaks1-static.c: New file.
74416 2012-10-20  Andreas Jaeger  <aj@suse.de>
74418         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
74419         generic values for Linux.
74420         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
74421         and declarations that are provided by <bits/fcntl-linux.h> and
74422         include <bits/fcntl-linux.h>.
74423         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
74424         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
74426 2012-10-20  Roland McGrath  <roland@hack.frob.com>
74428         * io/fcntl.h: Move include of <bits/types.h> to the top and
74429         include it unconditionally.
74431 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
74433         * wcsmbs/Makefile (tests-ifunc): New variable.
74434         (tests): Add $(tests-ifunc).
74435         * wcsmbs/test-wcschr-ifunc.c: New file.
74436         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
74437         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
74438         * wcsmbs/test-wcslen-ifunc.c: Likewise.
74439         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
74440         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
74442         * string/Makefile (tests-ifunc): New variable.
74443         (tests): Add $(tests-ifunc).
74444         * string/test-memccpy.c (TEST_NAME): New macro.
74445         * string/test-memchr.c (TEST_NAME): Likewise.
74446         * string/test-memcmp.c (TEST_NAME): Likewise.
74447         * string/test-memcpy.c (TEST_NAME): Likewise.
74448         * string/test-memmem.c (TEST_NAME): Likewise.
74449         * string/test-memmove.c (TEST_NAME): Likewise.
74450         * string/test-memset.c (TEST_NAME): Likewise.
74451         * string/test-rawmemchr.c (TEST_NAME): Likewise.
74452         * string/test-stpcpy.c (TEST_NAME): Likewise.
74453         * string/test-stpncpy.c (TEST_NAME): Likewise.
74454         * string/test-strcasecmp.c (TEST_NAME): Likewise.
74455         * string/test-strcasestr.c (TEST_NAME): Likewise.
74456         * string/test-strcat.c (TEST_NAME): Likewise.
74457         * string/test-strchr.c (TEST_NAME): Likewise.
74458         * string/test-strcmp.c(TEST_NAME): Likewise.
74459         * string/test-strcpy.c (TEST_NAME): Likewise.
74460         * string/test-strcspn.c (TEST_NAME): Likewise.
74461         * string/test-strlen.c (TEST_NAME): Likewise.
74462         * string/test-strncasecmp.c (TEST_NAME): Likewise.
74463         * string/test-strncmp.c (TEST_NAME): Likewise.
74464         * string/test-strncpy.c (TEST_NAME): Likewise.
74465         * string/test-strnlen.c (TEST_NAME): Likewise.
74466         * string/test-strpbrk.c (TEST_NAME): Likewise.
74467         * string/test-strrchr.c (TEST_NAME): Likewise.
74468         * string/test-strspn.c (TEST_NAME): Likewise.
74469         * string/test-strstr.c (TEST_NAME): Likewise.
74470         * string/test-bcopy-ifunc.c: New file.
74471         * string/test-bzero-ifunc.c: Likewise.
74472         * string/test-memccpy-ifunc.c: Likewise.
74473         * string/test-memchr-ifunc.c: Likewise.
74474         * string/test-memcmp-ifunc.c: Likewise.
74475         * string/test-memcpy-ifunc.c: Likewise.
74476         * string/test-memmem-ifunc.c: Likewise.
74477         * string/test-memmove-ifunc.c: Likewise.
74478         * string/test-mempcpy-ifunc.c: Likewise.
74479         * string/test-memset-ifunc.c: Likewise.
74480         * string/test-rawmemchr-ifunc.c: Likewise.
74481         * string/test-stpcpy-ifunc.c: Likewise.
74482         * string/test-stpncpy-ifunc.c: Likewise.
74483         * string/test-strcasecmp-ifunc.c: Likewise.
74484         * string/test-strcasestr-ifunc.c: Likewise.
74485         * string/test-strcat-ifunc.c: Likewise.
74486         * string/test-strchr-ifunc.c: Likewise.
74487         * string/test-strchrnul-ifunc.c: Likewise.
74488         * string/test-strcmp-ifunc.c: Likewise.
74489         * string/test-strcpy-ifunc.c: Likewise.
74490         * string/test-strcspn-ifunc.c: Likewise.
74491         * string/test-strlen-ifunc.c: Likewise.
74492         * string/test-strncasecmp-ifunc.c: Likewise.
74493         * string/test-strncat-ifunc.c: Likewise.
74494         * string/test-strncmp-ifunc.c: Likewise.
74495         * string/test-strncpy-ifunc.c: Likewise.
74496         * string/test-strnlen-ifunc.c: Likewise.
74497         * string/test-strpbrk-ifunc.c: Likewise.
74498         * string/test-strrchr-ifunc.c: Likewise.
74499         * string/test-strspn-ifunc.c: Likewise.
74500         * string/test-strstr-ifunc.c: Likewise.
74502         * debug/Makefile (tests-ifunc): New variable.
74503         (tests): Add $(tests-ifunc).
74504         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
74505         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
74506         * debug/test-stpcpy_chk-ifunc.c: New file.
74507         * debug/test-strcpy_chk-ifunc.c: Likewise.
74509 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
74511         [BZ #13601]
74512         * elf/dl-load.c (open_verify): Retry read if the entire ELF
74513         header is not read in.
74515 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
74517         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
74518         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
74519         directly.  Pass built executable to script as
74520         $(built-program-cmd).
74521         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
74522         $testprogram without using LD_LIBRARY_PATH and $ldso.
74524         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
74525         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
74526         $(rtld-installed-name).
74527         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
74528         (rtld_installed_name): Likewise.
74529         (library_path): Likewise.
74530         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
74531         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
74532         $(run-program-prefix) to tst-tables.sh.
74533         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
74534         it to run tst-table-from and tst-table-to.
74535         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
74536         Pass it to tst-table.sh.
74537         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
74538         $(run-program-prefix) to tst-gettext.sh.
74539         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
74540         tst-translit.sh.
74541         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
74542         tst-gettext2.sh.
74543         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
74544         to run tst-gettext.
74545         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
74546         to run tst-gettext2.
74547         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
74548         to run tst-translit.
74549         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
74550         $(run-program-prefix) to tst-mtrace.sh.
74551         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
74552         to run tst-mtrace.
74553         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
74554         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
74555         $(rtld-installed-name).
74556         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
74557         (rtld_installed_name): Likewise.
74558         (run_program_prefix): New variable.  Use it to run wordexp-test.
74560         * Makeconfig (ARCH): Remove all definitions.
74561         (machine): Likewise.
74562         [ARCH]: Remove conditional code.
74563         [!objdir]: Give error.
74564         [!objdir] (objpfx): Remove.
74565         [!objdir] (common-objpfx): Likewise.
74566         [!objdir] (common-objdir): Likewise.
74567         * configure.in (config_makefile): Remove.  Hardcode Makefile in
74568         AC_CONFIG_FILES call.
74569         * configure: Regenerated.
74571         [BZ #13888]
74572         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
74573         or TMPDIR.
74574         (testout): Likewise.
74576         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
74577         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
74578         $(rtld-installed-name).
74579         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
74580         (rtld_installed_name): Likewise.
74581         (runit): Remove function.
74582         (run_getconf): New variable,  Use it for running getconf binary.
74584 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
74586         [BZ #14716]
74587         * string/test-memmem.c (check_result): New function.
74588         (do_one_test): Use it.
74589         (check1): New function.
74590         (test_main): Use it.
74592 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
74594         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
74596 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
74598         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
74599         (_G_LSEEK64): Likewise.
74600         (_G_MMAP64): Likewise.
74601         (_G_FSTAT64): Likewise.
74602         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
74603         (_G_LSEEK64): Likewise.
74604         (_G_MMAP64): Likewise.
74605         (_G_FSTAT64): Likewise.
74606         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
74607         unconditional.  Call __mmap64 directly.
74608         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
74609         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
74610         __lseek64 directly.
74611         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
74612         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
74613         __mmap64 directly.
74614         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
74615         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74616         __lseek64 directly.
74617         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
74618         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
74619         __lseek64 directly.
74620         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
74621         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
74622         __lseek64 directly.
74623         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
74624         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
74625         __fxstat64 directly.
74626         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
74627         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
74628         unconditional.
74629         (freopen64) [!_G_OPEN64]: Remove conditional code.
74630         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
74631         unconditional.
74632         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
74633         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
74634         unconditional.
74635         (ftello64) [!_G_LSEEK64]: Remove conditional code.
74636         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
74637         unconditional.
74638         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74639         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
74640         unconditional.
74641         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
74642         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
74643         unconditional.
74644         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74645         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
74646         unconditional.
74647         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
74648         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
74649         unconditional.
74650         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
74652 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
74654         [BZ #12140]
74655         * manual/memory.texi (Malloc Tunable Parameters): Add note
74656         about free list pointers overwriting some perturb bytes.
74657         Wording suggested by Roland McGrath.
74659 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
74661         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
74662         (lgamma_test): Likewise.
74663         (tgamma_test): Likewise.
74665 2012-10-16  Florian Weimer  <fweimer@redhat.com>
74667         [BZ #14700]
74668         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
74669         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
74671 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
74673         * NEWS: Mention BZ #14716.
74674         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
74675         when removing AVAILABLE1_USES_J macro.
74677 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
74679         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
74680         (__bswap_64): __uint64_t for unsigned 64-bit int.
74682 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
74684         * include/string.h (memmem): Declare libc hidden alias.
74685         * string/memmem.c (memmem): Define libc hidden alias.
74686         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
74687         __read, __close instead of open, read, close.
74689 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
74691         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
74692         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
74693         global and hidden.
74694         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
74695         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
74696         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
74697         Likewise.
74698         (__rawmemchr_sse2): Likewise.
74699         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
74700         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
74701         (__strchr_sse2): Likewise.
74702         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
74703         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
74704         (__strcasecmp_sse2): Likewise.
74705         (__strncasecmp_sse2): Likewise.
74706         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
74707         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
74708         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
74709         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
74710         (__strrchr_sse2): Likewise.
74711         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
74712         ifunc-impl-list.c.
74713         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
74714         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
74715         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
74716         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74717         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
74718         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
74719         * sysdeps/x86_64/multiarch/memset.S: Likewise.
74720         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
74721         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
74722         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
74723         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
74724         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
74725         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
74726         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
74727         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
74728         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
74729         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
74730         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
74731         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
74732         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
74733         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
74734         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
74735         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
74736         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
74737         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
74738         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74739         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
74740         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
74741         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
74742         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
74744         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
74745         global and hidden.
74746         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
74747         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
74748         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
74749         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
74750         Likewise.
74751         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
74752         Likewise.
74753         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
74754         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
74755         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
74756         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
74757         ifunc-impl-list.c.
74758         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74759         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74760         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74761         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74762         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74763         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74764         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74765         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74766         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74767         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74768         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74769         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74770         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74771         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
74772         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
74773         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74774         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
74775         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
74776         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74777         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74778         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74779         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74780         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74781         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74782         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74783         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
74784         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
74785         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
74786         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
74787         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74788         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
74789         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74790         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74791         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
74792         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74793         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74794         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74795         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74796         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74797         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74798         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
74800         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
74801         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
74802         * include/ifunc-impl-list.h: New file.
74803         * misc/ifunc-impl-list.c: Likewise.
74804         * misc/Makefile (routines): Add ifunc-impl-list.
74805         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
74806         * string/test-string.h: Include <ifunc-impl-list.h>.
74807         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
74808         TEST_NAME]: New variables.
74809         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
74810         are defined.
74811         (test_init): Call __libc_ifunc_impl_list to initialize
74812         func_list if TEST_IFUNC and TEST_NAME are defined.
74814         * string/Makefile (strop-tests): Add bcopy and bzero.
74815         * string/test-bcopy.c: New file.
74816         * string/test-bzero.c: Likewise.
74817         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
74818         defined.
74819         * string/test-memset.c: Support bzero test if TEST_BZERO is
74820         defined.
74821         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
74822         __libc_memmove.
74823         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
74824         __libc_memset.
74825         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
74826         of memset.
74828 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
74830         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
74831         * configure: Regenerated.
74833         * Makeconfig (+link-static-before-libc): Don't include
74834         $(link-static-libc).
74836         * libio/libio.h (_IO_pos_t): Remove.
74838 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74840         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
74841         McGrath.
74843 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74845         * crypt/crypt-entry.c: Include fips-private.h.
74846         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
74847         * crypt/md5c-test.c (main): Tolerate disabled MD5.
74848         * sysdeps/unix/sysv/linux/fips-private.h: New file.
74849         * sysdeps/generic/fips-private.h: New file, dummy fallback.
74851 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
74853         * crypt/crypt-private.h: Include stdbool.h.
74854         (_ufc_setup_salt_r): Return bool.
74855         * crypt/crypt-entry.c: Include errno.h.
74856         (__crypt_r): Return NULL with EINVAL for bad salt.
74857         * crypt/crypt_util.c (bad_for_salt): New.
74858         (_ufc_setup_salt_r): Check that salt is long enough and within
74859         the specified alphabet.
74860         * crypt/badsalttest.c: New file.
74861         * crypt/Makefile (tests): Add it.
74862         ($(objpfx)badsalttest): New.
74864 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
74866         * NEWS: Add entry for BZ #14602.
74868 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74870         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
74871         type-generic.
74872         * math/libm-test.inc: Update comment listing what functions and
74873         macros are tested.
74874         (isgreater_test): New function.
74875         (isgreaterequal_test): Likewise.
74876         (isless_test): Likewise.
74877         (islessequal_test): Likewise.
74878         (islessgreater_test): Likewise.
74879         (isunordered_test): Likewise.
74880         (main): Call the new functions.
74882 2012-10-09  Roland McGrath  <roland@hack.frob.com>
74884         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
74885         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
74886         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
74887         * sysdeps/i386/configure: Regenerated.
74888         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
74889         * sysdeps/mach/configure: Regenerated.
74890         * sysdeps/mach/hurd/configure: Regenerated.
74891         * sysdeps/powerpc/configure: Regenerated.
74892         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74893         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74894         * sysdeps/s390/s390-32/configure: Regenerated.
74895         * sysdeps/s390/s390-64/configure: Regenerated.
74896         * sysdeps/sh/configure: Regenerated.
74897         * sysdeps/sparc/configure: Regenerated.
74898         * sysdeps/unix/sysv/linux/configure: Regenerated.
74899         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
74900         * sysdeps/x86_64/configure: Regenerated.
74902         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
74903         defined.  Don't check if MAP is NULL.
74905 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
74907         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
74908         (_G_stat64): Likewise.
74909         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
74910         (_G_stat64): Likewise.
74911         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
74912         instead of struct _G_stat64.
74913         * libio/fileops.c (mmap_remap_check): Likewise.
74914         (decide_maybe_mmap): Likewise.
74915         (_IO_new_file_seekoff): Likewise.
74916         (_IO_file_stat): Likewise.
74917         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
74918         _G_off64_t.
74919         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
74920         instead of struct _G_stat64.
74921         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
74923 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
74925         [BZ #14602]
74926         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74927         Replace with ...
74928         (CHECK_EOL): New macro.
74929         (two_way_short_needle): Check beginning of haystack for EOL.  Use
74930         CHECK_EOL.
74931         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74932         Replace with CHECK_EOL.
74933         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
74934         Replace with CHECK_EOL.
74936 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
74938         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
74939         type-generic.
74940         * math/libm-test.inc: Update comment listing what functions and
74941         macros are tested.
74942         (finite_test): New function.
74943         (isinf_test): Likewise.
74944         (isnan_test): Likewise.
74945         (fpclassify_test): Test subnormal input.
74946         (isfinite_test): Likewise.
74947         (isnormal_test): Likewise.
74948         (main): Call the new functions.
74950 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
74952         [BZ #14660]
74953         * Makerules (%.dynsym): Force C locale when running
74954         $(OBJDUMP) --dynamic-syms.
74956 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
74958         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
74959         <stdint.h>.
74961 2012-10-06  David S. Miller  <davem@davemloft.net>
74963         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
74964         upper 32-bits of the length value in %o2 since we use branch-on-register
74965         tests which consider the entire 64-bit register.
74967 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
74969         * string/test-strstr.c (check2): Add a test for page boundary.
74971 2012-10-05  David S. Miller  <davem@davemloft.net>
74973         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
74974         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
74975         file.
74976         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
74977         sysdep_routines.
74978         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
74979         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
74980         and bzero when HWCAP_SPARC_CRYPTO is present.
74982 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
74984         [BZ #14602]
74985         * string/test-strstr.c (check2): New function.
74986         (test_main): Call check2.
74988         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
74989         and bug-strchr1.
74990         * string/bug-strcasestr1.c (do_test): Moved to ...
74991         * string/test-strcasestr.c (check1): Here.  New function.
74992         (do_one_test): Break out result checking code into ...
74993         (check_result): This.  New function.
74994         (do_one_test): Call check_result.
74995         (test_main): Call check1.
74996         * string/bug-strchr1.c (do_test): Moved to ...
74997         * string/test-strchr.c (check1): Here.  New function.
74998         (do_one_test): Break out result checking code into ...
74999         (check_result): This.  New function.
75000         (do_one_test): Call check_result.
75001         (test_main): Call check1.
75002         * string/bug-strstr1.c (main): Moved to ...
75003         * string/test-strstr.c (check1): Here.  New function.
75004         (do_one_test): Break out result checking code into ...
75005         (check_result): This.  New function.
75006         (do_one_test): Call check_result.
75007         (test_main): Call check1.
75008         * string/bug-strcasestr1.c: Removed.
75009         * string/bug-strchr1.c: Likewise.
75010         * string/bug-strstr1.c: Likewise.
75012         * elf/Makefile (dl-routines): Add hwcaps.
75013         * elf/dl-support.c (_dl_important_hwcaps): Removed.
75014         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75015         (_dl_important_hwcaps): Moved to ...
75016         * elf/dl-hwcaps.c: Here.  New file.
75017         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75019         [BZ #14557]
75020         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75021         if IS_IN_rtld isn't defined.
75023         * elf/dl-support.c (_dl_sysinfo_map): New.
75024         Include "get-dynamic-info.h" and "setup-vdso.h".
75025         (_dl_non_dynamic_init): Call setup_vdso.
75026         * elf/dynamic-link.h: Don't include <assert.h>.
75027         (elf_get_dynamic_info): Moved to ...
75028         * elf/get-dynamic-info.h: Here.  New file.
75029         * elf/dynamic-link.h: Include "get-dynamic-info.h".
75030         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75031         * elf/setup-vdso.h: Here.  New file.
75032         * elf/rtld.c: Include "setup-vdso.h".
75033         (dl_main): Call setup_vdso.
75035 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
75037         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75038         creal in comment listing functions tested.  List finite, isinf,
75039         isnan, isless, islessequal, isgreater, isgreaterequal,
75040         islessgreater, isunordered, lgamma_r and pow10 as functions and
75041         macros not tested.  Mention which functions not tested are aliases
75042         for other functions.  Fix typo.  Note that signs of NaNs are not
75043         tested.
75045         * scripts/config.guess: Update from config.git.
75046         * scripts/config.sub: Likewise.
75048 2012-10-04  Roland McGrath  <roland@hack.frob.com>
75050         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75051         * misc/madvise.c (madvise): Renamed to __madvise.
75052         Make madvise a weak alias.
75053         * include/sys/mman.h: Declare __madvise.
75054         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75055         * sysdeps/unix/syscalls.list
75056         (madvise): Make __madvise the strong name, and madvise a weak alias.
75057         * sysdeps/unix/sysv/linux/syscalls.list
75058         (madvise, mmap): Remove redundant entries.
75059         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75060         * malloc/malloc.c (mtrim): Likewise.
75061         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75063 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75065         * sysdeps/mach/hurd/dl-cache.c: File removed.
75066         * config.h.in (USE_LDCONFIG): New #undef.
75067         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
75068         * configure: Regenerated.
75069         * elf/Makefile (dl-routines): Add dl-cache only under
75070         [$(use-ldconfig) = yes].
75071         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
75072         cache on [USE_LDCONFIG].
75073         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
75074         [USE_LDCONFIG].
75075         * elf/rtld.c (dl_main): Likewise.
75077 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
75079         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
75080         _SC_LEVEL4_CACHE_LINESIZE.
75082 2012-10-03  Roland McGrath  <roland@hack.frob.com>
75084         * sysdeps/unix/bsd/confstr.h: File removed.
75086 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
75088         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
75089         sys/sdt-config.h.
75091 2012-10-02  Roland McGrath  <roland@hack.frob.com>
75093         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
75094         Make 'mapoff' field ElfW(Off) rather than off_t.
75096 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
75098         * nscd/Makefile: Remove nscd-cflags and all its users.
75099         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
75100         (CFLAGS-nonlib): Add compiler flags for nscd modules.
75102         [BZ #10631]
75103         * malloc.c (malloc_printerr): Clarify error message.
75105 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
75107         [BZ #14648]
75108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75109         Set bit_FMA_Usable if FMA is supported.
75110         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
75111         macro.
75112         (bit_FMA4_Usable): Updated.
75113         (index_FMA_Usable): New macro.
75114         (CPUID_FMA): Likewise.
75115         (HAS_FMA): Defined with bit_FMA_Usable.
75117 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75119         * bits/types.h (__swblk_t): Type removed.
75120         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
75121         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
75122         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75123         (__SWBLK_T_TYPE): Likewise.
75124         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75125         (__SWBLK_T_TYPE): Likewise.
75126         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75127         (__SWBLK_T_TYPE): Likewise.
75128         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75129         (__SWBLK_T_TYPE): Likewise.
75131 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
75132             Honza Horak <hhorak@redhat.com>
75134         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
75135         (xdr_mapname): Use YPMAXMAP as maxsize.
75136         (xdr_peername): Use YPMAXPEER as maxsize.
75137         (xdr_keydat): Use YPAXRECORD as maxsize.
75138         (xdr_valdat): Use YPMAXRECORD as maxsize.
75140 2012-10-01  Roland McGrath  <roland@hack.frob.com>
75142         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
75144         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
75145         * csu/init-first.c: ... here.
75146         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
75147         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
75148         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
75149         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
75150         * sysdeps/i386/init-first.c: File removed.
75151         * sysdeps/sh/init-first.c: File removed.
75153 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
75155         [BZ #14645]
75156         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
75157         if x * y might underflow to zero and z is zero.
75158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75160         * math/libm-test.inc (min_subnorm_value): New variable.
75161         (fma_test): Add more tests.
75162         (fma_test_towardzero): Likewise.
75163         (fma_test_downward): Likewise.
75164         (fma_test_upward): Likewise.
75165         (initialize): Set min_subnorm_value.
75167 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
75169         [BZ #14638]
75170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
75171         0 + 0.
75172         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
75173         mode for addition resulting in exact zero.
75174         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
75175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
75176         exact 0 + 0.
75177         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75178         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75179         * math/libm-test.inc (fma_test): Add more tests.
75180         (fma_test_towardzero): New function.
75181         (fma_test_downward): Likewise.
75182         (fma_test_upward): Likewise.
75183         (main): Call the new functions.
75185 2012-09-28  David S. Miller  <davem@davemloft.net>
75187         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
75189 2012-09-28  Roland McGrath  <roland@hack.frob.com>
75191         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
75192         instead of SIGALRM.
75194         * sysdeps/gnu/_G_config.h: Moved to ...
75195         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
75196         * sysdeps/mach/hurd/_G_config.h: Moved to ...
75197         * sysdeps/generic/_G_config.h: ... here.
75199         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
75201         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
75203         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
75204         Conditionalize target on [libnss_test1.so-version].
75206         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
75208         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
75209         (elfobjdir): Move out of conditionals.
75211         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
75212         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
75213         (__nss_lookup_function): Conditionalize label remove_from_tree on
75214         [!DO_STATIC_NSS || SHARED], matching its only use.
75216 2012-09-28  David S. Miller  <davem@davemloft.net>
75218         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
75219         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
75220         file.
75221         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75222         sysdep_routines.
75223         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75224         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
75225         when HWCAP_SPARC_CRYPTO is present.
75227 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75229         * io/tst-mknodat.c: Create a FIFO instead of a socket.
75231 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
75233         [BZ #6530]
75234         * stdio-common/vfprintf.c (process_string_arg): Revert
75235         2000-07-22 change.
75237 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
75239         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
75240         for testcase.
75241         * stdio-common/tst-sprintf.c: Include <locale.h>
75242         (main): Test sprintf's handling of incomplete multibyte
75243         characters.
75245 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
75247         * elf/dl-runtime.c (VERSYMIDX): Removed.
75248         * elf/dl-version.c (VERSYMIDX): Likewise.
75249         * elf/do-rel.h (VERSYMIDX): Likewise.
75250         (VALIDX): Likewise.
75251         * elf/dynamic-link.h (VERSYMIDX): Likewise.
75252         * elf/rtld.c (VALIDX): Likewise.
75253         (ADDRIDX): Likewise.
75254         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
75255         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
75256         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
75257         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
75258         (VALIDX): Likewise.
75259         (ADDRIDX): Likewise.
75261 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75263         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
75265 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
75267         [BZ #11438]
75268         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
75269         to global scope.
75270         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
75271         addresses are in the same scope as 192.0.2/24.
75272         * posix/gai.conf: Document new scope table defaults.
75274 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75276         [BZ #5298]
75277         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
75278         for ftell.  Compute offsets from write pointers instead.
75279         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75281 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75283         [BZ #14543]
75284         * libio/Makefile (tests): New test case tst-fseek.
75285         * libio/tst-fseek.c: New test case to verify that fseek/ftell
75286         combination works in wide mode.
75287         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
75288         state when the external buffer state changes.
75290 2012-09-27  David S. Miller  <davem@davemloft.net>
75292         [BZ #14376]
75293         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
75294         pass reloc->r_addend in as the 'high' argument to
75295         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
75297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75299 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
75301         * rt/tst-aio2.c: Include <pthread.h>.
75302         * rt/tst-aio3.c: Likewise.
75304 2012-09-27  Steve Ellcey  <sellcey@mips.com>
75306         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
75308 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
75310         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
75311         contents on [SHARED].
75313 2012-09-26  Marek Polacek  <polacek@redhat.com>
75315         [BZ #14530]
75316         [BZ #13741]
75317         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
75318         for C++ and GCC <4.3 as well as for non GCC compilers.
75320 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
75322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75324 2012-09-25  Roland McGrath  <roland@hack.frob.com>
75326         * Makefile.in (all, install): Declare with .PHONY.
75327         Reported by Michael Hope <michael.hope@linaro.org>.
75329 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75331         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
75332         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
75333         system header.
75334         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
75335         Likewise.
75336         (sydep_routines): Add the new and the internal functions.
75337         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
75338         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
75339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
75340         (GLIBC_2.17): Add the new function.
75341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
75342         (GLIBC_2.17): Likewise.
75343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
75344         (GLIBC_2.17): Likewise.
75345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
75346         (GLIBC_2.17): Likewise.
75347         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
75349 2012-09-25  Alan Modra  <amodra@gmail.com>
75351         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
75352         Add release barrier before setting once_control to say
75353         initialisation is done.  Add hints on lwarx.  Use macro in
75354         place of isync.
75355         (clear_once_control): Add release barrier.
75357 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75359         [BZ #13629]
75360         * math/s_clog.c (__clog): Handle more values close to |z| = 1
75361         specially.
75362         * math/s_clog10.c (__clog10): Likewise.
75363         * math/s_clog10f.c (__clog10f): Likewise.
75364         * math/s_clog10l.c (__clog10l): Likewise.
75365         * math/s_clogf.c (__clogf): Likewise.
75366         * math/s_clogl.c (__clogl): Likewise.
75367         * math/Makefile (libm-calls): Add x2y2m1.
75368         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
75369         (__x2y2m1): Likewise.
75370         (__x2y2m1l): Likewise.
75371         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
75372         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
75373         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
75374         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
75375         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
75376         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
75377         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
75378         * sysdeps/i386/fpu/libm-test-ulps: Update.
75379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75381         [BZ #14621]
75382         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
75383         int as type of variable DEPTH.
75384         (glob): Use size_t instead of int as type of variables NEWCOUNT
75385         and OLD_PATHC.
75387 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75389         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75390         Add s_sincosf-sse2.
75391         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
75392         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
75393         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
75394         macros for using routine as __sincosf_ia32.
75395         Use macro for function declaration and weak_alias.
75396         * sysdeps/i386/fpu/libm-test-ulps: Update.
75398         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
75399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75401         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
75402         subnormal argument.
75403         * math/s_cexpf.c (__cexpf): Likewise.
75404         * math/s_csinf.c (__csinf): Likewise.
75405         * math/s_csinhf.c (__csinhf): Likewise.
75406         * math/s_ctanf.c (__ctanf): Likewise.
75407         * math/s_ctanhf.c (__ctanhf): Likewise.
75408         * math/s_ccosh.c (__ccoshf): Likewise.
75409         * math/s_cexp.c (__cexpl): Likewise.
75410         * math/s_csin.c (__csin): Likewise.
75411         * math/s_csinh.c (__csinh): Likewise.
75412         * math/s_ctan.c (__ctan): Likewise.
75413         * math/s_ctanh.c (ctanh): Likewise.
75414         * math/s_ccoshl.c (__ccoshl): Likewise.
75415         * math/s_cexpl.c (__cexpl): Likewise.
75416         * math/s_csinl.c (__csinl): Likewise.
75417         * math/s_csinhl.c (__csinhl): Likewise.
75418         * math/s_ctanl.c (__ctanl): Likewise.
75419         * math/s_ctanhl.c (__ctanhl): Likewise.
75421 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
75423         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
75424         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
75425         (_IO_off_t): Define to __off_t, not _G_off_t.
75426         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
75427         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
75428         (_IO_wint_t): Define to wint_t, not _G_wint_t.
75429         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
75430         type of __dummy and __dummy2 fields.
75431         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
75432         (_G_ssize_t): Likewise.
75433         (_G_off_t): Likewise.
75434         (_G_pid_t): Likewise.
75435         (_G_uid_t): Likewise.
75436         (_G_wchar_t): Likewise.
75437         (_G_wint_t): Likewise.
75438         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
75439         (_G_ssize_t): Likewise.
75440         (_G_off_t): Likewise.
75441         (_G_pid_t): Likewise.
75442         (_G_uid_t): Likewise.
75443         (_G_wchar_t): Likewise.
75444         (_G_wint_t): Likewise.
75445         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
75446         (_G_ssize_t): Likewise.
75447         (_G_off_t): Likewise.
75448         (_G_pid_t): Likewise.
75449         (_G_uid_t): Likewise.
75450         (_G_wchar_t): Likewise.
75451         (_G_wint_t): Likewise.
75453 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75455         * malloc/arena.c: Include malloc-sysdep.h.
75456         (shrink_heap): Use check_may_shrink_heap to decide if madvise
75457         is sufficient to shrink the heap or an unmap is needed.
75458         * sysdeps/generic/malloc-sysdep.h: New file.  Define
75459         new function check_may_shrink_heap.
75460         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
75461         new function check_may_shrink_heap.
75463 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
75465         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
75466         comments.
75468 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
75470         * catgets/test-gencat.sh: Add "set -e".
75471         * elf/tst-pathopt.sh: Likewise.
75472         * grp/tst_fgetgrent.sh: Likewise.
75473         * iconvdata/run-iconv-test.sh: Likewise.
75474         * intl/tst-gettext.sh: Likewise.
75475         * intl/tst-gettext2.sh: Likewise.
75476         * intl/tst-gettext4.sh: Likewise.
75477         * intl/tst-gettext6.sh: Likewise.
75478         * intl/tst-translit.sh: Likewise.
75479         * io/ftwtest-sh: Likewise.
75480         * libio/test-freopen.sh: Likewise.
75481         * malloc/tst-mtrace.sh: Likewise.
75482         * posix/globtest.sh: Likewise.
75483         * posix/tst-getconf.sh: Likewise.
75484         * posix/wordexp-tst.sh: Likewise.
75485         * stdio-common/tst-printf.sh: Likewise.
75486         * stdio-common/tst-unbputc.sh: Likewise.
75487         * stdlib/tst-fmtmsg.sh: Likewise.
75488         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75489         * catgets/Makefile: Do not specify -e option when running
75490         testsuite shell scripts.
75491         * elf/Makefile: Likewise.
75492         * grp/Makefile: Likewise.
75493         * iconvdata/Makefile: Likewise.
75494         * intl/Makefile: Likewise.
75495         * io/Makefile: Likewise.
75496         * libio/Makefile: Likewise.
75497         * malloc/Makefile: Likewise.
75498         * posix/Makefile: Likewise.
75499         * stdio-common/Makefile: Likewise.
75500         * stdlib/Makefile: Likewise.
75501         * sysdeps/x86_64/Makefile: Likewise.
75503         * io/ftwtest-sh: Add copyright header.
75504         * posix/globtest.sh: Likewise.
75505         * posix/tst-getconf.sh: Likewise.
75506         * posix/wordexp-tst.sh: Likewise.
75507         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
75509 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
75511         [BZ #13679]
75512         * Makeconfig (+link): Defined as $(+link-static) if
75513         $(build-shared) isn't yes.
75514         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
75515         isn't yes.
75516         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
75518         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
75520         [BZ #14562]
75521         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
75522         new chunk size with MALLOC_ALIGN_MASK.
75524 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
75526         [BZ #5044]
75527         * stdio-common/printf_fphex.c: Include <stdbool.h> and
75528         <rounding-mode.h>.
75529         (__printf_fphex): Determine rounding using get_rounding_mode and
75530         round_away.
75531         * stdio-common/tst-printf-round.c (struct hex_test): New
75532         structure.
75533         (hex_tests): New variable.
75534         (test_hex_in_one_mode): New function.
75535         (do_test): Also run tests for hex float output.
75537 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
75539         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75540         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75541         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
75542         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
75543         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
75544         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
75545         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75546         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
75548 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
75550         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
75551         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
75552         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
75553         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
75555 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
75557         [BZ #14579]
75558         * elf/rtld.c (dl_main): Limit the check for self loading to normal
75559         mode only.
75560         * elf/tst-rtld-load-self.sh: New test.
75561         * elf/Makefile: Run it.
75563 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
75565         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
75566         (tst-writev-ENV): Remove.
75567         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
75569 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
75571         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
75573 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
75575         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
75576         unconditional.
75577         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
75578         Likewise.
75579         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
75580         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
75581         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
75582         Likewise.
75584 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
75586         [BZ #14587]
75587         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
75588         * config.make.in (have-cpp-asm-debuginfo): Removed.
75589         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
75590         * configure: Regenerated.
75592 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
75594         [BZ #5044]
75595         * stdio-common/printf_fp.c: Include <stdbool.h> and
75596         <rounding-mode.h>.
75597         (___printf_fp): Determine rounding using get_rounding_mode and
75598         round_away.
75599         * stdio-common/tst-printf-round.c: New file.
75600         * stdio-common/Makefile (tests): Add tst-printf-round.
75601         (link-libm): New variable.
75602         ($(objpfx)tst-printf-round): Depend in $(link-libm).
75604 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
75606         [BZ #14576]
75607         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
75608         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
75609         Likewise.
75610         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
75611         Likewise.
75613 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
75615         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
75616         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75617         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75618         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
75620 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
75622         [BZ #14518]
75623         * include/rounding-mode.h: New file.
75624         * sysdeps/generic/get-rounding-mode.h: Likewise.
75625         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
75626         * stdlib/strtod_l.c: Include <rounding-mode.h>.
75627         (MAX_VALUE): New macro.
75628         (MIN_VALUE): Likewise.
75629         (overflow_value): New function.
75630         (underflow_value): Likewise.
75631         (round_and_return): Use overflow_value and underflow_value to
75632         determine return values in overflow and underflow cases.  Use
75633         round_away to determine rounding depending on rounding mode.
75634         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
75635         determine return values in overflow and underflow cases.
75636         * stdlib/tst-strtod-round.c: Include <fenv.h>.
75637         (struct test_results): New structure.
75638         (struct test): Use struct test_results to store expected results
75639         for all rounding modes.
75640         (TEST): Include expected results for all rounding modes.
75641         (test_in_one_mode): New function.
75642         (do_test): Use test_in_one_mode to compute and check results.
75643         Check results for all rounding modes.
75644         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
75645         $(link-libm).
75647 2012-12-09  Allan McRae  <allan@archlinux.org>
75649         * sysdeps/i386/fpu/libm-test-ulps: Update
75651 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
75653         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
75654         (_G_int32_t): Likewise.
75655         (_G_uint16_t): Likewise.
75656         (_G_uint32_t): Likewise.
75657         (_G_HAVE_BOOL): Likewise.
75658         (_G_HAVE_ATEXIT): Likewise.
75659         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75660         (_G_HAVE_IO_FILE_OPEN): Likewise.
75661         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
75662         (_G_int32_t): Likewise.
75663         (_G_uint16_t): Likewise.
75664         (_G_uint32_t): Likewise.
75665         (_G_HAVE_BOOL): Likewise.
75666         (_G_HAVE_ATEXIT): Likewise.
75667         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75668         (_G_HAVE_IO_FILE_OPEN): Likewise.
75669         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
75670         (_G_int32_t): Likewise.
75671         (_G_uint16_t): Likewise.
75672         (_G_uint32_t): Likewise.
75673         (_G_HAVE_BOOL): Likewise.
75674         (_G_HAVE_ATEXIT): Likewise.
75675         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
75676         (_G_HAVE_IO_FILE_OPEN): Likewise.
75678 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
75680         * csu/libc-tls.c: Update copyright years.
75682 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
75684         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
75685         [!_G_USING_THUNKS]: Remove conditional code.
75686         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
75687         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
75689         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
75690         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
75691         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75692         (_G_VTABLE_LABEL_PREFIX): Likewise.
75693         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75694         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75695         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75696         (_G_VTABLE_LABEL_PREFIX): Likewise.
75697         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75698         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
75699         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
75700         (_G_VTABLE_LABEL_PREFIX): Likewise.
75701         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
75703 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
75705         * libio/Makefile: Include ../Makeconfig before tests.
75706         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
75707         only if $(build-shared) is yes.
75709         * iconv/gconv_db.c: Update copyright years.
75711 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75713         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
75714         unwind info if defined PIC. Fix special cases description.
75715         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
75717         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
75718         DP_HI_MASK entry.
75719         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
75721 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
75723         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
75725         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
75726         is NULL.
75728         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
75729         (LDLIBS-tst-chk4): This.
75730         (LDFLAGS-tst-chk5): Renamed to ...
75731         (LDLIBS-tst-chk5): This.
75732         (LDFLAGS-tst-chk6): Renamed to ...
75733         (LDLIBS-tst-chk6): This.
75734         (LDFLAGS-tst-lfschk4): Renamed to ...
75735         (LDLIBS-tst-lfschk4): This.
75736         (LDFLAGS-tst-lfschk5): Renamed to ...
75737         (LDLIBS-tst-lfschk5): This.
75738         (LDFLAGS-tst-lfschk6): Renamed to ...
75739         (LDLIBS-tst-lfschk6): This.
75741         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
75742         on $(common-objpfx)soversions.mk.
75744 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
75746         [BZ #10014]
75747         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
75748         example host name.
75750 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
75752         * malloc/arena.c (arena_get_retry): New function that gets
75753         another arena for the caller to try its request on.
75754         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
75755         current arena cannot fulfill the request.
75756         (__libc_memalign): Likewise.
75757         (__libc_memalign): Likewise.
75758         (__libc_pvalloc): Likewise.
75759         (__libc_calloc): Likewise.
75761 2012-09-05  John Tobey  <john.tobey@gmail.com>
75763         [BZ #13542]
75764         * manual/arith.texi (Operations on Complex): Fix description
75765         of carg branch cut.
75767 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75769         [BZ #10014]
75770         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
75771         host name.
75773         [BZ #10038]
75774         * manual/memory.texi (Memory): Make order of menu items match
75775         order of sections.
75777 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75779         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
75780         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
75781         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
75783 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75785         * csu/libc-tls.c (static_dtv): Renamed to ...
75786         (_dl_static_dtv): This.  Make it global.
75787         (_dl_initial_dtv): Removed.
75788         (__libc_setup_tls): Updated.
75789         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
75790         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
75791         DL_INITIAL_DTV.
75793 2012-09-06  Petr Machata  <pmachata@redhat.com>
75795         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
75796         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
75797         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
75798         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
75800 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75802         [BZ #14545]
75803         * csu/libc-tls.c (_dl_initial_dtv): New variable.
75804         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
75805         freeing dtv[-1].
75807 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
75809         [BZ #14544]
75810         * Makeconfig (link-static-before-libc): Replace $(+prector)
75811         with $(+prectorT).
75812         (link-static-after-libc): Replace $(+postctor) with
75813         $(+postctorT).
75814         (link-bounded): Replace $(+prector)/$(+postctor) with
75815         $(+prectorT)/$(+postctorT).
75816         (+prectorT): New macro.
75817         (+postctorT): Likewise.
75819 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
75821         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
75822         (round_str): Handle values above the maximum for IBM long double
75823         as inexact.
75824         * stdlib/tst-strtod-round.c (tests): Regenerated.
75826 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75828         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
75829         assembler flag.
75830         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
75831         zarch_nohighgprs around the zarch optimized routines.
75832         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
75833         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
75834         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
75835         for zarch.
75837 2012-09-05  David S. Miller  <davem@davemloft.net>
75839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75841         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
75842         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
75843         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
75844         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75845         entries.
75847 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75849         * malloc/arena.c: Fold copyright years.
75850         * malloc/mcheck.c, malloc/memusage.c: Likewise.
75852 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75854         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
75856 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75858         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
75860 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75862         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
75863         change internal state upon failure.
75865 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
75867         * malloc/mcheck.c (mcheck_check_all): Fix typo.
75868         * malloc/memusage.c (mmap): Likewise.
75869         (mmap64, mremap): Likewise.  Adjust name in comment.
75871 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75873         * libio/fileops.c: Fix typos in comments.
75874         * libio/oldfileops.c: Likewise.
75875         * libio/wfileops.c: Likewise.
75877 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
75879         [BZ #1349]
75880         * malloc/Makefile (tests): Add tst-malloc-usable test case.
75881         (tst-malloc-usable-ENV): Set environment for test case.
75882         * malloc/hooks.c (malloc_check_get_size): New function to get
75883         requested size.
75884         * malloc/malloc.c (musable): Use malloc_check_get_size.
75885         * malloc/tst-malloc-usable.c: New test case.
75887 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75889         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
75891 2012-09-05  Allan McRae  <allan@archlinux.org>
75893         [BZ #13966]
75894         * configure.in (CXX_SYSINCLUDES): Use compiler output to
75895         determine header location.
75896         * configure: Regenerated.
75898 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
75900         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
75901         float format.
75902         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
75903         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
75904         format.
75905         (test): Regenerate.
75907 2012-09-04  David S. Miller  <davem@davemloft.net>
75909         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
75910         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
75911         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
75913 2012-09-04  Florian Weimer  <fweimer@redhat.com>
75915         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
75916         failures.
75918         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
75920 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
75922         [BZ #9914]
75923         * libio/iogetdelim.c: Include <limits.h>.
75924         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
75925         + len + 1 would overflow.
75927 2012-09-03  Andreas Jaeger  <aj@suse.de>
75929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75930         * sysdeps/i386/fpu/libm-test-ulps: Update.
75932 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75934         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
75935         Add s_sinf-sse2, s_conf-sse2.
75937         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
75938         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
75939         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
75940         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
75942         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
75943         for using routine as __sinf_ia32.
75944         Use macro for function declaration and weak_alias.
75945         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
75946         for using routine as __cosf_ia32.
75947         Use macro for function declaration and weak_alias.
75949         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
75950         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
75952         * sysdeps/x86_64/fpu/s_sinf.S: New file.
75953         * sysdeps/x86_64/fpu/s_cosf.S: New file.
75954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75956         * math/libm-test.inc (cos_test): Add more test cases.
75957         (sin_test): Likewise.
75958         (sincos_test): Likewise.
75960 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75962         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
75963         (IFUNC_RESOLVE): Make pointers to the specialized implementations
75964         hidden.
75965         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
75967 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
75969         [BZ #14538]
75970         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
75971         first element of the GOT.
75972         (elf_machine_load_address): Return the difference between
75973         the runtime address of _DYNAMIC and elf_machine_dynamic ().
75975 2012-09-01  Allan McRae  <allan@archlinux.org>
75977         [BZ #13412]
75978         * configure.in (AWK): Require gawk version 3.0 or later.
75979         * configure: Regenerated.
75981 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
75983         * sysdeps/unix/sysv/linux/kernel-features.h
75984         (__ASSUME_POSIX_CPU_TIMERS): Remove.
75985         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75986         [__NR_clock_getres]: Make code unconditional.
75987         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
75988         (clock_getcpuclockid): Remove code left unreachable by removal of
75989         conditionals.
75990         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
75991         code unconditional.
75992         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75993         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75994         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
75995         Make code unconditional.
75996         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
75997         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
75998         * sysdeps/unix/sysv/linux/clock_settime.c
75999         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
76000         conditional code.
76001         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
76002         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76004 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
76006         [BZ #14476]
76007         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
76008         scripts/test-installation.pl.
76010         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76011         and $ld_so_version if it is set.
76013 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
76015         [BZ #14516]
76016         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76017         failure if reading from procfs failed.
76018         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76020 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76022         * sysdeps/unix/sysv/linux/kernel-features.h
76023         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76024         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76025         Remove conditional code.
76026         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76027         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76028         Remove conditional code.
76029         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76030         * sysdeps/unix/sysv/linux/i386/fxstat.c
76031         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76032         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76033         * sysdeps/unix/sysv/linux/i386/fxstatat.c
76034         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76035         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76036         * sysdeps/unix/sysv/linux/i386/lxstat.c
76037         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76038         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76039         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76040         Remove conditional code.
76041         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76042         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76043         Remove conditional code.
76044         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76045         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76046         <kernel-features.h>.
76047         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76048         Remove.
76049         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76050         Remove conditional code.
76051         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76052         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76053         Remove conditional.
76055 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
76057         [BZ #5400]
76058         * NEWS: Add fixed bug number.
76060 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76062         [BZ #14519]
76063         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76064         underflowing exponent in case of negative sign.
76065         * stdlib/tst-strtod-round-data: Add more tests.
76066         * stdlib/tst-strtod-round.c (tests): Regenerated.
76068         [BZ #3479]
76069         * stdlib/strtod_l.c (NDIG): Remove.
76070         (HEXNDIG): Likewise.
76071         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
76072         smallest representable value.
76073         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
76074         lie within an exact representation of 1/2 ulp of the result.
76075         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
76076         unconditionally.
76077         (TENS_P9_IDX): Define unconditionally.
76078         (TENS_P9_SIZE): Likewise.
76079         (TENS_P10_IDX): Likewise.
76080         (TENS_P10_SIZE): Likewise.
76081         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
76082         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
76083         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
76084         entries for 10^2^13 and 10^2^14.
76085         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
76086         (TENS_P13_IDX): Define.
76087         (TENS_P13_SIZE): Likewise.
76088         (TENS_P14_IDX): Likewise.
76089         (TENS_P14_SIZE): Likewise.
76090         (_fpioconst_pow10): Change array size to
76091         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
76092         unconditional.
76093         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
76094         1024]: Add entries for 10^2^13 and 10^2^14.
76095         [LAST_POW10 > _LAST_POW10]: Remove #error.
76096         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
76097         (_fpioconst_pow10): Change array size to
76098         FPIOCONST_POW10_ARRAY_SIZE.
76099         * stdlib/gen-fpioconst.c: New file.
76100         * stdlib/gen-tst-strtod-round.c: Likewise.
76101         * stdlib/tst-strtod-round-data: Likewise.
76102         * stdlib/tst-strtod-round.c: Likewise.
76103         * stdlib/Makefile (tests): Add tst-strtod-round.
76105         [BZ #14459]
76106         * stdlib/strtod_l.c: Include <stdint.h>.
76107         (NDEBUG): Do not define.
76108         (round_and_return): Change EXPONENT parameter to type intmax_t.
76109         Rearrange calculations to avoid internal overflow possibilities.
76110         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
76111         Rearrange calculations to avoid internal overflow possibilities.
76112         Assert that number fits inside MPNSIZE limbs.
76113         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
76114         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
76115         calculations and add assertions to avoid internal overflow
76116         possibilities.  Add casts to avoid signed/unsigned operations.
76117         * stdlib/tst-strtod-overflow.c: New file.
76118         * stdlib/Makefile (tests): Add tst-strtod-overflow.
76120 2012-08-25  Marek Polacek  <polacek@redhat.com>
76122         * time/time.h: Fix some typos in comments.
76124 2012-08-23  Roland McGrath  <roland@hack.frob.com>
76126         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
76127         * posix/tst-rfc3484-2.c: Likewise.
76128         * posix/tst-rfc3484-3.c: Likewise.
76130 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
76132         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
76133         (EF_ARM_ABI_FLOAT_HARD): Likewise.
76135 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
76137         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
76138         #include of fxstatat64.c.
76140 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76142         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
76143         * shadow/getspent_r.c: Likewise.
76144         * shadow/getspnam.c: Likewise.
76145         * shadow/getspnam_r.c: Likewise.
76146         * gshadow/getsgent.c: Likewise.
76147         * gshadow/getsgent_r.c: Likewise.
76148         * gshadow/getsgnam.c: Likewise.
76149         * gshadow/getsgnam_r.c: Likewise.
76150         * inet/getnetbyad.c: Likewise.
76151         * inet/getnetbyad_r.c: Likewise.
76152         * inet/getnetbynm.c: Likewise.
76153         * inet/getnetbynm_r.c: Likewise.
76154         * inet/getnetent.c: Likewise.
76155         * inet/getnetent_r.c: Likewise.
76156         * inet/getproto.c: Likewise.
76157         * inet/getproto_r.c: Likewise.
76158         * inet/getprtent.c: Likewise.
76159         * inet/getprtent_r.c: Likewise.
76160         * inet/getprtname.c: Likewise.
76161         * inet/getprtname_r.c: Likewise.
76162         * inet/getrpcbyname.c: Likewise.
76163         * inet/getrpcbyname_r.c: Likewise.
76164         * inet/getrpcbynumber.c: Likewise.
76165         * inet/getrpcbynumber_r.c: Likewise.
76166         * inet/getrpcent.c: Likewise.
76167         * inet/getrpcent_r.c: Likewise.
76168         * inet/getaliasent.c: Likewise.
76169         * inet/getaliasent_r.c: Likewise.
76170         * inet/getaliasname.c: Likewise.
76171         * inet/getaliasname_r.c: Likewise.
76172         * nscd/getgrgid_r.c: Likewise.
76173         * nscd/getgrnam_r.c: Likewise.
76174         * nscd/gethstbyad_r.c: Likewise.
76175         * nscd/gethstbynm3_r.c: Likewise.
76176         * nscd/getpwnam_r.c: Likewise.
76177         * nscd/getpwuid_r.c: Likewise.
76178         * nscd/getsrvbynm_r.c: Likewise.
76179         * nscd/getsrvbypt_r.c: Likewise.
76180         * nscd/gai.c: Likewise.
76182         * configure.in (build_nscd): New substituted variable, set
76183         by --disable-build-nscd and defaults to $use_nscd.
76184         * configure: Regenerated.
76185         * config.make.in (build-nscd): New substituted variable.
76186         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
76187         Change conditional to require [$(build-nscd) = yes] as well.
76188         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
76190         [BZ #13696]
76191         * configure.in (use_nscd): New substituted variable, set by
76192         --disable-nscd.  If enabled, define USE_NSCD.
76193         * configure: Regenerated.
76194         * config.h.in: Add USE_NSCD.
76195         * config.make.in (use-nscd): New substituted variable.
76196         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
76197         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
76198         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
76199         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
76200         (CFLAGS-getgrnam_r.c): Likewise.
76201         (CFLAGS-initgroups.c): Likewise.
76202         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
76203         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
76204         Variables removed.
76205         * inet/getnetgrent_r.c
76206         (nscd_setnetgrent): New function, broken out of ...
76207         (setnetgrent): ... here.  Call it.
76208         (innetgr): Conditionalize nscd bits on [USE_NSCD].
76209         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
76210         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
76211         * nscd/Makefile (routines, aux): Move definitions after include of
76212         Makeconfig.  Conditionalize on [$(use-nscd) != no].
76213         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
76214         Conditionalize on [USE_NSCD].
76215         (is_nscd, nscd_init_cb): Likewise.
76216         (nss_load_library): Conditionalize init callback on [USE_NSCD].
76217         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
76218         * nss/nss_db/db-init.c: Likewise.
76219         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
76220         [USE_NSCD].
76221         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
76222         (make_request): Use it.
76223         (cache_valid_p): New function.
76224         (__check_pf): Use it.
76225         * NEWS: Add item for --disable-nscd.
76227 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
76229         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
76230         to support sed >= 4.2.1-20-ga9bf076.
76231         * configure: Regenerated.
76233 2012-08-22  Roland McGrath  <roland@hack.frob.com>
76235         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
76236         Conditionalize whole body on [IREL].
76238 2012-08-22  Jeff Law <law@redhat.com>
76240         [BZ #14505]
76241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
76242         if the family is PF_UNSPEC.
76244 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
76246         * Makerules (lib-version): Rename from V.
76247         (install-lib-nosubdir): Change V to lib-version.
76249 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
76251         [BZ #14252]
76252         * powerpc32/power6/wcschr.c: New file.
76253         * powerpc32/power6/wcscpy.c: New file.
76254         * powerpc32/power6/wcsrchr.c: New file.
76255         * powerpc64/power6/wcschr.c: New file.
76256         * powerpc64/power6/wcscpy.c: New file.
76257         * powerpc64/power6/wcsrchr.c: New file.
76259 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76261         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
76262         (two_way_short_needle): Use it.
76263         * string/strstr.c (AVAILABLE1_USES_J): Define.
76264         * string/strcasestr.c: Likewise.
76266         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
76267         array references.
76268         * string/strcasestr.c (TOLOWER): Make side-effect safe.
76270         [BZ #11607]
76271         * NEWS: Add an entry.
76272         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
76273         define their defaults.
76274         (two_way_short_needle): Detect end-of-string on-the-fly.
76275         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
76276         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
76277         * string/bug-strcasestr1.c: New test.
76278         * string/Makefile: Run it.
76280 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
76282         [BZ #11607]
76283         * string/str-two-way.h (two_way_short_needle): Optimize matching of
76284         the first character.
76286 2012-08-21  Roland McGrath  <roland@hack.frob.com>
76288         * csu/elf-init.c (__libc_csu_irel): Function removed.
76289         * csu/libc-start.c (apply_irel): New function.
76290         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
76292 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
76294         * sysdeps/unix/sysv/linux/kernel-features.h
76295         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
76296         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
76297         <kernel-features.h>.
76298         [__NR_fadvise64_64]: Make code unconditional.
76299         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
76300         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76301         !__NR_fadvise64_64)]: Likewise.
76302         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
76303         !__NR_fadvise64_64))]: Likewise.
76304         [__NR_fadvise64]: Make code unconditional.
76305         [!__NR_fadvise64]: Remove conditional code.
76306         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
76307         <kernel-features.h>.
76308         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76309         unconditional.
76310         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76311         conditional code.
76312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
76313         not include <kernel-features.h>.
76314         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76315         unconditional.
76316         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76317         conditional code.
76318         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
76319         include <kernel-features.h>.
76320         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
76321         unconditional.
76322         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
76323         conditional code.
76325 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76327         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
76328         slight instruction rearrangements per scrollpipe analysis.
76329         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
76331 2012-08-20  Roland McGrath  <roland@hack.frob.com>
76333         * manual/syslog.texi (syslog; vsyslog, closelog):
76334         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
76335         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
76337         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
76338         DSOCAPS to match condition on defining it.
76340 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
76342         * sysdeps/unix/sysv/linux/kernel-features.h
76343         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
76344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
76345         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76346         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
76348         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76349         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
76351         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
76352         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
76354         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
76355         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
76357         * sysdeps/unix/sysv/linux/kernel-features.h
76358         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
76359         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
76360         unconditional.
76361         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76362         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
76363         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76364         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76365         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
76366         Make code unconditional.
76367         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76368         (__mmap64) [!__NR_mmap2]: Likewise.
76369         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
76370         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
76371         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76372         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
76373         [__NR_mmap2]: Make code unconditional.
76374         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
76375         (__mmap64) [!__NR_mmap2]: Likewise.
76377 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76379         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
76381 2012-08-18  Andreas Jaeger  <aj@suse.de>
76383         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
76385 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76387         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
76388         * include/unistd.h (__have_sock_cloexec): Likewise.
76389         (__have_pipe2): Likewise.
76390         (__have_dup3): Likewise.
76392 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
76394         [BZ #9685]
76395         * include/unistd.h (__have_pipe2): Change define into an extern int.
76396         (__have_dup3): Likewise.
76397         * socket/have_sock_cloexec.c: Include fcntl.h.
76398         (__have_pipe2): New variable.
76399         (__have_dup3): Likewise.
76401 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
76403         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
76405 2012-08-17  Marek Polacek  <polacek@redhat.com>
76407         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
76408         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
76410 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76412         * configure.in: Add AC_SUBST for sysheaders.
76413         * configure: Regenerated.
76414         * config.make.in (sysheaders): New substituted variable.
76416         * sysdeps/unix/mkfifo.c: Moved ...
76417         * sysdeps/posix/mkfifo.c: ... here.
76418         * sysdeps/unix/mkfifoat.c: Moved ...
76419         * sysdeps/posix/mkfifoat.c: ... here.
76421         * sysdeps/unix/utime.c: Moved ...
76422         * sysdeps/posix/utime.c: ... here.
76424         * sysdeps/unix/time.c: Moved ...
76425         * sysdeps/posix/time.c: ... here.
76426         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
76427         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
76429         * sysdeps/unix/nice.c: Moved ...
76430         * sysdeps/posix/nice.c: ... here.
76432         * sysdeps/unix/alarm.c: Moved ...
76433         * sysdeps/posix/alarm.c: ... here.
76435         * intl/Makefile ($(codeset_mo)): Depend on the input file.
76437 2012-08-17  Jeff Law <law@redhat.com>
76439         * intl/Makefile (codeset_mo): New variable.
76440         ($(codeset_mo)): New target.
76441         (tst-codeset.out): Depend on that.  Remove explicit rule.
76442         (tst-gettext3.out, tst-gettext5.out): Likewise.
76443         (LOCPATH-ENV, tst-codeset-ENV): New variables.
76444         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
76445         * intl/tst-codeset.sh: Remove.
76446         * intl/tst-gettext3.sh: Likewise.
76447         * intl/tst-gettext5.sh: Likewise.
76449 2012-08-17  Roland McGrath  <roland@hack.frob.com>
76451         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
76452         * sysdeps/unix/syscalls.list: ... here.
76454         * sysdeps/posix/getaddrinfo.c
76455         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
76456         (gaiconf_init, gaiconf_reload): Use them.
76457         [!_STATBUF_ST_NSEC]
76458         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
76459         Define using time_t rather than struct timespec.
76461         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
76462         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
76463         Macros removed.
76464         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
76465         [!NO_THREADS].
76466         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
76467         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
76468         Likewise.
76470         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
76471         __libc_cleanup_push argument.
76473         * bits/param.h: New file.
76474         * misc/sys/param.h: New file.
76475         * include/sys/param.h: New file.
76476         * misc/Makefile (headers): Add bits/param.h.
76477         * sysdeps/generic/sys/param.h: File removed.
76478         * sysdeps/unix/sysv/linux/bits/param.h: New file.
76479         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
76480         * sysdeps/mach/hurd/bits/param.h: New file.
76481         * sysdeps/mach/hurd/sys/param.h: File removed.
76483         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
76484         last change.
76486         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
76487         [_IO_MTSAFE_IO].
76488         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
76489         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
76490         New macros.
76492         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
76493         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
76494         rather than -D_IO_MTSAFE_IO conditionally.
76495         * stdio-common/Makefile (CPPFLAGS): Likewise.
76496         * wcsmbs/Makefile (CPPFLAGS): Likewise.
76497         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
76498         Use $(libio-mtsafe).
76499         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
76500         of -D_IO_MTSAFE_IO.
76501         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
76502         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
76503         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
76504         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
76505         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
76506         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
76507         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
76508         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
76509         (CFLAGS-fread_u_chk.c): Likewise.
76510         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
76511         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
76512         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
76513         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
76514         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
76515         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
76516         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
76517         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
76518         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
76520         * libio/Makefile: Test [$(libc-reentrant) = yes]
76521         instead of [$(filter %REENTRANT, $(defines)) nonempty].
76523         * Makeconfig
76524         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
76525         * sysdeps/pthread/configure: File removed.
76526         * sysdeps/pthread/Makeconfig: New file.
76527         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
76528         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
76530 2012-08-16  Gary Benson  <gbenson@redhat.com>
76532         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
76533         unmapping the first object in a namespace.
76535 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76537         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
76538         (__internal_setnetgrent): ... this.  Add internal_function to
76539         definition.  Add libc_hidden_def.
76540         (setnetgrent): Update caller.
76541         (internal_endnetgrent): Renamed to ...
76542         (__internal_endnetgrent): ... this.  Add internal_function to
76543         definition.  Add libc_hidden_def.
76544         (endnetgrent): Update caller.
76545         (internal_getnetgrent_r): Renamed to ...
76546         (__internal_getnetgrent_r): ... this.  Add internal_function to
76547         definition.  Add libc_hidden_def.
76548         (__getnetgrent_r): Update caller.
76549         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
76551 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76553         * stdlib/longlong.h: Update from GCC.
76555 2012-08-16  Roland McGrath  <roland@hack.frob.com>
76557         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
76558         on _QL, which is set by umul_ppmm but never used.
76559         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
76560         variables, which are set by GMP macros but never used.
76561         * stdio-common/_itowa.c (_itowa): Likewise.
76562         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
76563         * stdlib/mod_1.c (mpn_mod_1): Likewise.
76565 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
76567         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
76568         struct La_sh_regs is not constant.
76569         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
76570         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
76571         and struct La_sparc64_regs are not constant.
76573 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
76575         * sysdeps/unix/sysv/linux/kernel-features.h
76576         (__ASSUME_POSIX_TIMERS): Remove.
76577         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76578         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76579         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
76580         Make code unconditional.
76581         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76582         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
76583         Make code unconditional.
76584         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76585         * sysdeps/unix/sysv/linux/clock_nanosleep.c
76586         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
76587         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76588         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
76589         Make code unconditional.
76590         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
76591         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
76592         (__libc_missing_posix_timers): Remove.
76594 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76596         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
76597         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
76599         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
76601         * elf/dl-sym.c: Include <stdlib.h>.
76603         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
76604         constants, which avoids warnings in 32-bit builds.
76606         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
76607         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
76609         * misc/lseek.c: File moved to ...
76610         * io/lseek.c: ... here.
76612         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
76614         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
76615         shifting LEN more than 31 bits at once.
76617 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76619         [BZ #14195]
76620         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
76621         segmentation fault for a case of two empty input strings.
76622         * string/test-strncasecmp.c (check1): Renamed to...
76623         (bz12205): ...this.
76624         (bz14195): Add new testcase for two empty input strings and N > 0.
76625         (test_main): Call new testcase, adapt for renamed function.
76627 2012-08-15  Andreas Jaeger  <aj@suse.de>
76629         [BZ #14090]
76630         * crypt/md5test2.c: New test, based on test supplied by Serge
76631         Belyshev <belyshev@depni.sinp.msu.ru>.
76632         * crypt/Makefile (xtests): Add md5test-giant..
76633         * crypt/Makefile ($(objpfx)md5test-giant): Add.
76635 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
76637         [BZ #14090]
76638         * crypt/md5.c (md5_process_block): Don't assume the buffer
76639         length is less than 2**32.
76640         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
76641         length is less than 2**64.
76643 2012-08-15  Roland McGrath  <roland@hack.frob.com>
76645         * string/str-two-way.h: Include <sys/param.h>.
76646         (MAX): Macro removed.
76648         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
76649         Move #define and #undef of memmove to just before and after
76650         including <string.h>.
76652         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
76653         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
76654         and after including <string.h>.  Move declarations of
76655         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
76656         to before #include "string/memmove.c".
76658         * include/dirent.h: Declare __getdirentries.
76660         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
76661         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
76663 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
76665         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
76666         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
76667         * sysdeps/i386/configure: Regenerated.
76668         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
76669         STABS_CURRENT_FILE, and STABS_FUN.
76670         (END): Remove call to STABS_FUN_END.
76671         (STABS_CURRENT_FILE1): Delete.
76672         (STABS_CURRENT_FILE): Likewise.
76673         (STABS_FUN): Likewise.
76674         (STABS_FUN_END): Likewise.
76675         (STABS_FUN2): Likewise.
76676         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
76677         * sysdeps/x86_64/configure: Regenerated.
76679 2012-08-14  Roland McGrath  <roland@hack.frob.com>
76681         * elf/dl-open.c: Include <atomic.h>.
76682         * elf/dl-lookup.c: Likewise.
76684 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
76686         * sysdeps/unix/sysv/linux/kernel-features.h
76687         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
76688         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
76689         unconditionally.
76690         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
76691         unconditionally.
76692         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
76693         condition on __ASSUME_CLONE_THREAD_FLAGS.
76695 2012-08-14  Andreas Jaeger  <aj@suse.de>
76697         * sysdeps/i386/fpu/libm-test-ulps: Update.
76699 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
76701         * include/atomic.h (atomic_exchange_and_add): Split into ...
76702         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
76703         New atomic macros.
76705 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
76707         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76709 2012-08-13  Jeff Law <law@redhat.com>
76711         * manual/stdio.texi (snprintf): Clarify handling of the trailing
76712         null byte in the output string.
76714 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
76716         * sysdeps/unix/sysv/linux/kernel-features.h
76717         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
76718         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
76719         (__ASSUME_ARG_MAX_STACK_BASED): Define.
76720         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
76721         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
76722         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
76723         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
76725 2012-08-09  Jeff Law <law@redhat.com>
76727         [BZ #13939]
76728         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
76729         When avoid_arena is set, don't retry in the that arena.  Pick the
76730         next one, whatever it might be.
76731         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
76732         (arena_lock): Pass in new parameter to arena_get2.
76733         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
76734         arena_get2.
76735         (__libc_malloc): Unify retrying after main arena failure with
76736         __libc_memalign version.
76737         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
76739 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
76741         [BZ #14166]
76742         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
76743         to __redirect_strstr.
76744         (__strstr_sse42): Use typeof __redirect_strstr.
76745         (__strstr_ia32): Likewise.
76746         (__libc_strstr): New prototype.
76747         (strstr): Renamed to ...
76748         (__libc_strstr): This.
76749         (strstr): New strong alias of __libc_strstr.
76750         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76751         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
76752         __redirect_time.
76753         Include <time.h>.
76754         (__libc_time): New prototype.
76755         (time_ifunc): Replace time with __libc_time.
76756         (time): New strong alias and hidden definition of __libc_time.
76757         (__GI_time): Remove strong alias.
76758         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
76759         Include <stddef.h>.
76760         (memmove): Redefined to __redirect_memmove.
76761         (__memmove_sse2): Use typeof __redirect_memmove.
76762         (__memmove_ssse3): Likewise.
76763         (__memmove_ssse3_back): Likewise.
76764         (__libc_memmove): New prototype.
76765         (memmove): Renamed to ...
76766         (__libc_memmove): This.
76767         (memmove): New strong alias of __libc_memmove.
76769 2012-08-08  Mark Salter  <msalter@redhat.com>
76771         * elf/elf.h
76772         (R_MN10300_TLS_GD): Define.
76773         (R_MN10300_TLS_LD): Likewise.
76774         (R_MN10300_TLS_LDO): Likewise.
76775         (R_MN10300_TLS_GOTIE): Likewise.
76776         (R_MN10300_TLS_IE): Likewise.
76777         (R_MN10300_TLS_LE): Likewise.
76778         (R_MN10300_TLS_DTPMOD): Likewise.
76779         (R_MN10300_TLS_DTPOFF): Likewise.
76780         (R_MN10300_TLS_TPOFF): Likewise.
76781         (R_MN10300_SYM_DIFF): Likewise.
76782         (R_MN10300_ALIGN): Likewise.
76783         (R_MN10300_NUM): Update.
76785 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
76787         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
76788         Remove.
76790 2012-08-08  Roland McGrath  <roland@hack.frob.com>
76792         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
76794         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
76795         sysdeps/unix -> sysdeps/posix move.
76796         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
76798 2012-08-07      Allan McRae     <allan@archlinux.org>
76800         [BZ #14303]
76801         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
76802         (SUNOS_CPP): Likewise.
76803         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
76804         not found.
76805         (open_input): Call CPP using execvp.
76807 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76809         * sysdeps/unix/sysv/linux/kernel-features.h
76810         (__ASSUME_PROT_GROWSUPDOWN): Remove.
76811         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76812         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76813         (__ASSUME_WAITID_SYSCALL): Likewise.
76814         * sysdeps/unix/sysv/linux/dl-execstack.c
76815         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
76816         code unconditional.
76817         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
76818         conditional code.
76819         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
76820         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
76821         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
76822         code.
76823         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
76824         unconditional.
76825         [__ASSUME_WAITID_SYSCALL]: Likewise.
76826         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
76828 2012-08-07  Roland McGrath  <roland@hack.frob.com>
76830         * sysdeps/unix/closedir.c: Renamed to ...
76831         * sysdeps/posix/closedir.c: ... here.
76832         * sysdeps/unix/dirfd.c: Renamed to ...
76833         * sysdeps/posix/dirfd.c: ... here.
76834         * sysdeps/unix/dirstream.h: Renamed to ...
76835         * sysdeps/posix/dirstream.h: ... here.
76836         * sysdeps/unix/fdopendir.c: Renamed to ...
76837         * sysdeps/posix/fdopendir.c: ... here.
76838         * sysdeps/unix/opendir.c: Renamed to ...
76839         * sysdeps/posix/opendir.c: ... here.
76840         * sysdeps/unix/readdir.c: Renamed to ...
76841         * sysdeps/posix/readdir.c: ... here.
76842         * sysdeps/unix/readdir_r.c: Renamed to ...
76843         * sysdeps/posix/readdir_r.c: ... here.
76844         * sysdeps/unix/rewinddir.c: Renamed to ...
76845         * sysdeps/posix/rewinddir.c: ... here.
76846         * sysdeps/unix/seekdir.c: Renamed to ...
76847         * sysdeps/posix/seekdir.c: ... here.
76848         * sysdeps/unix/telldir.c: Renamed to ...
76849         * sysdeps/posix/telldir.c: ... here.
76850         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
76851         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
76852         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
76853         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
76855         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
76856         * bits/fcntl.h: ... here.
76858         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
76859         not 0.
76860         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
76861         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
76862         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
76863         (struct flock): Move l_start, l_len to the beginning.
76864         Use __pid_t for l_pid.
76865         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
76866         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
76867         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
76868         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
76869         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
76870         [__USE_LARGEFILE64] (struct flock64): New type.
76871         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
76873         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
76874         * bits/dirent.h: ... here.
76876         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
76877         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
76879 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
76881         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76882         Change from 2.6.0 to 2.6.16.
76883         * sysdeps/unix/sysv/linux/configure: Regenerated.
76884         * sysdeps/unix/sysv/linux/kernel-features.h
76885         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
76886         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
76887         version.
76888         (__ASSUME_UTIMES): Likewise.
76889         (__ASSUME_CLONE_STOPPED): Remove.
76890         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
76891         architectures, not kernel version.
76892         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
76893         (__ASSUME_NO_CLONE_DETACHED): Likewise.
76894         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
76895         (__ASSUME_WAITID_SYSCALL): Likewise.
76896         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
76897         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
76898         * README: State 2.6.16 as minimum Linux kernel version.  Do not
76899         refer to older versions.
76901 2012-08-06  Roland McGrath  <roland@hack.frob.com>
76903         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
76904         Define alphasort64 as an alias.
76905         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
76906         Define versionsort64 as an alias.
76907         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
76908         Define scandir64 as an alias.
76909         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
76910         Define scandirat64 as an alias.
76911         * dirent/alphasort64.c (alphasort64):
76912         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
76913         * dirent/versionsort64.c: Likewise.
76914         * dirent/scandir64.c: Likewise.
76915         * dirent/scandirat64.c: Likewise.
76916         * sysdeps/wordsize-64/alphasort.c: File removed.
76917         * sysdeps/wordsize-64/alphasort64.c: File removed.
76918         * sysdeps/wordsize-64/scandir.c: File removed.
76919         * sysdeps/wordsize-64/scandir64.c: File removed.
76920         * sysdeps/wordsize-64/scandirat.c: File removed.
76921         * sysdeps/wordsize-64/scandirat64.c: File removed.
76922         * sysdeps/wordsize-64/versionsort.c: File removed.
76923         * sysdeps/wordsize-64/versionsort64.c: File removed.
76924         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
76925         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
76926         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
76927         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
76928         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
76929         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
76930         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
76931         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
76933         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
76934         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76935         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
76936         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76937         [defined __arch64__ || defined __sparcv9]
76938         (__INO_T_MATCHES_INO64_T): New macro.
76939         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76940         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
76941         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
76942         * sysdeps/unix/sysv/linux/bits/dirent.h
76943         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
76944         (_DIRENT_MATCHES_DIRENT64): New macro.
76946         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
76947         Define lockf64 as an alias.
76948         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
76949         Define fseeko64 as an alias.
76950         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
76951         Define ftello64 as an alias.
76952         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
76953         Define _IO_fgetpos64 and fgetpos64 as aliases.
76954         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
76955         Define _IO_fsetpos64 and fsetpos64 as aliases.
76956         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
76957         Conditionalize body on this.
76958         * libio/fseeko64.c: Likewise.
76959         * libio/ftello64.c: Likewise.
76960         * libio/iofgetpos64.c: Likewise.
76961         * libio/iofsetpos64.c: Likewise.
76962         * sysdeps/wordsize-64/lockf.c: File removed.
76963         * sysdeps/wordsize-64/lockf64.c: File removed.
76964         * sysdeps/wordsize-64/fseeko.c: File removed.
76965         * sysdeps/wordsize-64/fseeko64.c: File removed.
76966         * sysdeps/wordsize-64/ftello.c: File removed.
76967         * sysdeps/wordsize-64/ftello64.c: File removed.
76968         * sysdeps/wordsize-64/iofgetpos.c: File removed.
76969         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
76970         * sysdeps/wordsize-64/iofsetpos.c: File removed.
76971         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
76972         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
76973         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
76974         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
76975         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
76976         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
76977         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
76978         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
76979         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
76980         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
76981         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
76983         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76984         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
76985         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
76986         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76987         [defined __arch64__ || defined __sparcv9]
76988         (__OFF_T_MATCHES_OFF64_T): New macro.
76989         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76990         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
76991         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76992         (__OFF_T_MATCHES_OFF64_T): New macro.
76994 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
76996         * stdlib/secure-getenv.c (__secure_getenv): Replace
76997         GLIBC_2_16 with GLIBC_2_17.
76999 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77001         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
77002         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77004 2012-08-03  David S. Miller  <davem@davemloft.net>
77006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77008 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77010         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77011         Remove.
77012         (__ASSUME_CORRECT_SI_PID): Likewise.
77013         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77014         (__ASSUME_TMPFS_NAME): Likewise.
77015         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77016         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77017         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77018         (HAVE_AUX_SECURE): Make definition unconditional.
77019         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77020         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77022 2012-08-03  Roland McGrath  <roland@hack.frob.com>
77024         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77025         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77026         * sysdeps/mach/hurd/eloop-threshold.h: New file.
77027         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77028         __eloop_threshold instead of SYMLOOP_MAX.
77030         * sysdeps/generic/eloop-threshold.h: New file.
77031         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77032         of MAXSYMLINKS.
77033         * elf/chroot_canon.c (chroot_canon): Likewise.
77035 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77037         [BZ #13717]
77038         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77039         Change to 2.6.0 everywhere.
77040         * sysdeps/unix/sysv/linux/configure: Regenerated.
77041         * sysdeps/unix/sysv/linux/kernel-features.h
77042         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77043         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77044         kernel versions.
77045         (__ASSUME_POSIX_TIMERS): Define unconditionally.
77046         (__ASSUME_FUTEX_REQUEUE): Remove.
77047         (__ASSUME_STATFS64): Define unconditionally.
77048         (__ASSUME_AT_SECURE): Likewise.
77049         (__ASSUME_CORRECT_SI_PID): Likewise.
77050         (__ASSUME_TGKILL): Define without depending on kernel version for
77051         i386.
77052         (__ASSUME_UTIMES): Likewise.
77053         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77054         kernel version.
77055         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77056         (__ASSUME_TMPFS_NAME): Likewise.
77057         * README: Update reference to Linux kernel versions.
77059 2012-08-02  Marek Polacek  <polacek@redhat.com>
77061         [BZ #14150]
77062         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
77063         libc_cv_asm_type_prefix with %.
77064         * configure: Regenerated.
77065         * include/libc-symbols.h: Remove comment about
77066         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77067         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
77068         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
77069         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
77070         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
77071         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
77072         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
77073         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
77074         * elf/tst-unique2mod1.c: Likewise.
77075         * elf/tst-unique1mod2.c: Likewise.
77076         * elf/tst-unique1mod1.c: Likewise.
77077         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
77078         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
77079         Replace ASM_TYPE_DIRECTIVE with .type.
77080         * sysdeps/s390/s390-64/sysdep.h: Likewise.
77081         * sysdeps/i386/sysdep.h: Likewise.
77082         * sysdeps/x86_64/sysdep.h: Likewise.
77083         * sysdeps/sh/sysdep.h: Likewise.
77084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77085         Do not define ASM_TYPE_DIRECTIVE.
77086         * sysdeps/powerpc/sysdep.h: Likewise.
77087         * sysdeps/powerpc/powerpc32/sysdep.h:
77088         Replace ASM_TYPE_DIRECTIVE with .type.
77089         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
77090         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
77091         * sysdeps/i386/fpu/e_powf.S: Likewise.
77092         * sysdeps/i386/fpu/e_expl.S: Likewise.
77093         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77094         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77095         * sysdeps/i386/fpu/e_pow.S: Likewise.
77096         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77097         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77098         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77099         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77100         * sysdeps/i386/fpu/e_log2.S: Likewise.
77101         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77102         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77103         * sysdeps/i386/fpu/e_powl.S: Likewise.
77104         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77105         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77106         * sysdeps/i386/fpu/e_logl.S: Likewise.
77107         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77108         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77109         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77110         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77111         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77112         * sysdeps/i386/fpu/e_log.S: Likewise.
77113         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77114         * sysdeps/i386/fpu/e_logf.S: Likewise.
77115         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77116         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77117         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77118         * sysdeps/i386/fpu/e_log10.S: Likewise.
77119         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77120         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77121         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77122         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77123         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77124         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
77125         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77126         * sysdeps/i386/i686/strtok.S: Likewise.
77127         * sysdeps/i386/i386-mcount.S: Likewise.
77128         * sysdeps/i386/strtok.S: Likewise.
77129         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
77130         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77131         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77132         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77133         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
77134         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77135         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77136         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77137         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77138         * sysdeps/x86_64/_mcount.S: Likewise.
77139         * sysdeps/x86_64/strtok.S: Likewise.
77140         * sysdeps/sh/_mcount.S: Likewise.
77142 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77144         * libio/iofopen.c: Include <fcntl.h>.
77145         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
77146         (_IO_fopen64, fopen64): Define as aliases.
77147         * libio/iofopen64.c: Include <fcntl.h>.
77148         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
77149         Conditionalize body on this.
77150         * sysdeps/wordsize-64/iofopen.c: File removed.
77151         * sysdeps/wordsize-64/iofopen64.c: File removed.
77153 2012-08-01  Marek Polacek  <polacek@redhat.com>
77155         * libc/Makeconfig: Use elf in place of binfmt-subdir.
77156         Use dlfcn directly instead of a variable.
77157         (binfmt-subdir): Do not define.
77158         (dlfcn): Likewise.
77160 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
77162         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
77163         Remove all definitions.
77164         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
77165         <kernel-features.h>.
77166         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77167         (miss_F_GETOWN_EX): Remove all definitions.
77168         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
77169         macro definition.
77170         [!__ASSUME_FCNTL64]: Remove conditional code.
77171         [__ASSUME_FCNTL64]: Make code unconditional.
77172         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
77173         <kernel-features.h>.
77174         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
77175         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
77176         (lockf64) [__NR_fcntl64]: Make code unconditional.
77177         (lockf64) [__ASSUME_FCNTL64]: Likewise.
77179         * sysdeps/unix/sysv/linux/kernel-features.h
77180         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
77181         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
77182         Make code unconditional.
77183         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77184         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
77186         [__NR_vfork]: Make code unconditional.
77187         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77188         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
77190         [__NR_vfork]: Make code unconditional.
77191         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
77192         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
77194 2012-08-01  Roland McGrath  <roland@hack.frob.com>
77196         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
77197         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
77199         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77200         Define mkstemp64 as an alias.
77201         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77202         Define mkstemps64 as an alias.
77203         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77204         Define mkostemp64 as an alias.
77205         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
77206         Define mkostemps64 as an alias.
77207         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
77208         Conditionalize body on this.
77209         * misc/mkostemp64.c: Likewise.
77210         * misc/mkostemps64.c: Likewise.
77211         * misc/mkstemps64.c: Likewise.
77212         * sysdeps/wordsize-64/mkstemp64.c: File removed.
77213         * sysdeps/wordsize-64/mkostemp64.c: File removed.
77214         * sysdeps/wordsize-64/mkostemp.c: File removed.
77215         * sysdeps/wordsize-64/mkstemp.c: File removed.
77216         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
77217         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77218         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
77219         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
77221         [BZ #14138]
77222         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
77223         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
77224         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
77225         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
77227         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
77228         compat_symbol macros from <shlib-compat.h> rather than the underlying
77229         default_symbol_version and symbol_version macros, so that DEFAULT
77230         lines in shlib-versions are respected.
77231         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
77233 2012-08-01  Florian Weimer  <fweimer@redhat.com>
77235         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
77236         Declare with warn_unused_result.
77237         (setgid, setregid, setegid, setresgid): Likewise.
77238         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
77239         Likewise.
77240         * WUR-REPORT: Remove set*id functions.
77242 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
77244         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
77246 2012-07-31  Roland McGrath  <roland@hack.frob.com>
77248         [BZ #10191]
77249         * include/sys/socket.h (__libc_accept, __libc_accept4):
77250         Add attribute_hidden.
77251         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
77253         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
77254         use of PTR_MANGLE.
77255         * inet/getnetgrent_r.c (setup): Likewise.
77257         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
77259 2012-07-31  David S. Miller  <davem@davemloft.net>
77261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77263 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
77265         [BZ #13629]
77266         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
77267         value between 1.0 and 2.0 and smaller part has absolute value less
77268         than 1.0.
77269         * math/s_clog10.c (__clog10): Likewise.
77270         * math/s_clog10f.c (__clog10f): Likewise.
77271         * math/s_clog10l.c (__clog10l): Likewise.
77272         * math/s_clogf.c (__clogf): Likewise.
77273         * math/s_clogl.c (__clogl): Likewise.
77274         * math/libm-test.inc (clog_test): Add more tests.
77275         (clog10_test): Likewise.
77276         * sysdeps/i386/fpu/libm-test-ulps: Update.
77277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77279 2012-07-31  Florian Weimer  <fweimer@redhat.com>
77281         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
77282         Exit with zero in case no suitable GID is found, and write a
77283         message to standard error.
77285 2012-07-30  Roland McGrath  <roland@hack.frob.com>
77287         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
77288         rather than to 1.
77289         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
77290         (MAXPATHLEN): Removed.
77291         (NOGROUP, NODEV): New macros.
77292         (setbit, clrbit, isset, isclr): New macros.
77293         (howmany, roundup, powerof2): New macros.
77294         (DEV_BSIZE): New macro.
77296         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
77297         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
77299         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
77300         definition on [!__NO_LONG_DOUBLE_MATH].
77302         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
77303         PTR_MANGLE and PTR_DEMANGLE.
77305         * socket/accept4.c (accept4): Rename to __libc_accept4.
77306         Define accept4 as a weak alias.
77308         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
77309         on [_DIRENT_HAVE_D_TYPE].
77310         * io/ftw.c (ftw_dir): Likewise.
77312         * io/xmknod.c (__xmknod): Don't check PATH for being null.
77314         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
77316         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
77317         Use the BSD numbers rather than the arbitrary ones we had.
77318         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
77319         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
77320         (SIGXCPU, SIGXFSZ): New macros.
77321         (_NSIG): Now 32.
77323         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
77324         initializer on [_LIBC_REENTRANT].
77326         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
77327         definitions inside [_POSIX_MAPPED_FILES].
77329         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
77331         * dirent/opendir.c: Include <fcntl.h>.
77333         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
77334         (__libc_getspecific): Likewise.
77335         (__libc_key_create): Likewise.
77337         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
77338         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
77339         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
77340         (tmpfile64): Define as alias.
77341         * sysdeps/wordsize-64/tmpfile.c: File removed.
77342         * sysdeps/wordsize-64/tmpfile64.c: File removed.
77343         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
77344         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
77346         * stdio-common/vfscanf.c: Include <stdbool.h>.
77347         * nss/makedb.c: Likewise.
77348         * stdio-common/_i18n_number.h: Likewise.
77349         * argp/argp-help.c: Likewise.
77350         * posix/wordexp.c: Likewise.
77351         * sysdeps/posix/spawni.c: Likewise.
77352         * nss/nss_files/files-initgroups.c: Likewise.
77353         * stdio-common/reg-modifier.c: Include <stdlib.h>.
77354         * nss/nss_files/files-initgroups.c: Likewise.
77355         * nss/nss_db/db-netgrp.c: Likewise.
77356         * nss/nss_db/db-initgroups.c: Likewise.
77357         * io/fchmodat.c: Include <sys/stat.h>.
77359         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
77360         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
77362         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
77363         [HAVE_MMAP].
77365         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
77366         Add multiple inclusion protection.
77368 2012-07-27  David S. Miller  <davem@davemloft.net>
77370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77372 2012-07-27  Gary Benson  <gbenson@redhat.com>
77374         [BZ #14298]
77375         * elf/rtld.c: Include <stap-probe.h>.
77376         (dl_main): Added static probes "init_start" and "init_complete".
77377         * elf/dl-load.c: Include <stap-probe.h>.
77378         (lose): Take new parameter "nsid".
77379         Added static probe "map_failed".
77380         (_dl_map_object_from_fd): Pass namespace id to lose.
77381         Added static probe "map_start".
77382         (open_verify): Pass namespace id to lose.
77383         * elf/dl-open.c: Include <stap-probe.h>.
77384         (dl_open_worker) Added static probes "map_complete", "reloc_start"
77385         and "reloc_complete".
77386         * elf/dl-close.c: Include <stap-probe.h>.
77387         (_dl_close_worker): Added static probes "unmap_start" and
77388         "unmap_complete".
77389         * elf/rtld-debugger-interface.txt: New file documenting the above.
77391 2012-07-26  Roland McGrath  <roland@hack.frob.com>
77393         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
77394         rather than a string variable.
77395         * sunrpc/rpc_main.c (h_output): Likewise.
77396         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
77398 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
77400         * inet/check_native.c: New file.
77402 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
77404         [BZ #13629]
77405         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
77406         if larger part has absolute value 1.0.
77407         * math/s_clog10.c (__clog10): Likewise.
77408         * math/s_clog10f.c (__clog10f): Likewise.
77409         * math/s_clog10l.c (__clog10l): Likewise.
77410         * math/s_clogf.c (__clogf): Likewise.
77411         * math/s_clogl.c (__clogl): Likewise.
77412         * math/libm-test.inc (clog_test): Add more tests.
77413         (clog10_test): Likewise.
77414         * sysdeps/i386/fpu/libm-test-ulps: Update.
77415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77417         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
77418         (pltexit): Likewise.
77419         (La_regs): Likewise.
77420         (La_retval): Likewise.
77421         (int_retval): Likewise.
77422         Update #error for removed macros to refer only to definitions in
77423         tst-audit.h.
77424         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
77425         macro.
77426         (pltexit): Likewise.
77427         (La_regs): Likewise.
77428         (La_retval): Likewise.
77429         (int_retval): Likewise.
77430         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
77431         macro.
77432         (pltexit): Likewise.
77433         (La_regs): Likewise.
77434         (La_retval): Likewise.
77435         (int_retval): Likewise.
77436         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
77437         macro.
77438         (pltexit): Likewise.
77439         (La_regs): Likewise.
77440         (La_retval): Likewise.
77441         (int_retval): Likewise.
77442         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
77443         macro.
77444         (pltexit): Likewise.
77445         (La_regs): Likewise.
77446         (La_retval): Likewise.
77447         (int_retval): Likewise.
77448         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
77449         macro.
77450         (pltexit): Likewise.
77451         (La_regs): Likewise.
77452         (La_retval): Likewise.
77453         (int_retval): Likewise.
77454         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
77455         macro.
77456         (pltexit): Likewise.
77457         (La_regs): Likewise.
77458         (La_retval): Likewise.
77459         (int_retval): Likewise.
77460         * sysdeps/generic/tst-audit.h: Update comment to refer only to
77461         macro definitions in tst-audit.h.
77462         * sysdeps/i386/tst-audit.h: New file.
77463         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
77464         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
77465         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
77466         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
77467         * sysdeps/sh/tst-audit.h: Likewise.
77468         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
77469         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
77470         * sysdeps/x86_64/tst-audit.h: Likewise.
77472 2012-07-26  Andreas Jaeger  <aj@suse.de>
77474         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
77475         ptrace.
77477         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
77478         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
77479         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
77480         PTRACE_O_MASK.
77481         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
77482         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
77483         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
77485         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
77486         value.
77488         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
77489         _sigsys.
77490         (si_call_addr, si_syscall, si_arch): Define new macro.
77491         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
77492         _sigsys.
77493         (si_call_addr, si_syscall, si_arch): Define new marcro.
77494         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
77495         _sigsys.
77496         (si_call_addr, si_syscall, si_arch): Define new macro.
77497         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
77498         _sigsys.
77499         (si_call_addr, si_syscall, si_arch): Define new macro.
77501 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77503         [BZ #13717]
77504         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77505         Change to 2.4.21 where previously 2.4.1.
77506         * sysdeps/unix/sysv/linux/configure: Regenerated.
77507         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
77508         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
77509         Linux kernel version.
77510         (__ASSUME_STD_AUXV): Remove.
77511         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
77512         kernel version.
77513         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
77514         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
77515         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
77516         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
77517         (__ASSUME_NETLINK_SUPPORT): Likewise.
77518         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
77519         (__no_netlink_support): Remove conditional definition.
77520         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
77521         Remove.
77522         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77523         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
77524         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
77525         (if_nameindex_ioctl): Remove.
77526         (if_nameindex_netlink): Do not handle __no_netlink_support.
77527         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77528         code.
77529         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
77530         Remove conditional code.
77531         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
77532         code.
77533         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
77534         unconditional.
77535         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
77536         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
77537         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
77538         Remove.
77539         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
77540         [!__ASSUME_STD_AUXV]: Remove conditional code.
77541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
77542         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
77543         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
77544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
77545         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
77546         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77547         code.
77548         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
77550         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
77551         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77552         conditional code.
77553         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
77554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
77555         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
77556         code.
77557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
77558         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
77559         conditional code.
77560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
77561         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77562         code unconditional.
77563         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77564         conditional code.
77565         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77566         unconditional.
77567         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77568         conditional code.
77569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77570         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77571         unconditional.
77572         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77573         conditional code.
77574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
77575         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77576         code unconditional.
77577         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77578         conditional code.
77579         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77580         unconditional.
77581         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77582         conditional code.
77583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
77584         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
77585         code unconditional.
77586         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77587         conditional code.
77588         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
77589         unconditional.
77590         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
77591         conditional code.
77593 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
77595         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
77596         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
77597         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
77598         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
77599         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
77600         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
77601         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
77602         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
77603         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
77604         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
77605         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
77606         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
77607         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
77608         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
77609         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
77610         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
77611         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
77612         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
77613         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
77614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
77615         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
77616         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
77617         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
77619 2012-07-25  Florian Weimer  <fweimer@redhat.com>
77621         * Versions.def: Add GLIBC_2.17.
77622         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
77623         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
77624         Introduce __libc_secure_getenv.
77625         * stdlib/Versions (2.17): Add secure_getenv
77626         (GLIBC_PRIVATE): Add __libc_secure_getenv.
77627         * stdlib/secure-getenv.c: Rename __secure_getenv to
77628         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
77629         symbol __secure_getenv for GLIBC_2.0.
77630         * stdlib/tst-secure-getenv.c: New.
77631         * stdlib/Makefile (tests): Add testcase.
77632         * manual/startup.texi (Environment Access): Document
77633         secure_getenv.
77634         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
77635         __libc_secure_getenv.
77636         * inet/ruserpass.c (ruserpass): Likewise.
77637         * malloc/mtrace.c (mtrace): Likewise.
77638         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
77639         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
77640         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
77641         * sysdeps/posix/tempname.c: Likewise.  Evaluate
77642         HAVE_SECURE_GETENV.
77643         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
77644         __secure_getenv to __libc_secure_getenv.
77645         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
77646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77647         Likewise.
77648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77649         Likewise.
77650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
77651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
77652         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
77653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
77654         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
77655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
77656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
77658 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
77660         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
77661         (struct La_i86_retval): Likewise.
77662         (struct La_x86_64_regs): Likewise.
77663         (struct La_x86_64_retval): Likewise.
77664         (struct La_x32_regs): Likewise.
77665         (struct La_x32_retval): Likewise.
77666         (struct La_ppc32_regs): Likewise.
77667         (struct La_ppc32_retval): Likewise.
77668         (struct La_ppc64_regs): Likewise.
77669         (struct La_ppc64_retval): Likewise.
77670         (struct La_sh_regs): Likewise.
77671         (struct La_sh_retval): Likewise.
77672         (struct La_s390_32_regs): Likewise.
77673         (struct La_s390_32_retval): Likewise.
77674         (struct La_s390_64_regs): Likewise.
77675         (struct La_s390_64_retval): Likewise.
77676         (struct La_sparc32_regs): Likewise.
77677         (struct La_sparc32_retval): Likewise.
77678         (struct La_sparc64_regs): Likewise.
77679         (struct La_sparc64_retval): Likewise.
77680         (struct audit_ifaces): Remove architecture-specific pltenter and
77681         pltexit members.
77682         * sysdeps/i386/ldsodefs.h: New file.
77683         * sysdeps/powerpc/ldsodefs.h: Likewise.
77684         * sysdeps/s390/ldsodefs.h: Likewise.
77685         * sysdeps/sh/ldsodefs.h: Likewise.
77686         * sysdeps/sparc/ldsodefs.h: Likewise.
77687         * sysdeps/x86_64/ldsodefs.h: Likewise.
77689 2012-07-25  Marek Polacek  <polacek@redhat.com>
77691         [BZ #6808]
77692         * math/libm-test.inc (yn_test): Add another test.
77693         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
77694         to ERANGE when the result is +-Inf.
77695         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
77696         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
77697         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
77698         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
77700 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
77702         * conform/data/time.h-data (NULL): Use macro-constant.  Require
77703         equal to 0.
77704         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
77705         clock_t.
77706         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
77708 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
77710         * configure.in <sysdeps resolving>: Correct printing
77711         Implies_before.
77712         * configure: Regenerate.
77714 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
77716         * math/w_ilogb.c: Include <limits.h>.
77717         * math/w_ilogbl.c: Likewise.
77719 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77721         * manual/lang.texi (__va_copy): Document primarily as ISO C99
77722         va_copy.  Document allowing for unavailable va_copy only as
77723         pre-C99 compatibility.
77724         * manual/string.texi (Copying and Concatenation): Use va_copy
77725         instead of __va_copy in concat example.
77727 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
77729         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
77730         (__sendto): Use create_address_port.  Initialize APORT and deallocate
77731         it if not null.
77733         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
77734         with O_NOLINK passed to __file_name_lookup.
77736         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
77737         with O_NOLINK passed to __file_name_lookup.
77739         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
77740         negative N or less than NGIDS.
77742         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
77743         type to string_t.  Set ERANGE as errno and return it if NAME is not big
77744         enough.  Use memcpy instead of strncpy.
77746 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
77748         * elf/Makefile (check-data): Remove.
77749         (localplt.data): New vpath directive.
77750         ($(objpfx)check-localplt.out): Use localplt.data from vpath
77751         instead of $(check-data).
77752         * scripts/data/localplt-generic.data: Move to ...
77753         * sysdeps/generic/localplt.data: ... here.
77754         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
77755         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
77756         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
77757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
77758         ... here.
77759         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
77760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
77761         ... here.
77762         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
77763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
77764         ... here.
77765         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
77766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
77767         ... here.
77768         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
77769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
77770         ... here.
77771         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
77772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
77773         ... here.
77775 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77777         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
77778         PPC32 and PPC64 files.
77779         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
77780         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
77782 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77784         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
77785         __makecontext_ret to ...
77786         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
77787         ... here and call exit if uc_link is NULL.  New file.
77788         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
77789         __makecontext_ret.S.
77790         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
77791         __makecontext_ret to ...
77792         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
77793         ... here and call exit if uc_link is NULL.  New file.
77794         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
77795         __makecontext_ret.S.
77797 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77799         * elf/elf.h (R_390_IRELATIVE): New definition.
77800         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
77801         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
77802         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
77803         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
77804         (elf_machine_lazy_rel): Likewise.
77805         * sysdeps/s390/dl-irel.h: New file.
77806         * sysdeps/s390/s390-64/memcpy.S: New asm code.
77807         * sysdeps/s390/s390-64/memset.S: New asm code.
77808         * sysdeps/s390/s390-64/memcmp.S: New asm code.
77809         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
77810         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
77811         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
77812         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
77813         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
77814         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
77815         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
77816         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
77817         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
77818         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
77819         * sysdeps/s390/s390-32/memcpy.S: New asm code.
77820         * sysdeps/s390/s390-32/memset.S: New asm code.
77821         * sysdeps/s390/s390-32/memcmp.S: New asm code.
77823 2012-07-17  Marek Polacek  <polacek@redhat.com>
77825         [BZ #14349]
77826         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
77827         * sysdeps/s390/s390-64/configure.in: Likewise.
77828         * sysdeps/sparc/configure.in: Likewise.
77829         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
77830         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
77831         * sysdeps/i386/configure.in: Likewise.
77832         * sysdeps/x86_64/configure.in: Likewise.
77833         * sysdeps/sh/configure.in: Likewise.
77834         * sysdeps/s390/s390-32/configure: Regenerated.
77835         * sysdeps/s390/s390-64/configure: Likewise.
77836         * sysdeps/x86_64/configure: Likewise.
77837         * sysdeps/sh/configure: Likewise.
77838         * sysdeps/powerpc/powerpc64/configure: Likewise.
77839         * sysdeps/powerpc/powerpc32/configure: Likewise.
77840         * sysdeps/sparc/configure: Likewise.
77841         * sysdeps/i386/configure: Likewise.
77843         * elf/dl-open.c: Comment fixes.
77845 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
77847         * Makefile [CXX] (check-data): Remove.
77848         [CXX] (c++-types.data): New vpath directive.
77849         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
77850         vpath.  Do not allow for C++ type data being missing.
77851         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
77852         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
77853         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
77854         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
77855         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
77856         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
77857         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
77858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
77859         ... here.
77860         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
77861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
77862         ... here.
77863         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
77864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
77865         ... here.
77866         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
77867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
77868         ... here.
77869         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
77870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
77871         ... here.
77872         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
77873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
77874         ... here.
77875         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
77876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
77877         ... here.
77878         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
77879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
77881         * elf/tls-macros.h (TLS_LE): Move architecture-specific
77882         definitions to architecture-specific files.
77883         (TLS_IE): Likewise.
77884         (TLS_LD): Likewise.
77885         (TLS_GD): Likewise.
77886         * sysdeps/i386/tls-macros.h: New file.
77887         * sysdeps/powerpc/tls-macros.h: Likewise.
77888         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
77889         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
77890         * sysdeps/sh/tls-macros.h: Likewise.
77891         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
77892         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
77893         * sysdeps/x86_64/tls-macros.h: Likewise.
77895 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77897         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
77898         zero value for regular exit case.
77900         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
77901         (__start_context): Preserve zero value for regular exit case.
77903 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
77904             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77906         * manual/setjmp.texi (setcontext): Clarify normal process
77907         termination when uc_link is the null pointer.
77908         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
77909         exit call.
77911 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
77913         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
77914         preprocessor.  Test for each exception mask separately.
77916 2012-07-16  Andreas Jaeger  <aj@suse.de>
77918         * po/ru.po: Update from translation team.
77920 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
77922         * conform/data/string.h-data (NULL): Use macro-constant.  Require
77923         equal to 0.
77924         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77925         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77926         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
77927         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
77928         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77930 2012-07-13  Andreas Jaeger  <aj@suse.de>
77932         * po/fr.po: Update from translation team.
77934 2012-07-12  Marek Polacek  <polacek@redhat.com>
77936         [BZ #14173]
77937         * math/libm-test.inc (yn_test): Add test for BZ #14173.
77938         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
77939         loop condition.
77941 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
77943         [BZ #13717]
77944         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77945         Change to 2.4.1 where previously 2.4.0.
77946         * sysdeps/unix/sysv/linux/configure: Regenerated.
77947         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
77948         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
77949         version.
77950         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
77951         (__ASSUME_AT_CLKTCK): Remove.
77952         (__ASSUME_AT_PAGESIZE): Likewise.
77953         (__ASSUME_AT_XID): Likewise.
77954         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
77955         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
77956         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
77957         unconditionally.
77958         (HAVE_AUX_PAGESIZE): Likewise.
77959         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
77960         [__ASSUME_AT_CLKTCK]: Make code unconditional.
77961         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
77963 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
77965         [BZ #14307]
77966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
77967         the temporary buffer used to invoke __gethostbyname2_r,
77968         __gethostbyaddr_r and gethostbyname4_r to make room for struct
77969         host_data / struct gaih_addrtuple.
77970         * resolv/nss_dns/dns-host.c (global scope): Move definition of
77971         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
77972         header file nss/nsswitch.h.
77973         * nss/nsswitch.h (global scope): Add definition of implementation
77974         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
77975         resolv/nss_dns/dns-host.c).
77977 2012-07-11  Andreas Jaeger  <aj@suse.de>
77979         * po/fr.po: Update from translation team.
77981         * po/sv.po: Update from translation team
77982         * po/fr.po: Another update from translation team.
77984 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77986         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
77987         for subnormals or multiply small sinh result by itself.
77988         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
77989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77991 2012-07-11  David S. Miller  <davem@davemloft.net>
77993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77995 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
77997         [BZ #14347]
77998         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
77999         (INTERNAL_MARK): Shift it here.
78001 2012-07-10  Marek Polacek  <polacek@redhat.com>
78003         [BZ #14151]
78004         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
78005         libc_cv_asm_global_directive with .globl.
78006         * configure: Regenerated.
78007         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
78008         with .globl.
78009         * sysdeps/i386/configure: Regenerated.
78010         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78011         with .globl.
78012         * sysdeps/x86_64/configure: Regenerated.
78013         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78014         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78015         * elf/tst-unique2mod2.c: Likewise.
78016         * elf/tst-unique2mod1.c: Likewise.
78017         * elf/tst-unique1mod2.c: Likewise.
78018         * elf/tst-unique1mod1.c: Likewise.
78019         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78020         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78021         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78022         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78023         * sysdeps/mach/sysdep.h: Likewise.
78024         * sysdeps/i386/sysdep.h: Likewise.
78025         * sysdeps/i386/i386-mcount.S: Likewise.
78026         * sysdeps/x86_64/_mcount.S: Likewise.
78027         * sysdeps/x86_64/sysdep.h: Likewise.
78028         * sysdeps/sh/_mcount.S: Likewise.
78029         * sysdeps/sh/sysdep.h: Likewise.
78030         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78031         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78032         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78033         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78034         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78035         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78036         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78037         * locale/localeinfo.h: Likewise.
78038         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78039         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78041 2012-07-09  Roland McGrath  <roland@hack.frob.com>
78043         [BZ #14336]
78044         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78045         system".
78046         * manual/message.texi (The Uniforum approach): Likewise.
78047         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78048         (glibc iconv Implementation): Likewise.
78050 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
78052         [BZ #14337]
78053         * math/s_clog.c (__clog): Avoid scaling a value down where that
78054         could result in underflow.
78055         * math/s_clog10.c (__clog10): Likewise.
78056         * math/s_clog10f.c (__clog10f): Likewise.
78057         * math/s_clog10l.c (__clog10l): Likewise.
78058         * math/s_clogf.c (__clogf): Likewise.
78059         * math/s_clogl.c (__clogl): Likewise.
78060         * math/libm-test.inc (clog_test): Add more tests.
78061         (clog10_test): Likewise.
78062         * sysdeps/i386/fpu/libm-test-ulps: Update.
78063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78065 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
78067         [BZ #14283]
78068         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
78069         by 7 not 8 to examine high bit of fractional part.
78071         [BZ #14042]
78072         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
78073         for call to __mcount_internal.
78074         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
78075         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
78076         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
78078 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
78080         [BZ #14154]
78081         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
78082         approximation for values within 0x1p-13f of an odd multiple of
78083         pi/4.
78084         * math/libm-test.inc (tan_test): Do not allow spurious underflow
78085         exception.  Add more tests.
78086         * sysdeps/i386/fpu/libm-test-ulps: Update.
78088         [BZ #6778]
78089         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
78090         inputs and return -1 for them.  Do not check for +Inf in case not
78091         reachable for +Inf.
78092         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
78093         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
78094         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78095         and return -1 for them.  Do not check for +Inf in case not
78096         reachable for +Inf.
78097         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
78098         define.
78099         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
78100         and return -1 for them.  Do not check for +Inf in case not
78101         reachable for +Inf.
78102         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
78103         spurious underflow.
78104         * sysdeps/i386/fpu/libm-test-ulps: Update.
78105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78107 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
78109         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
78111 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
78113         [BZ #14157]
78114         [BZ #14331]
78115         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
78116         could result in spurious underflow.  Scale down values above
78117         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78118         * math/s_csqrtf.c (__csqrtf): Likewise.
78119         * math/s_csqrtl.c (__csqrtl): Likewise.
78120         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
78121         spurious underflow.
78122         * sysdeps/i386/fpu/libm-test-ulps: Update.
78123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78125 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
78127         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
78128         xopen-msg.sed.
78129         * catgets/xopen-msg.awk: New file.
78130         * catgets/xopen-msg.sed: Removed.
78132         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
78133         po2text.sed.
78134         * intl/po2test.awk: New file.
78135         * intl/po2test.sed: Removed.
78137 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
78139         [BZ #14328]
78140         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
78141         or multiply small sinh result by itself.
78142         * math/s_ctanf.c (__ctanf): Likewise.
78143         * math/s_ctanh.c (__ctanh): Likewise.
78144         * math/s_ctanhf.c (__ctanhf): Likewise.
78145         * math/s_ctanhl.c (__ctanhl): Likewise.
78146         * math/s_ctanl.c (__ctanl): Likewise.
78147         * math/libm-test.inc (ctan_test_tonearest): New function.
78148         (ctan_test_towardzero): Likewise.
78149         (ctan_test_downward): Likewise.
78150         (ctan_test_upward): Likewise.
78151         (ctanh_test_tonearest): Likewise.
78152         (ctanh_test_towardzero): Likewise.
78153         (ctanh_test_downward): Likewise.
78154         (ctanh_test_upward): Likewise.
78155         (main): Call these new functions.
78156         * sysdeps/i386/fpu/libm-test-ulps: Update.
78157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78159 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
78161         * .gitignore: Delete /ports entry.
78163 2012-07-03  Andreas Jaeger  <aj@suse.de>
78165         * po/bg.po: Update from translation team.
78166         * po/cs.po: Likewise.
78167         * po/de.po: Likewise.
78168         * po/hr.po: Likewise.
78169         * po/nl.pl: Likewise.
78170         * po/pl.po: Likewise.
78171         * po/vi.po: Likewise.
78173 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
78175         * Makeconfig [!+link] (+link-before-libc): New variable.
78176         [!+link] (+link-after-libc): Likewise.
78177         [!+link] (+link-tests): Likewise.
78178         [!+link] (+link): Define in terms of $(+link-before-libc) and
78179         $(+link-after-libc).
78180         [!+link-static] (+link-static-before-libc): New variable.
78181         [!+link-static] (+link-static-after-libc): Likewise.
78182         [!+link-static] (+link-static-tests): Likewise.
78183         [!+link-static] (+link-static): Define in terms of
78184         $(+link-static-before-libc) and $(+link-static-after-libc).
78185         [build-shared] (link-libc-before-gnulib): New variable.
78186         [build-shared] (link-libc-tests): Likewise.
78187         [build-shared] (link-libc): Define in terms of
78188         $(link-libc-before-gnulib).
78189         [!build-shared] (link-libc-tests): New variable.
78190         (link-libc-static-tests): New variable.
78191         [!gnulib] (gnulib-arch): New variable.
78192         [!gnulib] (gnulib-tests): Likewise.
78193         [!gnulib] (static-gnulib-arch): Likewise.
78194         [!gnulib] (static-gnulib-tests): Likewise.
78195         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
78196         Define with "=" instead of ":=".
78197         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
78198         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
78199         * Rules (binaries-all-notests): New variable.
78200         (binaries-all-tests): Likewise.
78201         (binaries-static-notests): Likewise.
78202         (binaries-static-tests): Likewise.
78203         (binaries-all): Define using $(binaries-all-notests) and
78204         $(binaries-all-tests).
78205         (binaries-static): Define using $(binaries-static-notests) and
78206         $(binaries-static-tests).
78207         (binaries-shared-tests): New variable.
78208         (binaries-shared-notests): Likewise.
78209         (binaries-shared): Remove variable.
78210         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
78211         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
78212         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
78213         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
78214         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
78215         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
78216         * elf/Makefile (sln-modules): New variable.
78217         (extra-objs): Add $(sln-modules:=.o).
78218         (ldconfig-modules): Add static-stubs.
78219         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
78220         * elf/static-stubs.c: New file.
78222         [BZ #14283]
78223         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
78224         by 7 not 8 to examine high bit of fractional part.  Use volatile
78225         variables when splitting into final array of floats if
78226         __FLT_EVAL_METHOD__ != 0.
78227         * math/libm-test.inc (cos_test): Add another test.
78228         (sin_test): Likewise.
78229         * sysdeps/i386/fpu/libm-test-ulps: Update.
78231         [BZ #14273]
78232         * math/libm-test.inc (cosh_test): Add more tests.
78234         * version.h (RELEASE): Set to "development".
78235         (VERSION): Set to "2.16.90".
78237 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
78239         * NEWS: Update copyright. Remove last-updated date.
78240         Mention math library bug fixes and timezone data changes.
78241         * README: Mention GNU/Hurd, x32, and HPPA support status.
78243 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
78245         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
78247 2012-06-27  Andreas Jaeger  <aj@suse.de>
78249         * manual/contrib.texi (Contributors): Add Samuel Thibault.
78251 2012-06-25  Andreas Jaeger  <aj@suse.de>
78253         * sysdeps/s390/fpu/libm-test-ulps: Update.
78255 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
78256             Thomas Schwinge  <thomas@codesourcery.com>
78258         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
78259         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
78260         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
78261         fanotify_mark.
78263 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
78265         * sysdeps/mach/start.c: Remove file.
78266         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
78267         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
78268         * sysdeps/sh/init-first.c: Likewise.
78270         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
78271         registers for frame unwinding purposes, add CFI directives.
78272         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78273         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
78274         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
78275         Likewise.
78277         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
78278         __fortify_fail returning.
78279         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
78281         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
78282         sysdeps/sh/____longjmp_chk.S.
78283         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
78284         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
78285         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
78286         (gen-as-const-headers): Append sigaltstack-offsets.sym.
78288         * sysdeps/sh/abort-instr.h: New file.
78289         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
78290         process in case exit returns.
78292         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
78293         initialize the GOT register before use.
78295         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
78296         calculation of ARGC > 4.
78298         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
78299         meaningful names to some local labels.
78301 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78302             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78304         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
78305         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
78306         (__arch_compare_and_exchange_val_16_acq): Likewise.
78307         (__arch_compare_and_exchange_val_32_acq): Likewise.
78308         (atomic_exchange_and_add): Fix gUSA sequence.
78309         (atomic_add): Likewise.
78310         (atomic_add_negative): Likewise.
78311         (atomic_add_zero): Likewise.
78312         (atomic_bit_test_set): Likewise.
78314 2012-06-22  Andreas Schwab  <schwab@redhat.com>
78316         [BZ #13579]
78317         * include/link.h (struct link_map): Add l_free_initfini.
78318         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
78319         l_initfini.
78320         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
78321         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
78322         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
78323         set.
78325 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
78327         * configure.in: Use AC_LANG_SOURCE.
78328         * configure: Regenerate.
78330 2012-06-22  Roland McGrath  <roland@hack.frob.com>
78332         * configure.in (libc_cv_localstatedir): New substituted variable.
78333         * configure: Regenerated.
78334         * config.make.in (localstatedir): New variable, substituted from
78335         libc_cv_localstatedir.
78336         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
78337         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
78338         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
78339         * sysdeps/gnu/configure: Regenerated.
78341 2012-06-21  Jeff Law  <law@redhat.com>
78343         [BZ #14277]
78344         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
78345         free.  Simplify list management for _LIBC case.
78347 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
78349         [BZ #14273]
78350         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
78351         Clear sign bit of 64-bit integer value before comparing against
78352         overflow value.
78354         * sysdeps/mach/configure: Regenerated.
78356 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
78358         [BZ #14278]
78359         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
78361 2012-06-21  Jeff Law  <law@redhat.com>
78363         [BZ #13882]
78364         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
78365         uint16_t for elements in the "seen" array to avoid char overflows.
78366         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78367         * elf/dl-open.c (dl_open_worker): Likewise.
78369 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
78371         * scripts/list-sources.sh: Scan PORTS for translations.
78372         * po/libc.pot: Regenerated.
78374 2012-06-21  Andreas Jaeger  <aj@suse.de>
78376         [BZ #12194]
78377         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
78378         warning.
78379         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
78380         * bits/byteswap-16.h (__bswap_16): Likewise.
78381         * bits/byteswap.h (__bswap_constant_16): Likewise.
78383 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
78385         [BZ #14117]
78386         * sysdeps/i386/fpu_control.h: Removed.
78387         * sysdeps/x86_64/fpu_control.h: Moved to ...
78388         * sysdeps/x86/fpu_control.h: Here.
78390         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
78391         (_FPU_SETCW): Likewise.
78393 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
78395         [BZ #14117]
78396         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
78397         * sysdeps/x86/fpu/bits/mathinline.h: This.
78398         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
78400         [BZ #14050]
78401         [BZ #14117]
78402         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
78403         functions if __x86_64__ is defined.
78405 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
78407         * string/endian.h: Add !__ASSEMBLER__ condition for including
78408         conversion interfaces.
78410 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
78412         [BZ #14241]
78413         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
78414         of ABS(x) in calculating zero to negative powers other than odd
78415         integers.
78416         * math/libm-test.inc (pow_test): Add more tests.
78418 2012-06-15  Andreas Jaeger  <aj@suse.de>
78420         * manual/contrib.texi (Contributors): Update entry of Liubov
78421         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
78422         Machado Filho.
78424 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
78426         * string/string.h: Add __wur to GNU version of strerror_r.
78428 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
78430         [BZ #14229]
78431         * string/Makefile (tests): Add tst-strtok_r.
78432         * string/tst-strtok_r.c: New file.
78433         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
78434         RAX_LP/RDX_LP on SAVE_PTR.
78436 2012-06-14  Roland McGrath  <roland@hack.frob.com>
78438         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
78440 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
78442         * libm_test.inc (csqrt_test): Allow more spurious underflow
78443         exceptions.
78444         (j0_test): Likewise.
78445         (j1_test): Likewise.
78446         (y0_test): Likewise.
78447         (y1_test): Likewise.
78449 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
78451         * po/Makefile (libc.pot): Use UTF-8 charset.
78453 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
78455         [BZ #14210]
78456         Suppress sign-conversion warning from FD_SET.
78457         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
78458         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
78459         not unsigned long int.
78460         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
78462 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
78464         [BZ #14050]
78465         [BZ #14117]
78466         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
78467         __extern_always_inline instead of __extern_inline.
78468         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
78469         (__signbit): Likewise.
78470         (__signbitl): Support C++ namespace.
78471         (lrintf): New inline function.
78472         (lrint): Likewise.
78473         (llrintf): Likewise.
78474         (llrint): Likewise.
78475         (fmaxf): Likewise.
78476         (fmax): Likewise.
78477         (fminf): Likewise.
78478         (fmin): Likewise.
78479         (rint): Likewise.
78480         (rintf): Likewise.
78481         (ceil): Likewise.
78482         (ceilf): Likewise.
78483         (floor): Likewise.
78484         (floorf): Likewise.
78485         (nearbyint): Likewise.
78486         (nearbyintf): Likewise.
78488 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
78490         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
78491         non-default versions.
78493 2012-06-11  Roland McGrath  <roland@hack.frob.com>
78495         [BZ #14218]
78496         * manual/argp.texi (Argp): Reword argp_parse description slightly.
78498 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
78500         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
78501         (FE_UPWARD, FE_DOWNWARD): Don't define.
78502         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
78503         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
78505         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
78506         reading it.
78507         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
78508         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78510 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78512         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78513         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
78514         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
78515         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
78517 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
78519         [BZ #14117]
78520         * sysdeps/i386/fpu/bits/fenv.h: Removed.
78521         * sysdeps/i386/fpu/Implies: New file.
78522         * sysdeps/x86_64/fpu/Implies: Likewise.
78523         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
78524         * sysdeps/x86/fpu/bits/fenv.h: This.
78526         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
78527         __SSE_MATH__.
78529 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
78531         [BZ #14134]
78532         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
78533         character 0xffff that matches the last element of the
78534         conversion table.
78536 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78538         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
78539         fmodl commit.
78541 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78543         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
78544         values higher than 25.6283.
78546 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78548         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
78549         subnormal exponent extraction and add some __builtin_expect.
78550         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
78551         Fix for subnormal mantissa calculation.
78553 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
78555         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
78556         cpu2 is -1 and errno is not ENOSYS.
78558 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
78560         [BZ #14117]
78561         * sysdeps/i386/i486/bits/string.h: Renamed to ...
78562         * sysdeps/x86/bits/string.h: This.
78563         * sysdeps/x86_64/bits/string.h: Removed.
78565         * sysdeps/i386/i486/bits/string.h: Define inline functions only
78566         if not compiling for x86-64, but compiling for >= i486.
78568         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
78569         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
78571         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
78572         New macro from Linux kernel 3.4.0.
78573         (FP_XSTATE_MAGIC2): Likewise.
78574         (FP_XSTATE_MAGIC2_SIZE): Likewise.
78575         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
78576         (struct _fpx_sw_bytes): New struct.
78577         (struct _xsave_hdr): Likewise.
78578         (struct _ymmh_state): Likewise.
78579         (struct _xstate): Likewise.
78581         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
78582         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
78583         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
78584         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
78585         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
78586         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
78588         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
78589         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
78590         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
78591         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
78592         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
78593         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
78595 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78597         [BZ #13743]
78598         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
78599         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
78600         (sysdep_headers): Include sys/platform/ppc.h.
78601         * sysdeps/powerpc/test-gettimebase.c: Test for
78602         __ppc_get_timebase() to catch future ISA opcode/insn changes.
78603         * manual/Makefile (appendices): Include platform.texi.
78604         * manual/contrib.texi (Contributors): Update @node pointers.
78605         * manual/maint.texi (Maintenance): Likewise.
78606         (Platform): New node.
78607         * manual/platform.texi: New file.  Document the new features.
78609 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
78610             Jakub Jelinek  <jakub@redhat.com>
78612         [BZ #14188]
78613         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
78614         where __builtin_expect is unavailable.
78616 2012-06-03  David S. Miller  <davem@davemloft.net>
78618         * stdlib/longlong.h: Updated from GCC.
78620 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
78622         [BZ #14042]
78623         * sysdeps/powerpc/powerpc32/mcount.c: New file.
78624         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
78625         __mcount_internal.
78626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
78627         (GLIBC_2.16): Likewise.
78629 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78631         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
78633 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
78636         (default-abi): New variable.
78637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
78638         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
78639         variable.
78640         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
78641         Likewise.
78642         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
78643         Likewise.
78644         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
78645         Likewise.
78647         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
78648         definition.  Document in comment.
78650 2012-06-01  David S. Miller  <davem@davemloft.net>
78652         * stdlib/longlong.h: Updated from GCC.
78654 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78656         [BZ #14117]
78657         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
78658         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
78659         sys/debugreg.h sys/io.h here.
78660         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
78661         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
78662         sys/io.h.
78663         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
78664         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
78665         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
78666         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
78667         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
78668         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
78670         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
78671         Define only if __x86_64__ is defined.
78673 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
78675         [BZ #14048]
78676         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
78677         Use int64_t for variable i.
78678         * math/libm-test.inc (fmod_test): Add more tests.
78680         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
78681         z computation is not scheduled after fetestexcept.
78682         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
78683         Use math_force_eval instead of asm to ensure calculation scheduled
78684         before exception test.
78685         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
78686         Ensure a1 + u.d computation is not scheduled after fetestexcept.
78688 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
78690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
78691         computation is not scheduled after fetestexcept.
78693 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
78695         [BZ #14117]
78696         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
78697         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
78699 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78701         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
78702         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
78704 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78706         [BZ #14117]
78707         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
78708         <bits/wordsize.h>.
78709         (__WCHAR_MIN): Support __WORDSIZE == 64.
78710         (__WCHAR_MAX): Likewise.
78712         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
78713         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
78715         [BZ #14183]
78716         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
78717         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
78719         [BZ #14117]
78720         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
78721         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
78723         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
78724         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
78726         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
78727         Defined to 1 if __x86_64__ isn't defined.
78728         (_STAT_VER_LINUX_OLD): New.
78729         (st_atime): Remove duplicate.
78730         (st_mtime): Likewise.
78731         (st_ctime): Likewise.
78733 2012-05-31  David S. Miller  <davem@davemloft.net>
78735         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
78736         entries.
78738 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
78740         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
78741         gen-libm-test.pl.
78743         [BZ #14132]
78744         * elf/dl-reloc.c: Include <_itoa.h>.
78745         (_dl_reloc_bad_type): Remove use of INTUSE.
78746         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
78747         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
78748         * stdio-common/psiginfo.c (psiginfo): Likewise.
78749         * stdio-common/psignal.c (psignal): Likewise.
78750         * string/strsignal.c (strsignal): Likewise.
78751         * include/signal.h (_sys_siglist): Declare hidden proto.
78752         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
78753         INTVARDEF with libc_hidden_data_def.
78754         * stdio-common/itoa-udigits.c: Likewise.
78755         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
78756         (_itoa_lower_digits_internal): Remove declaration.
78757         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
78758         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
78759         (_sys_sigabbrev_internal): Remove aliases.
78760         (_sys_siglist): Define hidden alias.
78762 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
78764         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78765         bits/sysctl.h.
78767 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
78769         [BZ #14117]
78770         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
78771         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
78773         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
78774         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
78775         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
78776         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
78777         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
78778         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
78780         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
78781         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
78782         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
78784         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
78785         with __addr.
78786         (insw): Likewise.
78787         (insl): Likewise.
78788         (outsb): Likewise.
78789         (outsw): Likewise.
78790         (outsl): Likewise.
78792         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
78793         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
78794         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
78796         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
78797         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
78798         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
78799         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
78800         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
78801         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
78803         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
78804         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
78806         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
78807         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
78809         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78810         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
78811         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
78813         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
78814         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
78815         to ...
78816         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
78818         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
78819         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
78820         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
78822         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
78823         for x86-64.
78824         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
78826 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
78828         * math/math.h (M_El): Use two more decimal places.
78829         (M_LOG2El): Likewise.
78830         (M_LOG10El): Likewise.
78831         (M_LN2l): Likewise.
78832         (M_LN10l): Likewise.
78833         (M_PIl): Likewise.
78834         (M_PI_2l): Likewise.
78835         (M_PI_4l): Likewise.
78836         (M_1_PIl): Likewise.
78837         (M_2_PIl): Likewise.
78838         (M_2_SQRTPIl): Likewise.
78839         (M_SQRT2l): Likewise.
78840         (M_SQRT1_2l): Likewise.
78842 2012-05-31  David S. Miller  <davem@davemloft.net>
78844         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
78845         values between float registers.
78846         * sysdeps/sparc/sparc64/memset.S: Likewise.
78847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78849 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
78851         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
78852         -D_FORTIFY_SOURCE=1.
78853         (CPPFLAGS-tst-longjmp_chk.c): Define.
78854         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
78855         (CPPFLAGS-tst-longjmp_chk2.c): Define.
78856         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
78857         CFLAGS-tst-wchar-h.c.
78859 2012-05-31  Marek Polacek  <polacek@redhat.com>
78861         [BZ #14132]
78862         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
78863         __endmntent_internal): Remove declaration.
78864         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
78865         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78866         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
78868 2012-05-30  David S. Miller  <davem@davemloft.net>
78870         * sysdeps/sparc/sparc32/soft-fp/q_util.c
78871         (___Q_simulate_exceptions): Use real FP ops rather than writing
78872         into the %fsr.
78873         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
78874         Likewise.
78876 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78878         [BZ #14117]
78879         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
78880         * sysdeps/x86/bits/xtitypes.h: This.
78882         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
78883         * sysdeps/x86/bits/wordsize.h: This.
78885         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
78886         * sysdeps/x86/bits/huge_vall.h: This.
78888         * sysdeps/i386/bits/select.h: Removed.
78889         * sysdeps/x86_64/bits/select.h: Renamed to ...
78890         * sysdeps/x86/bits/select.h: This.
78892         * sysdeps/i386/bits/setjmp.h: Removed.
78893         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
78894         * sysdeps/x86/bits/setjmp.h: This.
78896         * sysdeps/i386/bits/mathdef.h: Removed.
78897         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
78898         * sysdeps/x86/bits/mathdef.h: This.
78900 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
78902         [BZ #14132]
78903         * include/sys/socket.h (__connect_internal)
78904         (__libc_sa_len_internal): Remove declaration.
78905         (__connect, __libc_sa_len): Declare hidden_proto.
78906         (SA_LEN): Remove use of INTUSE.
78907         * socket/connect.c: Add libc_hidden_def.
78908         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
78909         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
78910         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
78911         alias.
78912         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
78913         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
78914         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
78915         of adding _internal alias.
78917 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78919         [BZ #14117]
78920         * sysdeps/i386/bits/link.h: Removed.
78921         * sysdeps/i386/bits/linkmap.h: Likewise.
78922         * sysdeps/x86_64/bits/link.h: Renamed to ...
78923         * sysdeps/x86/bits/link.h: This.
78924         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
78925         * sysdeps/x86/bits/linkmap.h: This.
78927         * sysdeps/i386/bits/endian.h: Removed.
78928         * sysdeps/x86_64/bits/endian.h: Renamed to ...
78929         * sysdeps/x86/bits/endian.h: This.
78931         * sysdeps/i386/bits/byteswap.h: Removed.
78932         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78933         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
78934         * sysdeps/x86/bits/byteswap.h: This.
78935         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
78936         * sysdeps/x86/bits/byteswap-16.h: This.
78937         * sysdeps/i386/Implies: Add x86.
78938         * sysdeps/x86_64/Implies: Likewise.
78940 2012-05-30  David S. Miller  <davem@davemloft.net>
78942         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
78943         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
78944         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
78945         (FP_TRAPPING_EXCEPTIONS): Define.
78946         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
78947         (FP_TRAPPING_EXCEPTIONS): Define.
78948         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
78949         subnormals only when inexact has been signalled or underflow
78950         exceptions are enabled.
78951         (_FP_PACK_CANONICAL): Likewise.
78953 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78955         [BZ #14183]
78956         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
78957         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
78959 2012-05-30  Richard Henderson  <rth@twiddle.net>
78961         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78962         with #ifndef NOT_IN_libc.
78964         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
78965         marked to avoid plt entry.
78967 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
78969         [BZ #14112]
78970         * Makeconfig (default-abi): New macro.
78971         (abi-includes): Likewise.
78972         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
78973         $(abi-$(default-abi)-lib-soname) for soname if defined.
78974         ($(common-objpfx)gnu/lib-names.stmp): Generate from
78975         abi-variants.
78976         * Makefile (installed-stubs): Likewise.
78977         * include/stubs-biarch.h: Removed.
78978         * scripts/lib-names.awk: Only handle one library at a time.
78979         * scripts/soversions.awk: Remove WORDSIZE support.
78980         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
78981         entries.
78982         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
78983         Removed.
78984         (syscall-list-default-condition): Likewise.
78985         (syscall-list-default-condition): Likewise.
78986         (syscall-list-includes): Likewise.
78987         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
78988         syscall-list-* with abi-*.  Handle undefined abi-variants.
78989         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
78990         * sysdeps/unix/sysv/linux/i386/Implies: New file.
78991         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
78992         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
78993         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
78994         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
78995         Removed.
78996         (syscall-list-32-options): Likewise.
78997         (syscall-list-32-condition): Likewise.
78998         (syscall-list-64-options): Likewise.
78999         (syscall-list-64-condition): Likewise.
79000         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
79001         macro.
79002         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
79003         Renamed to ...
79004         (abi-*): This.
79005         (abi-64-ld-soname): New macro.
79006         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
79007         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
79008         Renamed to ...
79009         (abi-*): This.
79010         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79011         * sysdeps/x86_64/x32/shlib-versions: Likewise.
79013 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
79015         * sysdeps/unix/sysv/linux/kernel-features.h
79016         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79017         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79018         include <kernel-features.h>.
79019         [!__NR_ftruncate64]: Remove conditional code.
79020         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79021         [__NR_ftruncate64]: Make code unconditional.
79022         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79023         * sysdeps/unix/sysv/linux/truncate64.c: Do not
79024         include <kernel-features.h>.
79025         [!__NR_ftruncate64]: Remove conditional code.
79026         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79027         [__NR_ftruncate64]: Make code unconditional.
79028         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79030         include <kernel-features.h>.
79031         [!__NR_ftruncate64]: Remove conditional code.
79032         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79033         [__NR_ftruncate64]: Make code unconditional.
79034         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79036         include <kernel-features.h>.
79037         [!__NR_ftruncate64]: Remove conditional code.
79038         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79039         [__NR_ftruncate64]: Make code unconditional.
79040         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79042         * configure.in (libc_cv_fpie): Weaken to a compile test using
79043         LIBC_TRY_CC_OPTION.
79044         * configure: Regenerated.
79046 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79052         Refreshed.
79053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79056         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79059         Refreshed.
79061 2012-05-27  David S. Miller  <davem@davemloft.net>
79063         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79064         (___Q_zero): New.
79065         (__Q_simulate_exceptions): Return void.  Change to simulate
79066         exceptions by writing into the %fsr.
79067         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
79068         (__Qp_handle_exceptions): Likewise.
79069         (numbers): Delete.
79070         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
79071         __Qp_handle_exceptions.
79072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
79073         __Qp_handle_exceptions.
79074         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79075         as unused and give dummy FP_RND_NEAREST initializer.
79076         (FP_INHIBIT_RESULTS): Define.
79077         (___Q_simulate_exceptions): Update declaration.
79078         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
79079         formatting.
79080         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
79081         as unused and give dummy FP_RND_NEAREST initializer.
79082         (__Qp_handle_exceptions): Update declaration.
79083         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
79084         formatting.
79086 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
79088         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
79089         the temporary FPU control word.
79090         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
79091         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
79092         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
79093         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79094         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
79095         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
79096         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
79097         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79098         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
79099         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
79100         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79102 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79104         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
79105         fields.
79107 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
79109         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
79110         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
79111         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
79112         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
79113         Likewise.
79114         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
79115         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
79116         Likewise.
79118 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
79120         * po/h.po: Update from translation team.
79122 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
79124         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
79126         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
79127         handling of denormals.
79128         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79129         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
79130         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79131         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79132         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
79134         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
79135         Likewise.
79137 2012-05-26  Marek Polacek  <polacek@redhat.com>
79139         [BZ #14152]
79140         * math/libm-test.inc (fma_test): Don't always expect underflow
79141         exception.
79143 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
79145         [BZ #12416]
79146         * elf/tst-execstack.c: Include stackinfo.h.
79147         (do_test): Adjust test case to ensure that pthread_getattr_np
79148         behaviour remains the same after marking stack executable.
79150 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79152         * sysdeps/unix/sysv/linux/kernel-features.h
79153         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
79154         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
79155         kernel-features.h.
79156         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79157         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79158         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
79159         kernel-features.h.
79160         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
79161         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
79163 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
79165         * configure.in: Define the default includes to being none.
79166         * configure: Regenerated.
79168 2012-05-25  Roland McGrath  <roland@hack.frob.com>
79170         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
79171         * sysdeps/x86_64/setjmp.S: Likewise.
79172         * sysdeps/i386/bsd-setjmp.S: Likewise.
79173         * sysdeps/i386/bsd-_setjmp.S: Likewise.
79174         * sysdeps/i386/setjmp.S: Likewise.
79175         * sysdeps/i386/__longjmp.S: Likewise.
79176         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79177         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
79179         * include/stap-probe.h: New file.
79180         * configure.in: Handle --enable-systemtap.
79181         * configure: Regenerated.
79182         * config.h.in (USE_STAP_PROBE): New #undef.
79183         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
79184         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
79185         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
79187 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
79189         [BZ #13717]
79190         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79191         to 2.4.0 where earlier.
79192         * sysdeps/unix/sysv/linux/configure: Regenerated.
79193         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
79202         [__ASSUME_32BITUIDS]: Make code unconditional.
79203         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
79204         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
79205         <kernel-features.h>.
79206         [__ASSUME_32BITUIDS]: Make code unconditional.
79207         [!__ASSUME_32BITUIDS]: Remove conditional code.
79208         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
79209         <kernel-features.h>.
79210         [__ASSUME_32BITUIDS]: Make code unconditional.
79211         [!__ASSUME_32BITUIDS]: Remove conditional code.
79212         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
79213         <kernel-features.h>.
79214         [__ASSUME_32BITUIDS]: Make code unconditional.
79215         [!__ASSUME_32BITUIDS]: Remove conditional code.
79216         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
79217         <kernel-features.h>.
79218         [__ASSUME_32BITUIDS]: Make code unconditional.
79219         [!__ASSUME_32BITUIDS]: Remove conditional code.
79220         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
79221         <kernel-features.h>.
79222         [__ASSUME_32BITUIDS]: Make code unconditional.
79223         [!__ASSUME_32BITUIDS]: Remove conditional code.
79224         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
79225         <kernel-features.h>.
79226         [__ASSUME_32BITUIDS]: Make code unconditional.
79227         [!__ASSUME_32BITUIDS]: Remove conditional code.
79228         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
79229         <kernel-features.h>.
79230         [__ASSUME_32BITUIDS]: Make code unconditional.
79231         [!__ASSUME_32BITUIDS]: Remove conditional code.
79232         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
79233         <kernel-features.h>.
79234         [__ASSUME_32BITUIDS]: Make code unconditional.
79235         [!__ASSUME_32BITUIDS]: Remove conditional code.
79236         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
79237         <kernel-features.h>.
79238         [__ASSUME_32BITUIDS]: Make code unconditional.
79239         [!__ASSUME_32BITUIDS]: Remove conditional code.
79240         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
79241         <kernel-features.h>.
79242         [__ASSUME_32BITUIDS]: Make code unconditional.
79243         [!__ASSUME_32BITUIDS]: Remove conditional code.
79244         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
79245         <kernel-features.h>.
79246         [__NR_setresgid] (__setresgid): Do not declare.
79247         [__ASSUME_32BITUIDS]: Make code unconditional.
79248         [!__ASSUME_32BITUIDS]: Remove conditional code.
79249         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
79250         <kernel-features.h>.
79251         [__NR_setresuid] (__setresuid): Do not declare.
79252         [__ASSUME_32BITUIDS]: Make code unconditional.
79253         [!__ASSUME_32BITUIDS]: Remove conditional code.
79254         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
79255         <kernel-features.h>.
79256         [__ASSUME_32BITUIDS]: Make code unconditional.
79257         [!__ASSUME_32BITUIDS]: Remove conditional code.
79258         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
79259         <kernel-features.h>.
79260         [__ASSUME_32BITUIDS]: Make code unconditional.
79261         [!__ASSUME_32BITUIDS]: Remove conditional code.
79262         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
79263         <kernel-features.h>.
79264         [__ASSUME_32BITUIDS]: Make code unconditional.
79265         [!__ASSUME_32BITUIDS]: Remove conditional code.
79266         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
79267         <kernel-features.h>.
79268         [__ASSUME_32BITUIDS]: Make code unconditional.
79269         [!__ASSUME_32BITUIDS]: Remove conditional code.
79270         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
79271         <kernel-features.h>.
79272         [__ASSUME_32BITUIDS]: Make code unconditional.
79273         [!__ASSUME_32BITUIDS]: Remove conditional code.
79274         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
79275         <kernel-features.h>.
79276         [__ASSUME_32BITUIDS]: Make code unconditional.
79277         [!__ASSUME_32BITUIDS]: Remove conditional code.
79278         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
79279         <kernel-features.h>.
79280         [__ASSUME_32BITUIDS]: Make code unconditional.
79281         [!__ASSUME_32BITUIDS]: Remove conditional code.
79282         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
79283         <kernel-features.h>.
79284         [__ASSUME_32BITUIDS]: Make code unconditional.
79285         [!__ASSUME_32BITUIDS]: Remove conditional code.
79286         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
79287         <kernel-features.h>.
79288         [__ASSUME_32BITUIDS]: Make code unconditional.
79289         [!__ASSUME_32BITUIDS]: Remove conditional code.
79290         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
79291         <kernel-features.h>.
79292         [__ASSUME_32BITUIDS]: Make code unconditional.
79293         [!__ASSUME_32BITUIDS]: Remove conditional code.
79294         * sysdeps/unix/sysv/linux/kernel-features.h
79295         (__ASSUME_SETRESUID_SYSCALL): Remove.
79296         (__ASSUME_SETRESGID_SYSCALL): Likewise.
79297         (__ASSUME_32BITUIDS): Likewise.
79298         (__ASSUME_LDT_WORKS): Likewise.
79299         (__ASSUME_O_DIRECTORY): Likewise.
79300         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
79301         architecture but not kernel version.
79302         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
79303         (__ASSUME_MMAP2_SYSCALL): Likewise.
79304         (__ASSUME_STAT64_SYSCALL): Likewise.
79305         (__ASSUME_IPC64): Likewise.
79306         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
79307         <kernel-features.h>.
79308         [__ASSUME_32BITUIDS]: Make code unconditional.
79309         [!__ASSUME_32BITUIDS]: Remove conditional code.
79310         * sysdeps/unix/sysv/linux/opendir.c: Do not include
79311         <kernel-features.h>.
79312         [__ASSUME_O_DIRECTORY]: Make code unconditional.
79313         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
79314         132096]: Remove conditional code.
79315         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
79316         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
79317         <kernel-features.h>.
79318         [__ASSUME_32BITUIDS]: Make code unconditional.
79319         [!__ASSUME_32BITUIDS]: Remove conditional code.
79320         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
79321         <kernel-features.h>.
79322         [__ASSUME_32BITUIDS]: Make code unconditional.
79323         [!__ASSUME_32BITUIDS]: Remove conditional code.
79324         * sysdeps/unix/sysv/linux/setegid.c: Do not include
79325         <kernel-features.h>.
79326         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
79327         unconditional.
79328         (__setresgid): Do not declare.
79329         [__ASSUME_32BITUIDS]: Make code unconditional.
79330         [!__ASSUME_32BITUIDS]: Remove conditional code.
79331         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
79332         <kernel-features.h>.
79333         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
79334         unconditional.
79335         (__setresuid): Do not declare.
79336         [__ASSUME_32BITUIDS]: Make code unconditional.
79337         [!__ASSUME_32BITUIDS]: Remove conditional code.
79338         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
79339         <kernel-features.h>.
79340         [__ASSUME_32BITUIDS]: Make code unconditional.
79341         [!__ASSUME_32BITUIDS]: Remove conditional code.
79342         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
79343         <kernel-features.h>.
79344         [__ASSUME_32BITUIDS]: Make code unconditional.
79345         [!__ASSUME_32BITUIDS]: Remove conditional code.
79347 2012-05-25  Richard Henderson  <rth@twiddle.net>
79349         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
79350         dl_hwcap to ifunc resolver.
79351         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
79352         elf_ifunc_invoke.
79353         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
79354         dl_hwcap to ifunc resolver.
79355         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
79357 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79359         [BZ #14153]
79360         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
79361         for |x| <= 2**-26, not 2**-57.
79362         * math/libm-test.inc (acos_test): Do not allow spurious underflow
79363         exception.
79365 2012-05-24  Jeff Law  <law@redhat.com>
79367         * stdio-common/Makefile (tests): Add bug25.
79368         * stdio-common/bug25.c: New test.
79370 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79372         [BZ #13576]
79373         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
79374         multiple of MALLOC_ALIGNMENT in size.
79375         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
79377 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79379         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
79380         Require >= 256.
79381         (FILENAME_MAX): Use macro-int-constant.
79382         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
79383         (_IOFBF): Use macro-int-constant.
79384         (_IOLBF): Likewise.
79385         (_IONBF): Likewise.
79386         (SEEK_CUR): Likewise.
79387         (SEEK_END): Likewise.
79388         (SEEK_SET): Likewise.
79389         (TMP_MAX): Likewise.
79390         (EOF): Use macro-int-constant.  Require < 0.
79391         (NULL): Use macro-constant.  Require == 0.
79392         (stdin): Require type to be FILE *.
79393         (stdout): Likewise.
79394         (stderr): Likewise.
79395         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
79396         macro-int-constant.
79397         (EXIT_SUCCESS): Likewise.
79398         (NULL): Use macro-constant.  Require == 0.
79399         (RAND_MAX): Use macro-int-constant.
79400         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
79401         [C99-based standards] (strtof): Require function.
79402         [C99-based standards] (strtold): Likewise.
79403         [C99-based standards] (strtoll): Likewise.
79404         [C99-based standards] (strtoull): Likewise.
79405         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79406         [ISO || ISO99 || ISO11] (limits.h): Likewise.
79407         [ISO || ISO99 || ISO11] (math.h): Likewise.
79408         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
79409         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79410         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79412 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
79414         [BZ #14132]
79415         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
79416         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
79417         * intl/dgettext.c (DCGETTEXT): Likewise.
79418         * intl/gettext.c (DCGETTEXT): Likewise.
79419         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
79420         * posix/regex_internal.h (gettext): Likewise.
79421         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
79422         Remove declaration.
79423         * include/argz.h (__argz_count_internal)
79424         (__argz_stringify_internal): Remove declaration.
79425         (__argz_count, __argz_stringify): Declare hidden proto.
79426         * intl/dcgettext.c: Remove use of INTDEF.
79427         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
79428         * string/argz-stringify.c: Likewise.
79429         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79430         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79431         Declare hidden proto.
79432         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
79433         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
79434         Declare hidden proto.
79435         * include/stdio.h (__asprintf_internal): Don't declare.
79436         (__asprintf): Don't define as macro.  Declare hidden proto.
79437         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
79438         (__fsetlocking): Declare hidden proto.
79439         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
79440         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
79441         hidden proto.
79442         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
79443         (_IO_setlinebuf): Remove use of INTUSE.
79444         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
79445         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
79446         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
79447         Remove declaration.
79448         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
79449         (_IO_do_flush): Remove use of INTUSE.
79450         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
79451         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
79452         (_IO_adjust_column, _IO_least_wmarker)
79453         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
79454         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
79455         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
79456         (_IO_default_doallocate, _IO_wdefault_doallocate)
79457         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
79458         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
79459         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
79460         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
79461         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
79462         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
79463         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
79464         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
79465         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
79466         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
79467         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
79468         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
79469         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
79470         proto.
79471         (_IO_flush_all_internal, _IO_adjust_column_internal)
79472         (_IO_default_uflow_internal, _IO_default_finish_internal)
79473         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
79474         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
79475         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
79476         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
79477         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
79478         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
79479         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
79480         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
79481         (_IO_file_close_internal, _IO_file_close_it_internal)
79482         (_IO_file_underflow_internal, _IO_file_overflow_internal)
79483         (_IO_file_init_internal, _IO_file_attach_internal)
79484         (_IO_file_fopen_internal, _IO_file_read_internal)
79485         (_IO_file_sync_internal, _IO_file_seek_internal)
79486         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
79487         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
79488         (_IO_str_underflow_internal, _IO_str_overflow_internal)
79489         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
79490         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
79491         (_IO_list_all_internal, _IO_link_in_internal)
79492         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
79493         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
79494         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
79495         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
79496         (_IO_do_write_internal, _IO_padn_internal)
79497         (_IO_getline_info_internal, _IO_getline_internal)
79498         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
79499         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
79500         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
79501         (_IO_vfscanf_internal, _IO_vfprintf_internal)
79502         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
79503         (_IO_init_internal, _IO_un_link_internal): Don't declare.
79504         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
79505         with libc_hidden_ver, remove use of INTUSE.
79506         * libio/genops.c: Likewise.
79507         * libio/freopen.c: Likewise.
79508         * libio/freopen64.c: Likewise.
79509         * libio/iofclose.c: Likewise.
79510         * libio/iofdopen.c: Likewise.
79511         * libio/iofflush.c: Likewise.
79512         * libio/iofflush_u.c: Likewise.
79513         * libio/iofgets.c: Likewise.
79514         * libio/iofgets_u.c: Likewise.
79515         * libio/iofopen.c: Likewise.
79516         * libio/iofopncook.c: Likewise.
79517         * libio/iofread.c: Likewise.
79518         * libio/iofread_u.c: Likewise.
79519         * libio/ioftell.c: Likewise.
79520         * libio/iofwrite.c: Likewise.
79521         * libio/iogetline.c: Likewise.
79522         * libio/iogets.c: Likewise.
79523         * libio/iogetwline.c: Likewise.
79524         * libio/iopadn.c: Likewise.
79525         * libio/iopopen.c: Likewise.
79526         * libio/ioseekoff.c: Likewise.
79527         * libio/ioseekpos.c: Likewise.
79528         * libio/iosetbuffer.c: Likewise.
79529         * libio/iosetvbuf.c: Likewise.
79530         * libio/ioungetc.c: Likewise.
79531         * libio/ioungetwc.c: Likewise.
79532         * libio/iovdprintf.c: Likewise.
79533         * libio/iovsprintf.c: Likewise.
79534         * libio/iovsscanf.c: Likewise.
79535         * libio/memstream.c: Likewise.
79536         * libio/obprintf.c: Likewise.
79537         * libio/oldfileops.c: Likewise.
79538         * libio/oldiofclose.c: Likewise.
79539         * libio/oldiofdopen.c: Likewise.
79540         * libio/oldiofopen.c: Likewise.
79541         * libio/oldiopopen.c: Likewise.
79542         * libio/oldstdfiles.c: Likewise.
79543         * libio/putc.c: Likewise.
79544         * libio/setbuf.c: Likewise.
79545         * libio/setlinebuf.c: Likewise.
79546         * libio/stdfiles.c: Likewise.
79547         * libio/strops.c: Likewise.
79548         * libio/vasprintf.c: Likewise.
79549         * libio/vscanf.c: Likewise.
79550         * libio/vsnprintf.c: Likewise.
79551         * libio/vswprintf.c: Likewise.
79552         * libio/wfiledoalloc.c: Likewise.
79553         * libio/wfileops.c: Likewise.
79554         * libio/wgenops.c: Likewise.
79555         * libio/wmemstream.c: Likewise.
79556         * libio/wstrops.c: Likewise.
79557         * libio/__fpurge.c: Likewise.
79558         * libio/__fsetlocking.c: Likewise.
79559         * assert/assert.c: Likewise.
79560         * debug/fgets_chk.c: Likewise.
79561         * debug/fgets_u_chk.c: Likewise.
79562         * debug/fread_chk.c: Likewise.
79563         * debug/fread_u_chk.c: Likewise.
79564         * debug/gets_chk.c: Likewise.
79565         * debug/obprintf_chk.c: Likewise.
79566         * debug/vasprintf_chk.c: Likewise.
79567         * debug/vdprintf_chk.c: Likewise.
79568         * debug/vsnprintf_chk.c: Likewise.
79569         * debug/vsprintf_chk.c: Likewise.
79570         * malloc/mtrace.c: Likewise.
79571         * misc/error.c: Likewise.
79572         * misc/syslog.c: Likewise.
79573         * stdio-common/asprintf.c: Likewise.
79574         * stdio-common/fxprintf.c: Likewise.
79575         * stdio-common/getw.c: Likewise.
79576         * stdio-common/isoc99_fscanf.c: Likewise.
79577         * stdio-common/isoc99_scanf.c: Likewise.
79578         * stdio-common/isoc99_vfscanf.c: Likewise.
79579         * stdio-common/isoc99_vscanf.c: Likewise.
79580         * stdio-common/isoc99_vsscanf.c: Likewise.
79581         * stdio-common/printf-prs.c: Likewise.
79582         * stdio-common/printf_fp.c: Likewise.
79583         * stdio-common/printf_fphex.c: Likewise.
79584         * stdio-common/printf_size.c: Likewise.
79585         * stdio-common/putw.c: Likewise.
79586         * stdio-common/scanf.c: Likewise.
79587         * stdio-common/sprintf.c: Likewise.
79588         * stdio-common/tmpfile.c: Likewise.
79589         * stdio-common/vfprintf.c: Likewise.
79590         * stdio-common/vfscanf.c: Likewise.
79591         * stdlib/strfmon_l.c: Likewise.
79592         * sunrpc/openchild.c: Likewise.
79593         * sunrpc/xdr_stdio.c: Likewise.
79594         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
79595         * sysdeps/mach/hurd/tmpfile.c: Likewise.
79597 2012-05-24  Roland McGrath  <roland@hack.frob.com>
79599         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
79601         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
79602         in the third column, to generate for the shared library an IFUNC
79603         that uses _dl_vdso_vsym.
79604         * Makerules (COMPILE.c, compile-stdin.c): New variables.
79605         * Makeconfig (object-suffixes-noshared): New variable.
79607         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
79608         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
79609         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
79610         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
79612         [BZ #14132]
79613         * include/sys/time.h (__gettimeofday): Remove macro.
79614         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
79615         * time/gettimeofday.c (__gettimeofday): Remove #undef.
79616         Remove INTDEF.
79617         (__gettimeofday): Add libc_hidden_def.
79618         (gettimeofday): Add libc_hidden_weak.
79619         * sysdeps/mach/gettimeofday.c: Likewise.
79620         * sysdeps/posix/gettimeofday.c: Likewise.
79621         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
79622         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
79623         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
79624         (__gettimeofday_internal): Remove strong_alias.
79625         (__gettimeofday): Add libc_hidden_def.
79626         (gettimeofday): Add libc_hidden_weak.
79627         * sysdeps/unix/syscalls.list (gettimeofday):
79628         Remove __gettimeofday_internal alias.
79630 2012-05-24  Daniel Jacobowitz  <drow@false.org>
79631             H.J. Lu  <hongjiu.lu@intel.com>
79633         [BZ #12495]
79634         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
79635         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
79636         (largebin_index_32_big): New.
79637         (largebin_index): Use it for 16-byte alignment.
79638         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
79639         correction with front_misalign.
79641 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
79643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
79644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
79645         Likewise.
79646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
79647         Likewise.
79648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
79649         Likewise.
79650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
79651         Likewise.
79652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
79653         Likewise.
79654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
79655         Likewise.
79656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
79657         Likewise.
79658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
79659         Likewise.
79660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
79661         Likewise.
79662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
79663         Likewise.
79664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
79665         Likewise.
79666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
79667         Likewise.
79669         * scripts/data/c++-types-x32-linux-gnu.data: New file.
79670         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
79672 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
79674         [BZ #10846]
79675         [BZ #14036]
79676         * math/libm-test.inc (exp_test): Add test from bug 14036.
79677         (pow_test): Add test from bug 10846.
79679         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
79680         and other flags.
79681         (special_function): Do not include flags in test name.
79682         (parse_args): Likewise.
79683         * sysdeps/i386/fpu/libm-test-ulps: Update.
79684         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79685         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
79686         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
79687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79689         * math/gen-libm-test.pl (%beautify): Add entries for underflow
79690         exceptions.
79691         * math/libm-test.inc ("Philosophy"): Update comment about
79692         exception testing.
79693         (UNDERFLOW_EXCEPTION): New macro.
79694         (UNDERFLOW_EXCEPTION_OK): Likewise.
79695         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
79696         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
79697         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
79698         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
79699         (INVALID_EXCEPTION_OK): Update value.
79700         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79701         (OVERFLOW_EXCEPTION_OK): Likewise.
79702         (IGNORE_ZERO_INF_SIGN): Likewise.
79703         (test_exceptions): Handle underflow exceptions.
79704         (acos_test): Update for underflow exception expectations.
79705         (cexp_test): Likewise.
79706         (clog_test): Likewise.
79707         (clog10_test): Likewise.
79708         (csqrt_test): Likewise.
79709         (ctan_test): Likewise.
79710         (ctanh_test): Likewise.
79711         (exp_test): Likewise.
79712         (exp10_test): Likewise.
79713         (exp2_test): Likewise.
79714         (expm1_test): Likewise.
79715         (fma_test): Likewise.
79716         (j0_test): Likewise.
79717         (jn_test): Likewise.
79718         (nexttoward_test): Likewise.
79719         (pow_test): Likewise.
79720         (scalbn_test): Likewise.
79721         (scalbln_test): Likewise.
79722         (tan_test): Likewise.
79723         (y1_test): Likewise.
79724         * sysdeps/i386/fpu/libm-test-ulps: Update.
79725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79727 2012-05-23  David S. Miller  <davem@davemloft.net>
79729         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79730         (__libc_sigaction): Remove unused local variables.
79732 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79734         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
79736 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
79738         mktime: avoid signed integer overflow
79739         * time/mktime.c (__mktime_internal): Do not mishandle the case
79740         where diff == INT_MIN.
79742         mktime: simplify computation of average
79743         * time/mktime.c (ranged_convert): Use new time_t_avg function
79744         instead of rolling our own (probably-slower) code.
79746         mktime: do not assume signed right shift propagates sign bit
79747         * time/mktime.c (isdst_differ): New static function.
79748         (__mktime_internal): No need to normalize tm_isdst now.
79749         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
79750         tm_isdst values.
79752         mktime: merge another wrapv change from gnulib
79753         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
79754         from some compilers.
79756         mktime: remove incorrect attempt at unusual arithmetics
79757         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
79758         The code didn't really work on such machines anyway.
79759         (TYPE_MINIMUM): Assume two's complement.
79760         (twos_complement_arithmetic): Verify that long_int and time_t
79761         are two's complement (or unsigned, in the latter case).
79763         mktime: check signed shifts on long_int and time_t, too
79764         * time/mktime.c (SHR): Check that shifts work as desired
79765         on the types long_int and time_t too, as SHR is used on
79766         such types.
79768         mktime: do not assume 'long' is wide enough
79769         * time/mktime.c (verify): Move decl up.
79770         (long_int): New type.
79771         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
79772         to remove assumption in the code that 'long' is wide enough to
79773         store year values.  This assumption is not true on x32 and on
79774         some non-glibc platforms.
79776         mktime: merge wrapv change from gnulib
79777         * time/mktime.c (WRAPV): New macro.
79778         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
79779         (guess_time_tm, __mktime_internal): Do not assume that signed
79780         integer overflow wraps around; modern compilers generate code
79781         where this assumption is no longer valid.
79783 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79785         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79786         Replace "jmp L(pseudo_end)" with "ret".
79787         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
79788         Likewise.
79790 2012-05-23  Andreas Jaeger  <aj@suse.de>
79792         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
79793         * sysdeps/unix/sysv/linux/poll.c: Remove file.
79795 2012-05-23  Andreas Jaeger  <aj@suse.de>
79796             Maximilian Attems  <max@stro.at>
79798         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
79799         New macros.
79801 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
79803         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
79804         code so that pseudo_end is just ret and the stack pointer is
79805         correct also for static library in error case.
79807 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
79809         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
79810         move to syscalls.list.
79811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
79812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
79813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
79814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
79816         * manual/install.texi (Running make install): Do not mention Linux
79817         kernel version for which pt_chown is not needed.
79818         (Linux): Do not mention problems with nscd with 2.0 kernels.
79819         * INSTALL: Regenerated.
79821 2012-05-23  Andreas Jaeger  <aj@suse.de>
79823         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
79824         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
79825         macro.
79826         * sysdeps/unix/sysv/linux/s390/bits/mman.h
79827         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79828         * sysdeps/unix/sysv/linux/sh/bits/mman.h
79829         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79830         * sysdeps/unix/sysv/linux/i386/bits/mman.h
79831         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79832         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
79833         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79834         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
79835         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
79836         * sysdeps/unix/sysv/linux/bits/in.h
79837         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
79839 2012-05-22  Roland McGrath  <roland@hack.frob.com>
79841         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
79842         (PREPARE_VERSION): Just use assert instead, it will be elided
79843         under [NDEBUG] anyway.
79845 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79847         * sysdeps/unix/sysv/linux/Makefile: Include
79848         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
79849         (sysdep_routines): Remove sysctl.
79850         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
79851         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
79852         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
79853         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
79854         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
79856 2012-05-22  Andreas Jaeger  <aj@suse.de>
79858         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
79859         that pseudo_end is just ret and the stack pointer is correct also
79860         for static library in error case.
79862 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
79864         [BZ #14122]
79865         * nss/nsswitch.c (defconfig_entries): New variable.
79866         (__nss_database_lookup): Don't leak defconfig entries.
79867         (nss_parse_service_list): Don't leak on error paths.
79868         (free_database_entries): New function.
79869         (free_defconfig): New function.
79870         (free_mem): Move common code to free_database_entries.
79872 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79874         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
79875         Add arch_prctl.
79876         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
79878         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
79879         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
79880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
79881         New macro.
79882         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
79883         (INTERNAL_SYSCALL_TYPES): Likewise.
79884         (LOAD_ARGS_TYPES_[1-6]): Likewise.
79885         (LOAD_REGS_TYPES_[1-6]): Likewise.
79886         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
79887         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
79889 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79891         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
79892         copysignl for GLIBC_2_0.
79893         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
79894         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
79895         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
79896         logbl for GLIBC_2_0.
79897         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
79898         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
79900 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79902         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
79903         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79905         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
79906         Use "neg %eax".
79908         * time/mktime.c: Update copyright years.
79910 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
79912         mktime: merge comment-quoting-style change from gnulib
79913         * time/mktime.c: Quote 'like this' in comments.
79914         The GNU coding standards suggest that we no longer quote `like this',
79915         as "`" and "'" are typically rendered asymmetrically nowadays.
79916         The typical gnulib style is to quote 'like this' when quoting
79917         code, and "like this" when quoting English.
79919         * time/mktime.c (compile-command): Add "-I.".
79921         mktime: merge mktime-internal.h change from gnulib
79922         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
79924         mktime: merge time_r change from gnulib
79925         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
79927         mktime: merge DEBUG change from gnulib
79928         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
79929         case system <time.h> has a #define.
79931         mktime: merge <sys/types.h> change from gnulib
79932         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
79933         since <time.t> is now guaranteed to define time_t.
79935         mktime: merge HAVE_CONFIG_H change from gnulib
79936         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
79938 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
79940         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79941         Use "neg %eax".
79943         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
79944         __rlim_t cast.
79945         (struct rusage): Use anonymous union to pad each field to
79946         __syscall_slong_t.
79948 2012-05-21  David S. Miller  <davem@davemloft.net>
79950         * Makefules (o-iterator): Remove .s cases.
79951         (compile-command.s): Delete.
79952         (COMPILE.s): Delete.
79953         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
79955 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
79957         * configure.in (libc_cv_predef_stack_protector): Only consider
79958         "foobar" and "__stack_chk_fail" lines in libc_undefs.
79959         * configure: Regenerated.
79961 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
79963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
79964         New macro.  Use R*LP on int and pointer.
79965         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
79966         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
79967         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
79968         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
79970         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
79971         [__WORDSIZE_TIME64_COMPAT32] instead of
79972         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
79973         (struct utmp): Likewise.
79974         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
79975         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
79976         Renamed to ...
79977         (__WORDSIZE_TIME64_COMPAT32): This.
79978         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
79979         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
79980         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
79981         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
79982         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
79983         (__WORDSIZE_TIME64_COMPAT32): New macro.
79985 2012-05-21  Andreas Jaeger  <aj@suse.de>
79987         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
79988         only if [SHARED]. Add prototype for __wcschr_ia32.
79990 2012-05-21  Roland McGrath  <roland@hack.frob.com>
79992         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
79993         of %rbp unmolested in the jmp_buf while mangling the low bits.
79994         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
79995         unmolested high bits of %rbp while demangling the low bits.
79996         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
79998 2012-05-21  Andreas Jaeger  <aj@suse.de>
80000         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
80001         * sunrpc/svc_simple.c: Use it for registerrpc.
80002         * sunrpc/xcrypt.c: Use it for passwd2des.
80004         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
80006 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80008         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
80009         Don't define if [__SYSCALL_WORDSIZE != 32].
80010         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80011         New macro.
80013 2012-05-21  Bruno Haible  <bruno@clisp.org>
80014             Andreas Jaeger  <aj@suse.de>
80016         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80017         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80018         inptr and inend for must_buffer_ch.
80019         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80020         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80021         * stdio-common/Makefile (tests): Remove bug15.
80022         (bug15-ENV): Remove macro.
80023         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80024         anymore.
80026 2012-05-19  Andreas Jaeger  <aj@suse.de>
80027             Roland McGrath  <roland@hack.frob.com>
80029         * manual/contrib.texi: Completely rewritten. It contains now an
80030         alphabetical list of contributors and their contributions.
80032 2012-05-21  Richard Henderson  <rth@twiddle.net>
80034         * misc/getauxval.c (__getauxval): Use unsigned long int.
80035         * misc/sys/auxv.h: Include <sys/cdefs.h>.
80036         (getauxval): Use unsigned long int.
80038 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80040         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80042 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80044         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80045         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80046         __alignof__ (long double).
80048 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80052 2012-05-20  Richard Henderson  <rth@twiddle.net>
80054         * misc/getauxval.c: New file.
80055         * misc/sys/auxv.h: New file.
80056         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80057         (routines): Add getauxval.
80058         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80059         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80060         * elf/dl-sysdep.c (_dl_auxv): Remove.
80061         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80062         * elf/dl-support.c (_dl_auxv): New variable.
80063         (_dl_aux_init): Initialize it.
80064         * manual/startup.texi (Auxiliary Vector): New node.
80065         * sysdeps/generic/bits/hwcap.h: New file.
80066         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
80067         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
80068         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
80069         * sysdeps/sparc/sysdep.h: ... here.  Include it.
80070         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
80071         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
80072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
80073         Update.
80074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
80075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
80076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
80077         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
80078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80079         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
80080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
80081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
80083 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80087 2012-05-19  David S. Miller  <davem@davemloft.net>
80089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80091 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80093         [BZ #14123]
80094         * math/s_ccosh.c: Include <float.h>
80095         (__ccosh): Avoid internal overflow calculating sinh and cosh
80096         values before multiplying by sin and cos values.
80097         * math/s_ccoshf.c: Likewise.
80098         * math/s_ccoshl.c: Likewise.
80099         * math/s_csin.c: Likewise.
80100         * math/s_csinf.c: Likewise.
80101         * math/s_csinl.c: Likewise.
80102         * math/s_csinh.c: Likewise.
80103         * math/s_csinhf.c: Likewise.
80104         * math/s_csinhl.c: Likewise.
80105         * math/libm-test.inc (ccos_test): Add more tests.
80106         (ccosh_test): Likewise.
80107         (csin_test): Likewise.
80108         (csinh_test): Likewise.
80109         * sysdeps/i386/fpu/libm-test-ulps: Update.
80110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80112 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
80114         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
80115         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
80117         * sysdeps/x86_64/x32/_itoa.h: Add comment.
80119 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
80121         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
80122         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
80123         * sysdeps/powerpc/soft-fp/Versions: Likewise.
80124         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
80125         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
80126         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
80127         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
80128         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
80129         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
80130         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
80131         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
80132         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
80133         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
80134         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
80135         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
80136         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
80137         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
80138         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
80139         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
80140         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
80141         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
80142         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
80143         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
80144         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
80145         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
80146         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
80147         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
80148         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
80149         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
80150         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
80151         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
80153 2012-05-18  Andreas Jaeger  <aj@suse.de>
80155         * csu/.gitignore: Delete.
80157 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80159         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
80160         (timex): Use __syscall_slong_t.
80162 2012-05-18  Andreas Jaeger  <aj@suse.de>
80163             Carlos O'Donell  <carlos_odonell@mentor.com>
80165         * manual/install.texi (Configuring and compiling): Update
80166         description about files modified in the source directory.
80167         * INSTALL: Regenerated.
80169 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80171         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
80172         value.  Use "or" to set return value to -1.
80173         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
80174         negate return value.
80176 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80178         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
80179         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
80180         failure if the compiler has Graphite support disabled.
80181         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
80182         Likewise.
80183         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
80184         (CFLAGS-memmove.c): Likewise.
80185         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
80186         Likewise.
80188 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
80190         * sysdeps/x86_64/x32/_itoa.h: New file.
80192         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
80193         getdents system call only if kernel and user dirents have the
80194         same d_ino and d_off.
80196         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80197         LLONG_MAX != LONG_MAX.
80198         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80199         (_fitoa_word): Likewise.
80201         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
80202         years.
80203         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
80204         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
80205         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
80207         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
80208         include <bits/wordsize.h>.  Check __x86_64__ instead of
80209         __WORDSIZE.
80210         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
80211         if __x86_64__ is defined.  Use anonymous union on fpstate.
80213         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
80214         anonymous union.
80216 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
80218         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
80219         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
80220         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
80221         Refer to _rtld_local_ro instead of _rtld_global_ro.
80222         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
80223         Likewise.
80224         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
80225         Likewise.
80226         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
80227         Likewise.
80228         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
80229         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
80230         of _rtld_global, and rtld_progname instead of _dl_argv[0].
80232         [BZ #10882]
80233         * sysdeps/powerpc/powerpc32/dl-machine.c
80234         (__elf_machine_runtime_setup) [PROF]: Don't reference
80235         _dl_prof_resolve.
80237 2012-05-18  Andreas Jaeger  <aj@suse.de>
80239         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
80240         function only available for GCCs before 3.4 since GCC 3.4
80241         introduced a builtin.
80242         (lrint): Likewise.
80243         (llrintf): Likewise.
80244         (llrint): Likewise.
80245         (fmaxf): Likewise.
80246         (fmax): Likewise.
80247         (fminf): Likewise.
80248         (fmin): Likewise.
80249         (rint): Likewise.
80250         (rintf): Likewise.
80251         (nearbyint): Likewise.
80252         (nearbyintf): Likewise.
80253         (ceil): Likewise.
80254         (ceilf): Likewise.
80255         (floor): Likewise.
80256         (floorf): Likewise.
80258 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80260         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
80261         on both fields and cast pointer to __syscall_ulong_t.
80263         * bits/types.h (__fsword_t): New type.
80264         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
80265         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
80266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80267         (__FSWORD_T_TYPE): Likewise.
80268         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80269         (__FSWORD_T_TYPE): Likewise.
80270         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80271         (__FSWORD_T_TYPE): Likewise.
80272         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
80273         (__FSWORD_T_TYPE): Likewise.
80274         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
80275         __SWORD_TYPE with __fsword_t.
80276         (statfs64): Likewise.
80278 2012-05-17  David S. Miller  <davem@davemloft.net>
80280         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
80282 2012-05-17  Andreas Jaeger  <aj@suse.de>
80284         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
80285         warning.
80287 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80289         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
80291 2012-05-17  Andreas Jaeger  <aj@suse.de>
80293         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
80294         when it is used.
80296 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80298         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
80300 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80302         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
80303         * sysdeps/x86_64/tst-mallocalign1.c: New file.
80305 2012-05-17  Andreas Jaeger  <aj@suse.de>
80306             Carlos O'Donell  <carlos_odonell@mentor.com>
80308         [BZ #14059]
80309         * sysdeps/x86_64/multiarch/init-arch.h
80310         (bit_YMM_Usable): Rename to...
80311         (bit_AVX_Usable): ... this.
80312         (bit_FMA4_Usable): New macro.
80313         (bit_XMM_state): New macro.
80314         (bit_YMM_state): New macro.
80315         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
80316         [__ASSEMBLER__] (index_AVX_Usable): ... this.
80317         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
80318         (CPUID_OSXSAVE): New macro.
80319         (CPUID_AVX): New macro.
80320         (CPUID_FMA4): New macro.
80321         (index_YMM_Usable): Rename to...
80322         (index_AVX_Usable): ... this.
80323         (HAS_AVX): Use HAS_ARCH_FEATURE.
80324         (HAS_FMA4): Likewise.
80325         (HAS_YMM_USABLE): Remove.
80326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80327         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
80328         are present.
80329         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
80330         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
80331         * sysdeps/x86_64/multiarch/Makefile: Likewise.
80332         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
80333         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
80335 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
80337         * math/libm-test.c: Support platforms without multiple rounding modes.
80338         * math/bug-nextafter.c: Support platforms without FP exceptions.
80339         * math/bug-nexttoward.c: Likewise.
80340         * math/test-fenv.c: Likewise.
80341         * math/test-misc.c: Likewise.
80342         * stdlib/bug-getcontext.c: Likewise.
80344 2012-05-17  Andreas Jaeger  <aj@suse.de>
80346         * manual/examples/search.c (critter_cmp): Change signature to
80347         avoid warnings.
80348         * manual/string.texi (Collation Functions): Likewise.
80350 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80352         * bits/types.h: Fold copyright years.
80353         * bits/typesizes.h: Likewise.
80354         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
80355         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
80356         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
80357         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
80358         * time/time.h: Likewise.
80360 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
80362         [BZ #208]
80363         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
80364         in instead of returning them.  Return void.
80365         (__libc_mallinfo): Accumulate over all arenas.
80366         (__malloc_stats): Adjust for change in int_mallinfo interface.
80368 2012-05-16  Roland McGrath  <roland@hack.frob.com>
80370         [BZ #10375]
80371         * configure.in (NM): Add AC_CHECK_TOOL for it.
80372         (libc_extra_cflags): New substituted variable.
80373         Check for -fstack-protector being used implicitly.
80374         * configure: Regenerated.
80375         * config.make.in (config-extra-cflags): New variable,
80376         gets @libc_extra_cflags@.
80377         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
80379         [BZ #10375]
80380         * configure.in: Check for _FORTIFY_SOURCE being predefined.
80381         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
80382         * configure: Regenerated.
80383         * config.make.in (CPPUNDEFS): New substituted variable.
80384         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
80385         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
80386         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
80388 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80390         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
80391         (mq_attr): Use __syscall_slong_t.
80393 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80395         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
80396         Check __x86_64__ instead of __WORDSIZE.
80397         (_STAT_VER_LINUX): Likewise.
80398         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
80399         __syscall_ulong_t and __syscall_slong_t.
80400         (stat64): Likewise.
80402 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80404         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
80406 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80408         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
80410 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80412         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
80413         __syscall_ulong_t.
80415         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
80416         include <bits/wordsize.h>.  Check __x86_64__ instead of
80417         __WORDSIZE.
80418         (greg_t): Use "__extension__ long long int" if __x86_64__ is
80419         defined.
80420         (mcontext_t): Replace "unsigned long" with "unsigned long long".
80422         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
80423         include <bits/wordsize.h>.  Check __x86_64__ instead of
80424         __WORDSIZE.
80425         (user_regs_struct): Use "__extension__ unsigned long long"
80426         instead of "unsigned long" if __x86_64__ is defined.
80427         (user): Likewise.  Pad after pointer field if __ILP32__ is
80428         defined.
80430 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
80432         * configure.in (makeinfo): Require version 4.5 or later.  Allow
80433         versions 5 to 9.
80434         * configure: Regenerated.
80435         * manual/install.texi (texinfo): Increase version requirement to
80436         4.5 or later.
80437         * INSTALL: Regenerated.
80439         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
80441 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80443         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
80445         * sysdeps/x86_64/x32/ffs.c: New file.
80447         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
80448         __syscall_ulong_t.
80449         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
80450         defined.  Use __syscall_ulong_t.
80451         (shminfo): Use __syscall_ulong_t.
80452         (shm_info): Likewise.
80454         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
80455         __syscall_ulong_t.
80457         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
80458         <bits/wordsize.h>.
80459         (msgqnum_t): Use __syscall_ulong_t.
80460         (msglen_t): Likewise.
80461         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
80462         __syscall_ulong_t.
80464         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
80465         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80467         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
80469         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
80470         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
80472         * sysvipc/sys/msg.h (msgbuf): Replace long int with
80473         __syscall_slong_t.
80475         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
80476         include <bits/wordsize.h>.  Check __x86_64__ instead of
80477         __WORDSIZE.
80479         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
80480         "unsigned long long int" if __x86_64__ is defined.
80481         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
80483         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
80484         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80485         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
80487         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
80488         <stdint.h>.
80489         (GET_PC): Cast to uintptr_t first.
80490         (GET_FRAME): Likewise.
80491         (GET_STACK): Likewise.
80493         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
80494         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
80495         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
80496         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
80497         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
80498         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
80499         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
80500         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
80501         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
80502         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
80503         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
80504         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
80505         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
80506         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
80507         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
80508         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
80509         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
80510         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
80511         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
80512         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
80513         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
80514         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
80515         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
80516         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
80517         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
80518         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
80519         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
80520         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
80521         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
80523 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
80525         * Makerules (+depfiles): Also collect depfiles from .oS in
80526         $(extra-objs).
80527         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
80528         .oS, $(libnldbl-routines)).
80530         * Makerules (native-compile-mkdep-flags): Define.
80531         * sunrpc/Makefile (extra-objs): Add $(addprefix
80532         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
80533         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
80534         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
80535         calling $(make-target-directory).
80537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80539         * bits/types.h (__snseconds_t): Removed.
80540         * time/time.h (struct timespec): Replace __snseconds_t with
80541         __syscall_slong_t.
80542         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
80543         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
80544         Likewise.
80545         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80546         (__SNSECONDS_T_TYPE): Likewise.
80547         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80548         (__SNSECONDS_T_TYPE): Likewise.
80549         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80550         (__SNSECONDS_T_TYPE): Likewise.
80552 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80554         * sysdeps/mach/hurd/bits/typesizes.h
80555         (__SYSCALL_SLONG_TYPE): New macro.
80556         (__SYSCALL_ULONG_TYPE): Likewise.
80558 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80560         * bits/types.h (__syscall_slong_t): New type.
80561         (__syscall_ulong_t): Likewise.
80563         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
80564         (__SYSCALL_ULONG_TYPE): Likewise.
80565         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
80566         (__SYSCALL_SLONG_TYPE): Likewise.
80567         (__SYSCALL_ULONG_TYPE): Likewise.
80568         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
80569         (__SYSCALL_SLONG_TYPE): Likewise.
80570         (__SYSCALL_ULONG_TYPE): Likewise.
80571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
80572         (__SYSCALL_SLONG_TYPE): Likewise.
80573         (__SYSCALL_ULONG_TYPE): Likewise.
80575 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80577         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
80578         Add sigaltstack-offsets.sym.
80579         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
80580         <sigaltstack-offsets.h>.
80581         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
80582         longjmp_msg pointer.
80583         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
80584         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
80585         signal stack.
80586         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
80588 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80590         * elf/stackguard-macros.h: Remove file.
80591         * sysdeps/generic/stackguard-macros.h: New file.
80592         * sysdeps/i386/stackguard-macros.h: Likewise.
80593         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
80594         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
80595         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
80596         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
80597         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
80598         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
80599         * sysdeps/x86_64/stackguard-macros.h: Likewise.
80600         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
80601         <elf/stackguard-macros.h>.
80603         [BZ #14109]
80604         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
80605         __aligned__ in attribute.
80606         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
80607         (gregset_t): Likewise.
80609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80611         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
80612         * sysdeps/x86_64/64/Implies-after: Here.  New file.
80613         * sysdeps/x86_64/x32/Implies-after: New file.
80615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80617         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
80618         and access return value for _dl_profile_fixup.  Use R10_LP to
80619         load frame size.
80621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80623         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
80625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80627         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
80628         * sysdeps/x86_64/x32/sysdep.h: New file.
80630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80632         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
80633         * sysdeps/x86_64/setjmp.S: Likewise.
80635 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80637         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
80638         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
80639         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
80640         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
80641         remove unused global constant.
80643 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
80645         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
80646         include of <not-cancel.h>.
80648 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80650         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
80652 2012-05-15  Jeff Law  <law@redhat.com>
80653             Andreas Jaeger  <aj@suse.de>
80655         [BZ #13594]
80656         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
80657         out from...
80658         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
80659         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
80660         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
80661         code changing __hst_map_handle.map.
80663 2012-05-15  Roland McGrath  <roland@hack.frob.com>
80665         * configure.in (sysnames): Look for Implies-before and Implies-after
80666         files.
80667         * configure: Regenerated.
80669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80671         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
80672         8-byte data alignment with LP_SIZE alignment.
80674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80676         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
80677         into R10_LP.
80679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80681         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
80683 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80685         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80686         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
80687         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
80688         Likewise.
80689         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
80691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80693         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
80694         (stackinfo_sub_sp): Likewise.
80696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80698         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
80699         RAX_LP.
80701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80703         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
80704         into R*_LP.
80706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80708         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
80709         sizes into R*_LP.
80711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80713         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
80715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80717         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
80718         into R11_LP and load __x86_64_shared_cache_size_half into
80719         R8_LP.
80721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
80723         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
80724         R8_LP.
80726 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80728         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
80729         logb for POWER7.
80730         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
80731         logbf for POWER7.
80732         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
80733         logbl for POWER7.
80734         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
80735         powerpc32/power7/fpu/s_logb.c via #include.
80736         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
80737         powerpc32/power7/fpu/s_logbf.c via #include.
80738         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
80739         powerpc32/power7/fpu/s_logbl.c via #include.
80741 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
80743         * README.libm: Remove file.
80745 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80747         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
80748         count for x32.  Use R*_LP and omit operand-size suffix.
80750 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80752         * shlib-versions: Move x86_64-.*-linux.* entries to ...
80753         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
80754         * sysdeps/x86_64/x32/shlib-versions: New file.
80756 2012-05-14  Roland McGrath  <roland@hack.frob.com>
80758         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
80759         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
80760         Use _dl_fatal_printf instead.
80762 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80764         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
80765         set if not set by the user.  Do not allow for being unset.
80766         * sysdeps/unix/sysv/linux/configure: Regenerated.
80768 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80770         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
80771         the `q' suffix from lea and replace .quad with ASM_ADDR.
80773 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
80776         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
80777         instead of $17.
80778         (PTR_DEMANGLE): Likewise.
80780 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80782         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
80783         (LP_OP): Likewise.
80784         (ASM_ADDR): Likewise.
80785         (RAX_LP): Likewise.
80786         (RBP_LP): Likewise.
80787         (RBX_LP): Likewise.
80788         (RCX_LP): Likewise.
80789         (RDI_LP): Likewise.
80790         (RSI_LP): Likewise.
80791         (RSP_LP): Likewise.
80792         (R8_LP): Likewise.
80793         (R9_LP): Likewise.
80794         (R10_LP): Likewise.
80795         (R10_LP): Likewise.
80796         (R11_LP): Likewise.
80797         (R12_LP): Likewise.
80798         (R13_LP): Likewise.
80799         (R14_LP): Likewise.
80800         (R15_LP): Likewise.
80802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
80804         * sysdeps/x86_64/x32/dl-machine.h: New file.
80806 2012-05-14  Andreas Jaeger  <aj@suse.de>
80808         * manual/Makefile (subdir): Remove export of subdir.
80809         (all): Remove target.
80810         (.PHONY): Remove all from list.
80811         (mkinstalldirs): Remove.
80812         (.PHONY): Remove installdirs from list.
80813         ($(inst_infodir)/libc.info): Use make-target-directory.
80814         (installdirs): Remove.
80815         (subdir_%): Remove.
80816         (glibc-targets): Remove.
80817         (lib): Remove.
80818         (stubs): Remove.
80819         ($(objpfx)stubs ../po/manual.pot): Remove.
80820         ($(objpfx)stamp%): Remove.
80821         (make-target-directory): Remove.
80822         (subdir_install): Remove.
80823         (routines): Remove.
80824         (aux): Remove.
80825         (sources): Remove.
80826         (objects): Remove.
80827         (headers): Remove.
80829         [BZ #13750]
80830         * manual/.gitignore: Remove, it's not needed anymore.
80831         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
80832         all files in it.
80833         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
80834         directory.
80835         (texis): Renamed to $(objpfx)texis.
80836         (texis-path): New, contains path to generated files.
80837         (chapters.%): Use texis-path for complete path, add extra argument
80838         libc-texinfo.sh.
80839         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
80840         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80841         (summary,texi, stamp-summary): Use complete path of
80842         files. Generate files in build dir.
80843         (dir-add.texi): Build in build dir.
80844         (libm-err.texi,stamp-libm-err): Likewise.
80845         (version.texi, stamp-version): Likewise.
80846         (.%c.texi): Likewise.
80847         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
80848         (mostlyclean): Remove target.
80849         (realclean): Remove target.
80850         (generated): Add new variable with contents from mostlyclean and
80851         realclean, remove entries duplicated in common-mostlyclean, add
80852         stamp-libm-err and stamp-version.
80853         (generated-dirs): Add libc directory.
80854         ($(inst_infodir)/libc.info): Install files from build dir.
80856         * manual/install.texi (Configuring and compiling): Adjust since
80857         the info files are not part of the tar ball anymore.
80859 2012-05-14  Andreas Jaeger  <aj@suse.de>
80861         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
80862         variable.
80864 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
80866         [BZ #13717]
80867         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80868         to 2.2.0 where earlier.
80869         * sysdeps/unix/sysv/linux/configure: Regenerated.
80870         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
80871         Remove conditional code.
80872         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
80873         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
80874         Remove conditional code.
80875         [!__NR_lchown]: Likewise.
80876         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80877         [__NR_lchown]: Likewise.
80878         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
80879         comment referencing __ASSUME_LCHOWN_SYSCALL.
80880         * sysdeps/unix/sysv/linux/i386/sigaction.c
80881         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80882         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80883         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
80884         Remove conditional code.
80885         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
80886         (__protocol_available): Remove #if 0 code.
80887         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
80888         conditional code.
80889         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
80890         * sysdeps/unix/sysv/linux/kernel-features.h
80891         (__ASSUME_GETCWD_SYSCALL): Don't define.
80892         (__ASSUME_REALTIME_SIGNALS): Likewise.
80893         (__ASSUME_PREAD_SYSCALL): Likewise.
80894         (__ASSUME_PWRITE_SYSCALL): Likewise.
80895         (__ASSUME_POLL_SYSCALL): Likewise.
80896         (__ASSUME_LCHOWN_SYSCALL): Likewise.
80897         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
80898         non-SPARC.
80899         (__ASSUME_SIOCGIFNAME): Don't define.
80900         (__ASSUME_MSG_NOSIGNAL): Likewise.
80901         (__ASSUME_SENDFILE): Define unconditionally.
80902         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
80903         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
80904         conditional code.
80905         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
80906         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
80907         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80908         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80909         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
80910         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
80911         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
80912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
80913         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80914         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
80916         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80917         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
80919         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80920         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
80922         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80923         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
80925         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80926         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
80928         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
80929         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
80931         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80932         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
80934         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80935         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80936         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
80937         Remove conditional code.
80938         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80939         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80940         Remove conditional code.
80941         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80942         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
80943         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
80944         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80945         Remove conditional code.
80946         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80947         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
80948         Remove conditional code.
80949         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80950         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
80951         Remove conditional code.
80952         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80953         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
80954         Remove conditional code.
80955         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
80956         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
80957         Remove conditional code.
80958         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80959         * sysdeps/unix/sysv/linux/sh/pwrite64.c
80960         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
80961         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
80962         * sysdeps/unix/sysv/linux/sigaction.c
80963         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80964         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80965         * sysdeps/unix/sysv/linux/sigpending.c
80966         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80967         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80968         * sysdeps/unix/sysv/linux/sigprocmask.c
80969         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80970         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80971         * sysdeps/unix/sysv/linux/sigsuspend.c
80972         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
80973         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
80974         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80975         (__libc_missing_rt_sigs): Remove.
80976         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
80977         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
80978         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
80979         Remove conditional code.
80980         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
80981         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
80982         return 1.
80983         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
80984         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
80985         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
80986         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
80988 2012-05-14  Andreas Jaeger  <aj@suse.de>
80990         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
80991         it's not used in glibc.
80992         (__coshm1): Likewise.
80993         (__acosh1p): Likewise.
80994         (__sgn): Likewise.
80996         * manual/string.texi (Copying and Concatenation): Add missing
80997         variable in concat example.
80998         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
81000 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81002         [BZ #14103]
81003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
81004         __builtin_clzl with __builtin_clzll.
81006 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81008         [BZ #14104]
81009         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81010         libc_freeres_ptr.
81012 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81014         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81015         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81016         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81017         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81019 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
81021         * NEWS: Update ia64 info.
81023 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
81025         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81026         used as bcopy.
81028 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
81030         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81031         * sysdeps/unix/syscalls.list (dup3): Likewise.
81032         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81033         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81035 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81037         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81038         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81040 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81042         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81043         thread pointer.
81044         (TLS_IE): Use mov/add instead of movq/addq to load thread
81045         pointer.
81046         (TLS_GD_PREFIX): New.
81047         (TLS_GD): Use it.
81049 2012-05-11  David S. Miller  <davem@davemloft.net>
81051         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81052         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81053         (_FPU_SETCW): Likewise.
81055 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81057         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81058         is 32-byte aligned.
81060 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
81062         [BZ #11837]
81063         * iconvdata/gb18030.c: Update tables.
81064         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
81065         characters specially.
81066         (BODY for TO_LOOP): Add encoding of missing ranges.
81068 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
81070         [BZ #13673]
81071         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
81072         * sysdeps/mach/hurd/dup3.c: Likewise.
81073         * sysdeps/mach/hurd/readlinkat.c: Likewise.
81074         * sysdeps/powerpc/memmove.c:: Likewise.
81076 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81078         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
81079         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
81081 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81083         * elf/elf.h (R_X86_64_RELATIVE64): New.
81084         (R_X86_64_NUM): Updated.
81085         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
81086         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
81087         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
81088         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
81089         tst-quad1pie tst-quad2pie
81090         (modules-names): Add tst-quadmod1 tst-quadmod2.
81091         ($(objpfx)tst-quad1): New dependency.
81092         ($(objpfx)tst-quad2): Likewise.
81093         ($(objpfx)tst-quad1pie): Likewise.
81094         ($(objpfx)tst-quad2pie): Likewise.
81095         * sysdeps/x86_64/tst-quad1.c: New file.
81096         * sysdeps/x86_64/tst-quad1pie.c: New file.
81097         * sysdeps/x86_64/tst-quad2.c: Likewise.
81098         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
81099         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
81100         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
81101         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
81102         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
81104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81106         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
81107         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
81108         * streams/stropts.h (t_scalar_t): Define type.
81110         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
81111         (_PATH_PRESERVE): Set to "/var/lib".
81112         (_PATH_RWHODIR): Set to "/var/spool/rwho".
81114         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
81115         instead of int.
81117         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
81118         if __dir_mkfile succeeded.
81120         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
81121         checking for _hurd_dtablesize.  Unlock it right after having
81122         finished _hurd_dtable allocation.
81124 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81126         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
81127         * sysdeps/mach/hurd/configure: Regenerated.
81128         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
81129         special-casing to...
81130         * sysdeps/gnu/configure.in: ... this new file.
81131         * sysdeps/unix/sysv/linux/configure: Regenerated.
81132         * sysdeps/gnu/configure: New generated file.
81134         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
81135         for Linux: use nsec instead of usec, as well as:
81136         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
81137         members of type struct timespec.
81138         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
81139         New macros.
81140         (struct stat64): Likewise.
81141         (_STATBUF_ST_NSEC): New macro.
81142         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
81144         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
81145         __strtoul_internal rather than strtoul.
81147 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81149         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
81150         and reject them.
81152 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81154         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
81155         which preserves existing values.
81156         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
81158 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81160         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
81161         TIMEOUT values.  Return EINVAL for NFDS values either negative or
81162         greater than FD_SETSIZE.
81164 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81166         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
81167         allocated, call __vm_protect to finish enabling the existing space, and
81168         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
81169         allocate the remainder.
81171 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81173         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
81174         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
81176 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81178         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
81179         sysdeps/mach/hurd/readlink.c.
81181         * posix/tst-sysconf.c (posix_options): Only use
81182         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
81183         _POSIX_SYNCHRONIZED_IO when they are defined
81184         * sysdeps/mach/hurd/bits/posix_opt.h:
81185         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
81186         (_XOPEN_REALTIME): Undefine macro.
81187         (_XOPEN_REALTIME_THREADS): Undefine macro.
81188         (_XOPEN_SHM): Undefine macro.
81189         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
81190         macro to -1.
81191         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
81192         macro to -1.
81193         (_POSIX_ASYNC_IO): Undefine macro.
81194         (_POSIX_PRIORITIZED_IO): Undefine macro.
81195         (_POSIX_SPIN_LOCKS): Define macro to -1.
81197         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
81198         SA_NODEFER, SA_RESETHAND.
81199         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
81200         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
81201         F_DUPFD_CLOEXEC.
81203 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81205         * elf/Makefile (pldd-modules): Define unconditionally.
81207 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81209         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
81211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81213         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
81214         Return ENOENT when name is empty.
81215         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
81217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81219         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
81221         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
81223 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81225         Fix mlock in all cases except non-readable pages.
81226         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
81227         instead of VM_PROT_ALL as parameter to __vm_wire function.
81229         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
81230         (__mkdir): When path is `/', just fail with EEXIST.
81231         * sysdeps/mach/hurd/mkdirat.c: Likewise.
81233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81235         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
81236         <sys/uio.h> (for writev).
81237         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
81238         and <sys/param.h> (for MIN).
81240 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
81242         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
81243         REQUESTED_TIME.  Properly set the remaining time and return EINTR
81244         if interrupted.
81246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81248         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
81249         Depend on against $(link-rpcuserlibs).
81251 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81253         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
81254         (__libc_stack_end): Do not use attribute_relro.
81255         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
81256         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
81257         to libthread-provided value.
81258         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
81259         attribute_relro.
81261 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81263         [BZ #3748]
81264         * bits/libc-lock.h (__libc_once_get): New macro.
81265         * sysdeps/mach/bits/libc-lock.h: Likewise.
81266         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
81267         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
81268         instead of using implementation details.
81270         * libio/fileops.c: Unconditionally include <kernel-features.h>.
81271         * libio/freopen.c: Likewise.
81272         * libio/freopen64.c: Likewise.
81273         * misc/syslog.c: Likewise.
81274         * nscd/connections.c: Likewise.
81275         * nscd/netgroupcache.c: Likewise.
81276         * sysdeps/posix/getcwd.c: Likewise.
81278 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81280         * math/w_ilogbf.c: Add #include <limits.h>.
81282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81284         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
81285         path instead of returning without unlocking.
81287         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
81288         immediate-write ioctls.
81289         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
81291 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81293         * sysdeps/mach/hurd/i386/init-first.c (init): Use
81294         __builtin_frame_address instead of making assumptions about the
81295         location of the return address relative to DATA.  Force early load of
81296         the return address.
81297         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
81298         __builtin_frame_address.
81300         dup3 for GNU Hurd.
81301         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
81302         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
81303         implement dup3 and do some further code clean-ups.
81304         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
81305         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
81307 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81309         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
81311         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
81312         HURD_CRITICAL_END around holding _hurd_dtable_lock.
81313         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
81314         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
81315         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
81316         d->port.lock.
81318         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
81319         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
81320         when handler == SIG_ERR, not when handler != SIG_ERR.
81322 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81324         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
81325         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
81326         definitions.
81328         accept4 for GNU Hurd.
81329         * include/sys/socket.h (__libc_accept4): New prototype.
81330         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
81331         to implement __libc_accept4.
81332         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
81333         __libc_accept4.
81334         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
81336         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
81337         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
81338         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
81339         signal-defines.sym.
81341 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81343         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
81345 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
81347         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
81348         assertion on O_CLOEXEC flag.
81349         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
81350         * hurd/intern-fd.c: Likewise.
81351         * hurd/port2fd.c: Likewise.
81353 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81355         [BZ #3906]
81356         * bits/in.h (IPV6_PKTINFO): Define new macro.
81357         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
81359 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81361         [BZ #13954]
81362         [BZ #13955]
81363         [BZ #13956]
81364         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
81365         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
81366         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
81367         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
81368         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
81369         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
81370         * math/libm-test.inc (logb_test) : Additional logb tests.
81372 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
81373             Andreas Jaeger  <aj@suse.de>
81375         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
81376         * configure: Regenerated.
81377         * config.h.in (LINK_OBSOLETE_RPC): New macro.
81378         * config.make.in (link-obsolete-rpc): New substituted variable.
81379         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
81380         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
81381         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81382         (shared-only-routines): Don't set it under [link-obsolete-rpc],
81383         so that libc.a contains the symbols.
81384         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
81385         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
81386         * sunrpc/auth_none.c: Likewise.
81387         * sunrpc/auth_unix.c: Likewise.
81388         * sunrpc/authdes_prot.c: Likewise.
81389         * sunrpc/authuxprot.c: Likewise.
81390         * sunrpc/clnt_gen.c: Likewise.
81391         * sunrpc/clnt_perr.c: Likewise.
81392         * sunrpc/clnt_raw.c: Likewise.
81393         * sunrpc/clnt_simp.c: Likewise.
81394         * sunrpc/clnt_tcp.c: Likewise.
81395         * sunrpc/clnt_udp.c: Likewise.
81396         * sunrpc/clnt_unix.c: Likewise.
81397         * sunrpc/des_crypt.c: Likewise.
81398         * sunrpc/des_soft.c: Likewise.
81399         * sunrpc/get_myaddr.c: Likewise.
81400         * sunrpc/key_call.c: Likewise.
81401         * sunrpc/key_prot.c: Likewise.
81402         * sunrpc/netname.c: Likewise.
81403         * sunrpc/pm_getmaps.c: Likewise.
81404         * sunrpc/pm_getport.c: Likewise.
81405         * sunrpc/pmap_clnt.c: Likewise.
81406         * sunrpc/pmap_prot.c: Likewise.
81407         * sunrpc/pmap_prot2.c: Likewise.
81408         * sunrpc/pmap_rmt.c: Likewise.
81409         * sunrpc/publickey.c: Likewise.
81410         * sunrpc/rpc_cmsg.c: Likewise.
81411         * sunrpc/rpc_common.c: Likewise.
81412         * sunrpc/rpc_dtable.c: Likewise.
81413         * sunrpc/rpc_prot.c: Likewise.
81414         * sunrpc/rpc_thread.c: Likewise.
81415         * sunrpc/rtime.c: Likewise.
81416         * sunrpc/svc.c: Likewise.
81417         * sunrpc/svc_auth.c: Likewise.
81418         * sunrpc/svc_raw.c: Likewise.
81419         * sunrpc/svc_run.c: Likewise.
81420         * sunrpc/svc_tcp.c: Likewise.
81421         * sunrpc/svc_udp.c: Likewise.
81422         * sunrpc/svc_unix.c: Likewise.
81423         * sunrpc/svcauth_des.c: Likewise.
81424         * sunrpc/xcrypt.c: Likewise.
81425         * sunrpc/xdr.c: Likewise.
81426         * sunrpc/xdr_array.c: Likewise.
81427         * sunrpc/xdr_float.c: Likewise.
81428         * sunrpc/xdr_intXX_t.c: Likewise.
81429         * sunrpc/xdr_mem.c: Likewise.
81430         * sunrpc/xdr_rec.c: Likewise.
81431         * sunrpc/xdr_ref.c: Likewise.
81432         * sunrpc/xdr_sizeof.c: Likewise.
81433         * sunrpc/xdr_stdio.c: Likewise.
81435 2012-05-10  Roland McGrath  <roland@hack.frob.com>
81437         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
81438         change.  Update copyright years.
81440 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81442         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
81444 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
81445             Joseph Myers  <joseph@codesourcery.com>
81446             Paul Pluzhnikov  <ppluzhnikov@google.com>
81448         [BZ #14012]
81449         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
81450         requiring rpcgen.
81451         [cross-compiling] (extra-libs): Likewise.
81452         [cross-compiling] (extra-libs-others): Likewise.
81453         [cross-compiling] (librpcsvc-routines): Likewise.
81454         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
81455         [cross-compiling] (omit-deps): Likewise.
81456         (sunrpc-CPPFLAGS): New variable.
81457         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
81458         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
81459         (cross-rpcgen-objs): New variable.
81460         (extra-objs): Append $(cross-rpcgen-objs).
81461         ($(cross-rpcgen-objs)): New rule.
81462         ($(objpfx)cross-rpcgen): Likewise.
81463         (rpcgen-cmd): Define to use $(built-program-file).  Expand
81464         comment.
81465         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
81466         ($(objpfx)x%.stmp): Likewise.
81467         * sunrpc/proto.h [IS_IN_build] (_): Define.
81468         [IS_IN_build] (_libc_intl_domainname): Likewise.
81470 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81472         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
81473         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
81474         and R_X86_64_TPOFF64.
81476 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
81478         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
81479         sysdeps/unix/sysv/syscalls.list.
81480         (stime): Likewise.
81481         (utime): Likewise.
81482         * sysdeps/unix/sysv/syscalls.list: Remove file.
81484 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
81486         [BZ #3440]
81487         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
81488         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
81489         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
81490         (__LC_IDENTIFICATION): Make these macros useful in #if
81491         expressions, as required by C99.
81493 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
81495         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
81496         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
81497         after this.
81499 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
81501         * stdlib/longlong.h: Updated from GCC.
81503 2012-05-09  Andreas Jaeger  <aj@suse.de>
81505         * nscd/nscd.c (run_modes): Make named enum, reorder so that
81506         default is first entry.
81507         (run_mode): Set type.
81508         (main): Remove informal message about syslog.
81509         (options): Fix typo.
81511         [BZ #14053]
81512         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
81513         to asm.
81514         (lrint): Likewise.
81515         (llrintf): Likewise.
81516         (llrint): Likewise.
81517         (rint): Likewise.
81518         (rintf): Likewise.
81519         (nearbyint): Likewise.
81520         (nearbyintf): Likewise.
81522 2012-05-09  Andreas Jaeger  <aj@suse.de>
81523             Pedro Alves  <palves@redhat.com>
81525         * nscd/nscd.c (run_mode): Use enum.
81526         (main): Cleanup coding style issue.
81528 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
81529             Andreas Jaeger  <aj@suse.de>
81531         * nscd/nscd.c (go_background): Replaced with...
81532         (run_mode): ... this.
81533         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
81534         (options): Add -F --foreground.
81535         (main): Implement it.
81536         (parse_opt): Parse it.
81538 2012-05-09  Andreas Jaeger  <aj@suse.de>
81540         [BZ #14083]
81541         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
81542         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
81543         -Wconversion warning.
81544         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
81545         Likewise.
81547 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
81549         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
81550         == 0.
81551         (LC_ALL): Use macro-int-constant.
81552         (LC_COLLATE): Likewise.
81553         (LC_CTYPE): Likewise.
81554         (LC_MESSAGES): Likewise.
81555         (LC_MONETARY): Likewise.
81556         (LC_NUMERIC): Likewise.
81557         (LC_TIME): Likewise.
81558         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
81559         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81560         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81561         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
81562         Specify type.
81563         [C99-based standards] (float_t): Expect type.
81564         [C99-based standards] (double_t): Expect type.
81565         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
81566         type.
81567         [C99-based standards] (HUGE_VALL): Likewise.
81568         [C99-based standards] (INFINITY): Likewise.
81569         [C99-based standards] (NAN): Likewise.
81570         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
81571         [C99-based standards] (FP_NAN): Likewise.
81572         [C99-based standards] (FP_NORMAL): Likewise.
81573         [C99-based standards] (FP_SUBNORMAL): Likewise.
81574         [C99-based standards] (FP_ZERO): Likewise.
81575         [C99-based standards] (FP_FAST_FMA): Use
81576         optional-macro-int-constant.  Specify type.  Require == 1.
81577         [C99-based standards] (FP_FAST_FMAF): Likewise.
81578         [C99-based standards] (FP_FAST_FMAL): Likewise.
81579         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
81580         [C99-based standards] (FP_ILOGBNAN): Likewise.
81581         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
81582         Specify type.
81583         [C99-based standards] (MATH_ERREXCEPT): Likewise.
81584         [C99-based standards] (math_errhandling): Specify type.
81585         [ISO99 || ISO11] (signgam): Do not allow.
81586         [non-C99-based standards] (copysignf): Do not allow.
81587         [non-C99-based standards] (exp2f): Likewise.
81588         [non-C99-based standards] (log2f): Likewise.
81589         [non-C99-based standards] (modff): Allow.
81590         [non-C99-based standards] (erff): Do not allow.
81591         [non-C99-based standards] (erfcf): Likewise.
81592         [non-C99-based standards] (gammaf): Likewise.
81593         [non-C99-based standards] (hypotf): Likewise.
81594         [non-C99-based standards] (j0f): Likewise.
81595         [non-C99-based standards] (j1f): Likewise.
81596         [non-C99-based standards] (jnf): Likewise.
81597         [non-C99-based standards] (lgammaf): Likewise.
81598         [non-C99-based standards] (tgammaf): Likewise.
81599         [non-C99-based standards] (y0f): Likewise.
81600         [non-C99-based standards] (y1f): Likewise.
81601         [non-C99-based standards] (ynf): Likewise.
81602         [non-C99-based standards] (isnanf): Likewise.
81603         [non-C99-based standards] (acoshf): Likewise.
81604         [non-C99-based standards] (asinhf): Likewise.
81605         [non-C99-based standards] (atanhf): Likewise.
81606         [non-C99-based standards] (cbrtf): Likewise.
81607         [non-C99-based standards] (expm1f): Likewise.
81608         [non-C99-based standards] (ilogbf): Likewise.
81609         [non-C99-based standards] (log1pf): Likewise.
81610         [non-C99-based standards] (logbf): Likewise.
81611         [non-C99-based standards] (nextafterf): Likewise.
81612         [non-C99-based standards] (remainderf): Likewise.
81613         [non-C99-based standards] (rintf): Likewise.
81614         [non-C99-based standards] (scalbf): Likewise.
81615         [non-C99-based standards] (copysignl): Likewise.
81616         [non-C99-based standards] (exp2l): Likewise.
81617         [non-C99-based standards] (log2l): Likewise.
81618         [non-C99-based standards] (modfl): Allow.
81619         [non-C99-based standards] (erfl): Do not allow.
81620         [non-C99-based standards] (erfcl): Likewise.
81621         [non-C99-based standards] (gammal): Likewise.
81622         [non-C99-based standards] (hypotl): Likewise.
81623         [non-C99-based standards] (j0l): Likewise.
81624         [non-C99-based standards] (j1l): Likewise.
81625         [non-C99-based standards] (jnl): Likewise.
81626         [non-C99-based standards] (lgammal): Likewise.
81627         [non-C99-based standards] (tgammal): Likewise.
81628         [non-C99-based standards] (y0l): Likewise.
81629         [non-C99-based standards] (y1l): Likewise.
81630         [non-C99-based standards] (ynl): Likewise.
81631         [non-C99-based standards] (isnanl): Likewise.
81632         [non-C99-based standards] (acoshl): Likewise.
81633         [non-C99-based standards] (asinhl): Likewise.
81634         [non-C99-based standards] (atanhl): Likewise.
81635         [non-C99-based standards] (cbrtl): Likewise.
81636         [non-C99-based standards] (expm1l): Likewise.
81637         [non-C99-based standards] (ilogbl): Likewise.
81638         [non-C99-based standards] (log1pl): Likewise.
81639         [non-C99-based standards] (logbl): Likewise.
81640         [non-C99-based standards] (nextafterl): Likewise.
81641         [non-C99-based standards] (remainderl): Likewise.
81642         [non-C99-based standards] (rintl): Likewise.
81643         [non-C99-based standards] (scalbl): Likewise.
81644         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81645         [non-C99-based standards] (FP_*): Do not allow.
81646         [C99-based standards] (FP_*): Change to
81647         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
81648         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81649         allow.
81650         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
81651         (SIG_ERR): Likewise.
81652         [X/Open-based standards] (SIG_HOLD): Likewise.
81653         (SIG_IGN): Likewise.
81654         (SIGABRT): Use macro-int-constant.  Specify type.  Require
81655         positive value.
81656         (SIGFPE): Likewise.
81657         (SIGILL): Likewise.
81658         (SIGINT): Likewise.
81659         (SIGSEGV): Likewise.
81660         (SIGTER): Likewise.
81661         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
81662         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
81663         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
81664         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
81665         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
81666         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
81667         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
81668         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
81669         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
81670         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
81671         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
81672         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
81673         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
81674         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
81675         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
81676         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
81677         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
81678         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
81679         [X/Open-based standards] (SIGTRAP): Likewise.
81680         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
81681         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
81682         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
81683         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
81684         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
81685         allow.
81687 2012-05-08  Ian Wienand  <ianw@vmware.com>
81689         [BZ #14080]
81690         * time/tzset.c (__tzset_parse_tz): Update default rules for
81691         daylight time changes in the Energy Policy Act of 2005.
81693 2012-05-09  Andreas Jaeger  <aj@suse.de>
81695         [BZ #13983]
81696         * elf/ldconfig.c (parse_conf): Change string to make clear that
81697         ldconfig only issued a warning if ld.so.conf does not exist.
81699 2012-05-08  David S. Miller  <davem@davemloft.net>
81701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
81702         movxtod instead of popping the value on the stack.
81704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81706 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
81708         * config.h.in: Add HAVE_ARM_PCS_VFP.
81710 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
81712         [BZ #13979]
81713         * include/features.h: Warn if user requests __FORTIFY_SOURCE
81714         checking but the checks are disabled for any reason.
81716 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
81718         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
81719         and ELF64_R_TYPE with ELFW(R_TYPE).
81721 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
81723         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
81724         (ulimit): Likewise.
81726         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
81727         (settimeofday): Likewise.
81729 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
81731         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
81732         a struct th_u2 inside the union, and move tu_block/tu_code into
81733         a new th_u3 union of tu_block/tu_code inside of that.  Move
81734         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
81735         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
81736         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
81737         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
81738         (th_stuff): Change to th_u1.tu_stuff.
81739         (th_data): Define.
81740         (th_msg): Change to th_u1.th_u2.tu_data.
81742 2012-05-07  David S. Miller  <davem@davemloft.net>
81744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81746         [BZ #14074]
81747         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
81748         (SETUP_PIC_REG): Use it.
81749         (SETUP_PIC_REG_LEAF): Use it.
81751 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
81753         [BZ #13885]
81754         [BZ #13923]
81755         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81756         USE_AS_EXPM1L.
81757         (EXPL_FINITE): Likewise.
81758         (FLDLOG): Likewise.
81759         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81760         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81761         e_expl.S.
81762         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81763         USE_AS_EXPM1L.
81764         (EXPL_FINITE): Likewise.
81765         (FLDLOG): Likewise.
81766         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
81767         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
81768         e_expl.S.
81769         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
81770         test of -max_value argument for long double.
81771         * sysdeps/i386/fpu/libm-test-ulps: Update.
81772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81774 2012-05-06  David S. Miller  <davem@davemloft.net>
81776         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
81777         quad soft-float symbols whose references which are compiler
81778         generated.
81779         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81781 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
81783         [BZ #13884]
81784         [BZ #13914]
81785         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81786         USE_AS_EXP10L.
81787         (EXPL_FINITE): Likewise.
81788         (FLDLOG): Likewise.
81789         (c0): Likewise.
81790         (c1): Likewise.
81791         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81792         Adjust comments for base varying.
81793         (__expl_finite): Change alias to EXPL_FINITE.
81794         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
81795         e_expl.S.
81796         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
81797         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
81798         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
81799         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
81800         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
81801         USE_AS_EXP10L.
81802         (EXPL_FINITE): Likewise.
81803         (FLDLOG): Likewise.
81804         (c0): Likewise.
81805         (c1): Likewise.
81806         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
81807         Adjust comments for base varying.
81808         (__expl_finite): Change alias to EXPL_FINITE.
81809         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
81810         tests for bugs.
81811         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81813         [BZ #14064]
81814         * math/libm-test.inc (check_float_internal): Correct ulp
81815         calculation for subnormal expected results.
81817 2012-05-06  Andreas Jaeger  <aj@suse.de>
81819         * Makeconfig (+math-flags): New, set to -frounding-math.
81820         (+cflags): Add +math-flags so that all of glibc gets compiled with
81821         it.
81823         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
81825 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
81827         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
81828         Disable one test.
81830         [BZ #13787]
81831         [BZ #13922]
81832         [BZ #14036]
81833         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
81834         (__ieee754_expl): Allow for and saturate large arguments.
81835         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
81836         (u_threshold): Likewise.
81837         (__exp): Call __ieee754_exp before checking for overflow and
81838         underflow.
81839         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
81840         (u_threshold): Likewise.
81841         (__expf): Call __ieee754_expf before checking for overflow and
81842         underflow.
81843         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
81844         (u_threshold): Likewise.
81845         (__expl): Call __ieee754_expl before checking for overflow and
81846         underflow.
81847         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
81848         (__ieee754_expl): Allow for and saturate large arguments.
81849         * math/libm-test.inc (exp_test): Add another test.  Do not allow
81850         missing overflow exception on overflow.
81851         (expm1_test): Do not allow missing overflow exception on overflow.
81853         * sysdeps/i386/fpu/e_expl.c: Move to ...
81854         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
81855         rather than using inline asm.
81856         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
81857         * sysdeps/x86_64/fpu/e_expl.S: Copy from
81858         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
81860         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
81861         (nice): Likewise.
81862         (poll): Likewise.
81863         (signal): Likewise.
81864         (time): Likewise.
81865         (times): Likewise.
81867 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81869         * sysdeps/unix/syscalls.list (adjtime): Add entry from
81870         sysdeps/unix/common/syscalls.list.
81871         (fchmod): Likewise.
81872         (fchown): Likewise.
81873         (ftruncate): Likewise.
81874         (getrusage): Likewise.
81875         (gettimeofday): Likewise.
81876         (setpgid): Likewise.
81877         (setregid): Likewise.
81878         (setreuid): Likewise.
81879         (sigaction): Likewise.
81880         (truncate): Likewise.
81881         (vhangup): Likewise.
81882         * sysdeps/unix/common/syscalls.list: Remove file.
81883         * sysdeps/unix/bsd/Implies: Don't include unix/common.
81884         * sysdeps/unix/sysv/linux/Implies: Likewise.
81886 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
81888         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
81889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
81890         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
81891         Moved to ...
81892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
81893         Here.
81894         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
81895         to ...
81896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
81897         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
81898         to ...
81899         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
81900         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
81901         to ...
81902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
81903         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
81904         to ...
81905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
81906         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
81907         to ...
81908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
81909         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
81910         to ...
81911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
81912         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
81913         to ...
81914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
81915         Here.
81916         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
81917         to ...
81918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
81919         Here.
81920         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
81921         to ...
81922         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
81923         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
81924         Moved to ...
81925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
81926         Here.
81927         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
81928         to ...
81929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
81931 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81933         * sysdeps/unix/common/bits/dirent.h: Remove file.
81934         * sysdeps/unix/common/bits/fcntl.h: Likewise.
81936         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
81937         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
81938         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
81939         * sysdeps/unix/bsd/isatty.c: Likewise.
81940         * sysdeps/unix/bsd/tcdrain.c: Likewise.
81941         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
81942         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
81944 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81946         [BZ #13563]
81947         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
81948         long double comparison inaccuracies.
81949         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
81950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81952 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
81954         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
81955         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
81957 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
81959         [BZ #14049]
81960         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
81961         nonzero digits before rounding a hex value.
81962         * stdlib/tst-strtod.c (tests): Add another test.
81964 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81966         * sysdeps/s390/fpu/libm-test-ulps: Update.
81968 2012-05-03  Andreas Jaeger  <aj@suse.de>
81970         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
81971         does not get optimized out.
81972         (malloc_opt_barrier): New.
81974 2012-05-03  Andreas Jaeger  <aj@suse.de>
81975             Roland McGrath  <roland@hack.frob.com>
81977         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
81978         intermediate file deletion.
81979         (generated): Add .symlist files.
81981 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
81983         [BZ #13775]
81984         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
81985         Redirect under this condition.
81986         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81987         [__USE_GNU] (__dprintf_chk): Not under this condition.
81988         [__USE_GNU] (__vdprintf_chk): Likewise.
81989         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
81990         under this condition.
81991         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
81992         [__USE_XOPEN2K8] (dprintf): Define under this condition.
81993         [__USE_XOPEN2K8] (vdprintf): Likewise.
81994         [__USE_GNU] (__dprintf_chk): Not under this condition.
81995         [__USE_GNU] (__vdprintf_chk): Likewise.
81996         [__USE_GNU] (dprintf): Likewise.
81997         [__USE_GNU] (vdprintf): Likewise.
81999 2012-05-03  Roland McGrath  <roland@hack.frob.com>
82001         * elf/Makefile (common-generated): Set this instead of generated for
82002         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
82003         $(all-built-dso)-derived lists.
82005 2012-05-03  Andreas Jaeger  <aj@suse.de>
82007         * sysdeps/i386/fpu/libm-test-ulps: Update.
82009         * FAQ: Removed.
82010         * FAQ.in: Likewise.
82011         * scripts/gen-FAQ.pl: Likewise.
82012         * manual/install.texi (Installation): Point to online location of
82013         FAQ.
82014         * Makefile (files-for-dist): Remove FAQ.
82015         (FAQ): Remove.
82017 2012-05-02  Allan McRae  <allan@archlinux.org>
82019         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82020         (LDFLAGS-reldepmod5.so): Likewise.
82021         (LDFLAGS-reldep6mod1.so): Likewise.
82022         (LDFLAGS-reldep6mod4.so): Likewise.
82023         (LDFLAGS-reldep8mod3.so): Likewise.
82024         (LDFLAGS-unload4mod1.so): Likewise.
82025         (LDFLAGS-unload4mod2.so): Likewise.
82026         (LDFLAGS-tst-initorder): Likewise.
82027         (LDFLAGS-tst-initordera2.so): Likewise.
82028         (LDFLAGS-tst-initordera3.so): Likewise.
82029         (LDFLAGS-tst-initordera4.so): Likewise.
82030         (LDFLAGS-tst-initorderb2.so): Likewise.
82031         (LDFLAGS-noload): Likewise.
82032         (LDFLAGS-next): Likewise.
82033         (LDFLAGS-order2mod1.so): Likewise.
82034         (LDFLAGS-order2mod2.so): Likewise.
82035         (LDFLAGS-tst-initorder2): Likewise.
82036         (LDFLAGS-tst-initorder2a.so): Likewise.
82037         (LDFLAGS-tst-initorder2b.so): Likewise.
82038         (LDFLAGS-tst-initorder2c.so): Likewise.
82039         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82041 2012-05-02  David S. Miller  <davem@davemloft.net>
82043         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82045 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
82047         [BZ #14055]
82048         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82050 2012-05-02  Andreas Jaeger  <aj@suse.de>
82052         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82053         since we manipulate rounding mode.
82054         (CPPFLAGS-test-idouble.c): Likewise.
82055         (CPPFLAGS-test-ifloat.c): Likewise.
82056         (CFLAGS-test-ldouble.c): Likewise.
82057         (CFLAGS-test-double.c): Likewise.
82058         (CFLAGS-test-float.c): Likewise.
82059         (CFLAGS-test-misc.c): Likewise.
82060         (CFLAGS-test-test-fenv.c): Likewise.
82062 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82064         [BZ #2550]
82065         [BZ #2570]
82066         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
82067         comparisons to determine direction to adjust input.
82069 2012-05-01  Roland McGrath  <roland@hack.frob.com>
82071         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
82072         output to the target.
82074         * scripts/localplt.awk: New file.
82075         * elf/Makefile ($(objpfx)check-localplt): Target removed.
82076         (check-localplt-CFLAGS): Variable removed.
82077         ($(all-built-dso:=.jmprel)): New static pattern rule.
82078         (generated): Add those targets.
82079         (localplt-built-dso): New variable.
82080         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
82082         * elf/check-localplt.c: File removed.
82084         * scripts/check-execstack.awk: New file.
82085         * elf/Makefile ($(objpfx)check-execstack): Target removed.
82086         (check-execstack-CFLAGS): Variable removed.
82087         ($(objpfx)check-execstack.h): Target removed.
82088         ($(objpfx)execstack-default): New target.
82089         (generated): Add that instead of check-execstack.h.
82090         ($(all-built-dso:=.phdr)): New static pattern rule.
82091         (generated): Add those targets.
82092         * elf/check-execstack.c: File removed.
82094         * scripts/check-textrel.awk: New file.
82095         * elf/Makefile ($(objpfx)check-textrel): Target removed.
82096         (check-textrel-CFLAGS): Variable removed.
82097         (all-built-dso): Use := to define.o
82098         ($(all-built-dso:=.dyn)): New static pattern rule.
82099         (generated): Add those targets.
82100         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
82101         * config.make.in (READELF): New substituted variable.
82102         * elf/check-textrel.c: File removed.
82104 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82106         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82107         allow.
82108         * conform/data/ctype.h-data [C99-based standards] (isblank):
82109         Expect function.
82110         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
82111         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
82112         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82113         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
82114         Specify type.  Require positive value.
82115         (EILSEQ): Likewise.
82116         (ERANGE): Likewise.
82117         [ISO || POSIX] (EILSEQ): Do not expect.
82118         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
82119         Specify type.  Require positive value.
82120         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
82121         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
82122         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
82123         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
82124         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
82125         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
82126         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
82127         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
82128         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
82129         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
82130         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
82131         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
82132         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
82133         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
82134         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
82135         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
82136         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
82137         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
82138         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
82139         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
82140         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
82141         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
82142         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
82143         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
82144         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
82145         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
82146         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
82147         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
82148         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
82149         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
82150         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
82151         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
82152         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
82153         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
82154         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
82155         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
82156         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
82157         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
82158         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
82159         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
82160         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
82161         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
82162         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
82163         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
82164         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
82165         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
82166         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
82167         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
82168         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
82169         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
82170         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
82171         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
82172         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
82173         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
82174         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
82175         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
82176         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
82177         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
82178         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
82179         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
82180         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
82181         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
82182         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
82183         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
82184         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
82185         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
82186         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
82187         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
82188         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
82189         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
82190         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
82191         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
82192         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
82193         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
82194         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
82195         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
82196         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
82197         Require >= 2.
82198         (FLT_ROUNDS): Expect as macro, not constant.
82199         (FLT_MANT_DIG): Use macro-int-constant.
82200         (DBL_MANT_DIG): Likewise.
82201         (LDBL_MANT_DIG): Likewise.
82202         (FLT_DIG): Likewise.
82203         (DBL_DIG): Likewise.
82204         (LDBL_DIG): Likewise.
82205         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
82206         (DBL_MIN_EXP): Likewise.
82207         (LDBL_MIN_EXP): Likewise.
82208         (FLT_MAX_EXP): Use macro-int-constant.
82209         (DBL_MAX_EXP): Likewise.
82210         (LDBL_MAX_EXP): Likewise.
82211         (FLT_MAX_10_EXP): Likewise.
82212         (DBL_MAX_10_EXP): Likewise.
82213         (LDBL_MAX_10_EXP): Likewise.
82214         (FLT_MAX): Use macro-constant.
82215         (DBL_MAX): Likewise.
82216         (LDBL_MAX): Likewise.
82217         (FLT_EPSILON): Use macro-constant.  Give upper bound.
82218         (DBL_EPSILON): Likewise.
82219         (LDBL_EPSILON): Likewise.
82220         (FLT_MIN): Likewise.
82221         (DBL_MIN): Likewise.
82222         (LDBL_MIN): Likewise.
82223         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
82224         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
82225         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
82226         [ISO11] (FLT_HAS_SUBNORM): Likewise.
82227         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
82228         [ISO11] (DBL_DECIMAL_DIG): Likewise.
82229         [ISO11] (FLT_DECIMAL_DIG): Likewise.
82230         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
82231         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
82232         [ISO11] (FLT_TRUE_MIN): Likewise.
82233         [ISO11] (LDBL_TRUE_MIN): Likewise.
82234         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82235         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
82236         (SCHAR_MIN): Use macro-int-constant.  Specify type.
82237         (SCHAR_MAX): Likewise.
82238         (UCHAR_MAX): Likewise.
82239         (CHAR_MIN): Likewise.
82240         (CHAR_MAX): Likewise.
82241         (MB_LEN_MAX): Use macro-int-constant.
82242         (SHRT_MIN): Use macro-int-constant.  Specify type.
82243         (SHRT_MAX): Likewise.
82244         (USHRT_MAX): Likewise.
82245         (INT_MAX): Likewise.
82246         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
82247         bound negative.
82248         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82249         bound with "U".
82250         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82251         bound with "L".
82252         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
82253         bound negative.  Suffix upper bound with "L".
82254         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
82255         bound with "UL".
82256         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
82257         Specify type.
82258         [C99-based standards] (LLONG_MAX): Likewise.
82259         [C99-based standards] (ULLONG_MAX): Likewise.
82260         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
82261         == 0.
82262         [ISO11] (max_align_t): Require type.
82263         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82265         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
82266         from $CFLAGS, without defining away __attribute__ calls.
82267         (checknamespace): Use $CFLAGS_namespace.
82269         * conform/conformtest.pl (@keywords): Only include C99 keywords
82270         for standards based on C99 or C11.
82272         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
82273         Disable tests.
82274         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
82275         UNIX98]: Likewise.
82277         * conform/conformtest.pl: Handle "macro-int-constant" and test for
82278         usability of symbols in #if.
82280         * conform/conformtest.pl: If macro or constant types start
82281         "promoted:", expect the symbol to be of the following type
82282         promoted by the integer promotions.
82284         * conform/conformtest.pl: Parse all "constant" and "macro" lines
82285         in one place.  Also handle "macro-constant".
82287         * conform/conformtest.pl: Only accept expected macro values with
82288         "==".  Parse all "macro" lines in one place.
82289         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
82291         * conform/conformtest.pl: Handle braced types on "constant" lines
82292         instead of handling "typed-constant".
82293         * conform/data/signal.h-data: Use "constant" instead of
82294         "typed-constant".
82296         * conform/conformtest.pl: Handle "optional-" at start of lines in
82297         one place rather than duplicating several cases.  Handle each
82298         format of "macro" line with initial "optional-".
82300         * conform/conformtest.pl: Only accept expected constant or
82301         optional-constant values with "==".  Parse all "constant" lines in
82302         one place.  Parse all "optional-constant" lines in one place.
82303         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
82304         * conform/data/fmtmsg.h-data: Likewise.
82305         * conform/data/netinet/in.h-data: Likewise.
82306         * conform/data/tar.h-data: Likewise.
82307         * conform/data/limits.h-data: Use "==" form on "constant" and
82308         "optional-constant" lines.
82310         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
82311         Use -std=c99 for XOPEN2K.
82312         (@knownproblems): Remove.
82313         (newtoken): Don't check %isknown.
82315         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
82316         Do not expect macro.
82317         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
82318         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
82319         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
82320         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
82321         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
82322         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
82323         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
82324         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
82325         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
82326         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
82327         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
82328         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
82329         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
82330         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
82331         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
82332         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
82333         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
82334         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
82335         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
82336         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
82337         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
82338         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
82339         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
82340         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
82341         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
82342         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
82343         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
82344         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
82345         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
82346         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
82347         [XPG3] (acosh): Likewise.
82348         [XPG3] (asinh): Likewise.
82349         [XPG3] (atanh): Likewise.
82350         [XPG3] (cbrt): Likewise.
82351         [XPG3] (expm1): Likewise.
82352         [XPG3] (ilogb): Likewise.
82353         [XPG3] (log1p): Likewise.
82354         [XPG3] (logb): Likewise.
82355         [XPG3] (nextafter): Likewise.
82356         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
82357         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
82358         [XPG3] (remainder): Likewise.
82359         [XPG3] (rint): Likewise.
82360         [XPG3 || XPG4 || UNIX98] (round): Likewise.
82361         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
82362         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
82363         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
82364         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
82365         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
82366         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
82367         [UNIX98 || XOPEN2K] (scalb): Expect.
82368         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
82369         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
82370         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
82371         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
82372         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
82373         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
82374         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
82375         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
82376         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
82377         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
82378         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
82379         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
82380         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
82381         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
82382         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
82383         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
82384         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
82385         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
82386         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
82387         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
82388         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
82389         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
82390         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
82391         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
82392         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
82393         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
82394         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
82395         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
82396         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
82397         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
82398         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
82399         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
82400         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
82401         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
82402         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
82403         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
82404         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
82405         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
82406         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
82407         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
82408         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
82409         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
82410         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
82411         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
82412         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
82413         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
82414         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
82415         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
82416         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
82417         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
82418         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
82419         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
82420         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
82421         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
82422         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
82423         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
82424         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
82425         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
82426         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
82427         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
82428         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
82429         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
82430         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
82431         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
82432         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
82433         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
82434         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
82435         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
82436         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
82437         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
82438         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
82439         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
82440         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
82441         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
82442         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
82443         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
82444         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
82445         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
82446         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
82447         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
82448         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
82449         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
82450         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
82451         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
82452         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
82453         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
82454         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
82455         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
82456         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
82457         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
82458         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
82459         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
82460         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
82461         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
82462         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
82463         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
82464         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
82465         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
82466         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
82467         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
82468         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
82469         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
82470         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
82471         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
82472         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
82473         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
82474         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
82475         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
82476         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
82477         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
82478         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
82479         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
82480         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
82481         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
82482         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
82483         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
82484         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
82485         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
82486         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
82487         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
82488         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
82489         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
82490         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
82491         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
82492         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
82493         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
82494         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
82495         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
82496         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
82497         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
82498         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
82499         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
82500         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
82501         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
82502         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
82503         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
82504         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
82506         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
82507         _XOPEN_SOURCE_EXTENDED for XPG4.
82509         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
82511         * Makeconfig (localtime): Remove variable.
82512         (inst_localtime-file): Likewise.
82514 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
82517         Update.
82518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
82519         Update.
82520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
82521         Update.
82522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
82523         Update.
82524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
82525         Update.
82526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
82527         Update.
82528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
82529         Update.
82530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
82531         Update.
82532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82533         Update.
82535 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
82537         [BZ #2550]
82538         [BZ #2570]
82539         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
82540         comparisons to determine direction to adjust input.
82541         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
82542         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
82543         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
82544         Likewise.
82545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
82546         Likewise.
82547         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
82548         Likewise.
82549         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
82550         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
82551         Likewise.
82552         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
82553         Likewise.
82554         * math/libm-test.inc (nexttoward_test): Add more tests.
82556 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
82558         [BZ #14040]
82559         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
82560         in version GLIBC_2.1, not GLIBC_2.0.
82561         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
82562         Likewise.
82564 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
82566         [BZ #13942]
82567         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
82568         (1 - x) * (1 + x).
82569         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82570         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
82571         * math/libm-test.inc (acos_test): Add more tests.
82572         (asin_test): Likewise.
82573         * sysdeps/i386/fpu/libm-test-ulps: Update.
82574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82576         [BZ #14034]
82577         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
82578         of square root.
82579         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
82580         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
82581         * math/libm-test.inc (acos_test_tonearest): New function.
82582         (acos_test_towardzero): Likewise.
82583         (acos_test_downward): Likewise.
82584         (acos_test_upward): Likewise.
82585         (asin_test_tonearest): Likewise.
82586         (asin_test_towardzero): Likewise.
82587         (asin_test_downward): Likewise.
82588         (asin_test_upward): Likewise.
82589         (main): Call the new functions.
82590         * sysdeps/i386/fpu/libm-test-ulps: Update.
82591         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82593         [BZ #13884]
82594         [BZ #13924]
82595         * math/e_exp10.c: Include <float.h>.
82596         (__ieee754_exp10): Handle underflow here rather than multiplying
82597         large negative argument by M_LN10.
82598         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
82599         of __ieee754_expf.
82600         * math/e_exp10l.c: Include <float.h>.
82601         (__ieee754_exp10l): Handle underflow here rather than multiplying
82602         large negative argument by M_LN10l.
82603         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
82604         spurious overflow exception on underflow.
82606 2012-04-29  Marek Polacek  <polacek@redhat.com>
82608         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
82609         (__fortify_function): New macro.
82610         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
82611         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
82612         __extern_always_inline.
82613         * libio/bits/stdio2.h: Likewise.
82614         * libio/bits/stdio.h: Likewise.
82615         * string/string.h: Likewise.
82616         * string/bits/string3.h: Likewise.
82617         * include/stdio.h: Likewise.
82618         * stdlib/bits/stdlib.h: Likewise.
82619         * stdlib/stdlib.h: Likewise.
82620         * rt/bits/mqueue2.h: Likewise.
82621         * rt/mqueue.h: Likewise.
82622         * posix/bits/unistd.h: Likewise.
82623         * posix/unistd.h: Likewise.
82624         * io/bits/poll2.h: Likewise.
82625         * io/bits/fcntl2.h: Likewise.
82626         * io/fcntl.h: Likewise.
82627         * io/sys/poll.h: Likewise.
82628         * misc/bits/syslog.h: Likewise.
82629         * misc/bits/syslog-ldbl.h: Likewise.
82630         * misc/sys/syslog.h: Likewise.
82631         * socket/bits/socket2.h: Likewise.
82632         * socket/sys/socket.h: Likewise.
82633         * debug/tst-chk1.c: Likewise.
82634         * wcsmbs/bits/wchar2.h: Likewise.
82635         * wcsmbs/bits/wchar-ldbl.h: Likewise.
82636         * wcsmbs/wchar.h: Likewise.
82638 2012-04-29  Andreas Jaeger  <aj@suse.de>
82640         * Makerules (tests): Remove enable-check-abi protection.
82641         (check-abi-warn): Remove.
82642         (check-abi-%): Remove check-abi-warn usage.
82644         * configure.in: Remove check-abi configure option.
82645         * configure: Regenerated.
82646         * config.make.in (enable-check-abi): Remove.
82648 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
82650         [BZ #14033]
82651         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
82652         double functions to double *_finite functions.
82654         [BZ #13941]
82655         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
82656         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
82657         LDBL_MIN_EXP.
82658         * stdio-common/Makefile (tests): Add tst-sprintf3.
82659         * stdio-common/tst-sprintf3.c: New file.
82661         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
82662         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
82664 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82666         * conform/conformtest.pl: Remove duplicate typed-constant
82667         handling.
82669 2012-04-28  David S. Miller  <davem@davemloft.net>
82671         * Makerules (%.abilist): Add vpath on sysdep_dirs.
82672         (check-abi-%): Remove AWK script prerequisite and explicit
82673         abilist directory.
82674         (check-abi): Rewrite to just diff the symlist with the abilist.
82675         (config-tls, config-abi-config): Delete, no longer used.
82676         (update-abi-%): Remove AWK script and explicit abilist directory.
82677         (update-abi): Rewrite to simply compare and conditionally copy the
82678         symlist and the sysdep abilist file.  Remove update-abi-config
82679         checks.
82680         * abilist/ld.abilist: Remove.
82681         * abilist/libBrokenLocale.abilist: Remove.
82682         * abilist/libanl.abilist: Remove.
82683         * abilist/libcrypt.abilist: Remove.
82684         * abilist/libdl.abilist: Remove.
82685         * abilist/librt.abilist: Remove.
82686         * abilist/libthread_db.abilist: Remove.
82687         * abilist/libutil.abilist: Remove.
82688         * scripts/extract-abilist.awk: Remove.
82689         * scripts/merge-abilist.awk: Remove.
82690         * sysdeps/generic/libcidn.abilist: New file.
82691         * sysdeps/generic/libnss_compat.abilist: New file.
82692         * sysdeps/generic/libnss_db.abilist: New file.
82693         * sysdeps/generic/libnss_dns.abilist: New file.
82694         * sysdeps/generic/libnss_files.abilist: New file.
82695         * sysdeps/generic/libnss_hesiod.abilist: New file.
82696         * sysdeps/generic/libnss_nis.abilist: New file.
82697         * sysdeps/generic/libnss_nisplus.abilist: New file.
82698         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
82699         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
82700         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
82701         file.
82702         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
82703         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
82704         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
82705         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
82706         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
82707         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
82708         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
82709         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
82710         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
82711         file.
82712         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
82713         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
82714         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
82715         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
82716         file.
82717         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
82718         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
82719         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
82720         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
82721         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
82722         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
82723         file.
82724         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
82725         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
82726         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
82727         file.
82728         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
82729         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
82730         New file.
82731         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
82732         New file.
82733         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
82734         New file.
82735         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
82736         New file.
82737         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
82738         New file.
82739         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
82740         New file.
82741         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
82742         New file.
82743         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
82744         New file.
82745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
82746         New file.
82747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
82748         New file.
82749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
82750         New file.
82751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
82752         New file.
82753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
82754         New file.
82755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
82756         file.
82757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
82758         New file.
82759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
82760         New file.
82761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
82762         file.
82763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
82764         New file.
82765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
82766         New file.
82767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
82768         file.
82769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
82770         New file.
82771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
82772         New file.
82773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
82774         New file.
82775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
82776         New file.
82777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
82778         New file.
82779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
82780         New file.
82781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
82782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
82783         file.
82784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
82785         New file.
82786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
82787         file.
82788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
82789         file.
82790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
82791         file.
82792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
82793         file.
82794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
82795         file.
82796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
82797         New file.
82798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
82799         file.
82800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
82801         file.
82802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
82803         New file.
82804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
82805         file.
82806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
82807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
82808         file.
82809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
82810         New file.
82811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
82812         file.
82813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
82814         file.
82815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
82816         file.
82817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
82818         file.
82819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
82820         file.
82821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
82822         New file.
82823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
82824         file.
82825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
82826         file.
82827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
82828         New file.
82829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
82830         file.
82831         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
82832         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
82833         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
82834         file.
82835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
82836         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
82837         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
82838         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
82839         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
82840         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
82841         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
82842         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
82843         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
82844         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
82845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
82846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
82847         file.
82848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
82849         New file.
82850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
82851         file.
82852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
82853         file.
82854         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
82855         file.
82856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
82857         file.
82858         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
82859         file.
82860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
82861         New file.
82862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
82863         New file.
82864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
82865         file.
82866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
82867         New file.
82868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
82869         file.
82870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
82871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
82872         file.
82873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
82874         New file.
82875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
82876         file.
82877         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
82878         file.
82879         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
82880         file.
82881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
82882         file.
82883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
82884         file.
82885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
82886         New file.
82887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
82888         New file.
82889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
82890         file.
82891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
82892         New file.
82893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
82894         file.
82896 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
82898         * conform/conformtest.pl: Fix typo in handling typed-constant from
82899         allow-header.
82901 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82903         * README: Cut down references to pre-2.6 Linux kernels and
82904         Linuxthreads.  Update lists of configurations in libc and ports
82905         and sort alphabetically.  Say "or newer" with Linux kernel version
82906         requirements.
82908         * config.h.in [IS_IN_build]: Allow compiling without optimization.
82910 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
82912         [BZ #887]
82913         * math/libm-test.inc (logb_test_downward): New test to expose
82914         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
82915         rounding mode.
82917 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
82919         [BZ #14027]
82920         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
82921         to be done.
82922         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
82923         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
82925 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
82927         * sysdeps/unix/i386/brk.S: Remove file.
82928         * sysdeps/unix/i386/dl-brk.S: Likewise.
82929         * sysdeps/unix/i386/pipe.S: Likewise.
82930         * sysdeps/unix/i386/sigreturn.S: Likewise.
82931         * sysdeps/unix/i386/syscall.S: Likewise.
82932         * sysdeps/unix/i386/vfork.S: Likewise.
82933         * sysdeps/unix/i386/wait.S: Likewise.
82935         * sysdeps/unix/common/tcsendbrk.c: Move to ...
82936         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
82938         * configure.in (arm*-none*): Do not allow without
82939         --enable-hacker-mode.
82940         (netbsd*): Remove case setting base_os.
82941         (386bsd*): Likewise.
82942         (freebsd*): Likewise.
82943         (bsdi*): Likewise.
82944         (osf*): Likewise.
82945         (sunos*): Likewise.
82946         (ultrix*): Likewise.
82947         (newsos*): Likewise.
82948         (dynix*): Likewise.
82949         (*bsd*): Likewise.
82950         (sysv*): Likewise.
82951         (isc*): Likewise.
82952         (esix*): Likewise.
82953         (sco*): Likewise.
82954         (minix*): Likewise.
82955         (irix4*): Likewise.
82956         (irix6*): Likewise.
82957         (solaris[2-9]*): Likewise.
82958         (none): Likewise.
82959         * configure: Regenerated.
82961 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82963         [BZ #11521]
82964         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
82965         overflow or cancellation in calculating denominator.
82966         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
82967         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
82968         down expression to avoid unexpected rounding in newer GCCs.
82969         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
82971 2012-04-26  David S. Miller  <davem@davemloft.net>
82973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
82974         long-double compat symbols.
82975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
82976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
82977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
82978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
82979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
82980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
82981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
82982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
82983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
82984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
82985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
82986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
82987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82989 2012-04-25  David S. Miller  <davem@davemloft.net>
82991         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
82992         HWCAP_* values only after the memory barriers have been defined.
82993         (atomic_full_barrier): Define.
82994         (atomic_read_barrier): Define.
82995         (atomic_write_barrier): Define.
82997 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
82999         * shlib-versions: Add libgcc_s version information.
83000         * sysdeps/generic/libgcc_s.h: Remove.
83001         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
83002         libgcc_s.h.
83003         * sysdeps/gnu/unwind-resume.c: Likewise.
83004         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
83006 2012-04-25  David S. Miller  <davem@davemloft.net>
83008         * sysdeps/unix/sparc/brk.S: Delete.
83009         * sysdeps/unix/sparc/dl-brk.S: Delete.
83010         * sysdeps/unix/sparc/pipe.S: Delete.
83011         * sysdeps/unix/sparc/sysdep.S: Delete.
83012         * sysdeps/unix/sparc/sysdep.h: Delete.
83013         * sysdeps/unix/sparc/vfork.S: Delete.
83014         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83015         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83016         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83017         (ret_ERRVAL, r0, r1, MOVE): Define.
83018         (JUMPTARGET): Remove.
83019         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83020         sysdeps/unix/sparc/sysdep.h
83021         (ENTRY, END): Remove.
83022         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83024 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
83026         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83027         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83028         -DIS_IN_build.
83030         * timezone/README: Update upstream location and email address for
83031         tzcode and tzdata.
83032         * timezone/zdump.c: Update from tzcode 2012b.
83033         * timezone/zic.c: Likewise.
83035         * configure.in (libc_cv_as_needed): Remove test.
83036         * configure: Regenerated.
83037         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83038         conditional definition.
83039         [$(have-as-needed) != yes] (no-as-needed): Likewise.
83040         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83041         * config.make.in (have-as-needed): Remove variable.
83043 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
83044             Paul Pluzhnikov  <ppluzhnikov@google.com>
83046         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83047         strings correctly.
83049 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
83051         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83052         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83053         * sysdeps/sh/strlen.S: Likewise.
83055 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83057         * sysdeps/unix/fork.S: Remove file.
83058         * sysdeps/unix/i386/fork.S: Likewise.
83059         * sysdeps/unix/sparc/fork.S: Likewise.
83061         * sysdeps/unix/system.c: Remove file.
83062         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83064         * sysdeps/unix/getegid.S: Remove file.
83065         * sysdeps/unix/geteuid.S: Likewise.
83067 2012-04-24  Roland McGrath  <roland@hack.frob.com>
83069         * scripts/check-localplt.awk: New file.
83070         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83071         of diff.
83072         * scripts/data/localplt-generic.data: Add a comment.
83074         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
83075         NODE when __dir_mkfile failed.
83076         * sysdeps/mach/hurd/symlinkat.c: Likewise.
83077         Reported by Ludovic Courtès <ludo@gnu.org>.
83079 2012-04-24  Andreas Jaeger  <aj@suse.de>
83081         * Makerules (common-clean): Also remove gen-as-const-headers
83082         files.
83084 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83086         * Makerules (native-compile): Do not change working directory for
83087         build.  Use $(OUTPUT_OPTION) in command.
83088         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
83090 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83092         [BZ #13886]
83093         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
83094         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
83095         * math/libm-test.inc (floor_test): Add more tests.
83096         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
83098 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83100         * sysdeps/unix/getdents.c: Remove file.
83101         * sysdeps/unix/sysv/getdents.c: Likewise.
83102         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
83104         * sysdeps/unix/syscalls.list (madvise): Add syscall from
83105         sysdeps/unix/mman/syscalls.list.
83106         (mmap): Likewise.
83107         (mprotect): Likewise.
83108         (msync): Likewise.
83109         (munmap): Likewise.
83110         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
83111         * sysdeps/unix/mman/syscalls.list: Remove.
83112         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
83114         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
83115         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
83116         * configure: Regenerated.
83117         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
83118         $(libgcc_s_suffix).
83119         * config.make.in (libgcc_s_suffix): Remove variable.
83121 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
83123         * sysdeps/unix/sysv/gethostname.c: Move to ...
83124         * sysdeps/posix/gethostname.c: ... here.
83126         * sysdeps/unix/execve.S: Remove file.
83128         * sysdeps/unix/_exit.S: Remove file.
83130 2012-04-23  Andreas Jaeger  <aj@suse.de>
83132         [BZ #13739]
83133         * manual/Makefile: Remove make dist support, there's no
83134         need for a stand-alone documentation tar ball.
83135         (TEXI2DVI): Define always, it's not in Makeconfig.
83136         (dist): Removed.
83137         (tar-it): Removed.
83138         (edition): Removed.
83139         (glibc-doc-$(edition).tar): Removed
83140         (%.Z): Removed.
83141         (%.gz): Removed.
83142         (%.uu): Removed.
83143         (ETAGS): Remove, it's in Makeconfig.
83144         (move-if-change): Remove, it's in Makeconfig.
83146 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
83148         [BZ #13970]
83149         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
83150         (strtod, strtof, strtold, strtol, strtoul, strtoq)
83151         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
83152         (strtod_l, strtof_l, strtold_l): Remove __wur.
83153         It is not necessarily an error to ignore strtol's return value.
83154         One can reliably look at the stored endptr to decide whether
83155         the number had valid syntax.
83157 2012-04-21  Andreas Jaeger  <aj@suse.de>
83159         [BZ #13739]
83160         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
83162 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
83164         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
83165         * sysdeps/unix/sysv/Versions: Remove file.
83167 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
83169         [BZ #13927]
83170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83172 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
83174         [BZ #7064]
83175         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
83176         version from __vm86.
83178 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
83180         * sysdeps/unix/common/lxstat.c: Remove file.
83181         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
83183         * sysdeps/unix/sysv/Makefile: Remove file.
83185         * sysdeps/unix/sysv/direct.h: Remove file.
83187         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
83188         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
83189         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
83190         * sysdeps/unix/sysv/bits/signum.h: Likewise.
83191         * sysdeps/unix/sysv/bits/stat.h: Likewise.
83192         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
83193         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
83195         * sysdeps/unix/sysv/setrlimit.c: Remove file.
83197         * sysdeps/unix/xmknod.c: Remove file.
83198         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
83200         * sysdeps/unix/sysv/settimeofday.c: Remove file.
83202         * sysdeps/unix/sysv/i386/time.S: Remove file.
83204         * sysdeps/unix/fxstat.c: Remove file.
83205         * sysdeps/unix/xstat.c: Likewise.
83206         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
83208         * sysdeps/unix/sysv/sigaction.c: Remove file.
83210         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
83211         (sysdep_headers): Remove variable.
83212         [termio.h not in sysdep_headers] (generated): Likewise.
83213         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
83214         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
83215         * sysdeps/unix/sysv/tcdrain.c: Likewise.
83216         * sysdeps/unix/sysv/tcflow.c: Likewise.
83217         * sysdeps/unix/sysv/tcflush.c: Likewise.
83218         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
83219         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
83220         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
83221         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
83222         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
83224         * sysdeps/unix/siglist.c: Remove file.
83226         * sysdeps/unix/getppid.S: Remove file.
83228         * sysdeps/unix/mkdir.c: Remove file.
83229         * sysdeps/unix/rmdir.c: Likewise.
83231 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
83233         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
83234         ERR_MAX value.
83235         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
83236         errlist-compat value.
83238 2012-04-18  David S. Miller  <davem@davemloft.net>
83240         * sysdeps/generic/memcopy.h (reg_char): Delete.
83241         * debug/strcat_chk.c: Use char, not reg_char.
83242         * debug/strcpy_chk.c: Likewise.
83243         * debug/strncat_chk.c: Likewise.
83244         * debug/strncpy_chk.c: Likewise.
83245         * string/memchr.c: Likewise.
83246         * string/memrchr.c: Likewise.
83247         * string/rawmemchr.c: Likewise.
83248         * string/strcat.c: Likewise.
83249         * string/strchr.c: Likewise.
83250         * string/strchrnul.c: Likewise.
83251         * string/strcmp.c: Likewise.
83252         * string/strcpy.c: Likewise.
83253         * string/strncat.c: Likewise.
83254         * string/strncmp.c: Likewise.
83255         * string/strncpy.c: Likewise.
83257 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83259         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
83260         __builtin_memcopy is called when src and dest ranges are known to not
83261         overlap.
83263 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83265         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
83266         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
83267         fwd_align_merge macro call.
83268         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
83269         bwd_align_merge macro call.
83270         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83272 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
83274         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
83275         bwd_align_merge macros.
83276         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
83277         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
83278         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
83280 2012-04-18  David S. Miller  <davem@davemloft.net>
83282         * sysdeps/sparc/sparc64/memcopy.h: Delete.
83284 2012-04-18  Andreas Jaeger  <aj@suse.de>
83286         [BZ #6794]
83287         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
83288         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
83289         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83291         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
83292         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
83293         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83295         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
83296         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
83297         Adjust for changed ldbl-128 files.
83299         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
83300         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
83301         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
83303 2012-04-17  David S. Miller  <davem@davemloft.net>
83305         * sysdeps/sparc/sparc32/memcopy.h: Delete.
83307 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
83309         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
83310         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
83311         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
83312         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83313         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
83314         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
83316 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83318         [BZ #6794]
83319         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83320         * math/libm-test.inc: Add ilogb errno and exception tests.
83321         * math/w_ilogb.c: New file: ilogb wrapper.
83322         * math/w_ilogbf.c: New file: ilogbf wrapper.
83323         * math/w_ilogbl.c: New file: ilogbl wrapper.
83324         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
83325         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
83326         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
83327         exception being thrown with 0.0 as argument.
83328         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
83329         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
83330         exception being thrown with 0.0 as argument.
83331         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
83332         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83333         exception being thrown with 0.0 as argument.
83334         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
83335         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
83336         exception being thrown with 0.0 as argument.
83337         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
83338         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
83339         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
83340         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
83341         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
83342         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
83343         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
83344         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
83345         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
83347 2012-04-17  Petr Baudis  <pasky@ucw.cz>
83349         * include/sys/uio.h: Change __vector to __iovec to avoid clash
83350         with altivec.
83352 2012-04-16  Marek Polacek  <polacek@redhat.com>
83354         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
83356 2012-04-16  Marek Polacek  <polacek@redhat.com>
83358         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
83359         operands of fdivp instruction.
83361 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83363         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
83364         * elf/tst-auditmod3b.c: Likewise.
83365         * elf/tst-auditmod4b.c: Likewise.
83366         * elf/tst-auditmod5b.c: Likewise.
83367         * elf/tst-auditmod6b.c: Likewise.
83368         * elf/tst-auditmod6c.c: Likewise.
83369         * elf/tst-auditmod7b.c: Likewise.
83370         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
83371         * sysdeps/x86_64/preconfigure.in: Likewise.
83372         * sysdeps/x86_64/preconfigure: Regenerated.
83374 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
83376         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
83377         __ILP32__.
83379 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
83381         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
83382         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
83384 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
83386         [BZ #13973]
83387         * locale/iso-639.def: Fix gl language name. Spotted by
83388         Yaron Shahrabani.
83390 2012-04-12  Roland McGrath  <roland@hack.frob.com>
83392         [BZ #2074]
83393         * libio/libio.h (__io_write_fn): Update comment.
83395 2012-04-12  Petr Baudis  <pasky@ucw.cz>
83397         [BZ #2074]
83398         * stdio.texi (Hook Functions): The user provided writer function
83399         is not allowed to return -1.
83401 2012-04-11  David S. Miller  <davem@davemloft.net>
83403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83405 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
83407         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
83408         Add a leading slash to rtkaio.
83410 2012-04-11  Jim Meyering  <meyering@redhat.com>
83412         [BZ #11959]
83413         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
83414         It is not necessarily an error to ignore fwrite's return
83415         value.  One can reliably use ferror to test for errors after
83416         the fact.
83418 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83420         * bits/types.h (__snseconds_t): New type.
83421         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
83423         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
83424         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
83425         (__SNSECONDS_T_TYPE): Likewise.
83426         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
83427         (__SNSECONDS_T_TYPE): Likewise.
83428         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
83429         (__SNSECONDS_T_TYPE): Likewise.
83431 2012-04-10  Andreas Jaeger  <aj@suse.de>
83433         [BZ #2636]
83434         * manual/time.texi (Processor Time): Return type of times is
83435         elapsed real time since an arbitrary point in the past.
83436         (CPU Time): Move CLK_TCK from here...
83437         (Processor Time): ...to here.  Correct description.
83438         * manual/conf.texi (Constants for Sysconf): Correct description of
83439         _SC_CLK_TCK.
83441 2012-04-10  David S. Miller  <davem@davemloft.net>
83443         [BZ #13967]
83444         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
83445         where the is a gap between DT_REL(A) and DT_JMPREL.
83447 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
83449         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
83450         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83451         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83453 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
83455         * elf/dl-support.c (_dl_inhibit_cache): New variable.
83456         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
83457         (dl_main): Handle --inhibit-cache.
83458         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
83459         _dl_inhibit_cache.
83460         * elf/dl-load.c (_dl_map_object): Use it.
83461         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
83463 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83465         [BZ #13872]
83466         * sysdeps/i386/fpu/e_powl.S (p78): New object.
83467         (__ieee754_powl): Saturate large exponents rather than testing for
83468         overflow of y*log2(x).
83469         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83470         * math/libm-test.inc (pow_test): Do not permit spurious overflow
83471         exceptions.
83473         [BZ #11521]
83474         * math/s_ctan.c: Include <float.h>.
83475         (__ctan): Avoid internal overflow or cancellation in calculating
83476         denominator.
83477         * math/s_ctanf.c: Likewise.
83478         * math/s_ctanl.c: Likewise.
83479         * math/s_ctanh.c: Likewise.
83480         * math/s_ctanhf.c: Likewise.
83481         * math/s_ctanhl.c: Likewise.
83482         * math/libm-test.inc (ctan_test): Add more tests.
83483         (ctanh_test): Likewise.
83484         * sysdeps/i386/fpu/libm-test-ulps: Update.
83485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83487 2012-04-09  Andreas Jaeger  <aj@suse.de>
83489         [BZ #6894]
83490         * manual/filesys.texi (Directory Entries): Mention that d_namlen
83491         is an optional BSD extension.
83493         [BZ #10254]
83494         * manual/stdio.texi (Opening Streams): Document additional fopen
83495         parameters.
83497 2012-04-09  Roland McGrath  <roland@hack.frob.com>
83499         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
83500         %eax without telling the compiler.
83502 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
83504         [BZ # 13963]
83505         * manual/install.texi: Use sourceware.org.
83507 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
83509         [BZ #13873]
83510         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
83511         (__ieee754_pow): Generate overflow and underflow using huge*huge
83512         and tiny*tiny rather than just returning constant infinity or zero
83513         for large exponents.
83514         * math/libm-test.inc (pow_test): Require overflow exceptions for
83515         applicable cases of large exponents.
83517         [BZ #706]
83518         * sysdeps/i386/fpu/e_pow.S (p10): New object.
83519         (__ieee754_pow): Use iterative multiplication algorithm only for
83520         integer exponents with absolute value below 1024.  Check for odd
83521         integer exponents when using algorithm for real exponents.
83522         * math/libm-test.inc (pow_test): Add more tests.
83523         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83525 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
83527         [BZ #13705]
83528         * math/libm-test.inc (exp_test): Do not allow overflow exception
83529         on underflow test.
83531 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
83533         [BZ #13705]
83534         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83535         instead of __kernel_standard_f.
83537 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
83539         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
83540         * sysdeps/x86_64/memset_chk.S: Likewise.
83542 2012-04-08  Andreas Jaeger  <aj@suse.de>
83544         [BZ #10153]
83545         * manual/startup.texi (Environment Access): Describe return value
83546         for putenv and setenv.
83548         [BZ #6895]
83549         * manual/filesys.texi (Directory Entries): Add description for
83550         DT_LNK.
83552         [BZ #6890]
83553         * manual/filesys.texi (Directory Entries): Clarify that it's file
83554         system not operating system in the description of DT_UNKNOWN.
83556         [BZ #6578]
83557         * manual/syslog.texi (closelog): Fix reference, it's openlog.
83559 2012-04-08  Stephen Compall  <s11@member.fsf.org>
83561         [BZ #6649]
83562         * manual/llio.texi (Opening and Closing Files): Add cross
83563         reference to explain mode argument.
83565 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
83567         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
83568         * sysdeps/x86_64/memset_chk.S: Likewise.
83570 2012-04-07  David S. Miller  <davem@davemloft.net>
83572         * elf/elf.h (R_SPARC_WDISP10): Define.
83573         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
83574         R_SPARC_SIZE32.
83575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
83576         R_SPARC_SIZE64 and R_SPARC_H34.
83578 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
83580         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
83581         conditions and remove no longer applicable assertion.
83583 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83585         * bits/byteswap.h: Include <features.h>.
83586         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
83587         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
83589 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
83591         * bits/byteswap.h (__bswap_16): Removed.
83592         Include <bits/byteswap-16.h> to get __bswap_16.
83593         * sysdeps/i386/bits/byteswap.h: Likewise.
83594         * sysdeps/s390/bits/byteswap.h: Likewise.
83595         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83596         * bits/byteswap-16.h: New file.
83597         * sysdeps/i386/bits/byteswap-16.h: Likewise.
83598         * sysdeps/s390/bits/byteswap-16.h: Likewise.
83599         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
83600         * string/Makefile (headers): Add bits/byteswap-16.h.
83602 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83604         [BZ #13895]
83605         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
83606         extra indirection.
83607         * nss/Makefile (tests-static, tests): Add tst-nss-static.
83608         * nss/tst-nss-static.c: New.
83610 2012-04-06  Robert Millan  <rmh@gnu.org>
83612         [BZ #6486]
83613         * manual/llio.texi (File Position Primitive): lseek
83614         refers to WHENCE when it really means OFFSET.
83616 2012-04-06  Andreas Jaeger  <aj@suse.de>
83618         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
83619         strncmp declarations.
83621         * abilist/libc.abilist: Add __poll and __ppoll.
83623 2012-04-05  David S. Miller  <davem@davemloft.net>
83625         * scripts/check-local-headers.sh: Accept a host triplet in the
83626         path matched by the exclude regexp.
83628         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
83629         definition.
83630         * sysdeps/powerpc/powerpc32/dl-machine.h
83631         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
83632         * sysdeps/s390/s390-32/dl-machine.h
83633         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83634         * sysdeps/sparc/sparc32/dl-machine.h
83635         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83636         * sysdeps/sparc/sparc64/dl-machine.h
83637         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83639         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
83640         lazy binding.
83641         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
83642         undefined symbol errors.
83644         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
83645         DT_NEEDED entries.
83647 2012-04-05  Michael Matz  <matz@suse.de>
83649         [BZ #13592]
83650         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
83652 2012-04-05  Andreas Jaeger  <aj@suse.de>
83654         [BZ #13908]
83655         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
83656         comment.
83658 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83660         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
83661         which ROUND is no valid rounding mode.
83663 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83665         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
83666         read again.
83667         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
83669 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83671         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
83672         an exception using FPU order intentionally.
83674 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
83676         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
83677         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
83678         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
83679         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
83681 2012-04-05  Simon Josefsson  <simon@josefsson.org>
83683         [BZ #12340]
83684         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
83685         EINVAL when BUFLEN is too smal.
83687 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
83689         [BZ #13553]
83690         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
83691         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
83693 2012-04-03  Andreas Jaeger  <aj@suse.de>
83695         [BZ #13938]
83696         * manual/setjmp.texi (System V contexts): Fix sentence.
83698         [BZ #13926]
83699         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
83700         New macro for this case.
83701         [!__GNUC__] (__bswap_64): New inline function for this case.
83702         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83703         * bits/byteswap.h: Likewise.
83704         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
83705         ull, guard with __GLIBC_HAVE_LONG_LONG.
83707         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
83708         __GLIBC_HAVE_LONG_LONG.
83710         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
83711         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
83713 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
83715         [BZ #13691]
83716         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
83717         inptr and inend, rather than using last_ch.
83719 2012-04-02  David S. Miller  <davem@davemloft.net>
83721         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
83722         * stdio-common/printf-parse.h (read_int): Change return type to
83723         'int', return -1 on INT_MAX overflow.
83724         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
83725         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
83726         overflows INT_MAX.  Check for overflow of in-format-string precision
83727         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
83728         SIZE_MAX not INT_MAX for integer overflow test.
83729         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
83730         skip the construct in the format string but do not record anything.
83731         * stdio-common/bug22.c: Adjust to test both width/prevision
83732         INT_MAX overflow as well as total length INT_MAX overflow.  Check
83733         explicitly for proper errno values.
83735 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
83737         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
83738         CHAR_MAX.
83739         * string/test-strcmp.c [! WIDE]: Likewise.
83740         * time/tst-mktime2.c: Likewise for INT_MAX.
83741         * string/test-string.h: #include <sys/param.h> for MIN.
83743         * csu/init-first.c (__libc_init_first): Call __ctype_init.
83744         * sysdeps/i386/init-first.c (init): Likewise.
83745         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
83746         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
83747         * sysdeps/sh/init-first.c (init): Likewise.
83749 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
83751         * po/ru.po: Update from translation team.
83752         * po/vi.po: Likewise.
83754 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
83756         * resolv/nss_dns/dns-host.c: Merge copyright years.
83758 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83760         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83761         Optimize memcpy with prefetch if
83762         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
83763         src, dst pointers have unequal 16 byte alignments.
83765 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
83767         [BZ #13928]
83768         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
83769         from a CNAME entry and return the minimum ttl for the query.
83770         (gaih_getanswer_slice): Likewise.
83772 2012-03-30  Jeff Law  <law@redhat.com>
83774         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
83775         due to long keys.
83776         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
83777         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
83779         * resolv/nss_dns/dns-host.c: Update copyright year.
83781 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
83783         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
83784         requests to save a system call.  Fix check that all bytes are sent.
83786         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
83787         comments for sendmmsg.
83789 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
83791         [BZ #13691]
83792         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
83793         with only 1 character between 0x0041 and 0x01b0.
83794         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
83795         * wcsmbs/tst-mbsnrtowcs.c: New file.
83797 2012-03-29  David S. Miller  <davem@davemloft.net>
83799         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
83800         small copies by hand.
83802 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
83804         [BZ #13761]
83805         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
83806         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
83807         group memberships.
83809 2012-03-28  David S. Miller  <davem@davemloft.net>
83811         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
83812         that branches into memcpy.
83813         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
83814         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
83815         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
83816         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
83817         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
83818         bits.
83819         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
83820         implementation too.
83821         * sysdeps/sparc/mempcpy.S: New file.
83823         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
83824         the IFUNC routine in the libc case.
83825         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
83827         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
83828         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
83829         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
83830         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
83831         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83832         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
83833         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
83834         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
83836         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
83837         loop to 256 bytes instead of 64 bytes and fix test signedness.
83839         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
83840         * sysdeps/sparc/sparc32/Makefile: rather than here...
83841         * sysdeps/sparc/sparc64/Makefile: and here.
83843 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
83845         * malloc/mallocbug.c: Avoid warnings about unused variables.
83847 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
83849         [BZ #13760]
83850         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
83851         in the right place. Discard and retry query if response is
83852         larger than input buffer size.
83854 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
83856         [BZ #369]
83857         [BZ #2678]
83858         [BZ #3866]
83859         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
83860         x for large integer exponent.
83861         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
83862         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
83863         sign of result as needed afterwards.
83864         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
83865         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83866         result for underflowing pow the same as for overflow.
83867         (__kernel_standard_l): Handle powl overflow and underflow here
83868         rather than calling __kernel_standard.
83869         * math/libm-test.inc (pow_test): Add more tests.
83871         [BZ #3868]
83872         [BZ #13879]
83873         [BZ #13910]
83874         [BZ #13911]
83875         [BZ #13912]
83876         [BZ #13913]
83877         [BZ #13915]
83878         [BZ #13916]
83879         [BZ #13917]
83880         [BZ #13918]
83881         [BZ #13919]
83882         [BZ #13920]
83883         [BZ #13921]
83884         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
83885         * sysdeps/ieee754/k_standard.c: Include <float.h>.
83886         (__kernel_standard_l): New function.
83887         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
83888         __kernel_standard.
83889         * math/w_acosl.c (__acosl): Likewise.
83890         * math/w_asinl.c (__asinl): Likewise.
83891         * math/w_atan2l.c (__atan2l): Likewise.
83892         * math/w_atanhl.c (__atanhl): Likewise.
83893         * math/w_coshl.c (__coshl): Likewise.
83894         * math/w_exp10l.c (__exp10l): Likewise.
83895         * math/w_exp2l.c (__exp2l): Likewise.
83896         * math/w_fmodl.c (__fmodl): Likewise.
83897         * math/w_hypotl.c (__hypotl): Likewise.
83898         * math/w_j0l.c (__j0l, __y0l): Likewise.
83899         * math/w_j1l.c (__j1l, __y1l): Likewise.
83900         * math/w_jnl.c (__jnl, __ynl): Likewise.
83901         * math/w_lgammal.c (__lgammal): Likewise.
83902         * math/w_log10l.c (__log10l): Likewise.
83903         * math/w_log2l.c (__log2l): Likewise.
83904         * math/w_logl.c (__logl): Likewise.
83905         * math/w_powl.c (__powl): Likewise.
83906         * math/w_remainderl.c (__remainderl): Likewise.
83907         * math/w_scalbl.c (sysv_scalbl): Likewise.
83908         * math/w_sinhl.c (__sinhl): Likewise.
83909         * math/w_sqrtl.c (__sqrtl): Likewise.
83910         * math/w_tgammal.c (__tgammal): Likewise.
83911         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
83912         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
83913         * math/libm-test.inc (acos_test): Add more tests.
83914         (acosh_test): Likewise.
83915         (asin_test): Likewise.
83916         (atanh_test): Likewise.
83917         (exp_test): Likewise.
83918         (exp10_test): Likewise.
83919         (exp2_test): Likewise.
83920         (expm1_test): Likewise.
83921         (lgamma_test): Likewise.
83922         (log_test): Likewise.
83923         (log10_test): Likewise.
83924         (log1p_test): Likewise.
83925         (log2_test): Likewise.
83926         (pow_test): Do not allow some spurious overflow exceptions.
83927         (sqrt_test): Add more tests.
83928         (tgamma_test): Likewise.
83929         (y0_test): Likewise.
83930         (y1_test): Likewise.
83931         (yn_test): Likewise.
83933 2012-03-27  Anton Blanchard  <anton@samba.org>
83935         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
83936         MAP_HUGETLB.
83937         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83938         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83939         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83941 2012-03-27  David S. Miller  <davem@davemloft.net>
83943         * conform/Makefile: Run run-conformtest.sh using $(BASH).
83945         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
83946         have-as-vis3 check.
83948 2012-03-27  Andreas Jaeger  <aj@suse.de>
83950         * sysdeps/x86_64/elf/configure.in: Moved to ...
83951         * sysdeps/x86_64/configure.in: ... here.
83952         * sysdeps/x86_64/elf/start.S: Moved to ...
83953         * sysdeps/x86_64/start.S: ... here.
83954         * sysdeps/x86_64/elf/configure: Delete.
83956         * sysdeps/x86_64/configure.in: Merge contents from
83957         sysdeps/i386/configure.in (without i686 check).
83959         * sysdeps/i386/elf/Versions: Merge into ...
83960         * sysdeps/i386/Versions: ... this.
83961         * sysdeps/i386/elf/Versions: Delete file.
83962         * sysdeps/i386/elf/start.S: Moved to ...
83963         * sysdeps/i386/start.S: ...here.
83964         * sysdeps/i386/elf/configure.in: Merge into...
83965         * sysdeps/i386/configure.in: ...here.
83966         * sysdeps/i386/elf/configure.in: Delete file.
83967         * sysdeps/i386/elf/configure: Delete file.
83969         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
83970         * debug/backtracesyms.c: ... here.
83971         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
83972         * debug/backtracesymsfd.c: ... here.
83973         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
83974         * sysdeps/generic/ifunc-sel.h: ... here.
83976         * sysdeps/unix/i386/start.c: Delete file.
83977         * sysdeps/unix/sparc/start.c: Delete file.
83978         * sysdeps/unix/start.c: Delete file.
83980         * sysdeps/sh/elf/configure.in: Moved to ...
83981         * sysdeps/sh/configure.in: ... here.
83982         * sysdeps/sh/elf/start.S: Moved to ...
83983         * sysdeps/sh/start.S: ... here.
83984         * sysdeps/sh/elf/configure: Delete file.
83986         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
83987         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
83988         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
83989         * sysdeps/powerpc/powerpc64/entry.h: ... here.
83990         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
83991         * sysdeps/powerpc/powerpc64/start.S: here.
83992         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
83993         * sysdeps/powerpc/powerpc64/Makefile: ... this.
83994         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
83995         * sysdeps/powerpc/powerpc64/configure.in: ... this.
83996         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
83998         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
83999         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
84000         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
84001         * sysdeps/powerpc/powerpc32/start.S: ... here.
84002         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
84003         * sysdeps/powerpc/powerpc32/configure.in: ... this.
84004         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
84006         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
84007         * sysdeps/powerpc/ifunc-sel.h: ... here.
84008         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
84009         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84011         * sysdeps/sparc/elf/configure.in: Moved to ...
84012         * sysdeps/sparc/configure.in: ... here.
84013         * sysdeps/sparc/elf/configure: Delete file.
84014         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84015         * sysdeps/sparc/sparc32/start.S: ... here.
84016         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84017         * sysdeps/sparc/sparc64/start.S: ... here.
84018         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84019         * sysdeps/sparc/sparc32/Makefile: ... this.
84020         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84021         * sysdeps/sparc/sparc64/Makefile: ... this.
84023         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84024         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84025         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84026         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84027         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84028         * sysdeps/s390/s390-32/setjmp.S: ... here.
84029         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84030         * sysdeps/s390/s390-32/configure.in: ... here.
84031         * sysdeps/s390/s390-32/elf/configure: Delete file.
84032         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84033         * sysdeps/s390/s390-32/start.S: ... here.
84035         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84036         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84037         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84038         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84039         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84040         * sysdeps/s390/s390-64/setjmp.S: ... here.
84041         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84042         * sysdeps/s390/s390-64/configure.in: ... here
84043         * sysdeps/s390/s390-64/elf/configure: Delete file.
84044         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84045         * sysdeps/s390/s390-64/start.S: ... here.
84046         * sysdeps/s390/s390-64/elf/configure: Delete.
84048         * configure.in: Remove support for elf directories in sysdeps.
84050         * configure: Regenerated.
84051         * sysdeps/i386/configure: Regenerated.
84052         * sysdeps/powerpc/powerpc32/configure: Regenerated.
84053         * sysdeps/powerpc/powerpc64/configure: Regenerated.
84054         * sysdeps/s390/s390-32/configure: Regenerated.
84055         * sysdeps/s390/s390-64/configure: Regenerated.
84056         * sysdeps/sh/configure: Regenerated.
84057         * sysdeps/sparc/configure: Regenerated.
84058         * sysdeps/x86_64/configure: Regenerated.
84060 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
84062         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84064         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
84065         denormal result into account.
84067 2012-03-25  Roland McGrath  <roland@hack.frob.com>
84069         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
84070         Reported by Allan McRae <allan@archlinux.org>.
84072 2012-03-23  Jeff Law  <law@redhat.com>
84074         * nss/getnssent.c (__nss_getent): Fix typo.
84076 2012-03-23  David S. Miller  <davem@davemloft.net>
84078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84080 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
84082         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
84083         to pad to uint64_t for each field.
84084         (dl_tls_index): Replace unsigned long with uint64_t.
84086 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
84087         Paul Pluzhnikov  <ppluzhnikov@google.com>
84089         [BZ #6528]
84090         * grp/Makefile (otherlibs): Don't set it.
84091         * inet/Makefile (otherlibs): Likewise.
84092         * login/Makefile (otherlibs): Likewise.
84093         * nscd/Makefile (otherlibs): Likewise.
84094         * posix/Makefile (otherlibs): Likewise.
84095         * pwd/Makefile (otherlibs): Likewise.
84096         * rt/Makefile (otherlibs): Likewise.
84097         * sunrpc/Makefile (otherlibs): Likewise.
84098         * nss/Makefile (otherlibs): Likewise.
84099         Add libnss_files to routines and static-only-routines.
84100         ($(objpfx)getent): Remove rule.
84101         * resolv/Makefile: Add libnss_dns and libresolv to routines and
84102         static-only-routines.
84104 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84106         [BZ #13892]
84107         * math/s_cexp.c: Include <float.h>.
84108         (__cexp): Handle exp result overflowing not necessarily
84109         overflowing both real and imaginary parts of result.
84110         * math/s_cexpf.c: Likewise.
84111         * math/s_cexpl.c: Likewise.
84112         * math/libm-test.inc (cexp_test): Add more tests.
84113         * sysdeps/i386/fpu/libm-test-ulps: Update.
84114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84116 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84118         * include/link.h (ELFW): New macro.
84119         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
84120         Replace ELF64_R_TYPE with ELFW(R_TYPE).
84122 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84124         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
84125         with uint64_t.
84127 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84129         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
84130         declaration.
84131         (struct La_x32_retval): Likewise.
84133 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
84135         * sysdeps/x86_64/preconfigure.in: New file.
84136         * sysdeps/x86_64/preconfigure: New generated file.
84138 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
84140         [BZ #13824]
84141         * math/e_exp2l.c: Include <float.h>.
84142         (__ieee754_exp2l): Handle overflow and underflow cases
84143         separately.  Only pass fractional part of argument to
84144         __ieee754_expl.
84145         * math/libm-test.inc (exp2_test): Add more tests.
84147         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
84148         negating x to take absolute value.
84149         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
84150         Likewise.
84151         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
84152         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
84153         Likewise.
84154         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
84155         computing low part if x was negated.
84156         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
84158 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84160         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
84161         la_x32_gnu_pltexit.
84162         (pltexit): Cast int_retval to ptrdiff_t.
84163         * elf/tst-auditmod3b.c: Likewise.
84164         * elf/tst-auditmod4b.c: Likewise.
84165         * elf/tst-auditmod5b.c: Likewise.
84166         * elf/tst-auditmod6b.c: Likewise.
84167         * elf/tst-auditmod6c.c: Likewise.
84168         * elf/tst-auditmod7b.c: Likewise.
84170         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
84171         and x32_gnu_pltexit.
84173         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
84174         __ELF_NATIVE_CLASS.
84175         (La_x32_regs): New macro.
84176         (La_x32_retval): Likewise.
84177         (la_x32_gnu_pltenter): New function prototype.
84178         (la_x32_gnu_pltexit): Likewise.
84180 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
84182         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
84183         exponent.
84185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84187         * configure.in (libc_cv_cc_nofma): Check for option to disable
84188         generation of FMA instructions.
84189         * configure: Regenerate.
84190         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
84191         * sysdeps/ieee754/dbl-64/Makefile: New file.
84192         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
84193         Remove brandred-fma4.
84194         (CFLAGS-brandred-fma4.c): Remove.
84195         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
84196         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
84197         define.
84198         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
84199         define.
84201 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84203         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
84204         LLONG_MAX != LONG_MAX.
84205         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84206         (_fitoa_word): Likewise.
84207         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
84208         LLONG_MAX != LONG_MAX.
84209         * stdio-common/_itowa.h: Include <_itoa.h>.
84210         (_itowa_word): Use _ITOA_WORD_TYPE on value.
84211         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
84212         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
84213         only if not defined.
84214         (_ITOA_WORD_TYPE): Likewise.
84215         (_itoa_word): Use _ITOA_WORD_TYPE on value.
84216         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
84218 2012-03-21  David S. Miller  <davem@davemloft.net>
84220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84222 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
84224         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
84225         of x86_64 when setting libc_cv_slibdir, libdir and
84226         libc_cv_localedir.
84227         * sysdeps/unix/sysv/linux/configure: Regenerated.
84229 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84231         * manual/lang.texi (Old Varargs): Remove section.
84232         (How Variadic): Update menu.
84233         (va_start): Do not mention varargs.h.
84235 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84236             Joseph Myers  <joseph@codesourcery.com>
84238         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
84239         link test.
84240         * configure: Regenerated.
84242 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
84244         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
84245         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
84246         conformtest.pl
84248 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84250         * NOTES: Remove.
84251         * Makefile (files-for-dist): Remove NOTES.
84252         (NOTES): Remove rule.
84253         * README: Don't refer to NOTES.
84254         * manual/creature.texi: Don't include macros.texi.
84255         * manual/intro.texi (creature.texi): Remove comment referring to
84256         NOTES.
84258         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
84259         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
84260         * configure: Regenerated.
84261         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
84262         LIBC_TRY_CC_OPTION.
84263         (libc_cv_as_i686): Likewise.
84264         (libc_cv_cc_avx): Likewise.
84265         (libc_cv_cc_sse2avx): Likewise.
84266         (libc_cv_cc_fma4): Likewise.
84267         (libc_cv_cc_novzeroupper): Likewise.
84268         * sysdeps/i386/configure: Regenerated.
84270         [BZ #13883]
84271         * sysdeps/i386/fpu/s_cexp.S: Remove.
84272         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
84273         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84274         * math/libm-test.inc (cexp_test): Add more tests.
84275         * sysdeps/i386/fpu/libm-test-ulps: Update.
84276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84278 2012-03-21  Allan McRae  <allan@archlinux.org>
84280         * timezone/Makefile: Do not install iso3166.tab and zone.tab
84282 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
84284         [BZ #13871]
84285         * math/w_exp2.c: Do not include <float.h>.
84286         (o_threshold, u_threshold): Remove.
84287         (__exp2): Calculate result before checking finiteness and calling
84288         __kernel_standard.
84289         * math/w_exp2f.c: Likewise.
84290         * math/w_exp2l.c: Likewise.
84291         * math/libm-test.inc (exp2_test): Require overflow exception for
84292         1e6 input.
84294         [BZ #3866]
84295         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
84296         range of signed 64-bit integers before using fistpll.  Remove
84297         checks for whether integers fit in mantissa bits.
84298         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
84299         the range of signed 32-bit integers before using fistpl.  Remove
84300         checks for whether integers fit in mantissa bits.
84301         * sysdeps/i386/fpu/e_powl.S (p64): New object.
84302         (__ieee754_powl): Test for y outside the range of signed 64-bit
84303         integers before using fistpll.  Reduce 64-bit values to 63-bit
84304         ones as needed.
84305         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
84306         divide-by-zero is raised for zero to large negative powers.
84307         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
84308         (__ieee754_powl): Test for y outside the range of signed 64-bit
84309         integers before using fistpll.  Reduce 64-bit values to 63-bit
84310         ones as needed.
84311         * math/libm-test.inc (pow_test): Add more tests.
84313 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84315         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
84316         <stdio-common/_itoa.h>.
84317         * debug/segfault.c: Likewise.
84318         * elf/dl-cache.c: Likewise.
84319         * elf/dl-minimal.c: Likewise.
84320         * elf/dl-misc.c: Likewise.
84321         * elf/dl-sysdep.c: Likewise.
84322         * elf/dl-version.c: Likewise.
84323         * elf/rtld.c: Likewise.
84324         * hurd/hurdsock.c: Likewise.
84325         * hurd/lookup-retry.c: Likewise.
84326         * malloc/malloc.c: Likewise.
84327         * malloc/mtrace.c: Likewise.
84328         * nscd/nscd_getgr_r.c: Likewise.
84329         * nscd/nscd_getpw_r.c: Likewise.
84330         * nscd/nscd_getserv_r.c: Likewise.
84331         * posix/getopt_init.c: Likewise.
84332         * posix/wordexp.c: Likewise.
84333         * stdio-common/_itoa.c: Likewise.
84334         * stdio-common/printf_fphex.c: Likewise.
84335         * stdio-common/vfprintf.c: Likewise.
84336         * string/_strerror.c: Likewise.
84337         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
84338         * sysdeps/i386/i686/hp-timing.h: Likewise.
84339         * sysdeps/mach/_strerror.c: Likewise.
84340         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
84341         * sysdeps/mach/hurd/sethostid.c: Likewise.
84342         * sysdeps/mach/hurd/xmknodat.c: Likewise.
84343         * sysdeps/mach/xpg-strerror.c: Likewise.
84344         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
84345         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84346         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
84347         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
84348         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
84349         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
84350         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
84351         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
84352         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
84353         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
84354         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
84355         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
84356         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
84357         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
84358         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
84359         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
84360         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
84361         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
84362         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
84363         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
84364         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
84366         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
84368         * stdio-common/_itoa.h: Moved to ...
84369         * sysdeps/generic/_itoa.h: Here.
84371         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
84373         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
84374         instead of "_itoa.h" and "_itowa.h".
84375         * stdio-common/vfprintf.: Likewise.
84377 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84379         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
84380         <bits/wordsize.h>.
84381         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
84382         (__signbit): Likewise.
84383         (llrintf): Likewise.
84384         (llrint): Likewise.
84386 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84388         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
84389         __WORDSIZE != 64.
84391 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
84393         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
84394         OVERFLOW_EXCEPTION_OK.
84395         * math/libm-test.inc ("Philosophy"): Update comment about
84396         exception testing.
84397         (OVERFLOW_EXCEPTION): Define.
84398         (OVERFLOW_EXCEPTION_OK): Likewise.
84399         (INVALID_EXCEPTION_OK): Renumber.
84400         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
84401         (IGNORE_ZERO_INF_SIGN): Likewise.
84402         (test_exceptions): Handle FE_OVERFLOW.
84403         (exp10_test): Expect overflow exceptions.
84404         (exp2_test): Likewise.
84405         (expm1_test): Likewise.
84406         (nextafter_test): Likewise.
84407         (pow_test): Likewise.
84408         (scalbn_test): Likewise.
84409         (scalbln_test): Likewise.
84411 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84413         * sysdeps/x86_64/bits/atomic.h
84414         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
84415         64bit integer.
84416         (atomic_exchange_acq): Likewise.
84417         (__arch_exchange_and_add_body): Likewise.
84418         (__arch_add_body): Likewise.
84419         (atomic_add_negative): Likewise.
84420         (atomic_add_zero): Likewise.
84422 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84424         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
84425         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
84427 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84429         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
84430         Check __x86_64__ instead of __WORDSIZE.
84432 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84434         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
84436 2012-03-19  David S. Miller  <davem@davemloft.net>
84438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84440         * sysdeps/sparc/fpu/fenv_private.h: New file.
84441         * sysdeps/sparc/fpu/math_private.h: Use it.
84442         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
84443         Remove.
84444         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
84445         (libc_feholdexcept_setroundl): Remove.
84446         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
84447         Remove.
84448         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
84449         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
84451 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84453         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
84454         int64_t instead of long int.
84455         (INSERT_WORDS64): Likewise.
84457 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
84459         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
84460         _Unwind_GetCFA return to _Unwind_Ptr first.
84462 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
84464         [BZ #13629]
84465         * math/s_clog.c: Include <float.h>.
84466         (__clog): Scale large or subnormal inputs.
84467         * math/s_clogf.c: Likewise.
84468         * math/s_clogl.c: Likewise.
84469         * math/s_clog10.c: Include <float.h>.
84470         (M_LOG10_2): Define.
84471         (__clog10): Scale large or subnormal inputs.
84472         * math/s_clog10f.c: Likewise.
84473         * math/s_clog10l.c: Likewise.
84474         * math/libm-test.inc (clog_test): Add more tests.
84475         (clog10_test): Likewise.
84476         * sysdeps/i386/fpu/libm-test-ulps: Update.
84477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84479         [BZ #11451]
84480         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
84481         x and y.
84482         * math/libm-test.inc (atan2_test): Add another test.
84484         * Makerules (common-objdir-compile): Remove.
84485         * sysdeps/unix/Makefile (config-generated): Do not add
84486         $(unix-generated) to variable.
84487         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
84488         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
84489         Remove rule.
84490         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
84491         Likewise.
84492         [generic bits/local_lim.h] (before-compile): Do not append to
84493         variable.
84494         [generic bits/local_lim.h] (common-generated): Likewise.
84495         [generic sys/param.h] (before-compile): Do not append to variable.
84496         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
84497         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
84498         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
84499         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
84500         include.
84501         [generic sys/param.h] (sys/param.h-includes): Remove variable.
84502         [generic sys/param.h] (sys/param.h-includes): Remove rule.
84503         [generic sys/param.h] ($(addprefix
84504         $(common-objpfx),$(sys/param.h-includes))): Likewise.
84505         [generic sys/param.h] (common-generated): Do not append to
84506         variable.
84507         [generic sys/param.h] (sysdep_headers): Likewise.
84508         [generic bits/errno.h] (before-compile): Do not append to
84509         variable.
84510         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
84511         rule.
84512         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
84513         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
84514         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
84515         [generic bits/errno.h] (common-generated): Do not append to
84516         variable.
84517         [generic bits/ioctls.h] (before-compile): Do not append to
84518         variable.
84519         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
84520         rule.
84521         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
84522         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
84523         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
84524         rule.
84525         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
84526         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
84527         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
84528         [generic bits/ioctls.h] (common-generated): Do not append to
84529         variable.
84530         [generic sys/syscall.h] (syscall.h): Remove variable.
84531         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
84532         rule.
84533         [generic sys/syscall.h] (before-compile): Do not append to
84534         variable.
84535         [generic sys/syscall.h] (common-generated): Likewise.
84536         * sysdeps/unix/errnos-tmpl.c: Remove file.
84537         * sysdeps/unix/errnos.awk: Likewise.
84538         * sysdeps/unix/ioctls-tmpl.c: Likewise.
84539         * sysdeps/unix/ioctls.awk: Likewise.
84540         * sysdeps/unix/mk-local_lim.c: Likewise.
84541         * sysdeps/unix/snarf-ioctls: Likewise.
84543 2012-03-19  Richard Henderson  <rth@twiddle.net>
84545         * sysdeps/i386/fpu/fenv_private.h: New file.
84546         * sysdeps/i386/fpu/math_private.h: Use it.
84547         (math_opt_barrier, math_force_eval): Remove.
84548         (libc_feholdexcept_setround_53bit): Remove.
84549         (libc_feupdateenv_53bit): Remove.
84550         * sysdeps/x86_64/fpu/math_private.h: Likewise.
84551         (math_opt_barrier, math_force_eval): Remove.
84552         (libc_feholdexcept): Remove.
84553         (libc_feholdexcept_setround): Remove.
84554         (libc_fetestexcept, libc_fesetenv): Remove.
84555         (libc_feupdateenv_test): Remove.
84556         (libc_feupdateenv, libc_feholdsetround): Remove.
84557         (libc_feresetround): Remove.
84559         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
84560         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
84562         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
84563         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
84564         (libc_feupdateenv_testl): New.
84565         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
84566         (libc_feupdateenv_testf): New.
84567         (libc_feupdateenv): Use libc_feupdateenv_test.
84568         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
84569         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
84571         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
84572         (libc_feholdsetroundf, libc_feholdsetroundl): New.
84573         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
84574         (libc_feresetround_noex): New.
84575         (libc_feresetround_noexf): New.
84576         (libc_feresetround_noexl): New.
84577         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
84578         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
84579         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
84580         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
84581         SET_RESTORE_ROUND.
84582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
84583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
84584         (__cos): Likewise.
84585         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
84586         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
84587         SET_RESTORE_ROUND_NOEX.
84588         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
84589         SET_RESTORE_ROUND_NOEXF.
84590         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
84591         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
84592         (libc_feholdsetroundf): New.
84593         (libc_feresetround, libc_feresetroundf): New.
84595         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
84596         (libc_feholdexcept_setround_53bit): Convert from macro to function.
84597         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
84599         * sysdeps/generic/math_private.h: Include <fenv.h>.
84600         (default_libc_feholdexcept): New.
84601         (default_libc_feholdexcept_setround): New.
84602         (default_libc_fesetenv, default_libc_feupdateenv): New.
84603         (libc_feholdexcept): Only define if undefined.
84604         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
84605         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
84606         (libc_feholdexcept_setroundl): Likewise.
84607         (libc_feholdexcept_setround_53bit): Likewise.
84608         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
84609         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
84610         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
84611         (libc_feupdateenv_53bit): Likewise.
84612         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
84613         (libc_feholdexcept): Convert from macro to inline function.
84614         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
84615         (libc_fesetenv, libc_feupdateenv): Likewise.
84617         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
84618         not previously defined.
84619         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
84620         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
84621         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
84622         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
84623         * sysdeps/ieee754/flt-32/math_private.h: New file.
84624         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
84625         math_private.h below SET_FLOAT_WORD.
84626         (__isnan, __isinf_ns, __finite): Remove.
84627         (__isnanf, __isinf_nsf, __finitef): Remove.
84629 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
84631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84633 2012-03-17  David S. Miller  <davem@davemloft.net>
84635         [BZ #6471]
84636         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
84637         for 2.16.
84639 2012-03-16  David S. Miller  <davem@davemloft.net>
84641         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
84642         warnings.
84644         [BZ #6471]
84645         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
84646         properly.
84647         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
84648         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
84649         sysdep_routines when subdir is sysvipc.
84650         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
84651         __getshmlba helper.
84653         * sysdeps/sparc/fpu/libm-test/ulps: Update.
84655 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84657         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
84658         [__LP64__].
84660 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84662         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
84663         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
84664         (__lround): Renamed to ...
84665         (__llround): This.  Replace long int with long long int.
84666         Define lround functions as aliases of llround functions.
84667         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
84669 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84671         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
84672         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
84673         adresses to uintptr_t.  Replace "long int" and "unsigned long
84674         int" with "greg_t" on va_arg.
84676 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84678         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
84679         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
84681         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
84682         Move e_machine check before EI_CLASS check.  Handle x32
84683         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
84684         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
84685         SKIP_EM_IA_64 and include
84686         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
84688         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
84689         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
84690         (add_system_dir): New macro.
84692         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
84693         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
84695 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84697         [BZ #2551]
84698         [BZ #2552]
84699         [BZ #2553]
84700         [BZ #2554]
84701         [BZ #2562]
84702         [BZ #2563]
84703         [BZ #2565]
84704         [BZ #2566]
84705         [BZ #2576]
84706         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
84707         (y0): Likewise.
84708         * math/w_j0f.c (j0f): Likewise.
84709         (y0f): Likewise.
84710         * math/w_j0l.c (__j0l): Likewise.
84711         (__y0l): Likewise.
84712         * math/w_j1.c (j1): Likewise.
84713         (y1): Likewise.
84714         * math/w_j1f.c (j1f): Likewise.
84715         (y1f): Likewise.
84716         * math/w_j1l.c (__j1l): Likewise.
84717         (__y1l): Likewise.
84718         * math/w_jn.c (jn): Likewise.
84719         (yn): Likewise.
84720         * math/w_jnf.c (jnf): Likewise.
84721         (ynf): Likewise.
84722         * math/w_jnl.c (__jnl): Likewise.
84723         (__ynl): Likewise.
84724         * math/libm-test.inc (j0_test): Add more tests.
84725         (j1_test): Likewise.
84726         (jn_test): Likewise.  Add trailing semicolon to existing test.
84727         (y0_test): Likewise.
84728         (y1_test): Likewise.
84729         * sysdeps/i386/fpu/libm-test-ulps: Update.
84730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84732         [BZ #13851]
84733         [BZ #13854]
84734         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
84735         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
84736         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
84737         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
84738         (__tanl): Set errno for infinite argument.
84739         * sysdeps/i386/fpu/mptan.c: Remove.
84740         * sysdeps/i386/fpu/s_tan.S: Likewise.
84741         * sysdeps/i386/fpu/s_tanl.S: Likewise.
84742         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84743         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
84744         * math/libm-test.inc (tan_test): Add more tests and enable more
84745         tests for double and long double.
84746         * sysdeps/i386/fpu/libm-test-ulps: Update.
84747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84749 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
84751         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
84752         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
84754 2012-03-16  Roland McGrath  <roland@hack.frob.com>
84756         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
84757         * configure.in: Use it for both main tree and add-ons.
84758         * configure: Regenerated.
84760 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
84762         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
84764 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
84766         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
84767         in comment.
84769         [BZ #13851]
84770         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
84771         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
84772         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
84773         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
84774         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
84775         infinite argument.
84776         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
84777         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
84778         != 0 for prec == 2.
84779         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
84780         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
84781         * sysdeps/i386/fpu/s_cosl.S: Likewise.
84782         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
84783         * sysdeps/i386/fpu/s_sinl.S: Likewise.
84784         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
84785         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
84786         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
84787         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
84788         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
84789         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
84790         * math/libm-test.inc (cos_test): Add more tests and enable more
84791         tests for long double.
84792         (sin_test): Likewise.
84793         (sincos_test): Likewise.
84794         * sysdeps/i386/fpu/libm-test-ulps: Update.
84795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84797 2012-03-16  David S. Miller  <davem@davemloft.net>
84799         * sysdeps/sparc/fpu/math_private.h: New file.
84801 2012-03-15  David S. Miller  <davem@davemloft.net>
84803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
84804         file.
84805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
84806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
84807         file.
84808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
84809         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
84810         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
84811         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
84812         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
84813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
84814         sysdep routines.
84815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84817         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
84818         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
84820         * sysdeps/sparc/sparc-ifunc.h: New file.
84821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
84822         sparc-ifunc.h
84823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
84824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
84825         Likewise.
84826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
84827         Likewise.
84828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
84829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
84830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
84832         Likewise.
84833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
84835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
84837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
84838         Likewise.
84839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
84840         Likewise.
84841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
84843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
84844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
84845         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
84846         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
84847         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
84848         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
84849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
84850         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
84851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
84852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
84853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
84854         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
84855         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
84856         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
84857         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
84858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
84859         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
84860         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
84861         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
84862         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
84863         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
84864         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
84866 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84868         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
84869         scaling.
84870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84872 2012-03-15  Andreas Jaeger  <aj@suse.de>
84874         [BZ #13852]
84875         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
84876         ieee754/flt-32 implementation for sin, cos and sincos.
84877         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
84878         * sysdeps/i386/fpu/s_cosf.S: Likewise.
84879         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
84880         * sysdeps/i386/fpu/s_sinf.S: Likewise.
84881         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
84882         ieee754/flt-32 implementation for tan.
84884         * math/libm-test.inc (cos_test): Enable some large input tests for
84885         float as well
84886         (sin_test): Likewise.
84887         (sincos_test): Likewise.
84888         (tan_test): Add tests for large input.
84890         * sysdeps/i386/fpu/libm-test-ulps: Update.
84892 2012-03-15  Andreas Jaeger  <aj@suse.de>
84894         [BZ #13658]
84895         * math/libm-test.inc (cos_test): Add more test cases.
84896         (sin_test): Likewise.
84897         (sincos_test): Likewise.
84899 2012-03-15  Andreas Jaeger  <aj@suse.de>
84901         [BZ #13837]
84902         * math/libm-test.inc (cos_test): Add a test case for large input
84903         value.
84904         (sin_test): Likewise.
84905         (sincos_test): Likewise.
84907 2012-03-15  Andreas Jaeger  <aj@suse.de>
84908             Joseph Myers  <joseph@codesourcery.com>
84910         [BZ #13658]
84911         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
84912         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
84913         * sysdeps/i386/fpu/branred.c: Likewise.
84914         * sysdeps/i386/fpu/dosincos.c: Likewise.
84915         * sysdeps/i386/fpu/mpa.c: Likewise.
84916         * sysdeps/i386/fpu/s_cos.S: Likewise.
84917         * sysdeps/i386/fpu/s_sin.S: Likewise.
84918         * sysdeps/i386/fpu/s_sincos.S: Likewise.
84919         * sysdeps/i386/fpu/sincos32.c: Likewise.
84921         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
84922         Define.
84923         (libc_feupdateenv_53bit): Define.
84924         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
84925         Define.
84926         (libc_feupdateenv_53bit): Define.
84928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
84929         53 bit (without extend i386 double precision).
84931         * math/libm-test.inc (sincos_test): Add tests for large input.
84932         (sin): Likewise.
84933         (cos): Likewise.
84935         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
84937 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
84939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84941 2012-03-15  David S. Miller  <davem@davemloft.net>
84943         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
84944         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
84945         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
84946         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
84947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
84948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
84949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
84950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
84951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
84952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
84953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
84954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
84955         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
84956         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
84957         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
84958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
84959         file.
84960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
84961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
84962         file.
84963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
84964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
84965         file.
84966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
84967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
84968         file.
84969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
84970         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
84971         fmin/fmax sysdep routines.
84972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
84974 2012-03-14  David S. Miller  <davem@davemloft.net>
84976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
84977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
84978         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
84979         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
84980         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
84981         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
84982         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
84983         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
84984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
84985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
84986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
84987         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
84988         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
84989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
84990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
84991         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
84992         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
84993         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
84994         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
84995         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
84996         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
84997         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
84998         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
84999         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
85000         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
85001         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
85002         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
85003         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
85004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
85005         routines.
85006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
85007         file.
85008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
85009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85010         file.
85011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85013         file.
85014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85016         file.
85017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85019         file.
85020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85022         file.
85023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85024         file.
85025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85026         file.
85027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85028         file.
85029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85030         New file.
85031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85032         file.
85033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85034         file.
85035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85037         file.
85038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85040         file.
85041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85043         file.
85044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85046         VIS3 routines.
85048         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85049         New file.
85051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85053         * sysdeps/sparc/configure.in: New file.
85054         * sysdeps/sparc/configure: Generate.
85055         * configure.in (libc_cv_sparc_as_vis3): Substitute.
85056         * configure: Regenerate.
85057         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85058         * config.make.in (have-as-vis3): New.
85059         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85060         available use -Av9d instead of -Av9a.
85061         * sysdeps/sparc/sparc64/Makefile: Likewise.
85062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85064         New file.
85065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
85066         file.
85067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
85068         New file.
85069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
85070         file.
85071         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
85072         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
85073         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
85074         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
85075         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
85077         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
85078         fzeros/fnegs to load 0x80000000 into a float register instead of
85079         using the stack.
85080         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
85082 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85084         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85085         bits/syscall.h.
85086         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
85087         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
85088         ($(inst_includedir)/bits/syscall.h): Remove rule.
85089         ($(objpfx)bits/syscall.d): Include instead of
85090         $(objpfx)syscall-list.d.
85091         (generated): Change syscall-list.h and syscall-list.d to
85092         bits/syscall.h and bits/syscall.d.
85094 2012-03-14  Roland McGrath  <roland@hack.frob.com>
85096         [BZ #13846]
85097         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
85099 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
85101         [BZ #13841]
85102         * math/s_csqrt.c: Include <float.h>.
85103         (__csqrt): Scale large or subnormal inputs.
85104         * math/s_csqrtf.c: Likewise.
85105         * math/s_csqrtl.c: Likewise.
85106         * math/libm-test.inc (csqrt_test): Add more tests.
85107         * sysdeps/i386/fpu/libm-test-ulps: Update.
85108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85110         [BZ #13840]
85111         * math/libm-test.inc (hypot_test): Add more tests.
85113 2012-03-13  David S. Miller  <davem@davemloft.net>
85115         [BZ #13840]
85116         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
85117         double-precision for the calculation instead of scaling.
85119 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
85121         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
85122         manipulate bits before adding and subtracting TWO52[sx].
85123         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
85124         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
85125         Likewise.
85126         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
85128 2012-03-13  David S. Miller  <davem@davemloft.net>
85130         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
85131         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
85132         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
85133         rtld-global-offsets.h
85134         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85136         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
85137         large parameters.
85139         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
85141         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
85142         'err' in the ifdef scope in which it is actually used.
85144         * nss/nss_db/db-init.c: Include string.h
85146 2012-03-12  David S. Miller  <davem@davemloft.net>
85148         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85149         masking out of the most significant byte of random value used.
85150         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85151         Fix coding style in previous change.
85153         * sysdeps/unix/sysv/linux/kernel-features.h
85154         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
85155         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
85156         expression.
85157         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
85158         later.
85160 2012-03-11  David S. Miller  <davem@davemloft.net>
85162         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
85163         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
85164         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
85165         for 'resultvar' otherwise things get truncated on 64-bit.
85167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
85168         Fix masking out of the most significant byte of random value used.
85170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85172 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
85174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85176 2012-03-09  David S. Miller  <davem@davemloft.net>
85178         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
85179         variables with appropriate CPP guards.
85180         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
85181         from the frame pointer, not the stack pointer.  Correct layout
85182         comments.  Fix test on resulting framesize and the management of
85183         the outregs buffer for pltexit.  Preserve floating point return
85184         values across _dl_call_pltexit call.
85185         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
85186         framesize and the management of the outregs buffer for pltexit.
85187         Preserve floating point return values across _dl_call_pltexit
85188         call.
85189         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
85190         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
85191         (la_sparc64_gnu_pltexit): New functions.
85192         (print_exit): Fix format string for return register value.
85194 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
85196         * sunrpc/Makefile (others): Add rpcgen.
85197         ($(objpfx)rpcgen): Remove special build rule and dependency on
85198         libc.
85199         * sunrpc/rpcgen.c: New file.
85201 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
85203         [BZ #13673]
85204         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
85205         * stdio-common/bug-vfprintf-nargs.c: Likewise.
85206         * sysdeps/i386/crti.S: Likewise.
85207         * sysdeps/i386/crtn.S: Likewise.
85208         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
85209         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
85210         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
85211         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
85212         * sysdeps/sh/crti.S: Likewise.
85213         * sysdeps/sh/crtn.S: Likewise.
85214         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
85216         [BZ #13673]
85217         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
85218         with URL.
85219         * locale/programs/locfile-kw.gperf: Likewise.
85220         * locale/programs/charmap-kw.h: Regenerated.
85221         * locale/programs/locfile-kw.h: Likewise.
85223         [BZ #13673]
85224         * intl/plural.y: Replace FSF snail mail address with URL.
85225         * intl/plural.c: Regenerated.
85227 2012-03-09  Richard Henderson  <rth@twiddle.net>
85229         * include/math_private.h: Remove file.
85230         * math/math_private.h: Move file ...
85231         * sysdeps/generic/math_private.h: ... here.
85233         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
85234         * sysdeps/powerpc/fpu/math_private.h: Likewise.
85235         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85237         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
85238         and <math_private.h>.
85239         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85240         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85241         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85242         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85243         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85244         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
85245         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
85246         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85247         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85248         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85249         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85250         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85251         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85252         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85253         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85254         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85255         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85256         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85257         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85258         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85260         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85261         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85263         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
85264         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85265         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85266         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85267         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85268         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85269         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85270         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85271         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
85272         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
85273         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85274         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85275         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
85276         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85277         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85278         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85279         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
85280         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85281         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85282         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
85283         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
85284         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85285         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
85286         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
85287         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
85288         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85289         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
85290         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
85291         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
85292         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85293         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
85294         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85295         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
85296         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
85297         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
85298         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
85299         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
85300         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
85301         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85302         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85303         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
85304         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
85305         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
85306         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
85307         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
85308         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
85309         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
85310         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85311         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
85312         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85313         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
85314         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
85315         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
85316         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85317         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
85318         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
85319         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
85320         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
85321         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
85322         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85323         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
85324         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
85325         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
85326         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
85327         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85328         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85329         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85330         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85331         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85332         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85333         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85334         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85335         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85336         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85337         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85338         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85339         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85340         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85341         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85342         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85343         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85344         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85345         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85346         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85347         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85348         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85349         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85350         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85351         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85352         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85353         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
85354         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85355         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85356         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85357         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85358         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
85359         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85360         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85361         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85362         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
85363         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85364         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85365         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85366         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
85367         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85368         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
85369         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
85370         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
85371         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85372         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
85373         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
85374         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
85375         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85376         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85377         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
85378         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85379         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
85380         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
85381         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
85382         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
85383         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
85384         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85385         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85386         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85387         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
85388         * sysdeps/ieee754/k_standard.c: Likewise.
85389         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85390         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85391         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85392         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85393         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85394         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85395         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85396         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85397         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85398         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85399         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85400         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85401         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85402         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85403         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85404         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85405         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
85406         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85407         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85408         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
85409         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
85410         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
85411         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85412         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85413         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
85414         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
85415         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85416         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85417         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85418         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85419         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
85420         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85421         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85422         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85423         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
85424         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85425         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85426         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
85427         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
85428         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85429         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
85430         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
85431         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
85432         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85433         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
85434         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
85435         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85436         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85437         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85438         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85439         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85440         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
85441         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85442         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
85443         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
85444         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
85445         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
85446         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
85447         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
85448         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
85449         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
85450         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
85451         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
85452         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85453         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85454         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85455         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85456         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85457         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85459         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85460         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85461         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85462         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85463         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85464         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85465         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
85466         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85467         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85468         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
85469         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
85470         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
85471         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
85472         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
85473         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
85474         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
85475         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
85476         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
85477         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
85478         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
85479         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
85480         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
85481         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
85482         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
85483         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
85484         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
85485         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
85486         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
85487         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
85488         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
85489         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
85490         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
85491         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
85492         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
85493         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
85494         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
85495         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
85496         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
85497         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
85498         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
85499         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
85500         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
85501         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85502         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85503         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85504         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85505         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85506         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85507         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85508         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85509         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85510         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85511         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85512         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85513         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85514         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
85515         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
85516         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
85517         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
85518         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
85519         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
85520         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
85521         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
85522         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
85523         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
85524         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
85525         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
85526         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
85527         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
85528         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
85529         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
85530         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
85531         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
85532         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
85533         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
85534         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
85535         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
85536         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
85537         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
85538         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
85539         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
85540         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
85541         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
85542         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
85543         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
85544         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
85545         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
85546         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
85547         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
85548         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
85549         * sysdeps/ieee754/s_lib_version.c: Likewise.
85550         * sysdeps/ieee754/s_matherr.c: Likewise.
85551         * sysdeps/ieee754/s_signgam.c: Likewise.
85552         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85553         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85554         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
85555         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
85556         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
85557         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
85558         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
85559         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
85560         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
85561         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
85562         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
85563         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
85564         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
85565         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
85566         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
85567         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
85568         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
85569         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
85570         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
85571         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
85572         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
85574 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85576         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
85577         * sunrpc/rpc_main.c: Likewise.
85578         * sunrpc/rpc_svcout.c: Likewise.
85580 2012-03-09  David S. Miller  <davem@davemloft.net>
85582         * include/math_private.h: New file.
85584 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
85586         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
85587         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
85588         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
85589         from <bits/socket_type.h>.
85590         (enum __socket_type): Don't define here.
85591         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
85592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85593         bits/socket_type.h.
85595         [BZ #13566]
85596         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
85597         checking __USE_GNU.
85599         * Makerules ($(inst_includedir)/%.h): New rule.
85600         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
85601         (install-others): Remove variable setting.
85602         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
85604 2012-03-08  Richard Henderson  <rth@twiddle.net>
85606         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
85607         from macro to inline function; merge with the
85608         !__LIBC_INTERNAL_MATH_INLINES version.
85609         (__ieee754_sqrtf): Likewise.
85611         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
85612         to inline function.
85613         (__rintf, __floor, __floorf): Likewise.
85615         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
85616         macro to inline function.
85617         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
85619         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
85620         not <math/math_private.h>.
85622 2012-03-08  David S. Miller  <davem@davemloft.net>
85624         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
85625         copyright year.
85626         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
85628 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
85630         * resolv/gai_misc.c (handle_requests): Fix struct timespec
85631         normalization.
85632         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
85633         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
85635 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
85637         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
85638         be defined individually, they must be defined as a block.  Define
85639         S for printing a string instead of hidint the different by using a
85640         macro for adding the 'l'.
85641         * stdio-common/tst-fphex-wide.c: Adjust.
85643 2012-03-07  Marek Polacek  <polacek@redhat.com>
85645         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
85647 2012-03-08  Marek Polacek  <polacek@redhat.com>
85649         [BZ #13806]
85650         * stdio-common/Makefile (tests): Add tst-fphex-wide.
85651         * stdio-common/tst-fphex.c: Define a few macros to make the
85652         test reusable.  Use them.
85653         * stdio-common/tst-fphex-wide.c: New file.
85655 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
85657         [BZ #6911]
85658         * manual/macros.texi (gnusystems): New macro.
85659         (nongnusystems): Likewise.
85660         (gnulinuxhurdsystems): Likewise.
85661         (gnuhurdsystems): Likewise..
85662         (gnulinuxsystems): Likewise.
85663         * manual/charset.texi: Use new macros or @theglibc{} to refer to
85664         variants of the GNU system, not "GNU system".
85665         * manual/conf.texi: Likewise.
85666         * manual/errno.texi: Likewise.  Update example of errno macro
85667         expansion.
85668         * manual/filesys.texi: Likewise.
85669         (getumask): Document as specific to GNU/Hurd.
85670         * manual/install.texi: Likewise.  Reword some references to
85671         GNU/Linux.
85672         * manual/intro.texi: Likewise.
85673         * manual/io.texi: Likewise.
85674         (File Name Portability): Detail which constraints are inapplicable
85675         to all GNU systems and which are only inapplicable to GNU/Hurd.
85676         * manual/job.texi: Likewise.
85677         * manual/llio.texi: Likewise.
85678         (O_NOCTTY): Document as present on GNU/Linux.
85679         * manual/maint.texi: Likewise.
85680         * manual/memory.texi: Likewise.
85681         * manual/pattern.texi: Likewise.
85682         * manual/pipe.texi: Likewise.
85683         * manual/process.texi: Likewise.
85684         * manual/resource.texi: Likewise.
85685         (RUSAGE_CHILDREN): Remove statement about specifying a particular
85686         child on GNU/Hurd.
85687         * manual/setjmp.texi: Likewise.
85688         * manual/signal.texi: Likewise.
85689         * manual/startup.texi: Likewise.
85690         * manual/stdio.texi: Likewise.
85691         * manual/terminal.texi: Likewise.
85692         (ONLCR): Document as POSIX.
85693         (OXTABS): Document availability on GNU/Linux as XTABS.
85694         (ONOEOT): Document availability separately from other bits.
85695         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
85696         * manual/time.texi: Likewise.
85697         * manual/users.texi: Likewise.
85698         * INSTALL: Regenerated.
85699         * sysdeps/gnu/errlist.c: Regenerated.
85701         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
85702         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
85703         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
85704         puts.
85705         * configure: Regenerated.
85707 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
85709         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
85710         default includes instead of AC_HEADER_CHECK.
85711         * sysdeps/i386/configure: Regenerated.
85713         [BZ #10716]
85714         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
85715         * math/s_cacoshf.c (__cacoshf): Likewise.
85716         * math/s_cacoshl.c (__cacoshl): Likewise.
85717         * math/s_casinh.c (__casinh): Set signs of result from argument.
85718         * math/s_casinhf.c (__casinhf): Likewise.
85719         * math/s_casinhl.c (__casinhl): Likewise.
85720         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
85721         (casinh_test): Add more tests.
85722         * sysdeps/i386/fpu/libm-test-ulps: Update.
85723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85725 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
85727         * po/zh_TW.po: Update from translation team.
85729         * login/Makefile (distribute): Remove variable.
85730         * catgets/Makefile: Likewise.
85731         * mach/Makefile: Likewise.
85732         * malloc/Makefile: Likewise.
85733         * misc/Makefile: Likewise.
85734         * iconv/Makefile: Likewise.
85735         * nscd/Makefile: Likewise.
85736         * hurd/Makefile: Likewise.
85737         * manual/Makefile: Likewise.
85738         * locale/Makefile: Likewise.
85739         * intl/Makefile: Likewise.
85740         * conform/Makefile: Likewise.
85741         * nss/Makefile: Likewise.
85742         * time/Makefile: Likewise.
85743         * soft-fp/Makefile: Likewise.
85744         * dirent/Makefile: Likewise.
85745         * gmon/Makefile: Likewise.
85746         * po/Makefile: Likewise.
85747         * rt/Makefile: Likewise.
85748         * socket/Makefile: Likewise.
85749         * math/Makefile: Likewise.
85750         * signal/Makefile: Likewise.
85751         * debug/Makefile: Likewise.
85752         * elf/Makefile: Likewise.
85753         * timezone/Makefile: Likewise.
85754         * stdlib/Makefile: Likewise.
85755         * iconvdata/Makefile: Likewise.
85756         * sunrpc/Makefile: Likewise.
85757         * io/Makefile: Likewise.
85758         * argp/Makefile: Likewise.
85759         * inet/Makefile: Likewise.
85760         * hesiod/Makefile: Likewise.
85761         * grp/Makefile: Likewise.
85762         * csu/Makefile: Likewise.
85763         * wctype/Makefile: Likewise.
85764         * crypt/Makefile: Likewise.
85765         * libio/Makefile: Likewise.
85766         * string/Makefile: Likewise.
85767         * nis/Makefile: Likewise.
85768         * resolv/Makefile: Likewise.
85769         * stdio-common/Makefile: Likewise.
85770         * wcsmbs/Makefile: Likewise.
85771         * dlfcn/Makefile: Likewise.
85772         * posix/Makefile: Likewise.
85774         [BZ #6959]
85775         * timezone/Makefile: Don't install timezone files, just the programs
85776         and scripts.
85778 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
85780         * nss/databases.def: Add missing gshadow entry.
85782         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
85784 2012-03-06  Marek Polacek  <polacek@redhat.com>
85786         [BZ #13726]
85787         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
85788         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
85789         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
85790         * stdio-common/tst-long-dbl-fphex.c: New file.
85792 2012-03-06  David S. Miller  <davem@davemloft.net>
85794         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85795         (set_obp_int): New function.
85796         (get_obp_int): New function.
85797         (__get_clockfreq_via_dev_openprom): Likewise.
85798         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
85799         Avoid unused variable warnings on 'val' and use builtin_expect.
85800         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
85801         __builtin_expect.
85802         (INLINE_CLONE_SYSCALL): Likewise.
85804 2012-03-05  David S. Miller  <davem@davemloft.net>
85806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85808 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
85810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85812         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
85813         only for |x| >= 40.
85814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85816 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
85818         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
85819         Replace gettimeofday with __vdso_gettimeofday.
85821         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85822         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
85823         __vdso_clock_gettime and __vdso_getcpu.
85825         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
85826         time with __vdso_time.
85828 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85830         * manual/lang.texi (size_t): Note types to which size_t may be
85831         equivalent with the GNU C Library, but do not describe when
85832         differences between them are significant.
85834 2012-03-05  Andreas Jaeger  <aj@suse.de>
85836         * sysdeps/i386/fpu/libm-test-ulps: Update.
85838 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
85840         [BZ #3976]
85841         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
85842         (__ieee754_pow): Save and restore rounding mode and use
85843         round-to-nearest for main computations.
85844         * math/libm-test.inc (pow_test_tonearest): New function.
85845         (pow_test_towardzero): Likewise.
85846         (pow_test_downward): Likewise.
85847         (pow_test_upward): Likewise.
85848         (main): Call the new functions.
85849         * sysdeps/i386/fpu/libm-test-ulps: Update.
85850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85852         [BZ #3976]
85853         * math/libm-test.inc (cosh_test_tonearest): New function.
85854         (cosh_test_towardzero): Likewise.
85855         (cosh_test_downward): Likewise.
85856         (cosh_test_upward): Likewise.
85857         (sinh_test_tonearest): Likewise.
85858         (sinh_test_towardzero): Likewise.
85859         (sinh_test_downward): Likewise.
85860         (sinh_test_upward): Likewise.
85861         (main): Call the new functions.
85862         * sysdeps/i386/fpu/libm-test-ulps: Update.
85863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85865 2012-03-05  Tom de Vries  <tom@codesourcery.com>
85867         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
85868         default stack guard is set in last bytes.
85869         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
85871 2012-03-05  Kees Cook  <keescook@chromium.org>
85873         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
85875         [BZ #13656]
85876         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
85877         possibly allocate from heap instead of stack.
85878         * stdio-common/bug-vfprintf-nargs.c: New file.
85879         * stdio-common/Makefile (tests): Add nargs overflow test.
85881 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
85883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85885 2012-03-03  Marek Polacek  <polacek@redhat.com>
85887         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
85888         * math/math_private.h: Likewise.
85889         * stdlib/tst-strtod.c: Likewise.
85890         * sysdeps/i386/i486/bits/atomic.h: Likewise.
85891         * sysdeps/x86_64/bits/atomic.h: Likewise.
85893 2012-03-02  David S. Miller  <davem@davemloft.net>
85895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
85896         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
85897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
85898         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
85899         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
85900         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
85901         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
85902         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
85904 2012-03-02  Roland McGrath  <roland@hack.frob.com>
85906         [BZ #13792]
85907         * manual/examples/README: New file, says the example source files
85908         can be used under GPL>=2.
85909         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
85910         line containing just "*/".
85911         * manual/examples/add.c: Add copyright header (GPL>=2).
85912         * manual/examples/argp-ex1.c: Likewise.
85913         * manual/examples/argp-ex2.c: Likewise.
85914         * manual/examples/argp-ex3.c: Likewise.
85915         * manual/examples/argp-ex4.c: Likewise.
85916         * manual/examples/atexit.c: Likewise.
85917         * manual/examples/db.c: Likewise.
85918         * manual/examples/dir.c: Likewise.
85919         * manual/examples/dir2.c: Likewise.
85920         * manual/examples/execinfo.c: Likewise.
85921         * manual/examples/filecli.c: Likewise.
85922         * manual/examples/filesrv.c: Likewise.
85923         * manual/examples/fmtmsgexpl.c: Likewise.
85924         * manual/examples/genpass.c: Likewise.
85925         * manual/examples/inetcli.c: Likewise.
85926         * manual/examples/inetsrv.c: Likewise.
85927         * manual/examples/isockad.c: Likewise.
85928         * manual/examples/longopt.c: Likewise.
85929         * manual/examples/memopen.c: Likewise.
85930         * manual/examples/memstrm.c: Likewise.
85931         * manual/examples/mkfsock.c: Likewise.
85932         * manual/examples/mkisock.c: Likewise.
85933         * manual/examples/mygetpass.c: Likewise.
85934         * manual/examples/pipe.c: Likewise.
85935         * manual/examples/popen.c: Likewise.
85936         * manual/examples/rprintf.c: Likewise.
85937         * manual/examples/search.c: Likewise.
85938         * manual/examples/select.c: Likewise.
85939         * manual/examples/setjmp.c: Likewise.
85940         * manual/examples/sigh1.c: Likewise.
85941         * manual/examples/sigusr.c: Likewise.
85942         * manual/examples/stpcpy.c: Likewise.
85943         * manual/examples/strdupa.c: Likewise.
85944         * manual/examples/strftim.c: Likewise.
85945         * manual/examples/strncat.c: Likewise.
85946         * manual/examples/subopt.c: Likewise.
85947         * manual/examples/swapcontext.c: Likewise.
85948         * manual/examples/termios.c: Likewise.
85949         * manual/examples/testopt.c: Likewise.
85950         * manual/examples/testpass.c: Likewise.
85951         * manual/examples/timeval_subtract.c: Likewise.
85953         [BZ #13792]
85954         * manual/time.texi (Elapsed Time): Move timeval_subtract example
85955         function to ...
85956         * manual/timeval_subtract.c.texi: ... here, new file.
85958 2012-03-02  David S. Miller  <davem@davemloft.net>
85960         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
85962 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
85964         [BZ #3976]
85965         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
85966         (__sin): Save and restore rounding mode and use round-to-nearest
85967         for all computations.
85968         (__cos): Save and restore rounding mode and use round-to-nearest
85969         for all computations.
85970         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
85971         <fenv.h>.
85972         (tan): Save and restore rounding mode and use round-to-nearest for
85973         all computations.
85974         * math/libm-test.inc (cos_test_tonearest): New function.
85975         (cos_test_towardzero): Likewise.
85976         (cos_test_downward): Likewise.
85977         (cos_test_upward): Likewise.
85978         (sin_test_tonearest): Likewise.
85979         (sin_test_towardzero): Likewise.
85980         (sin_test_downward): Likewise.
85981         (sin_test_upward): Likewise.
85982         (tan_test_tonearest): Likewise.
85983         (tan_test_towardzero): Likewise.
85984         (tan_test_downward): Likewise.
85985         (tan_test_upward): Likewise.
85986         (main): Call the new functions.
85987         * sysdeps/i386/fpu/libm-test-ulps: Update.
85988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85990         [BZ #10135]
85991         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
85992         small n, then large n, before computing and testing k+n.
85993         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
85994         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
85995         Likewise.
85996         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
85997         Likewise.
85998         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
85999         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
86000         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
86001         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
86002         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
86003         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
86004         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
86005         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
86006         * math/libm-test.inc (scalbn_test): Add more tests.
86007         (scalbln_test): Likewise.
86009         * manual/filesys.texi (mode_t): Describe constraints on size and
86010         signedness, not exact equivalence to a particular type.
86011         (ino_t): Likewise.
86012         (ino64_t): Likewise.
86013         (dev_t): Likewise.
86014         (nlink_t): Likewise.
86015         (blkcnt_t): Likewise.
86016         (blkcnt64_t): Likewise.
86017         * manual/llio.texi (off_t): Likewise.
86019         [BZ #3976]
86020         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86021         (__ieee754_exp): Save and restore rounding mode and use
86022         round-to-nearest for all computations.
86023         * math/libm-test.inc (exp_test_tonearest): New function.
86024         (exp_test_towardzero): Likewise.
86025         (exp_test_downward): Likewise.
86026         (exp_test_upward): Likewise.
86027         (main): Call the new functions.
86028         * sysdeps/i386/fpu/libm-test-ulps: Update.
86029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86031 2012-03-01  Chris Demetriou  <cgd@google.com>
86033         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86034         have predictable order.
86036 2012-03-01  David S. Miller  <davem@davemloft.net>
86038         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86040         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86041         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86042         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86043         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86045         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86046         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86047         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86049         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86050         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86051         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86052         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86053         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86057         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86058         * sysdeps/sparc/fpu/libm-test-ulps: to here.
86059         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86061         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86062         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86063         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86064         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
86065         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
86066         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
86067         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
86068         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86069         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86070         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
86071         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
86072         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86073         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86074         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86075         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86076         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86077         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
86078         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
86079         * sysdeps/sparc/elf/configure: Regenerated.
86081 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
86083         * configure.in (AS, LD): Require binutils 2.20 or later.
86084         * configure: Regenerated.
86085         * manual/install.texi (Tools for Compilation): Give binutils 2.20
86086         as required minimum version.
86087         * INSTALL: Regenerated.
86089         [BZ #2541]
86090         [BZ #4108]
86091         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
86092         before squaring exponent.
86093         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
86094         bottom long double and 27 bits of top long double before squaring
86095         exponent.
86096         * math/libm-test.inc (erfc_test): Add more tests.
86097         * sysdeps/i386/fpu/libm-test-ulps: Update.
86098         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86101 2012-03-01  Kai Tietz  <ktietz@redhat.com>
86103         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
86104         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
86105         containing bit-fields.
86106         * soft-fp/extended.h (_FP_UNION_E): Likewise.
86107         * soft-fp/single.h (_FP_UNION_S): Likewise.
86108         * soft-fp/double.h (_FP_UNION_D): Likewise.
86110 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86112         [BZ #13786]
86113         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
86114         not include ../strcmp.S.
86115         [USE_AS_STRNCASECMP_L]: Likewise.
86116         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
86117         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
86118         * sysdeps/i386/i686/multiarch/strncase_l-c.c
86119         (__strncasecmp_l_ia32): Define as alias to
86120         __strncasecmp_l_nonascii.
86122         [BZ #5794]
86123         * math/libm-test.inc (expm1_test): Add test for bug 5794.
86124         * sysdeps/i386/fpu/libm-test-ulps: Update.
86125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86127         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
86128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86130 2012-02-29  Jeff Law  <law@redhat.com>
86132         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
86133         out of bounds read.
86135 2012-02-29  Marek Polacek  <polacek@redhat.com>
86137         [BZ #13706]
86138         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
86139         * elf/Makefile: Add rules to run tst-unused-dep.out.
86141 2012-02-28  David S. Miller  <davem@davemloft.net>
86143         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
86144         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
86145         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
86146         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
86147         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
86148         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
86150 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
86152         * math/libm-test.inc (llround_test): Move one test from
86153         lround_test.  Use TEST_f_L in moved test.
86154         (lround_test): Move misplaced test to llround_test.  Add testcase
86155         from bug 2561.
86157 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
86159         * sysdeps/x86_64/fpu/e_expf.S: New file.
86160         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
86162 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
86164         [BZ #13637]
86165         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
86166         of remain_len that may cause incomplete multi-byte character and
86167         false match.
86168         * posix/bug-regex33.c: New file.
86169         * posix/Makefile (tests): Add bug-regex33.
86171 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
86173         * manual/macros.texi: New file.
86174         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
86175         * manual/libc.texinfo: Include macros.texi.
86176         * manual/creatute.texi: Likewise.
86177         * manual/install.texi: Likewise.
86178         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
86179         @glibcadj{} in references to the GNU C Library.
86180         * manual/charset.texi: Likewise.
86181         * manual/conf.texi: Likewise.
86182         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
86183         when not using those macros.
86184         * manual/creature.texi: Likewise.
86185         * manual/crypt.texi: Likewise.
86186         * manual/errno.texi: Likewise.
86187         * manual/filesys.texi: Likewise.
86188         * manual/header.texi: Likewise.
86189         * manual/install.texi: Likewise.
86190         * manual/intro.texi: Likewise.
86191         * manual/io.texi: Likewise.
86192         * manual/job.texi: Likewise.
86193         * manual/lang.texi: Likewise.
86194         * manual/libc.texiinfo: Likewise.
86195         * manual/llio.texi: Likewise.
86196         * manual/locale.texi: Likewise.
86197         * manual/maint.texi: Likewise.
86198         * manual/math.texi: Likewise.
86199         * manual/memory.texi: Likewise.
86200         * manual/message.texi: Likewise.
86201         * manual/nss.texi: Likewise.
86202         * manual/pattern.texi: Likewise.
86203         * manual/process.texi: Likewise.
86204         * manual/resource.texi: Likewise.
86205         * manual/search.texi: Likewise.
86206         * manual/setjmp.texi: Likewise.
86207         * manual/signal.texi: Likewise.
86208         * manual/socket.texi: Likewise.
86209         * manual/startup.texi: Likewise.
86210         * manual/stdio.texi: Likewise.
86211         * manual/string.texi: Likewise.
86212         * manual/sysinfo.texi: Likewise.
86213         * manual/syslog.texi: Likewise.
86214         * manual/terminal.texi: Likewise.
86215         * manual/time.texi: Likewise.
86216         * manual/users.texi: Likewise.
86217         * INSTALL: Regenerated.
86218         * NOTES: Regenerated.
86219         * sysdeps/gnu/errlist.c: Regenerated.
86221 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
86223         * include/dirent.h: Include <dirstream.h> before
86224         <dirent/dirent.h>.
86226 2012-02-28  David S. Miller  <davem@davemloft.net>
86228         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
86229         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
86230         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
86231         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
86233 2012-02-27  David S. Miller  <davem@davemloft.net>
86235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
86236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
86237         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
86238         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
86240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
86241         frame pointer instead of stack pointer relative arg slot.
86242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86243         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86244         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86246 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
86248         [BZ #3992]
86249         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
86251 2012-02-27  David S. Miller  <davem@davemloft.net>
86253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
86254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
86255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
86256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
86257         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
86258         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
86259         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
86260         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
86262 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86264         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
86265         later.  Allow versions 5-9.
86266         * configure: Regenerated.
86267         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
86268         required minimum version and 4.6 as recommended version.  Do not
86269         mention bugs in GCC 2.7 and 2.8.
86270         * INSTALL: Regenerated.
86272 2012-02-27  David S. Miller  <davem@davemloft.net>
86274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
86275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
86276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
86277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
86278         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
86279         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
86280         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
86281         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
86283         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
86284         manipulate bits before adding and subtracting TWO112[sx].
86285         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
86287 2012-02-27  Roland McGrath  <roland@hack.frob.com>
86289         [BZ #13775]
86290         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
86291         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
86292         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
86293         being in POSIX, because they are in 1003.1-2008.
86295         * rt/tst-aio.c: Include <fcntl.h>.
86296         * rt/tst-aio7.c: Likewise.
86297         * rt/tst-aio64.c: Likewise.
86299         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
86301 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
86303         * manual/install.texi (--with-headers): Describe headers as
86304         interface headers, not private headers.
86305         (Specific advice for GNU/Linux systems): Describe use of headers
86306         from "make headers_install", not private headers from older
86307         kernels.
86308         * INSTALL: Regenerated.
86309         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
86310         Change to 2.6.19.
86311         * sysdeps/unix/sysv/linux/configure: Regenerated.
86313         * manual/llio.texi (fclean): Remove documentation.
86315         * manual/Makefile (libc-texi-generated): New variable.  Include
86316         version.texi.
86317         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
86318         $(libc-texi-generated), not duplicated list of files.
86319         (version.texi, stamp-version): New rules.
86320         (realclean): Remove $(libc-texi-generated), not individual files
86321         from that list.  Do not remove dir-add.texinfo.
86322         * manual/libc.texinfo: Comment out uses of edition numbers and
86323         references to printed manual.  Remove last-updated dates.
86324         (EDITION): Comment out.
86325         (ISBN): Likewise.
86326         (VERSION, UPDATED): Remove.
86327         (version.texi): Include.
86329 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
86331         * sysdeps/posix/spawni.c: Include <signal.h>.
86332         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
86333         * sysdeps/pthread/aio_fsync.c: Likewise.
86335 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
86337         * conform/Makefile (tests): Run only when not cross-compiling and
86338         when fast-check is not defined.
86340         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
86341         * conform/data/limits.h-data: Fixes for POSIX2008.
86342         * conform/run-conformtest.sh: Run all tests.
86343         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
86344         headers.
86345         * include/bits/dlfcn.h: Likewise.
86346         * include/langinfo.h: Likewise.
86347         * include/monetary.h: Likewise.
86348         * include/sys/poll.h: Likewise.
86350         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
86351         for __USE_GNU.
86352         * posix/spawn.h: Define __need_sigset_t.
86353         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
86354         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
86355         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
86356         to get sigevent_t only.
86357         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
86358         only for __USE_GNU.
86359         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86360         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
86361         process_vm_writev only for __USE_GNU.
86362         * termios/termios.h: Declare tcgetsid also for POSIX2008.
86364         * conform/Makefile: For now ignore errors from run-conformtest.
86365         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
86366         POSIX to avoid namespace pollution.  Don't prepend headers.
86367         * conform/data/aio.h-data: Fixes for POSIX testing.
86368         * conform/data/fcntl.h-data: Likewise.
86369         * conform/data/glob.h-data: Likewise.
86370         * conform/data/grp.h-data: Likewise.
86371         * conform/data/pthread.h-data: Likewise.
86372         * conform/data/pwd.h-data: Likewise.
86373         * conform/data/signal.h-data: Likewise.
86374         * conform/data/spawn.h-data: Likewise.
86375         * conform/data/stdio.h-data: Likewise.
86376         * conform/data/stdlib.h-data: Likewise.
86377         * conform/data/stropts.h-data: Likewise.
86378         * conform/data/sys/mman.h-data: Likewise.
86379         * conform/data/sys/stat.h-data: Likewise.
86380         * conform/data/sys/types.h-data: Likewise.
86381         * conform/data/sys/wait.h-data: Likewise.
86382         * conform/data/time.h-data: Likewise.
86383         * conform/data/unistd.h-data: Likewise.
86384         * conform/data/utime.h-data: Likewise.
86386         * io/sys/stat.h: fchmod was always in POSIX.
86387         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
86388         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
86389         * rt/aio.h: Define __need_timespec before including <time.h>.
86390         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
86391         struct.  Add forward declaration of pthread_attr_t and use it in
86392         sigevent.
86393         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86394         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86395         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
86396         always remove CLK_TCK definition.
86398 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
86400         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
86402 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
86404         * conform/run-conformtest.sh: New file.
86405         * conform/Makefile: Run run-conformtest for tests.
86406         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
86407         support.
86409         * conform/data/uchar.h-data: New file.
86410         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
86411         * conform/data/arpa/inet.h-data: Likewise.
86412         * conform/data/assert.h-data: Likewise.
86413         * conform/data/complex.h-data: Likewise.
86414         * conform/data/cpio.h-data: Likewise.
86415         * conform/data/ctype.h-data: Likewise.
86416         * conform/data/dirent.h-data: Likewise.
86417         * conform/data/dlfcn.h-data: Likewise.
86418         * conform/data/errno.h-data: Likewise.
86419         * conform/data/fcntl.h-data: Likewise.
86420         * conform/data/float.h-data: Likewise.
86421         * conform/data/fmtmsg.h-data: Likewise.
86422         * conform/data/fnmatch.h-data: Likewise.
86423         * conform/data/ftw.h-data: Likewise.
86424         * conform/data/glob.h-data: Likewise.
86425         * conform/data/grp.h-data: Likewise.
86426         * conform/data/iconv.h-data: Likewise.
86427         * conform/data/inttypes.h-data: Likewise.
86428         * conform/data/langinfo.h-data: Likewise.
86429         * conform/data/libgen.h-data: Likewise.
86430         * conform/data/limits.h-data: Likewise.
86431         * conform/data/locale.h-data: Likewise.
86432         * conform/data/math.h-data: Likewise.
86433         * conform/data/monetary.h-data: Likewise.
86434         * conform/data/mqueue.h-data: Likewise.
86435         * conform/data/ndbm.h-data: Likewise.
86436         * conform/data/net/if.h-data: Likewise.
86437         * conform/data/netdb.h-data: Likewise.
86438         * conform/data/netinet/in.h-data: Likewise.
86439         * conform/data/nl_types.h-data: Likewise.
86440         * conform/data/poll.h-data: Likewise.
86441         * conform/data/pthread.h-data: Likewise.
86442         * conform/data/pwd.h-data: Likewise.
86443         * conform/data/regex.h-data: Likewise.
86444         * conform/data/sched.h-data: Likewise.
86445         * conform/data/search.h-data: Likewise.
86446         * conform/data/semaphore.h-data: Likewise.
86447         * conform/data/setjmp.h-data: Likewise.
86448         * conform/data/signal.h-data: Likewise.
86449         * conform/data/spawn.h-data: Likewise.
86450         * conform/data/stdarg.h-data: Likewise.
86451         * conform/data/stdio.h-data: Likewise.
86452         * conform/data/stdlib.h-data: Likewise.
86453         * conform/data/string.h-data: Likewise.
86454         * conform/data/strings.h-data: Likewise.
86455         * conform/data/stropts.h-data: Likewise.
86456         * conform/data/sys/ipc.h-data: Likewise.
86457         * conform/data/sys/mman.h-data: Likewise.
86458         * conform/data/sys/msg.h-data: Likewise.
86459         * conform/data/sys/resource.h-data: Likewise.
86460         * conform/data/sys/select.h-data: Likewise.
86461         * conform/data/sys/sem.h-data: Likewise.
86462         * conform/data/sys/shm.h-data: Likewise.
86463         * conform/data/sys/socket.h-data: Likewise.
86464         * conform/data/sys/stat.h-data: Likewise.
86465         * conform/data/sys/statvfs.h-data: Likewise.
86466         * conform/data/sys/time.h-data: Likewise.
86467         * conform/data/sys/timeb.h-data: Likewise.
86468         * conform/data/sys/times.h-data: Likewise.
86469         * conform/data/sys/types.h-data: Likewise.
86470         * conform/data/sys/uio.h-data: Likewise.
86471         * conform/data/sys/un.h-data: Likewise.
86472         * conform/data/sys/utsname.h-data: Likewise.
86473         * conform/data/sys/wait.h-data: Likewise.
86474         * conform/data/syslog.h-data: Likewise.
86475         * conform/data/tar.h-data: Likewise.
86476         * conform/data/termios.h-data: Likewise.
86477         * conform/data/utime.h-data: Likewise.
86478         * conform/data/utmpx.h-data: Likewise.
86479         * conform/data/varargs.h-data: Likewise.
86480         * conform/data/wchar.h-data: Likewise.
86481         * conform/data/wctype.h-data: Likewise.
86482         * conform/data/wordexp.h-data: Likewise.
86484         * include/stropts.h: New file.
86485         * include/uchar.h: New file.
86486         * include/aio.h: Changes to allow conformtest.pl to use the headers.
86487         * include/assert.h: Likewise.
86488         * include/ctype.h: Likewise.
86489         * include/dirent.h: Likewise.
86490         * include/dlfcn.h: Likewise.
86491         * include/fcntl.h: Likewise.
86492         * include/fnmatch.h: Likewise.
86493         * include/glob.h: Likewise.
86494         * include/grp.h: Likewise.
86495         * include/libio.h: Likewise.
86496         * include/locale.h: Likewise.
86497         * include/math.h: Likewise.
86498         * include/net/if.h: Likewise.
86499         * include/netdb.h: Likewise.
86500         * include/netinet/in.h: Likewise.
86501         * include/pthread.h: Likewise.
86502         * include/pwd.h: Likewise.
86503         * include/regex.h: Likewise.
86504         * include/sched.h: Likewise.
86505         * include/search.h: Likewise.
86506         * include/setjmp.h: Likewise.
86507         * include/signal.h: Likewise.
86508         * include/stdio.h: Likewise.
86509         * include/stdlib.h: Likewise.
86510         * include/string.h: Likewise.
86511         * include/sys/cdefs.h: Likewise.
86512         * include/sys/mman.h: Likewise.
86513         * include/sys/msg.h: Likewise.
86514         * include/sys/resource.h: Likewise.
86515         * include/sys/select.h: Likewise.
86516         * include/sys/socket.h: Likewise.
86517         * include/sys/stat.h: Likewise.
86518         * include/sys/statvfs.h: Likewise.
86519         * include/sys/time.h: Likewise.
86520         * include/sys/times.h: Likewise.
86521         * include/sys/uio.h: Likewise.
86522         * include/sys/utsname.h: Likewise.
86523         * include/sys/wait.h: Likewise.
86524         * include/termios.h: Likewise.
86525         * include/time.h: Likewise.
86526         * include/ulimit.h: Likewise.
86527         * include/unistd.h: Likewise.
86528         * include/utime.h: Likewise.
86529         * include/wchar.h: Likewise.
86530         * include/wctype.h: Likewise.
86531         * include/wordexp.h: Likewise.
86533         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
86535         * time/time.h: TIME_UTC must be a macro.
86536         Make timespec_get available for ISO C11 only as well.
86538 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
86540         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
86541         Reported by Peng Haitao <penght@cn.fujitsu.com>.
86543 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86545         * configure.in: Use -o not -a in test for unsupported multi-arch.
86547 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86549         * manual/texinfo.tex: Update to version 2012-01-19.16.
86551 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
86553         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
86555 2012-02-24  Roland McGrath  <roland@hack.frob.com>
86557         [BZ #13738]
86558         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
86559         * manual/fdl-1.3.texi: New file.
86560         * manual/fdl-1.1.texi: File removed.
86562         [BZ #13738]
86563         * manual/libc.texinfo (FDL_VERSION): New @set.
86564         Use it for mention of FDL in cover text.
86565         (Documentation License): Use it in @include file name.
86567 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86568             Roland McGrath  <roland@hack.frob.com>
86570         [BZ #5461]
86571         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
86572         (not LONG_LONG_MAX and LONG_LONG_MIN.
86573         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
86574         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
86575         name.
86576         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
86578 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86580         [BZ #2547]
86581         [BZ #11365]
86582         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
86583         manipulate bits before adding and subtracting TWO23[sx].
86584         * math/libm-test.inc (nearbyint_test): Add more tests.
86586 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86588         [BZ #2548]
86589         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
86590         bits before adding and subtracting TWO23[sx].
86591         * math/libm-test.inc (rint_test): Add more tests.
86592         (rint_test_tonearest): Likewise.
86593         (rint_test_towardzero): Likewise.
86594         (rint_test_downward): Likewise.
86595         (rint_test_upward: Likewise.
86597 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86599         [BZ #10110]
86600         * include/stdc-predef.h: New file.  Extracted from features.h.
86601         * include/features.h: Include stdc-predef.h.
86602         * Makefile (headers): Add stdc-predef.h.
86603         * CONFORMANCE (Compiler limitations): Update.
86605 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
86607         * manual/libc.texinfo (VERSION, UPDATED): Revert.
86609 2012-02-21  David S. Miller  <davem@davemloft.net>
86611         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
86612         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86614 2012-02-20  David S. Miller  <davem@davemloft.net>
86616         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
86617         using a normal save/restore sequence, rather than allocating a
86618         dummy stack frame just to store a frame pointer and restore.
86619         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86621 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86623         * manual/install.texi: Fix stray word in line-wrapped comment.
86625 2012-02-20  David S. Miller  <davem@davemloft.net>
86627         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
86628         both binutils and gcc support GOTDATA.
86630         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
86631         "rd %pc" in the PIC register setup sequences.
86633         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
86634         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
86635         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86636         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
86637         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
86638         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
86639         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86640         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
86641         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
86642         (SYSCALL_ERROR_HANDLER): Likewise.
86643         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
86644         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
86645         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
86646         (SYSCALL_ERROR_HANDLER): Likewise.
86648         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
86649         (HAVE_GCC_GOTDATA): New.
86650         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
86651         relocation support in both binutils and gcc.
86652         * sysdeps/sparc/elf/configure: Regenerate.
86654         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
86655         * sysdeps/sparc/sparc32/elf/configure: Delete.
86656         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
86657         * sysdeps/sparc/sparc64/elf/configure: Delete.
86658         * sysdeps/sparc/elf/configure.in: New file.
86659         * sysdeps/sparc/elf/configure: Generate.
86661         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
86662         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
86663         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86664         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
86665         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
86667 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86669         * manual/install.texi: Do not mention specific glibc version
86670         numbers.
86671         * manual/libc.texinfo (VERSION, UPDATED): Update.
86672         (@copying): Use @copyright{} and range of years.
86674 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
86676         [BZ #13695]
86677         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
86678         [crti.S not in sysdirs] (generated): Do not append.
86679         [crti.S not in sysdirs] (omit-deps): Likewise.
86680         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
86681         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
86682         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
86683         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
86684         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
86685         Likewise.
86686         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
86687         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
86688         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
86689         * csu/defs.awk: Remove file.
86690         * sysdeps/generic/initfini.c: Likewise.
86691         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
86692         variable.
86693         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
86694         Likewise.
86696 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86698         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
86699         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
86700         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
86701         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
86702         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86703         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
86704         <bits/epoll.h>.
86705         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
86706         (__EPOLL_PACKED): Define to empty if not defined by
86707         <bits/epoll.h>.
86708         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
86709         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86710         bits/epoll.h.
86712 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86714         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
86715         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
86716         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
86717         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
86718         <bits/timerfd.h>.
86719         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
86720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86721         bits/timerfd.h.
86723 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
86725         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
86726         in C locale.
86727         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
86728         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
86729         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
86730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86732 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
86734         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86735         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
86737 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
86739         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
86740         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
86741         defined.
86742         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
86743         Likewise.
86744         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
86745         entry for 2.16.
86747 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
86749         * math/w_acos.c: Use non-signaling floating-point comparisons.
86750         * math/w_acosf.c: Likewise.
86751         * math/w_acosh.c: Likewise.
86752         * math/w_acoshf.c: Likewise.
86753         * math/w_acoshl.c: Likewise.
86754         * math/w_acosl.c: Likewise.
86755         * math/w_asin.c: Likewise.
86756         * math/w_asinf.c: Likewise.
86757         * math/w_asinl.c: Likewise.
86758         * math/w_atanh.c: Likewise.
86759         * math/w_atanhf.c: Likewise.
86760         * math/w_atanhl.c: Likewise.
86761         * math/w_exp2.c: Likewise.
86762         * math/w_exp2f.c: Likewise.
86763         * math/w_exp2l.c: Likewise.
86764         * math/w_j0.c: Likewise.
86765         * math/w_j0f.c: Likewise.
86766         * math/w_j0l.c: Likewise.
86767         * math/w_j1.c: Likewise.
86768         * math/w_j1f.c: Likewise.
86769         * math/w_j1l.c: Likewise.
86770         * math/w_jn.c: Likewise.
86771         * math/w_jnf.c: Likewise.
86772         * math/w_log.c: Likewise.
86773         * math/w_log10.c: Likewise.
86774         * math/w_log10f.c: Likewise.
86775         * math/w_log10l.c: Likewise.
86776         * math/w_log2.c: Likewise.
86777         * math/w_log2f.c: Likewise.
86778         * math/w_log2l.c: Likewise.
86779         * math/w_logf.c: Likewise.
86780         * math/w_logl.c: Likewise.
86781         * math/w_sqrt.c: Likewise.
86782         * math/w_sqrtf.c: Likewise.
86783         * math/w_sqrtl.c: Likewise.
86784         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86785         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
86786         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86787         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
86788         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
86790 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86792         [BZ #9739]
86793         * manual/string.texi (strnlen): Use correct parameter name in
86794         equivalent expression.
86796 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86798         [BZ #11174]
86799         * manual/users.texi (seteuid): Consistently use neweuid for
86800         argument name.
86802 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
86804         [BZ #13704]
86805         * manual/nss.texi (Services in the NSS configuration): Correct
86806         list of services in example configuration file.
86808 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
86810         [BZ #11322]
86811         * manual/arith.texi: Remove statements about negative zero
86812         behaving identically to zero.
86814 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86816         [BZ #5993]
86817         * manual/install.texi: Do not document upgrading from libc5.
86819 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
86821         [BZ #4596]
86822         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
86824 2012-02-18  David S. Miller  <davem@davemloft.net>
86826         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
86827         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
86828         %o7 across the call.
86829         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
86830         instead.
86831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
86832         SETUP_PIC_REG_LEAF.
86833         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86834         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
86835         * sysdeps/sparc/crtn.S: Likewise.
86837 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
86839         * aout/Makefile: Remove.
86841 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
86843         [BZ #13058]
86844         * manual/examples/argp-ex1.c (main): Format definition in GNU
86845         style.
86846         * manual/examples/argp-ex2.c (main): Likewise.
86847         * manual/examples/argp-ex3.c (main): Likewise.
86848         * manual/examples/argp-ex4.c (main): Likewise.
86849         * manual/examples/longopt.c (main): Use new-style prototype
86850         definition.
86851         * manual/examples/strncat.c (main): Specify return type and use
86852         (void) for arguments.
86853         * manual/examples/subopt.c (main): Use char **argv argument.
86855 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86857         [BZ #5077]
86858         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
86859         rounding modes.
86861 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
86863         [BZ #6907]
86864         * manual/string.texi (strchr): Change when strchrnul is
86865         recommended.
86867 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
86869         [BZ #174]
86870         * manual/locale.texi (setlocale): Document LOCPATH.
86872 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86874         [BZ #10210]
86875         * manual/process.texi (execle): Move @dots{} before last argument.
86877 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
86879         [BZ #12047]
86880         * manual/charset.texi (Generic Charset Conversion): Fix typo
86881         (LC_TYPE -> LC_CTYPE).
86883 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
86885         [BZ #5805]
86886         * manual/arith.texi (scalbn): Use @var{} on parameter names.
86887         (scalbnf): Likewise.
86888         (scalbnl): Likewise.
86889         (scalbln): Likewise.
86890         (scalblnf): Likewise.
86891         (scalblnl): Likewise.
86892         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
86893         (vwarnx): Likewise.
86894         (verr): Likewise.
86895         (verrx): Likewise.
86896         * manual/filesys.texi (telldir): Use braces around return type.
86897         * manual/llio.texi (mmap): Add space after comma.
86898         (mmap64): Likewise.
86899         * manual/math.texi (jn): Use @var{} on parameter names.
86900         (jnf): Likewise.
86901         (jnl): Likewise.
86902         (yn): Likewise.
86903         (ynf): Likewise.
86904         (ynl): Likewise.
86905         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
86906         line.
86907         * manual/resource.texi (ulimit): Use @dots{} instead of literal
86908         "...".
86909         (sched_get_priority_min): Remove semicolon on @deftypefun line.
86910         (sched_get_priority_max): Likewise.
86911         * manual/signal.texi (sigvec): Add space after comma.
86912         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
86913         names.
86914         (if_indextoname): Likewise.
86915         (if_freenameindex): Likewise.
86916         (sendto): Use ',' instead of '.' in prototype.
86917         * manual/startup.texi (syscall): Use @dots{} instead of literal
86918         "...".
86919         * manual/stdio.texi (__fpending): Separate initial words of
86920         paragraph from @deftypefun line.
86921         * manual/syslog.texi (syslog): Use @dots{} instead of literal
86922         "...".
86923         (vsyslog): Use @var{} on parameter names.
86924         * manual/terminal.texi (stty): Use @var{} on parameter names.
86925         * manual/users.texi (getutmp): Use @var{} on parameter names.
86926         (getutmpx): Likewise.
86928 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86930         [BZ #6884]
86931         * manual/stdio.texi (fopen): Fix typos in description of
86932         ",ccs=STRING".
86934 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
86936         [BZ #4026]
86937         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
86938         get clock_id definition.
86940 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
86942         [BZ #4822]
86943         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
86944         (madvise): Cast every argument to void on its own.
86946 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86948         [BZ #9902]
86949         * manual/startup.texi (Exit Status): Fix typo.
86951 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
86953         [BZ #10140]
86954         * manual/examples/argp-ex1.c: Include <stdlib.h>.
86955         * manual/examples/argp-ex2.c: Likewise.
86956         * manual/examples/argp-ex3.c: Likewise.
86958 2012-02-16  Richard Henderson  <rth@redhat.com>
86960         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
86961         * sysdeps/s390/s390-32/initfini.c: Remove.
86962         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
86963         * sysdeps/s390/s390-64/initfini.c: Remove.
86965 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
86967         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
86968         compiler output for sysdeps/generic/initfini.c.
86969         * sysdeps/sh/elf/initfini.c: Remove file.
86971 2012-02-16  David S. Miller  <davem@davemloft.net>
86973         [BZ #11494]
86974         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
86976         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
86977         * sysdeps/sparc/crti.S: New file.
86978         * sysdeps/sparc/crtn.S: New file.
86979         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
86980         * sysdeps/sparc/sparc64/Makefile: Likewise.
86982 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
86984         [BZ #3335]
86985         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
86987 2012-02-15  Roland McGrath  <roland@hack.frob.com>
86989         [BZ #4822]
86990         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
86992         * mach/devstream.c (cookie_io_functions_t): Macro removed.
86993         (write, read, close): Likewise.
86994         Patch by Aurelien Jarno <aurelien@aurel32.net>.
86996 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
86998         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
86999         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
87000         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
87001         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
87002         <bits/signalfd.h>.
87003         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
87004         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87005         bits/signalfd.h.
87007 2012-02-14  Marek Polacek  <polacek@redhat.com>
87009         * sysdeps/x86_64/crti.S: New file.
87010         * sysdeps/x86_64/crtn.S: New file.
87011         * sysdeps/x86_64/elf/initfini.c: Remove file.
87013 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87015         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87016         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87017         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87018         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87019         <bits/inotify.h>.
87020         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87021         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87022         bits/inotify.h.
87024 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87026         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87027         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87028         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87029         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87030         <bits/eventfd.h>.
87031         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87032         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87033         bits/eventfd.h.
87035 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
87037         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87038         __feraiseexcept instead of feraiseexcept.
87040         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87041         nanosleep invocations.
87042         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87043         strings, and add error checking for a nanosleep invocations.
87045 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
87047         Replace FSF snail mail address with URLs, as per GNU coding standards.
87048         Most of the snail mail addresses were wrong anyway, and omitting
87049         them makes the source code easier to maintain.  Almost all of the
87050         changes are to license notices and to locale LC_IDENTIFICATION
87051         addresses, except for this one:
87052         * manual/libc.texinfo: In "Published by", give the FSF's URL,
87053         not its snail mail address.
87055 2012-02-09  Richard Henderson  <rth@twiddle.net>
87057         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87058         of kernel-features.h.
87060         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87062 2012-02-08  Marek Polacek  <polacek@redhat.com>
87064         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
87065         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
87066         * sysdeps/gnu/_G_config.h: Likewise.
87067         * sysdeps/generic/_G_config.h: Likewise.
87069 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
87071         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
87072         tests.
87073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87075         * sysdeps/powerpc/powerpc32/crti.S: New file.
87076         * sysdeps/powerpc/powerpc32/crtn.S: New file.
87077         * sysdeps/powerpc/powerpc64/crti.S: New file.
87078         * sysdeps/powerpc/powerpc64/crtn.S: New file.
87080         * Makeconfig (have-initfini): Don't set.
87081         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
87082         * configure.in (nopic_initfini): Don't substitute.
87083         * config.h.in (HAVE_INITFINI): Don't #undef.
87084         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
87085         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
87087 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
87089         Support crti.S and crtn.S provided directly by architectures.
87090         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
87091         [crti.S in sysdirs] (omit-deps): Likewise.
87092         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
87093         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
87094         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
87095         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
87096         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
87097         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
87098         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
87099         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
87100         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
87101         compiler output for sysdeps/generic/initfini.c.
87102         * sysdeps/i386/elf/Makefile: Remove file.
87103         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
87105 2012-02-07  Marek Polacek  <polacek@redhat.com>
87107         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
87108         * sysdeps/gnu/_G_config.h: Likewise.
87109         * sysdeps/mach/hurd/_G_config.h: Likewise.
87111 2012-02-07  Marek Polacek  <polacek@redhat.com>
87113         * math/Makefile (tests): Add tst-CMPLX2.
87114         * math/tst-CMPLX2.c: New file.
87116 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
87118         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87120         * math/libm-test.inc (jn_test): Add missing L suffix.
87122 2012-02-06  Marek Polacek  <polacek@redhat.com>
87124         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
87125         * sysdeps/i386/fpu/e_powf.S: Likewise.
87126         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
87127         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
87128         * sysdeps/i386/fpu/e_acosh.S: Likewise.
87129         * sysdeps/i386/fpu/e_pow.S: Likewise.
87130         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
87131         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
87132         * sysdeps/i386/fpu/s_expm1.S: Likewise.
87133         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
87134         * sysdeps/i386/fpu/e_log2.S: Likewise.
87135         * sysdeps/i386/fpu/e_log2l.S: Likewise.
87136         * sysdeps/i386/fpu/e_scalb.S: Likewise.
87137         * sysdeps/i386/fpu/e_powl.S: Likewise.
87138         * sysdeps/i386/fpu/s_log1p.S: Likewise.
87139         * sysdeps/i386/fpu/e_log10f.S: Likewise.
87140         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
87141         * sysdeps/i386/fpu/e_logl.S: Likewise.
87142         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
87143         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
87144         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
87145         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
87146         * sysdeps/i386/fpu/e_log2f.S: Likewise.
87147         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
87148         * sysdeps/i386/fpu/e_log.S: Likewise.
87149         * sysdeps/i386/fpu/s_cexp.S: Likewise.
87150         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
87151         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
87152         * sysdeps/i386/fpu/e_logf.S: Likewise.
87153         * sysdeps/i386/fpu/e_log10l.S: Likewise.
87154         * sysdeps/i386/fpu/e_atanh.S: Likewise.
87155         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
87156         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
87157         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
87158         * sysdeps/i386/fpu/e_log10.S: Likewise.
87159         * sysdeps/i386/fpu/s_frexp.S: Likewise.
87160         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
87161         * sysdeps/i386/fpu/s_asinh.S: Likewise.
87162         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
87163         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
87164         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
87165         * sysdeps/i386/asm-syntax.h: Likewise.
87166         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
87167         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
87168         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
87169         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
87170         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
87171         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
87172         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
87173         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
87174         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
87175         * sysdeps/powerpc/sysdep.h: Likewise.
87176         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
87177         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
87179 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87181         [BZ #411]
87182         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
87184 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
87186         * sysdeps/i386/sysdep.h: Include <features.h>.
87187         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
87188         version.
87190 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
87192         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
87193         Define.
87194         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
87195         LOAD_PIC_REG_STR.
87197 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87199         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
87200         (SETUP_PIC_REG): Use GET_PC_THUNK.
87201         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
87202         macro.
87204 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87206         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
87207         for non-PIC compilation.
87208         (SETUP_PIC_REG): Add .p2align directive.
87209         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
87210         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
87211         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
87212         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
87213         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
87214         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
87215         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
87216         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87217         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
87218         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
87219         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
87220         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
87221         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
87222         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
87223         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
87224         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
87225         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
87226         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
87227         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
87228         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
87229         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
87230         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
87231         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
87232         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
87233         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
87234         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
87235         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87236         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
87237         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
87238         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
87239         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
87240         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87241         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
87242         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
87243         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
87244         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
87245         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
87246         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
87247         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
87248         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
87249         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
87251 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
87253         * math/tst-CMPLX.c: Include <stdio.h>.
87255 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
87257         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
87258         float.
87259         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87260         * sysdeps/sparc/bits/mathdef.h: Likewise.
87262 2012-01-31  Marek Polacek  <polacek@redhat.com>
87264         * libio/libio.h: Don't define _PARAMS.
87265         * locale/programs/config.h: Don't define PARAMS.
87266         * stdlib/strtol_l.c: Likewise.
87267         (__strtol_l): Remove PARAMS from the prototype.
87269 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
87271         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
87272         names.  Just use the correct names.  Remove unnecessary wrapper
87273         functions.
87274         * malloc/arena.c: Likewise.
87275         * malloc/hooks.c: Likewise.
87277         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
87278         ARENA_TEST says not to.  Simplify test for creation of a new arena.
87279         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
87281 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
87283         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
87284         into tail calls.
87285         (update_get_addr): New function.
87286         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
87287         GET_ADDR_MODULE parameter.
87289 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87291         * crypt/cert.c: Remove __STDC__ conditionals.
87292         * crypt/crypt-entry.c: Likewise.
87293         * crypt/crypt_util.c: Likewise.
87294         * libio/filedoalloc.c: Likewise.
87295         * libio/fileops.c: Likewise.
87296         * libio/genops.c: Likewise.
87297         * libio/iofclose.c: Likewise.
87298         * libio/iofdopen.c: Likewise.
87299         * libio/iofopen.c: Likewise.
87300         * libio/iofopen64.c: Likewise.
87301         * libio/iogetdelim.c: Likewise.
87302         * libio/iopopen.c: Likewise.
87303         * libio/obprintf.c: Likewise.
87304         * libio/oldfileops.c: Likewise.
87305         * libio/oldiofclose.c: Likewise.
87306         * libio/oldiofdopen.c: Likewise.
87307         * libio/oldiofopen.c: Likewise.
87308         * libio/oldiopopen.c: Likewise.
87309         * libio/wfiledoalloc.c: Likewise.
87310         * libio/wgenops.c: Likewise.
87311         * locale/programs/xmalloc.c: Likewise.
87312         * misc/syslog.c: Likewise.
87313         * stdio-common/xbug.c: Likewise.
87314         * string/memchr.c: Likewise.
87315         * string/memcmp.c: Likewise.
87316         * string/memrchr.c: Likewise.
87317         * string/rawmemchr.c: Likewise.
87318         * sysdeps/posix/getcwd.c: Likewise.
87319         * time/strftime_l.c: Likewise.
87321 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
87323         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
87324         * config.make.in (config-cflags-sse2avx): Define.
87325         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
87326         Fix typo.
87328 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
87330         * scripts/config.guess: Update from upstream config git repository.
87331         * scripts/config.sub: Likewise.
87333 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
87335         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
87336         (EM_NUM): Update.
87337         (R_TILEPRO_*, R_TILEGX_*): New macros.
87339         * scripts/firstversions.awk: Fix bug in version range handling.
87341         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
87343         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
87345         * include/sys/epoll.h: New file.
87346         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
87347         libc_hidden_def.
87349 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
87351         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
87352         Avoid unnecessary __WORDSIZE == 64 test.
87353         (fmaxf): Use VEX format if possible.
87354         (fmax): Likewise.
87355         (fminf): Likewise.
87356         (fmin): Likewise.
87358         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
87359         * math/math_private.h: Remove libc_fegetround* and
87360         libc_fesetround*.
87361         * sysdeps/i386/configure.in: Check for -msse2avx.
87362         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
87363         also if SSE2AVX is defined.
87364         Remove libc_fegetround* and libc_fesetround*.
87365         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
87366         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
87367         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
87368         of HAS_YMM_USABLE.
87369         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87370         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87371         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87372         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87373         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87375         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
87377 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87379         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
87380         size is not set.
87381         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87383 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
87385         [BZ #13618]
87386         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
87387         relocation.
87388         * Makeconfig (libm): Define.
87389         * elf/Makefile: Add rules to build and run tst-relsort1.
87390         * elf/tst-relsort1.c: New file.
87391         * elf/tst-relsort1mod1.c: New file.
87392         * elf/tst-relsort1mod2.c: New file.
87394 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
87396         * math/s_ldexp.c: Remove __STDC__ conditionals.
87397         * math/s_ldexpf.c: Likewise.
87398         * math/s_ldexpl.c: Likewise.
87399         * math/s_nextafter.c: Likewise.
87400         * math/s_nexttowardf.c: Likewise.
87401         * math/s_significand.c: Likewise.
87402         * math/s_significandf.c: Likewise.
87403         * math/s_significandl.c: Likewise.
87404         * math/w_jnl.c: Likewise.
87405         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87406         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87407         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87408         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87409         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87410         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87411         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
87412         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87413         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87414         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87415         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87416         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87417         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87418         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87419         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87420         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87421         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87422         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87423         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87424         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87425         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87426         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87427         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87428         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87429         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87430         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87431         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87432         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87433         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87434         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87435         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87436         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87437         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87438         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87439         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87440         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87441         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87442         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87443         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87444         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87445         * sysdeps/ieee754/k_standard.c: Likewise.
87446         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87447         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87448         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87449         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87450         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87451         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87452         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87453         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87454         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87455         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87456         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87457         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87458         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87459         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87460         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87461         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87462         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87463         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87464         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87465         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87466         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87467         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87468         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87469         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87470         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87471         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87472         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87473         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87474         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87475         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87476         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87477         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
87478         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87479         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87480         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87481         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87482         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
87483         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87484         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87485         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
87486         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
87487         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87488         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
87489         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
87490         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87491         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
87492         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
87493         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87494         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87495         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
87496         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
87497         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87498         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87499         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87500         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87501         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87502         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
87503         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87504         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87505         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87506         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87507         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87508         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87509         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87510         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87511         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87512         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87513         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87514         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87515         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87516         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87517         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87518         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87519         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87520         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87521         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87522         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87523         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87524         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87525         * sysdeps/ieee754/s_matherr.c: Likewise.
87526         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87527         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87528         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87529         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87531 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87533         * crypt/md5.h: Remove __STDC__ conditionals.
87534         * libio/libioP.h: Likewise.
87535         * locale/programs/config.h: Likewise.
87536         * sysdeps/generic/sysdep.h: Likewise.
87537         * sysdeps/i386/asm-syntax.h: Likewise.
87538         * sysdeps/s390/asm-syntax.h: Likewise.
87539         * sysdeps/unix/sysdep.h: Likewise.
87540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
87541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
87543 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
87545         * libio/libio.h: Remove __STDC__ conditionals.
87546         * malloc/obstack.h: Likewise.
87547         * math/complex.h: Likewise.
87548         * math/math.h: Likewise.
87549         * sysdeps/generic/_G_config.h: Likewise.
87550         * sysdeps/gnu/_G_config.h: Likewise.
87551         * sysdeps/mach/hurd/_G_config.h: Likewise.
87552         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87553         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
87554         * sysdeps/sparc/bits/mathdef.h: Likewise.
87556 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
87558         [BZ #13583]
87559         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
87560         Clean up HAS_* macros.
87561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
87562         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
87563         possible.
87564         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
87565         HAS_AVX.
87566         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87567         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87568         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87569         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87570         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87572 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
87574         * elf/tst-unique3.cc (gets): Remove declaration.
87575         * elf/tst-unique3lib.cc (gets): Likewise.
87576         * elf/tst-unique3lib2.cc (gets): Likewise.
87577         * elf/tst-unique4.cc (gets): Likewise.
87579 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
87581         * include/stdio.h: Add C++ protection.  Add gets declarations and
87582         definitions.
87583         * debug/tst-chk1.c: Don't declare gets here.
87584         * stdio-common/tst-gets.c: Likewise.
87586 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87588         * posix/glob: Remove directory.
87590 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
87592         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
87594 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
87596         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
87597         of the non-standard EPFNOSUPPORT.
87599 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87601         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
87602         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
87603         ANYWHERE set to 1 only on KERN_NO_SPACE error.
87605 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
87607         * wcsmbs/uchar.h: Test __STDC_VERSION__.
87609 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
87611         * nscd/aicache.c (addhstaiX): Do not cache negative results of
87612         transient errors.
87613         * nscd/grpcache.c (cache_addgr): Likewise.
87614         * nscd/hstcache.c (cache_addhst): Likewise.
87615         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87616         * nscd/pwdcache.c (cache_addpw): Likewise.
87617         * nscd/servicescache.c (cache_addserv): Likewise.
87619 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
87621         * malloc/malloc.c: Various cleanups.
87622         * malloc/hooks.c: Likewise.
87624         * stdlib/Makefile (tests): Add bug-fmtmsg1.
87625         * stdlib/bug-fmtmsg1.c: New file.
87627         * stdlib/fmtmsg.c (init): Add missing unlock.
87628         Patch by Peng Haitao <penght@cn.fujitsu.com>.
87630 2012-01-12  Marek Polacek  <polacek@redhat.com>
87632         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
87633         and _GNU_SOURCE.
87635 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
87637         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
87638         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
87639         macro to ensure uniqueness of label name.
87640         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
87641         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
87643 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
87645         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
87647         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
87648         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87649         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87650         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
87652 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
87654         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
87656         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
87657         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87658         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87660         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
87662         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
87663         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87664         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87665         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
87667         * math/bits/math-finite.h: Add ldexp support.
87669 2012-01-10  Marek Polacek  <polacek@redhat.com>
87671         * locale/programs/localedef.h (show_archive_content): Add noreturn
87672         attribute.
87674 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
87676         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
87678 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87680         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
87682         * io/Makefile (headers): Add bits/poll2.h.
87684 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
87686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
87687         typo #include statement.
87689 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87691         * include/sys/cdefs.h: Define __attribute_alloc_size.
87692         * catgets/gencat.c: Add alloc_size attribute and apply consistently
87693         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
87694         * elf/pldd.c: Likewise.
87695         * iconv/iconv_charmap.c: Likewise.
87696         * iconv/iconvconfig.c: Likewise.
87697         * iconv/strtab.c: Likewise.
87698         * locale/programs/locale.c: Likewise.
87699         * locale/programs/localedef.h: Likewise.
87700         * locale/programs/simple-hash.c: Likewise.
87701         * nscd/nscd.h: Likewise.
87702         * nss/makedb.c: Likewise.
87703         * sysdeps/generic/ldconfig.h: Likewise.
87704         * locale/programs/localedef.c: Remove xmalloc prototype.
87705         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
87707 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87709         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
87710         appropriate.
87712 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
87714         * math/Makefile (tests): Add tst-CMPLX.
87715         * math/tst-CMPLX.c: New file.
87717         * math/complex.h (CMPLXL): Fix typo.
87719         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
87720         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
87721         GLIBC_2.16.
87722         * debug/tst-chk1.c: Add poll and ppoll tests.
87723         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
87724         * include/sys/poll.h: Add hidden proto for ppoll.
87725         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
87726         * sysdeps/mach/hurd/ppoll.c: Likewise.
87727         * io/ppoll.c: Likewise.
87728         * debug/poll_chk.c: New file.
87729         * debug/ppoll_chk.c: New file.
87730         * include/bits/poll2.h: New file.
87731         * io/bits/poll2.h: New file.
87733         [BZ #1350]
87734         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
87736         * configure.in: static is always set to yes.  Remove.
87737         * config.make.in: Don't set build-static.
87738         * Makeconfig: Remove use of build-static.
87739         * dlfcn/Makefile: Likewise.
87740         * elf/Makefile: Likewise.
87741         * math/Makefile: Likewise.
87742         * misc/Makefile: Likewise.
87743         * nptl/Makefile: Likewise.
87744         * sysdeps/mach/hurd/Makefile: Likewise.
87746         * configure.in: PWD_P is not used anymore.
87747         * config.make.in: Remove PWD_P entry.
87749         * configure.in: Remove last remnants of RANLIB.
87750         No need to check for signed size_t anymore.
87751         Don't set libc_commonpagesize and libc_relro_required here for Alpha
87752         and IA-64.
87753         Remove __builtin_expect test because we require at least gcc 3.4.
87754         * aclocal.m4: Likewise.
87756         * wcsmbs/mbrtoc16.c: Implement using towc function.
87757         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
87758         * wcsmbs/wcsmbsload.c: Likewise.
87759         * iconv/gconv_simple.c: Likewise.
87760         * iconv/gconv_int.h: Likewise.
87761         * iconv/gconv_builtin.h: Likewise.
87762         * iconv/iconv_prog.c: Remove CHAR16 handling.
87764         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
87766         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
87768         * configure.in: Remove --with-elf and --enable-bounded options.
87769         Dont set base_machine for ia64.  More non-ELF conditions removed.
87770         Remove testing and setting of leading underscore information.
87771         * config.make.in (build-bounded): Set to no.
87772         * config.h.in: Remove NO_UNDERSCORES entry.
87773         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
87774         them.
87775         * csu/start.c: Remove !NO_UNDERSCORE code.
87776         * locale/localeinfo.h: Likewise.
87777         * sysdeps/generic/machine-gmon.h: Likewise.
87778         * sysdeps/generic/sysdep.h: Likewise.
87779         * sysdeps/i386/sysdep.h: Likewise.
87780         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
87781         * sysdeps/mach/sysdep.h: Likewise.
87782         * sysdeps/s390/s390-32/sysdep.h: Likewise.
87783         * sysdeps/s390/s390-64/sysdep.h: Likewise.
87784         * sysdeps/sh/sysdep.h: Likewise.
87785         * sysdeps/sparc/sparc32/alloca.S: Likewise.
87786         * sysdeps/unix/i386/sysdep.S: Likewise.
87787         * sysdeps/unix/sparc/start.c: Likewise.
87788         * sysdeps/unix/sparc/sysdep.S: Likewise.
87789         * sysdeps/unix/sparc/sysdep.h: Likewise.
87790         * sysdeps/unix/start.c: Likewise.
87791         * sysdeps/unix/x86_64/sysdep.S: Likewise.
87792         * sysdeps/x86_64/sysdep.h: Likewise.
87794 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
87796         [BZ #13553]
87797         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
87798         for non-gcc.
87799         * argp/argp-fmtstream.h: Use const instead __const.
87800         * argp/argp.h: Likewise.
87801         * assert/assert.h: Likewise.
87802         * bits/fenv.h: Likewise.
87803         * bits/sched.h: Likewise.
87804         * bits/sigset.h: Likewise.
87805         * bits/sigthread.h: Likewise.
87806         * catgets/nl_types.h: Likewise.
87807         * conform/data/pthread.h-data: Likewise.
87808         * crypt/crypt-private.h: Likewise.
87809         * crypt/crypt.h: Likewise.
87810         * crypt/crypt_util.c: Likewise.
87811         * ctype/ctype.h: Likewise.
87812         * debug/execinfo.h: Likewise.
87813         * debug/mbsnrtowcs_chk.c: Likewise.
87814         * debug/mbsrtowcs_chk.c: Likewise.
87815         * debug/wcsnrtombs_chk.c: Likewise.
87816         * debug/wcsrtombs_chk.c: Likewise.
87817         * debug/wcstombs_chk.c: Likewise.
87818         * dirent/dirent.h: Likewise.
87819         * dlfcn/dlfcn.h: Likewise.
87820         * elf/neededtest4.c: Likewise.
87821         * grp/grp.h: Likewise.
87822         * gshadow/gshadow.h: Likewise.
87823         * iconv/gconv.h: Likewise.
87824         * iconv/gconv_int.h: Likewise.
87825         * iconv/gconv_simple.c: Likewise.
87826         * iconv/iconv.h: Likewise.
87827         * iconv/loop.c: Likewise.
87828         * iconv/skeleton.c: Likewise.
87829         * include/aio.h: Likewise.
87830         * include/aliases.h: Likewise.
87831         * include/argz.h: Likewise.
87832         * include/arpa/inet.h: Likewise.
87833         * include/assert.h: Likewise.
87834         * include/dirent.h: Likewise.
87835         * include/dlfcn.h: Likewise.
87836         * include/execinfo.h: Likewise.
87837         * include/fcntl.h: Likewise.
87838         * include/fenv.h: Likewise.
87839         * include/glob.h: Likewise.
87840         * include/grp.h: Likewise.
87841         * include/libintl.h: Likewise.
87842         * include/mntent.h: Likewise.
87843         * include/netdb.h: Likewise.
87844         * include/pwd.h: Likewise.
87845         * include/rpc/netdb.h: Likewise.
87846         * include/sched.h: Likewise.
87847         * include/search.h: Likewise.
87848         * include/shadow.h: Likewise.
87849         * include/signal.h: Likewise.
87850         * include/stdio.h: Likewise.
87851         * include/stdlib.h: Likewise.
87852         * include/string.h: Likewise.
87853         * include/sys/socket.h: Likewise.
87854         * include/sys/stat.h: Likewise.
87855         * include/sys/statfs.h: Likewise.
87856         * include/sys/statvfs.h: Likewise.
87857         * include/sys/syslog.h: Likewise.
87858         * include/sys/time.h: Likewise.
87859         * include/sys/uio.h: Likewise.
87860         * include/time.h: Likewise.
87861         * include/unistd.h: Likewise.
87862         * include/utmp.h: Likewise.
87863         * include/wchar.h: Likewise.
87864         * include/wctype.h: Likewise.
87865         * inet/aliases.h: Likewise.
87866         * inet/arpa/inet.h: Likewise.
87867         * inet/netinet/ether.h: Likewise.
87868         * inet/netinet/in.h: Likewise.
87869         * intl/libintl.h: Likewise.
87870         * io/bits/fcntl2.h: Likewise.
87871         * io/fcntl.h: Likewise.
87872         * io/ftw.h: Likewise.
87873         * io/sys/poll.h: Likewise.
87874         * io/sys/stat.h: Likewise.
87875         * io/sys/statfs.h: Likewise.
87876         * io/sys/statvfs.h: Likewise.
87877         * io/utime.h: Likewise.
87878         * libio/bits/stdio.h: Likewise.
87879         * libio/bits/stdio2.h: Likewise.
87880         * libio/libio.h: Likewise.
87881         * libio/libioP.h: Likewise.
87882         * libio/stdio.h: Likewise.
87883         * locale/lc-ctype.c: Likewise.
87884         * locale/locale.h: Likewise.
87885         * login/utmp.h: Likewise.
87886         * malloc/arena.c: Likewise.
87887         * malloc/malloc.c: Likewise.
87888         * malloc/malloc.h: Likewise.
87889         * malloc/mcheck.c: Likewise.
87890         * malloc/mtrace.c: Likewise.
87891         * math/bits/mathcalls.h: Likewise.
87892         * math/fenv.h: Likewise.
87893         * math/math_private.h: Likewise.
87894         * misc/bits/error.h: Likewise.
87895         * misc/bits/syslog.h: Likewise.
87896         * misc/err.h: Likewise.
87897         * misc/error.h: Likewise.
87898         * misc/fstab.h: Likewise.
87899         * misc/mntent.h: Likewise.
87900         * misc/regexp.h: Likewise.
87901         * misc/search.h: Likewise.
87902         * misc/sgtty.h: Likewise.
87903         * misc/sys/mman.h: Likewise.
87904         * misc/sys/syslog.h: Likewise.
87905         * misc/sys/uio.h: Likewise.
87906         * misc/sys/xattr.h: Likewise.
87907         * misc/ttyent.h: Likewise.
87908         * nis/rpcsvc/ypclnt.h: Likewise.
87909         * nss/nss.h: Likewise.
87910         * posix/bits/unistd.h: Likewise.
87911         * posix/fnmatch.h: Likewise.
87912         * posix/glob.h: Likewise.
87913         * posix/sched.h: Likewise.
87914         * posix/spawn.h: Likewise.
87915         * posix/sys/wait.h: Likewise.
87916         * posix/unistd.h: Likewise.
87917         * posix/wordexp.h: Likewise.
87918         * pwd/pwd.h: Likewise.
87919         * resolv/netdb.h: Likewise.
87920         * resource/sys/resource.h: Likewise.
87921         * rt/aio.h: Likewise.
87922         * rt/bits/mqueue2.h: Likewise.
87923         * rt/mqueue.h: Likewise.
87924         * shadow/shadow.h: Likewise.
87925         * signal/signal.h: Likewise.
87926         * socket/send.c: Likewise.
87927         * socket/sendto.c: Likewise.
87928         * socket/sys/socket.h: Likewise.
87929         * stdio-common/printf.h: Likewise.
87930         * stdlib/bits/stdlib.h: Likewise.
87931         * stdlib/fmtmsg.h: Likewise.
87932         * stdlib/monetary.h: Likewise.
87933         * stdlib/stdlib.h: Likewise.
87934         * stdlib/ucontext.h: Likewise.
87935         * streams/stropts.h: Likewise.
87936         * string/argz.h: Likewise.
87937         * string/bits/string2.h: Likewise.
87938         * string/string.h: Likewise.
87939         * string/strings.h: Likewise.
87940         * sunrpc/rpc/auth.h: Likewise.
87941         * sunrpc/rpc/auth_des.h: Likewise.
87942         * sunrpc/rpc/clnt.h: Likewise.
87943         * sunrpc/rpc/netdb.h: Likewise.
87944         * sunrpc/rpc/pmap_clnt.h: Likewise.
87945         * sunrpc/rpc/xdr.h: Likewise.
87946         * sysdeps/generic/inttypes.h: Likewise.
87947         * sysdeps/generic/net/if.h: Likewise.
87948         * sysdeps/generic/sys/swap.h: Likewise.
87949         * sysdeps/gnu/net/if.h: Likewise.
87950         * sysdeps/gnu/utmpx.h: Likewise.
87951         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
87952         * sysdeps/i386/i486/bits/string.h: Likewise.
87953         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
87954         * sysdeps/s390/bits/string.h: Likewise.
87955         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
87956         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
87957         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
87958         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
87959         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
87960         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
87961         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
87962         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
87963         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
87964         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
87965         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
87966         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
87967         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
87968         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
87969         * sysdeps/unix/sysv/linux/readv.c: Likewise.
87970         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
87971         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
87972         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87973         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
87974         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
87975         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
87976         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
87977         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
87978         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
87979         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
87980         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
87981         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
87982         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87983         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
87984         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
87985         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
87986         * sysvipc/sys/ipc.h: Likewise.
87987         * sysvipc/sys/msg.h: Likewise.
87988         * sysvipc/sys/sem.h: Likewise.
87989         * sysvipc/sys/shm.h: Likewise.
87990         * termios/termios.h: Likewise.
87991         * time/sys/time.h: Likewise.
87992         * time/time.h: Likewise.
87993         * wcsmbs/bits/wchar2.h: Likewise.
87994         * wcsmbs/uchar.h: Likewise.
87995         * wcsmbs/wchar.h: Likewise.
87996         * wctype/wctype.h: Likewise.
87998         [BZ #13551]
87999         * Makeconfig: Remove all but ELF support including AIX support.
88000         * Makerules: Likewise.
88001         * config.h.in: Likewise.
88002         * config.make.in: Likewise.
88003         * configure: Likewise.
88004         * configure.in: Likewise.
88005         * csu/Makefile: Likewise.
88006         * csu/version.c: Likewise.
88007         * debug/Makefile: Likewise.
88008         * dlfcn/Makefile: Likewise.
88009         * elf/Makefile: Likewise.
88010         * extra-lib.mk: Likewise.
88011         * iconv/Makefile: Likewise.
88012         * include/libc-symbols.h: Likewise.
88013         * include/shlib-compat.h: Likewise.
88014         * resolv/Makefile: Likewise.
88015         * resolv/res_libc.c: Likewise.
88016         * rt/Makefile: Likewise.
88017         * sysdeps/i386/asm-syntax.h: Likewise.
88018         * sysdeps/i386/sysdep.h: Likewise.
88019         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88020         * sysdeps/mach/sysdep.h: Likewise.
88021         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88022         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88023         * sysdeps/s390/asm-syntax.h: Likewise.
88024         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88025         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88026         * sysdeps/sh/sysdep.h: Likewise.
88027         * sysdeps/unix/sparc/sysdep.h: Likewise.
88028         * sysdeps/wordsize-32/divdi3.c: Likewise.
88029         * sysdeps/x86_64/sysdep.h: Likewise.
88031         * argp/Versions: Remove _argp_unlock_xxx.
88033         [BZ #13559]
88034         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
88035         * abilist/libBrokenLocale.abilist: Likewise.
88036         * abilist/libanl.abilist: Likewise.
88037         * abilist/libc.abilist: Likewise.
88038         * abilist/libcrypt.abilist: Likewise.
88039         * abilist/libdl.abilist: Likewise.
88040         * abilist/libm.abilist: Likewise.
88041         * abilist/libnsl.abilist: Likewise.
88042         * abilist/libpthread.abilist: Likewise.
88043         * abilist/libresolv.abilist: Likewise.
88044         * abilist/librt.abilist: Likewise.
88045         * abilist/libthread_db.abilist: Likewise.
88046         * abilist/libutil.abilist: Likewise.
88047         * abilist/libnss_db.abilist: New file.
88049         * scripts/abilist.awk: Add support for indirect functions.
88051         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88053         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88055         * shlib-versions: Remove entries for ports architectures.
88057         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
88058         files in ports.
88059         * elf/stackguard-macros.h: Remove support for IA-64.
88060         * elf/tst-auditmod1.c: Likewise.
88061         * sysdeps/generic/ldsodefs.h: Likewise.
88063         * sysdeps/unix/sysv/linux/configure.in: Ports should define
88064         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
88065         configure files.
88067         [BZ #13552]
88068         * configure.in: Remove --enable-omitfp support.
88069         * FAQ.in: Adjust.
88070         * config.make.in: Likewise.
88071         * Makeconfig: Likewise.
88072         * manual/install.texi: Likewise.
88074         In case anyone cares, the IA-64 architecture could move to ports.
88075         * sysdeps/ia64/*: Removed.
88076         * sysdeps/unix/sysv/linux/ia64/*: Removed.
88077         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
88079         [BZ #13555]
88080         * configure.in: Remove entries for unsupported architectures.
88082         [BZ #13533]
88083         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
88084         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
88085         routines.
88086         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
88087         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
88088         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
88089         fall back to using wcrtomb.
88090         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
88091         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
88092         renaming.
88093         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
88094         * wcsmbs/tst-c16c32-1.c: New file.
88096         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
88097         local variable.
88099         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
88101         * elf/tst-unique3.cc: Add explicit declaration of gets.
88102         * elf/tst-unique3lib.cc: Likewise.
88103         * elf/tst-unique3lib2.cc: Likewise.
88104         * elf/tst-unique4.cc: Likewise.
88106         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
88108 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
88110         [BZ #13566]
88111         * assert/assert.h (static_assert): Don't define for C++.
88112         * libio/stdio.h (gets): Do declare for C++ <= C++11.
88113         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
88115 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
88117         * iconv/loop.c (single loop): Fix assertion in storing of
88118         remaining bytes.
88120         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
88122 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
88124         * posix/getconf.c: Update copyright year.
88125         * nss/getent.c: Likewise.
88126         * nss/makedb.c: Likewise.
88127         * iconv/iconvconfig.c: Likewise.
88128         * iconv/iconv_prog.c: Likewise.
88129         * elf/ldconfig.c: Likewise.
88130         * elf/pldd.c: Likewise.
88131         * elf/sotruss.ksh: Likewise.
88132         * catgets/gencat.c: Likewise.
88133         * csu/version.c: Likewise.
88134         * elf/ldd.bash.in: Likewise.
88135         * elf/sprof.c (print_version): Likewise.
88136         * locale/programs/locale.c: Likewise.
88137         * locale/programs/localedef.c: Likewise.
88138         * login/programs/pt_chown.c: Likewise.
88139         * nscd/nscd.c (print_version): Likewise.
88140         * debug/xtrace.sh: Likewise.
88141         * malloc/memusage.sh: Likewise.
88142         * malloc/mtrace.pl: Likewise.
88143         * debug/catchsegv.sh: Likewise.
88145 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
88147         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
88148         pure attribute.
88150 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
88152         [BZ #13533]
88153         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
88154         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
88155         transformations.
88156         * iconv/gconv_int.h: Likewise.
88157         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
88158         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
88159         from libc for GLIBC_2.16.
88160         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
88161         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
88162         * wcsmbs/uchar.h: Really define mbstate_t.
88163         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
88164         * wcsmbs/c16rtomb.c: New file.
88165         * wcsmbs/mbrtoc16.c: New file.
88166         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
88167         for C/POSIX locale.
88168         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
88169         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
88171         * wcsmbs/wchar.h: Add missing __restrict.
88173 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88175         [BZ #13532]
88176         * time/Makefile (routines): Add timespec_get.
88177         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
88178         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
88179         timespec for ISO C11.
88180         * time/timespec_get.c: New file.
88181         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
88182         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
88184         [BZ #13531]
88185         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
88186         * stdlib/stdlib.h: Declare aligned_alloc.
88187         * Versions.def: Add GLIBC_2.16 for libc.
88188         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
88190         [BZ 13527]
88191         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
88192         ISO C11.
88194         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
88195         code.
88197         [BZ #13528]
88198         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
88200         [BZ #13529]
88201         * assert/assert.h (static_assert): Define.
88203         * version.h: Update for 2.16 development version.
88205         [BZ #13526]
88206         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
88207         _ISOC11_SOURCE.
88209         * version.h (RELEASE): Bump for 2.15 release.
88210         * include/features.h (__GLIBC_MINOR__): Bump to 15.
88212         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
88213         Patch by Marek Polacek <mpolacek@redhat.com>.
88215         * bits/byteswap.h: Protect long long constants with __extension__.
88216         * sysdeps/i386/bits/byteswap.h: Likewise.
88217         * sysdeps/ia64/bits/byteswap.h: Likewise.
88218         * sysdeps/s390/bits/byteswap.h: Likewise.
88219         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88221 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88223         [BZ #13540]
88224         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
88225         destination buffer.
88226         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
88228 2011-12-23  Marek Polacek  <polacek@redhat.com>
88230         * elf/dl-addr.c (determine_info): Add inline keyword.
88231         * elf/tst-auditmod4b.c (check_avx): Likewise.
88232         * elf/tst-auditmod6b.c (check_avx): Likewise.
88233         * elf/tst-auditmod6c.c (check_avx): Likewise.
88234         * elf/tst-auditmod7b.c (check_avx): Likewise.
88236 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
88238         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
88239         !__SSE_MATH__.
88241 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88243         [BZ #13540]
88244         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
88245         processing for last bytes.
88247 2011-08-06  Bruno Haible  <bruno@clisp.org>
88249         [BZ #13061]
88250         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
88251         U+0385, not to U+1FEE.
88253         [BZ #13062]
88254         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
88255         entry for U+00A5 U+0301.
88257 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88259         [BZ #13166]
88260         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
88261         buffer for the output is too small.
88263         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
88264         optimization.
88266         [BZ #13185]
88267         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
88268         SSE flags if possible.
88270 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88272         [BZ #13540]
88273         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
88274         processing for last bytes.
88276 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
88278         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
88279         (syscall-list-default-options, syscall-list-default-condition)
88280         (syscall-list-includes): Define.
88281         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
88282         list of ABIs and options and #if conditions for each ABI.  Do not
88283         handle common syscalls between ABIs specially.
88284         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
88285         Remove.
88286         (syscall-list-variants, syscall-list-32bit-options)
88287         (syscall-list-32bit-condition, syscall-list-64bit-options)
88288         (syscall-list-64bit-condition): Define.
88289         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
88290         (syscall-list-variants, syscall-list-32bit-options)
88291         (syscall-list-32bit-condition, syscall-list-64bit-options)
88292         (syscall-list-64bit-condition): Define.
88293         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
88294         Remove.
88295         (syscall-list-variants, syscall-list-32bit-options)
88296         (syscall-list-32bit-condition, syscall-list-64bit-options)
88297         (syscall-list-64bit-condition): Define.
88298         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
88299         Remove.
88300         (syscall-list-variants, syscall-list-32bit-options)
88301         (syscall-list-32bit-condition, syscall-list-64bit-options)
88302         (syscall-list-64bit-condition): Define.
88304 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
88306         * locale/iso-639.def: Add brx entry.
88308         [BZ #13328]
88309         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
88310         Proposed by Mariusz_Cukr <marcukr@op.pl>.
88312         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
88313         __feraiseexcept_renamed.
88315 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88317         [BZ #13538]
88318         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
88319         EPOLLET with unsigned values.
88320         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88321         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88323         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
88324         to large cancellation.
88325         * math/s_cacoshf.c: Likewise.
88326         * math/s_cacoshl.c: Likewise.
88328 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
88330         [BZ #13305]
88331         [BZ #12786]
88332         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
88333         * math/s_cacoshf.c: Likewise.
88334         * math/s_cacoshl.c: Likewise.
88336 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
88338         [BZ #13439]
88339         * iconv/gconv.h: Define __GCONV_SWAP.
88340         * iconvdata/unicode.c: The swap bit must be stored in __flags.
88341         * iconvdata/utf-16.c: Likewise.
88342         * iconvdata/utf-32.c: Likewise.
88344 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
88346         [BZ #13524]
88347         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
88348         numerator after shifting it by one limb.
88350 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
88352         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
88353         under [__USE_EXTERN_INLINES].
88355 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88357         [BZ #13446]
88358         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
88360 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88362         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
88363         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
88364         optimized code.
88365         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
88366         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
88367         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
88368         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
88369         for strncasecmp/strncasecmp_l compilation.
88370         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
88371         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
88373 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
88375         [BZ #13484]
88376         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
88377         of __asm__.
88379 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
88381         [BZ #13506]
88382         * time/tzfile.c (__tzfile_read): Check values from file header.
88384 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
88386         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
88387         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
88388         * powerpc/powerpc32/dl-start.S: Likewise.
88389         * powerpc/powerpc32/elf/start.S: Likewise.
88390         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
88391         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
88392         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
88393         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
88394         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
88395         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
88396         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
88397         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
88398         * powerpc/powerpc32/fpu/s_round.S: Likewise.
88399         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
88400         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
88401         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
88402         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
88403         * powerpc/powerpc32/memset.S: Likewise.
88404         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
88405         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
88406         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
88407         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
88408         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88409         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
88410         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
88411         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
88412         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
88413         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
88414         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
88415         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88416         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88418 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88420         * math/libm-test.inc: Added more nearbyint tests.
88421         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
88422         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
88423         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
88424         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
88426 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
88428         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
88429         FD_CLOEXEC.
88431 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88433         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
88434         Add wcscpy-ssse3 wcscpy-c.
88435         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
88436         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
88437         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
88438         * sysdeps/x86_64/wcschr.S: New file.
88439         * sysdeps/x86_64/wcsrchr.S: New file.
88440         * string/test-strcmp.c: Remove checking of wcscmp function for
88441         wrong alignments.
88442         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
88443         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
88444         wcsrchr-sse2 wcsrchr-c.
88445         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
88446         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
88447         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
88448         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
88449         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
88450         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
88451         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
88452         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
88453         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
88454         * wcsmbc/wcschr.c (WCSCHR): New macro.
88456 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88458         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
88459         * wcsmbs/test-wcsrchr.c: New file.
88460         * string/test-strrchr.c: Add wcsrchr support.
88461         (WIDE): New macro.
88462         * wcsmbs/test-wcscpy.c: New file.
88463         * string/test-strcpy.c: Add wcscpy support.
88464         (WIDE): New macro.
88466 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
88468         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
88469         the inner loop.
88471 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
88473         [BZ #13472]
88474         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
88476 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
88478         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
88479         Minor optimizations.
88481         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
88482         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
88483         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
88485 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
88487         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
88488         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
88489         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
88490         for gcc to avoid warnings.
88491         * inet/Makefile (tests): Add tst-checks.
88492         * inet/tst-checks.c: New file.
88494         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
88495         warning.
88497         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
88498         __wmemcmp_sse2.
88500         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
88501         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
88503         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
88505 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
88507         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
88508         problem.
88510         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
88512 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
88514         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
88515         conditional on GCC version.
88516         (__arch_compare_and_exchange_val_8_acq)
88517         (__arch_compare_and_exchange_val_16_acq)
88518         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
88519         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
88520         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
88522 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
88524         * sysdeps/sh/backtrace.c: New file.
88526 2011-12-02  Andreas Schwab  <schwab@redhat.com>
88528         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
88529         parenthesis.
88531 2011-12-01  Andreas Schwab  <schwab@redhat.com>
88533         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
88534         falling back to utime.
88536 2011-11-30  Andreas Schwab  <schwab@redhat.com>
88538         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
88539         expectations for float.
88541 2011-11-29  Andreas Schwab  <schwab@redhat.com>
88543         * locale/weight.h (findidx): Add parameter len.
88544         * locale/weightwc.h (findidx): Likewise.
88545         * posix/fnmatch_loop.c (FCT): Adjust caller.
88546         * posix/regcomp.c (build_equiv_class): Likewise.
88547         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
88548         * posix/regexec.c (check_node_accept_bytes): Likewise.
88549         * string/strcoll_l.c (STRCOLL): Likewise.
88550         * string/strxfrm_l.c (STRXFRM): Likewise.
88552 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
88554         * Makefile.in: Remove CVSOPT handling.
88555         * configure.in: Remove use of AC_REVISION.
88556         * iconvdata/Makefile (distribute): No need to filter out CVS.
88557         * scripts/list-sources.sh: Remove CVS, subversion and monotone
88558         handling.
88560 2011-11-16  Andreas Schwab  <schwab@redhat.com>
88562         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
88563         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
88564         [USE_AS_STRNCASECMP_L]: Likewise.
88565         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
88566         NO_TLS_DIRECT_SEG_REFS.
88567         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
88568         Fix argument offsets for non-PIC.
88569         [USE_AS_STRNCASECMP_L]: Likewise.
88570         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
88571         NO_TLS_DIRECT_SEG_REFS.
88573 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88575         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
88576         O_CLOEXEC.
88577         * locale/loadlocale.c (_nl_load_locale): Likewise.
88579 2011-11-15  Andreas Schwab  <schwab@redhat.com>
88581         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
88582         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
88583         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
88584         (SYSCALL_GETTIME): Set errno on error.
88586         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
88587         count references to noai6ai_cached.
88589 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
88591         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
88593         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
88594         FD_CLOEXEC for /proc/self/maps.
88596         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
88597         FD_CLOEXEC for /proc/meminfo.
88599         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
88600         gai.conf.
88602         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
88603         FD_CLOEXEC for given file.
88605         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
88607         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
88608         FD_CLOEXEC for /etc/hosts.
88609         (_gethtent): Likewise.
88611         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
88613         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
88614         cancellation and set FD_CLOEXEC for /etc/netgroup.
88616         * nss/nss_files/files-key.c (search): Don't allow cancellation when
88617         reading /etc/publickey.
88619         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
88620         allow cancellation when reading /etc/group.
88622         * nss/nss_files/files-alias.c (internal_setent): Don't allow
88623         cancellation.
88624         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
88626         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
88627         when using data file.
88629         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
88631         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
88632         (write_nis_obj): Use "c" and "e" in fopen.
88634         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
88636         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
88638         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
88640         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
88642         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
88643         locale.alias.
88645         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
88647         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
88649         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
88651         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
88652         file parsing and set FD_CLOEXEC.
88654 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88656         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
88658 2011-11-14  Andreas Schwab  <schwab@redhat.com>
88660         * malloc/arena.c (arena_get2): Don't call reused_arena when
88661         _int_new_arena failed.
88663 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
88665         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
88666         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
88667         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
88668         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88669         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88670         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
88671         to compile strcasecmp and strncasecmp.
88672         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
88673         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
88675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
88677 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
88679         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
88680         locale-defines.sym to gen-as-const-headers.
88681         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
88682         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
88683         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
88684         to compile strcasecmp and strncasecmp.
88685         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
88686         strcasecmp_l and strncasecmp_l.
88687         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
88688         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
88689         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
88690         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
88691         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
88692         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
88693         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
88694         * sysdeps/i386/i686/multiarch/strncase.S: New file.
88695         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
88696         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
88697         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
88699 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
88701         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
88702         result of SYSDEP_GETTIME_CPU to retval.
88703         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
88704         parameter list to macro.  Remove trailing semicolon.  Adjust users.
88706         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
88707         variable.
88709         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
88710         mantissa words.
88711         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
88713         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
88714         from unused variable.
88716         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
88717         DWARF definitions.
88718         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
88719         for assembling.
88721         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
88722         over namespaces.
88724         * sunrpc/rpc_prot.c (rejected): Fix case value.
88726         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
88727         unsigned long long int to avoid warnings in shift.
88729         * posix/regex_internal.c (re_string_reconstruct): Actually use result
88730         of use of trans.
88731         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
88732         variable tmp.
88734         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
88735         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
88736         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
88738         * nis/nis_table.c (nis_list): Use variable of correct type for
88739         result of __follow_path call.
88741 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88743         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
88744         of math functions ceil, trunc, floor, round, and sqrt, when
88745         avaliable on the platform.
88746         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
88747         name clash.
88748         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88749         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88750         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88752 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
88754         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
88755         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
88757 2011-11-11  Roland McGrath  <roland@hack.frob.com>
88759         * include/unistd.h: Fix __readlink return type.
88760         Reported by Chris Metcalf <cmetcalf@tilera.com>.
88762 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
88764         * stdlib/ucontext.h: Undo last change for makecontext.
88766 2011-11-11  Andreas Schwab  <schwab@redhat.com>
88768         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
88770         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
88771         * setjmp/setjmp.h: Mark functions as non-leaf.
88772         * setjmp/bits/setjmp2.h: Likewise.
88773         * stdlib/ucontext.h: Likewise.
88775 2011-11-10  Andreas Schwab  <schwab@redhat.com>
88777         * malloc/arena.c (_int_new_arena): Don't increment narenas.
88778         (reused_arena): Don't check arena limit.
88779         (arena_get2): Atomically check arena limit.
88781 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
88783         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
88784         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
88786         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
88787         instructions.
88789 2011-11-07  Andreas Schwab  <schwab@redhat.com>
88791         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
88792         handler when locking.
88794         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88795         Fix size of allocated buffer.
88797 2011-11-04  Andreas Schwab  <schwab@redhat.com>
88799         [BZ #10103]
88800         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
88801         declarations for long double functions.
88802         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
88804         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
88806 2011-11-03  Andreas Schwab  <schwab@redhat.com>
88808         * nscd/nscd.c (main): Don't start AVC thread until credentials are
88809         installed.
88811         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
88812         is disabled.
88814 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88816         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
88818 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
88820         * include/alloca.h (stackinfo_alloca_round): Define.
88821         (extend_alloca): Use it.
88822         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
88823         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
88824         here.
88826         * scripts/check-local-headers.sh: Ignore libaudit.h.
88828         * nscd/Makefile (extra-objs): Make recursively expanded.
88830 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
88832         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
88833         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
88835         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
88836         * posix/tst-rfc3484-2.c: Likewise.
88837         * posix/tst-rfc3484-3.c: Likewise.
88839         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88840         process_vm_writev.
88841         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
88842         process_vm_writev.
88843         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
88844         process_vm_writev from libc using GLIBC_2.15 version.
88846         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
88848 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
88850         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
88851         stack usage.
88853 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
88855         [BZ #13367]
88856         * nss/getent.c (initgroups_keys): Show error message in case no group
88857         names are given.
88859         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
88860         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
88861         __bump_nl_timestamp.
88862         * nscd/connections (nscd_init): When host database is served open
88863         netlink socket and request notification about configuration changes.
88864         (main_loop_poll): Track netlink file descriptor and bump timestamp
88865         in case data becomes available.
88866         (main_loop_epoll): Likewise.
88867         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
88868         (database_pers_head): Add extra_data fileds.
88869         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
88870         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
88871         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
88872         Adjust caller.
88873         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
88874         in6ai data, call __free_in6ai.
88875         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
88876         Add -DHAVE_NETLINK.
88877         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
88878         interface information.  Reuse previous data if netlink timestamp
88879         is not changed.
88880         (__bump_nl_timestamp): New function.
88881         (__free_in6ai): New function.
88883 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
88885         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
88886         close_not_cancel_no_status here.
88887         (__check_pf): Reorganize code a bit to not call close twice if OOM.
88889 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88891         [BZ #13276]
88892         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
88893         return value.
88895         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
88896         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
88897         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
88899 2011-07-03  Andreas Jaeger  <aj@suse.de>
88901         [BZ #10709]
88902         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
88903         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
88904         * math/libm-test.inc (sin_test): Add test case.
88906 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
88908         [BZ #13337]
88909         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
88910         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88912         * elf/chroot_canon.c (chroot_canon): Cleanups.
88914         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
88916         [BZ #13335]
88917         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
88918         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
88920         * string/test-strchr.c: Make usable for strchrnul testing.
88921         * string/test-strchrnul.c: New file.
88922         * string/Makefile (strop-tests): Add strchrnul.
88924         * po/it.po: Update from translation team.
88925         * po/es.po: Likewise.
88927 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
88929         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
88930         the three constants needed as parameters.  Drop the others.
88931         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
88932         __m128i_strloadu_tolower.
88933         Create and initialize variable zero and use it in all the places
88934         where _mm_setzero_si128 was used.
88936         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
88937         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
88938         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
88939         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
88940         anymore.
88941         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
88942         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
88943         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
88944         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
88945         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
88946         __mpranred, __mptan.
88947         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
88948         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
88949         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
88950         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
88951         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
88952         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
88953         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
88954         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
88955         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
88957 2011-10-28  Andreas Schwab  <schwab@redhat.com>
88959         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
88960         redefine if SHARED.
88961         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
88963         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
88964         wide char related routines to wcsmbs subdir.
88966 2011-10-27  Andreas Schwab  <schwab@redhat.com>
88968         [BZ #13344]
88969         * misc/sys/cdefs.h (__THROWNL): Define.
88970         * posix/unistd.h: Use __THREADNL instead of __THREAD
88971         for memory synchronization functions.
88973 2011-10-26  Roland McGrath  <roland@hack.frob.com>
88975         [BZ #13349]
88976         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
88977         doesn't exist.
88978         * manual/stdio.texi (Obstack Streams): Node removed.
88980 2011-10-26  Andreas Schwab  <schwab@redhat.com>
88982         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
88983         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
88984         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
88986         * math/math_private.h (math_force_eval): Allow non-addressable
88987         arguments.
88988         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
88990 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
88992         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
88993         file is not needed.
88995         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
88996         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
88997         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88998         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88999         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89000         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89001         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89002         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
89003         Add AVX variants.
89004         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
89005         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
89006         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
89007         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
89008         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
89009         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89010         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89011         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89012         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89013         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89014         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89015         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89016         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89017         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89018         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89019         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89020         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89021         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89022         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89024         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89025         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
89027         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89028         place.  Use VEX encoding when compiling for AVX.
89030 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89032         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89033         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89035         * string/test-strchr.c (do_test): Don't generate NUL bytes.
89037 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89039         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89040         useless if() expression.
89041         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89042         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89043         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89044         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89045         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89046         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89047         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89048         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89049         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89050         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89051         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89052         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89053         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89054         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89055         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89056         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89057         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89058         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89059         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89061         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89063 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89065         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
89066         condition.
89067         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89069 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89071         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
89072         .text section.  Avoid duplicate constants.
89073         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
89074         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89075         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89076         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89077         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89078         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89079         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89080         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89081         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
89082         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
89083         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
89084         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
89085         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
89086         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
89087         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
89088         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
89089         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
89090         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
89091         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
89092         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89093         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
89094         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
89095         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
89096         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
89097         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
89098         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
89099         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
89100         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
89101         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
89102         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
89103         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
89104         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
89105         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
89106         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
89107         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
89108         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
89109         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
89110         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
89111         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
89112         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
89113         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
89114         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
89115         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
89116         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
89117         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
89119 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
89121         * sysdeps/x86_64/dla.h: Move to ...
89122         * sysdeps/x86_64/fpu/dla.h: ...here.
89123         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
89124         situations.  Use __builtin_fma only for gcc 4.6 and up.
89126         * config.make.in: Add have-mfma4 entry.
89127         * configure.in: Substitute libc_cv_cc_fma4.
89128         * math/Makefile (dbl-only-routines): Add sincostab.
89129         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
89130         Use __sincostab not sincos.
89131         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
89132         name is a macro.
89133         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89134         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89135         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89136         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
89137         using __copysign.
89138         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
89139         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
89140         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
89141         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
89142         and __inv.
89143         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
89144         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
89145         __copysign.
89146         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
89147         define aliases when function name is a macro.
89148         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
89149         sysdeps/ieee754/dbl-64/sincos.tbl.
89150         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
89151         fma4-enabled routines.
89152         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
89153         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
89154         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
89155         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
89156         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
89157         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
89158         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
89159         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
89160         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
89161         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
89162         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
89163         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
89164         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
89165         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
89166         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
89167         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
89168         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
89169         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
89170         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
89171         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
89172         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
89173         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
89174         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
89175         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
89176         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
89177         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
89178         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
89179         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
89180         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
89181         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
89183         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
89184         rename.
89185         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89186         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89187         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89188         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89190         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89191         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89192         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89194 2011-10-24  Andreas Schwab  <schwab@redhat.com>
89196         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
89198 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89200         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
89202         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
89203         prediction.
89204         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
89206         * string/strnlen.c: Don't define STRNLEN, reverse logic.
89207         Remove unused variable magic_bits.
89208         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
89210         * string/strnlen.c: Define and use STRNLEN macro.
89211         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
89212         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
89213         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
89214         * wcsmbs/wcslen.c: Define and use WCSLEN.
89215         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
89216         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
89217         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
89218         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
89219         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
89220         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
89221         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
89223 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89226         strnlen-sse2-no-bsf.
89227         Rename strlen-no-bsf to strlen-sse2-no-bsf.
89228         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
89229         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
89230         Add strnlen support.
89231         (USE_AS_STRNLEN): New macro.
89232         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
89233         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
89234         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
89235         * sysdeps/x86_64/wcslen.S: New file.
89237 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
89239         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
89240         XMM-moves are used for copying on small sizes.
89242 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89244         * wcsmbs/Makefile (strop-tests): Add wcschr.
89245         * wcsmbs/test-wcschr.c: New file.
89246         * string/test-strchr.c: Update.
89247         Add wcschr support.
89248         (WIDE): New macro.
89250 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89252         * wcsmbs/Makefile (strop-tests): Add wcslen.
89253         * wcsmbs/test-wcslen.c: New file.
89254         * string/test-strlen.c: Update.
89255         Add wcslen support.
89256         (WIDE): New macro.
89258 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89260         * po/it.po: Update from translation team.
89262 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89264         * sysdeps/x86_64/wcscmp.S: Update.
89265         Fix wrong comparison semantics.
89266         wcscmp shall use signed comparison not unsigned.
89267         Don't use substraction to avoid overflow bug.
89268         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
89269         * wcsmbc/wcscmp.c: Likewise.
89270         * string/test-strcmp.c: Likewise.
89271         Add new tests to check cases with negative values.
89273 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
89275         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
89276         * sysdeps/x86_64/dla.h: ...here.  New file.
89277         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
89278         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89279         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89280         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89282         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89283         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89284         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89285         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89287 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
89289         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
89290         __ynl_finite aliases.
89292 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89294         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
89296         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
89297         define DLA_FMA.
89298         [DLA_FMA] (EMULV): Use DLA_FMA.
89299         [DLA_FMA] (MUL12): Use EMULV.
89300         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
89301         that are not needed.
89302         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
89303         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89304         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89305         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89306         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89307         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
89308         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
89310 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
89312         * math/s_nan.c: Undef __nan.
89313         * math/s_nanf.c: Undef __nanf.
89314         * math/s_nanl.c: Undef __nanl.
89315         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
89316         "math_private.h".
89318 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
89320         * math/s_catan.c: Add branch predictions.
89321         * math/s_catanf.c: Likewise.
89322         * math/s_catanh.c: Likewise.
89323         * math/s_catanhf.c: Likewise.
89324         * math/s_catanhl.c: Likewise.
89325         * math/s_catanl.c: Likewise.
89326         * math/s_cexp.c: Likewise.
89327         * math/s_cexpf.c: Likewise.
89328         * math/s_cexpl.c: Likewise.
89329         * math/s_clog.c: Likewise.
89330         * math/s_clog10.c: Likewise.
89331         * math/s_clog10f.c: Likewise.
89332         * math/s_clog10l.c: Likewise.
89333         * math/s_clogf.c: Likewise.
89334         * math/s_clogl.c: Likewise.
89335         * math/s_csqrt.c: Likewise.
89336         * math/s_csqrtf.c: Likewise.
89337         * math/s_csqrtl.c: Likewise.
89338         * math/s_ctanf.c: Likewise.
89339         * math/s_ctanh.c: Likewise.
89340         * math/s_ctanhf.c: Likewise.
89341         * math/s_ctanhl.c: Likewise.
89342         * math/s_ctanl.c: Likewise.
89344         * math/math_private.h: Define __nan, __nanf, __nanl.
89345         * math/s_cacosh.c: Include <math_private.h>.
89346         * math/s_cacoshl.c: Likewise.
89347         * math/s_casinh.c: Likewise.
89348         * math/s_casinhf.c: Likewise.
89349         * math/s_casinhl.c: Likewise.
89350         * math/s_ccos.c: Rely entire on ccosh.
89351         * math/s_ccosf.c: Rely entire on ccoshf.
89352         * math/s_ccosl.c: Rely entirely on ccoshl.
89353         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
89354         Remove tests for FE_INVALID.
89355         * math/s_ccoshf.c: Likewise.
89356         * math/s_ccoshl.c: Likewise.
89357         * math/s_csin.c: Likewise.
89358         * math/s_csinf.c: Likewise.
89359         * math/s_csinh.c Likewise.
89360         * math/s_csinhf.c: Likewise.
89361         * math/s_csinhl.c: Likewise.
89362         * math/s_csinl.c: Likewise.
89363         * math/s_ctan.c: Likewise.
89364         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
89365         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
89366         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
89368 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
89370         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
89371         compilation problems.
89373         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
89374         __builtin_expect.
89376 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
89378         * sysdeps/i386/configure.in: Test for -mfma4 option.
89379         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
89380         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
89381         COMMON_CPUID_INDEX_80000001.
89382         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
89383         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
89384         use it if FMA3 is not supported.
89385         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
89387         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
89388         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89390 2011-10-20  Andreas Schwab  <schwab@redhat.com>
89392         [BZ #12892]
89393         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
89394         it would create a cycle with a link time dependency.
89396 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
89398         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
89399         instruction.
89400         * string/Makefile (strop-tests): Add rawmemchr.
89401         * string/test-rawmemchr.c: New file.
89403         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
89404         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
89405         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
89406         when compiling str{,n}casecmp and when AVX is available.  Hook up
89407         new optimized code in initializers.
89409 2011-10-19  Andreas Schwab  <schwab@redhat.com>
89411         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
89412         __feraiseexcept instead of feraiseexcept.
89414 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
89416         * math/math_private.h: Define defaults for libc_fetestexcept and
89417         libc_feupdateenv.
89418         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
89419         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
89420         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89421         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89422         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
89423         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89424         libc_fetestexcept and libc_feupdateenv.
89426         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
89427         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
89428         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
89429         * sysdeps/x86_64/fpu/math_private.h: Define special version of
89430         libc_feholdexcept_setround.
89432         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
89433         Add s_nearbyint-c and s_nearbyintf-c.
89434         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
89435         nearbyintf inlines.
89436         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
89437         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
89438         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
89439         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
89441         * math/math_private.h: Define defaults for libc_fegetround,
89442         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
89443         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
89444         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
89445         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
89446         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
89447         standard functions.
89448         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89449         Remove comments and hacks for old compiler versions.
89450         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
89451         libc_fegetround, libc_fesetround, libc_feholdexcept, and
89452         libc_feholdexceptl.
89454 2011-10-18  Andreas Schwab  <schwab@redhat.com>
89456         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
89457         (__feraiseexcept_renamed): Add __NTH.
89458         (feraiseexcept): Add __NTH.  Rename local variables to fix
89459         namespace violations.
89461 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
89463         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
89465         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
89467         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
89468         recently added interfaces.
89469         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
89471         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
89472         about macro parameter expansion.
89474         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
89475         __NO_MATH_INLINES is defined.  Cleanups.
89477         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
89478         and __floorf is target has SSE4.1.
89479         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
89480         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
89481         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
89482         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
89484         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
89485         name.
89486         (floorf): Likewise.
89488         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
89490 2011-10-17  Andreas Schwab  <schwab@redhat.com>
89492         * misc/sys/cdefs.h: Fix last change.
89494         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
89495         database lookup.
89497 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
89499         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
89501         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
89502         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89503         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
89504         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89505         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89506         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
89507         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89508         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89509         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
89510         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
89511         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
89512         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
89513         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
89514         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
89515         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
89516         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
89517         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
89518         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
89519         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
89520         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
89521         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
89522         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
89524         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
89525         ceil, ceilf, floor, floorf.
89527         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
89528         Perform IRELATIVE relocations last.
89530         * elf/do-rel.h: Add another parameter nrelative, replacing the
89531         local variable with the same name.  Change name of the function
89532         to end in Rel or Rela (uppercase).
89533         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
89534         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
89535         elf_dynamic_do_##reloc function.
89537 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89539         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
89540         is sufficient, at least on modern CPUs.
89542         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
89544         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
89545         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
89547         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
89548         __expl_finite.
89549         * math/bits/math-finite.h: Add entries for exp.
89550         * math/e_expl.c: Add __*_finite alias.
89551         * sysdeps/i386/fpu/e_exp.S: Likewise.
89552         * sysdeps/i386/fpu/e_expf.S: Likewise.
89553         * sysdeps/i386/fpu/e_expl.c: Likewise.
89554         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
89555         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
89556         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
89557         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
89558         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
89559         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
89560         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
89562         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
89563         is sufficient, at least on modern CPUs.
89565         * ctype/ctype-info.c (__ctype_init): Define.
89566         * include/ctype.h (__ctype_init): Declare.
89567         (__ctype_b_loc): The variable is always initialized.
89568         (__ctype_toupper_loc): Likewise.
89569         (__ctype_tolower_loc): Likewise.
89570         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
89571         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
89573 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
89575         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
89577         * configure.in: Also look in $cxxmachine/include for C++ system
89578         headers.
89580 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89582         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
89583         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
89584         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
89585         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
89586         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
89587         (USE_AS_WMEMCMP): New macro.
89588         Fixing indents.
89589         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
89590         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
89591         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
89592         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
89593         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89594         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
89595         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
89596         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
89597         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
89598         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
89599         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
89600         (USE_AS_WMEMCMP): New macro.
89601         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
89602         * sysdeps/string/test-memcmp.c: Update.
89603         Fix simple_wmemcmp.
89604         Add new tests.
89605         * wcsmbs/wmemcmp.c: Update.
89606         (WMEMCMP): New macro.
89607         Fix overflow bug.
89609 2011-10-12  Andreas Jaeger  <aj@suse.de>
89611         [BZ #13268]
89612         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
89614 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
89616         * libio/iofwide.c (do_length): Avoid warning.
89618         * ctype/ctype.h (__isctype_f): Add missing __THROW.
89620 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
89622         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
89624         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
89625         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
89626         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
89627         * sysdeps/i386/i686/fpu/e_log.S: New file.
89628         * sysdeps/i386/i686/fpu/e_logf.S: New file.
89629         * sysdeps/i386/i686/fpu/e_logl.S: New file.
89631         * ctype/ctype.h: Add support for inlined isXXX functions when
89632         compiling C++ code.
89634 2011-10-14  Andreas Schwab  <schwab@redhat.com>
89636         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89638         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
89640 2011-10-13  Roland McGrath  <roland@hack.frob.com>
89642         [BZ #13291]
89643         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
89645 2011-10-13  Andreas Schwab  <schwab@redhat.com>
89647         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
89648         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
89649         feraiseexcept.
89651         * sysdeps/x86_64/memrchr.S: Check for zero size.
89653         * string/stratcliff.c: Add memrchr tests.
89655 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89657         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89658         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
89659         rawmemchr-sse2 rawmemchr-sse2-bsf.
89660         * sysdeps/i386/i686/multiarch/memchr.S: New file.
89661         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
89662         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
89663         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
89664         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
89665         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
89666         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
89667         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
89668         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
89669         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
89670         * string/memrchr.c (MEMRCHR): New macro.
89672 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
89674         Add integration with gcc's -ffinite-math-only and optimize wrapper
89675         functions in libm.
89676         * Versions.def: Define GLIBC_2.15 version for libm.
89677         * math/Makefile (headers): Add bits/math-finite.h.
89678         * math/bits/math-finite.h: New file.
89679         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
89680         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
89681         * math/e_acoshl.c: Add __*_finite alias.
89682         * math/e_acosl.c: Likewise.
89683         * math/e_asinl.c: Likewise.
89684         * math/e_atan2l.c: Likewise.
89685         * math/e_atanhl.c: Likewise.
89686         * math/e_coshl.c: Likewise.
89687         * math/e_exp10.c: Likewise.
89688         * math/e_exp10f.c: Likewise.
89689         * math/e_exp10l.c: Likewise.
89690         * math/e_exp2l.c: Likewise.
89691         * math/e_fmodl.c: Likewise.
89692         * math/e_gammal_r.c: Likewise.
89693         * math/e_hypotl.c: Likewise.
89694         * math/e_j0l.c: Likewise.
89695         * math/e_j1l.c: Likewise.
89696         * math/e_jnl.c: Likewise.
89697         * math/e_lgammal_r.c: Likewise.
89698         * math/e_log10l.c: Likewise.
89699         * math/e_log2l.c: Likewise.
89700         * math/e_logl.c: Likewise.
89701         * math/e_powl.c: Likewise.
89702         * math/e_sinhl.c: Likewise.
89703         * math/e_sqrtl.c: Likewise.
89704         * math/e_scalb.c: Completely rewritten and optimized.
89705         * math/e_scalbf.c: Likewise.
89706         * math/e_scalbl.c: Likewise.
89707         * math/w_acos.c: Likewise.
89708         * math/w_acosf.c: Likewise.
89709         * math/w_acosl.c: Likewise.
89710         * math/w_acosh.c: Likewise.
89711         * math/w_acoshf.c: Likewise.
89712         * math/w_acoshl.c: Likewise.
89713         * math/w_asin.c: Likewise.
89714         * math/w_asinf.c: Likewise.
89715         * math/w_asinl.c: Likewise.
89716         * math/w_atan2.c: Likewise.
89717         * math/w_atan2f.c: Likewise.
89718         * math/w_atan2l.c: Likewise.
89719         * math/w_atanh.c: Likewise.
89720         * math/w_atanhf.c: Likewise.
89721         * math/w_atanhl.c: Likewise.
89722         * math/w_exp10.c: Likewise.
89723         * math/w_exp10f.c: Likewise.
89724         * math/w_exp10l.c: Likewise.
89725         * math/w_fmod.c: Likewise.
89726         * math/w_fmodf.c: Likewise.
89727         * math/w_fmodl.c: Likewise.
89728         * math/w_j0.c: Likewise.
89729         * math/w_j0f.c: Likewise.
89730         * math/w_j0l.c: Likewise.
89731         * math/w_j1.c: Likewise.
89732         * math/w_j1f.c: Likewise.
89733         * math/w_j1l.c: Likewise.
89734         * math/w_jn.c: Likewise.
89735         * math/w_jnf.c: Likewise.
89736         * math/w_log.c: Likewise.
89737         * math/w_logf.c: Likewise.
89738         * math/w_logl.c: Likewise.
89739         * math/w_log10.c: Likewise.
89740         * math/w_log10f.c: Likewise.
89741         * math/w_log10l.c: Likewise.
89742         * math/w_log2.c: Likewise.
89743         * math/w_log2f.c: Likewise.
89744         * math/w_log2l.c: Likewise.
89745         * math/w_pow.c: Likewise.
89746         * math/w_powf.c: Likewise.
89747         * math/w_powl.c: Likewise.
89748         * math/w_remainder.c: Likewise.
89749         * math/w_remainderf.c: Likewise.
89750         * math/w_remainderl.c: Likewise.
89751         * math/w_scalb.c: Likewise.
89752         * math/w_scalbf.c: Likewise.
89753         * math/w_scalbl.c: Likewise.
89754         * math/w_sqrt.c: Likewise.
89755         * math/w_sqrtf.c: Likewise.
89756         * math/w_sqrtl.c: Likewise.
89757         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
89758         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
89759         used.
89760         * math/math_private.h: Declare __kernel_standard_f.
89761         * math/w_cosh.c: Remove cruft and optimize a bit.
89762         * math/w_coshf.c: Likewise.
89763         * math/w_coshl.c: Likewise.
89764         * math/w_exp2.c: Likewise.
89765         * math/w_exp2f.c: Likewise.
89766         * math/w_exp2l.c: Likewise.
89767         * math/w_hypot.c: Likewise.
89768         * math/w_hypotf.c: Likewise.
89769         * math/w_hypotl.c: Likewise.
89770         * math/w_lgamma.c: Likewise.
89771         * math/w_lgamma_r.c: Likewise.
89772         * math/w_lgammaf.c: Likewise.
89773         * math/w_lgammaf_r.c: Likewise.
89774         * math/w_lgammal.c: Likewise.
89775         * math/w_lgammal_r.c: Likewise.
89776         * math/w_sinh.c: Likewise.
89777         * math/w_sinhf.c: Likewise.
89778         * math/w_sinhl.c: Likewise.
89779         * math/w_tgamma.c: Likewise.
89780         * math/w_tgammaf.c: Likewise.
89781         * math/w_tgammal.c: Likewise.
89782         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
89783         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89784         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
89785         Minor optimizations.  Pretty printing.  Remove cruft.
89786         * sysdeps/i386/fpu/e_acosf.S: Likewise.
89787         * sysdeps/i386/fpu/e_acosh.S: Likewise.
89788         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
89789         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
89790         * sysdeps/i386/fpu/e_acosl.c: Likewise.
89791         * sysdeps/i386/fpu/e_asin.S: Likewise.
89792         * sysdeps/i386/fpu/e_asinf.S: Likewise.
89793         * sysdeps/i386/fpu/e_atan2.S: Likewise.
89794         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
89795         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
89796         * sysdeps/i386/fpu/e_atanh.S: Likewise.
89797         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
89798         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
89799         * sysdeps/i386/fpu/e_exp10.S: Likewise.
89800         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
89801         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
89802         * sysdeps/i386/fpu/e_exp2.S: Likewise.
89803         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
89804         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
89805         * sysdeps/i386/fpu/e_fmod.S: Likewise.
89806         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
89807         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
89808         * sysdeps/i386/fpu/e_hypot.S: Likewise.
89809         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
89810         * sysdeps/i386/fpu/e_log.S: Likewise.
89811         * sysdeps/i386/fpu/e_log10.S: Likewise.
89812         * sysdeps/i386/fpu/e_log10f.S: Likewise.
89813         * sysdeps/i386/fpu/e_log10l.S: Likewise.
89814         * sysdeps/i386/fpu/e_log2.S: Likewise.
89815         * sysdeps/i386/fpu/e_log2f.S: Likewise.
89816         * sysdeps/i386/fpu/e_log2l.S: Likewise.
89817         * sysdeps/i386/fpu/e_logf.S: Likewise.
89818         * sysdeps/i386/fpu/e_logl.S: Likewise.
89819         * sysdeps/i386/fpu/e_pow.S: Likewise.
89820         * sysdeps/i386/fpu/e_powf.S: Likewise.
89821         * sysdeps/i386/fpu/e_powl.S: Likewise.
89822         * sysdeps/i386/fpu/e_remainder.S: Likewise.
89823         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
89824         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
89825         * sysdeps/i386/fpu/e_scalb.S: Likewise.
89826         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
89827         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
89828         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
89829         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
89830         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
89831         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
89832         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
89833         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
89834         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
89835         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
89836         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
89837         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
89838         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
89839         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89840         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
89841         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
89842         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
89843         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
89844         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
89845         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
89846         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
89847         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
89848         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
89849         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
89850         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
89851         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
89852         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
89853         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89854         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89855         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
89856         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
89857         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
89858         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
89859         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
89860         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
89861         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89862         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
89863         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89864         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
89865         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
89866         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
89867         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
89868         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
89869         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
89870         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
89871         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
89872         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
89873         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
89874         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
89875         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89876         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
89877         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
89878         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
89879         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
89880         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
89881         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
89882         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
89883         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
89884         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89885         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
89886         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
89887         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
89888         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
89889         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
89890         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
89891         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
89892         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
89893         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89894         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89895         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
89896         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
89897         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
89898         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
89899         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
89900         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
89901         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
89902         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
89903         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
89904         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
89905         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
89906         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
89907         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
89908         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
89909         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89910         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
89911         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89912         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
89913         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
89914         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89915         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89916         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
89917         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89918         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
89919         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
89920         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
89921         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89922         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
89923         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
89924         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
89925         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89926         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89927         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89928         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
89929         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
89930         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
89931         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
89932         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
89933         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
89934         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
89935         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
89936         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
89937         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
89938         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
89939         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
89940         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
89941         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
89942         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
89943         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
89944         (__isnanf): Likewise.
89945         (__isinf_ns): Likewise.
89946         (__isinf_nsf): Likewise.
89947         (__finite): Likewise.
89948         (__finitef): Likewise.
89949         (__ieee754_sqrt): Define as macro.
89950         (__ieee754_sqrtf): Define as macro.
89951         (__ieee754_sqrtl): Define as macro.
89952         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
89953         inlined copy.
89954         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
89955         __FINITE_MATH_ONLY__ consistent.
89956         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
89958 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
89960         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
89961         of rawmemchr.
89963         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
89965 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
89967         * po/ja.po: Update from translation team.
89969 2011-10-08  Roland McGrath  <roland@hack.frob.com>
89971         * locale/programs/locarchive.c (prepare_address_space): New function.
89972         (create_archive, enlarge_archive, open_archive): Use it.
89974         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
89975         inside [SHARED], where it is used.
89977         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
89979         * nss/getent.c (netgroup_keys): Remove unused variable.
89980         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
89982 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
89984         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
89985         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
89986         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
89987         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
89988         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
89989         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
89990         * math/Makefile (libm-calls): Add s_isinf_ns.
89991         * math/divtc3.c: Use __isinf_nsl instead of isinf.
89992         * math/multc3.c: Likewise.
89993         * math/s_casin.c: Likewise.
89994         * math/s_casinf.c: Likewise.
89995         * math/s_casinl.c: Likewise.
89996         * math/s_ccos.c: Likewise.
89997         * math/s_ccosf.c: Likewise.
89998         * math/s_ccosl.c: Likewise.
89999         * math/s_ctan.c: Likewise.
90000         * math/s_ctanf.c: Likewise.
90001         * math/s_ctanh.c: Likewise.
90002         * math/s_ctanhf.c: Likewise.
90003         * math/s_ctanhl.c: Likewise.
90004         * math/s_ctanl.c: Likewise.
90005         * math/w_fmod.c: Likewise.
90006         * math/w_fmodf.c: Likewise.
90007         * math/w_fmodl.c: Likewise.
90008         * math/w_remainder.c: Likewise.
90009         * math/w_remainderf.c: Likewise.
90010         * math/w_remainderl.c: Likewise.
90011         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90012         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90013         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90014         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90015         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90016         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90017         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90018         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90020         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90021         of the number.
90022         * stdio-common/printf_fphex.c: Likewise.
90023         * stdio-common/printf_size.c: Likewise.
90025         * math/e_exp10.c: Include math_private.h using <...> not "...".
90026         * math/e_exp10f.c: Likewise.
90027         * math/e_exp10l.c: Likewise.
90028         * math/e_exp2l.c: Likewise.
90029         * math/e_j0l.c: Likewise.
90030         * math/e_j1l.c: Likewise.
90031         * math/e_jnl.c: Likewise.
90032         * math/e_lgammal_r.c: Likewise.
90033         * math/e_rem_pio2l.c: Likewise.
90034         * math/e_scalb.c: Likewise.
90035         * math/e_scalbf.c: Likewise.
90036         * math/e_scalbl.c: Likewise.
90037         * math/k_cosl.c: Likewise.
90038         * math/k_sinl.c: Likewise.
90039         * math/k_tanl.c: Likewise.
90040         * math/s_cacoshf.c: Likewise.
90041         * math/s_catan.c: Likewise.
90042         * math/s_catanf.c: Likewise.
90043         * math/s_catanh.c: Likewise.
90044         * math/s_catanhf.c: Likewise.
90045         * math/s_catanhl.c: Likewise.
90046         * math/s_catanl.c: Likewise.
90047         * math/s_ccosh.c: Likewise.
90048         * math/s_ccoshf.c: Likewise.
90049         * math/s_ccoshl.c: Likewise.
90050         * math/s_cexp.c: Likewise.
90051         * math/s_cexpf.c: Likewise.
90052         * math/s_cexpl.c: Likewise.
90053         * math/s_clog.c: Likewise.
90054         * math/s_clog10.c: Likewise.
90055         * math/s_clog10f.c: Likewise.
90056         * math/s_clog10l.c: Likewise.
90057         * math/s_clogf.c: Likewise.
90058         * math/s_clogl.c: Likewise.
90059         * math/s_csin.c: Likewise.
90060         * math/s_csinf.c: Likewise.
90061         * math/s_csinh.c: Likewise.
90062         * math/s_csinhf.c: Likewise.
90063         * math/s_csinhl.c: Likewise.
90064         * math/s_csinl.c: Likewise.
90065         * math/s_csqrt.c: Likewise.
90066         * math/s_csqrtf.c: Likewise.
90067         * math/s_csqrtl.c: Likewise.
90068         * math/s_ctan.c: Likewise.
90069         * math/s_ctanf.c: Likewise.
90070         * math/s_ctanh.c: Likewise.
90071         * math/s_ctanhf.c: Likewise.
90072         * math/s_ctanhl.c: Likewise.
90073         * math/s_ctanl.c: Likewise.
90074         * math/s_ldexp.c: Likewise.
90075         * math/s_ldexpf.c: Likewise.
90076         * math/s_ldexpl.c: Likewise.
90077         * math/s_significand.c: Likewise.
90078         * math/s_significandf.c: Likewise.
90079         * math/s_significandl.c: Likewise.
90080         * math/w_acos.c: Likewise.
90081         * math/w_acosf.c: Likewise.
90082         * math/w_acosh.c: Likewise.
90083         * math/w_acoshf.c: Likewise.
90084         * math/w_acoshl.c: Likewise.
90085         * math/w_acosl.c: Likewise.
90086         * math/w_asin.c: Likewise.
90087         * math/w_asinf.c: Likewise.
90088         * math/w_asinl.c: Likewise.
90089         * math/w_atan2.c: Likewise.
90090         * math/w_atan2f.c: Likewise.
90091         * math/w_atan2l.c: Likewise.
90092         * math/w_atanh.c: Likewise.
90093         * math/w_atanhf.c: Likewise.
90094         * math/w_atanhl.c: Likewise.
90095         * math/w_cosh.c: Likewise.
90096         * math/w_coshf.c: Likewise.
90097         * math/w_coshl.c: Likewise.
90098         * math/w_dremf.c: Likewise.
90099         * math/w_exp10.c: Likewise.
90100         * math/w_exp10f.c: Likewise.
90101         * math/w_exp10l.c: Likewise.
90102         * math/w_exp2.c: Likewise.
90103         * math/w_exp2f.c: Likewise.
90104         * math/w_fmod.c: Likewise.
90105         * math/w_fmodf.c: Likewise.
90106         * math/w_fmodl.c: Likewise.
90107         * math/w_hypot.c: Likewise.
90108         * math/w_hypotf.c: Likewise.
90109         * math/w_hypotl.c: Likewise.
90110         * math/w_j0.c: Likewise.
90111         * math/w_j0f.c: Likewise.
90112         * math/w_j0l.c: Likewise.
90113         * math/w_j1.c: Likewise.
90114         * math/w_j1f.c: Likewise.
90115         * math/w_j1l.c: Likewise.
90116         * math/w_jn.c: Likewise.
90117         * math/w_jnf.c: Likewise.
90118         * math/w_jnl.c: Likewise.
90119         * math/w_lgamma.c: Likewise.
90120         * math/w_lgamma_r.c: Likewise.
90121         * math/w_lgammaf.c: Likewise.
90122         * math/w_lgammaf_r.c: Likewise.
90123         * math/w_lgammal.c: Likewise.
90124         * math/w_lgammal_r.c: Likewise.
90125         * math/w_log.c: Likewise.
90126         * math/w_log10.c: Likewise.
90127         * math/w_log10f.c: Likewise.
90128         * math/w_log10l.c: Likewise.
90129         * math/w_log2.c: Likewise.
90130         * math/w_log2f.c: Likewise.
90131         * math/w_log2l.c: Likewise.
90132         * math/w_logf.c: Likewise.
90133         * math/w_logl.c: Likewise.
90134         * math/w_pow.c: Likewise.
90135         * math/w_powf.c: Likewise.
90136         * math/w_powl.c: Likewise.
90137         * math/w_remainder.c: Likewise.
90138         * math/w_remainderf.c: Likewise.
90139         * math/w_remainderl.c: Likewise.
90140         * math/w_scalb.c: Likewise.
90141         * math/w_scalbf.c: Likewise.
90142         * math/w_scalbl.c: Likewise.
90143         * math/w_sinh.c: Likewise.
90144         * math/w_sinhf.c: Likewise.
90145         * math/w_sinhl.c: Likewise.
90146         * math/w_sqrt.c: Likewise.
90147         * math/w_sqrtf.c: Likewise.
90148         * math/w_sqrtl.c: Likewise.
90149         * math/w_tgamma.c: Likewise.
90150         * math/w_tgammaf.c: Likewise.
90151         * math/w_tgammal.c: Likewise.
90153         * po/ja.po: Update from translation team.
90155 2011-09-29  Andreas Jaeger  <aj@suse.de>
90157         [BZ #13179]
90158         * sunrpc/netname.c (netname2host): Fix logic.
90160         [BZ #6779]
90161         [BZ #6783]
90162         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
90163         correctly.
90164         * math/w_remainder.c (__remainder): Likewise.
90165         * math/w_remainderf.c (__remainderf): Likewise.
90166         * math/libm-test.inc (remainder_test): Add test cases.
90168 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90170         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
90171         sdiv_qrnnd.
90173 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90175         * string/test-memcmp.c: Avoid unncessary #defines.
90176         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90178 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90180         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
90181         Use new sse2 version for core i3 - i7 as it's faster
90182         than sse42 version.
90183         (bit_Prefer_PMINUB_for_stringop): New.
90184         * sysdeps/x86_64/rawmemchr.S: Update.
90185         Replace with faster SSE2 version.
90186         * sysdeps/x86_64/memrchr.S: New file.
90187         * sysdeps/x86_64/memchr.S: Update.
90188         Replace with faster SSE2 version.
90190 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
90192         * elf/dl-load.c (lose): Add cast to avoid warning.
90194 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
90196         * po/ca.po: Update from translation team.
90198         * inet/getnetgrent_r.c: Hook up nscd.
90199         * nscd/Makefile (routines): Add nscd_netgroup.
90200         (nscd-modules): Add netgroupcache.
90201         (CFLAGS-netgroupcache.c): Define.
90202         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
90203         (cache_search): Add const to second parameter.
90204         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
90205         INNETGR.
90206         (dbs): Add netgrdb entry.
90207         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
90208         (verify_persistent_db): Handle netgrdb.
90209         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
90210         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
90211         GETFDNETGR.
90212         (netgroup_response_header): Define.
90213         (innetgroup_response_header): Define.
90214         (datahead): Add netgroup_response_header and innetgroup_response_header
90215         elements.
90216         * nscd/nscd.conf: Add entries for netgroup cache.
90217         * nscd/nscd.h (dbtype): Add netgrdb.
90218         (_PATH_NSCD_NETGROUP_DB): Define.
90219         (netgroup_iov_disabled): Declare.
90220         (xmalloc, xcalloc, xrealloc): Move declarations here.
90221         (cache_search): Adjust prototype.
90222         Add netgroup-related prototypes.
90223         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
90224         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
90225         (__nscd_innetgr): Declare.
90226         * nscd/selinux.c (perms): Use access_vector_t as element type and
90227         add netgroup-related initializers.
90228         * nscd/netgroupcache.c: New file.
90229         * nscd/nscd_netgroup.c: New file.
90230         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
90231         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
90232         For four parameters use innetgr.
90233         * nss/nss_files/files-init.c: Add definition and callback for netgr.
90234         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
90235         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
90236         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
90238         * nscd/connections.c (register_traced_file): Don't register file
90239         for disabled databases.
90241 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
90243         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
90245         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
90246         from tree and freeing node.
90248 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
90250         * nss/nsswitch.c (__nss_database_lookup): Handle
90251         nss_parse_service_list out of memory case.
90253 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
90255         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
90256         out of memory case.
90258 2011-10-04  Andreas Schwab  <schwab@redhat.com>
90260         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
90261         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
90262         pass it down.
90263         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
90264         elf_machine_rela, elf_machine_lazy_rel.
90265         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
90266         (ELF_DYNAMIC_DO_REL): Likewise.
90267         (ELF_DYNAMIC_DO_RELA): Likewise.
90268         (ELF_DYNAMIC_RELOCATE): Likewise.
90269         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
90270         to ELF_DYNAMIC_DO_REL.
90271         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
90272         (dl_main): In trace mode always set __RTLD_NOIFUNC.
90273         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
90274         elf_machine_rela.
90275         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
90276         skip_ifunc, don't call ifunc function if non-zero.
90277         (elf_machine_rela): Likewise.
90278         (elf_machine_lazy_rel): Likewise.
90279         (elf_machine_lazy_rela): Likewise.
90280         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
90281         (elf_machine_lazy_rel): Likewise.
90282         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
90283         Likewise.
90284         (elf_machine_lazy_rel): Likewise.
90285         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90286         Likewise.
90287         (elf_machine_lazy_rel): Likewise.
90288         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
90289         (elf_machine_lazy_rel): Likewise.
90290         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
90291         (elf_machine_lazy_rel): Likewise.
90292         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
90293         (elf_machine_lazy_rel): Likewise.
90294         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
90295         (elf_machine_lazy_rel): Likewise.
90296         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
90297         (elf_machine_lazy_rel): Likewise.
90298         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
90299         (elf_machine_lazy_rel): Likewise.
90301 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
90303         * nss/nss_files/files-init.c (_nss_files_init): Use static
90304         initialization for all the *_traced_file variables.
90306 2011-09-28  Andreas Schwab  <schwab@redhat.com>
90308         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90310 2011-09-27  Roland McGrath  <roland@hack.frob.com>
90312         [BZ #13226]
90313         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
90315 2011-09-27  Andreas Schwab  <schwab@redhat.com>
90317         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90318         Reread the line before reparsing it.
90320 2011-09-26  Andreas Schwab  <schwab@redhat.com>
90322         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
90324 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
90325             Maxim Kuvyrkov  <maxim@codesourcery.com>
90326             Joseph Myers  <joseph@codesourcery.com>
90328         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
90329         if needed for __stack_chk_guard.
90331 2011-09-19  Roland McGrath  <roland@hack.frob.com>
90333         * sysdeps/posix/spawni.c (script_execute): Always define it.
90334         It will be optimized away if unused.
90335         (maybe_script_execute): New function.
90336         (__spawni): Call it.
90338         * Makerules: Don't include tls.make.
90339         (config-tls): Always set to thread.
90340         * tls.make.c: File removed.
90342 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
90344         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
90345         * config.make.in (CPPFLAGS-config): New substituted variable.
90347 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90349         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
90351         [BZ #13192]
90352         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
90353         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
90355 2011-09-15  Roland McGrath  <roland@hack.frob.com>
90357         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
90358         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
90359         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
90360         (CALL_FAIL): Likewise.
90361         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
90362         (CALL_FAIL): Macro removed.
90363         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
90365 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
90367         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
90368         for __FINITE_MATH_ONLY__ == 1.
90370 2011-09-15  Andreas Schwab  <schwab@redhat.com>
90372         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
90373         __ieee754_sqrt instead of sqrt.
90374         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
90375         __ieee754_sqrtf instead of sqrtf.
90376         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
90377         __floorf instead of floorf.
90378         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
90379         __floorf, __truncf instead of floorf, truncf.
90381 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
90383         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
90385         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
90386         __extern_always_inline.
90387         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
90388         32-bit.
90390 2011-09-14  Andreas Schwab  <schwab@redhat.com>
90392         * elf/rtld.c (dl_main): Also relocate in dependency order when
90393         doing symbol dependency testing.
90395 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
90397         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
90398         Always define `refsym'.
90400 2011-09-13  Andreas Schwab  <schwab@redhat.com>
90402         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
90403         (__FD_ELT): Renamed from __FDELT.
90404         * misc/bits/select2.h (__FD_ELT): Likewise.
90405         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
90406         __FD_MASK instead of __FDELT, __FDMASK.
90407         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90408         Likewise.
90409         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
90410         Likewise.
90412         * elf/Makefile (gen-ldd): Fix pattern.
90414         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
90415         (init_tls): Likewise.
90417 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
90419         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
90421 2011-09-12  Andreas Schwab  <schwab@redhat.com>
90423         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
90424         `struct cmsghdr *' instead of `void *'.
90425         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
90426         Likewise.
90428 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
90430         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
90431         if non-absolute.
90432         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
90433         ldd_rewrite_script.
90435 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
90437         * configure.in: Remove --with-tls option.
90438         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
90439         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
90440         out in case it is missing.
90441         * sysdeps/ia64/elf/configure.in: Likewise.
90442         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
90443         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
90444         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
90445         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
90446         * sysdeps/sh/elf/configure.in: Likewise.
90447         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
90448         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
90449         * sysdeps/x86_64/elf/configure.in: Likewise.
90450         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
90451         * sysdeps/mach/hurd/tls.h: Likewise.
90453         [BZ #13067]
90454         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
90456         [BZ #13090]
90457         * configure.in: Fix use of AC_INIT.
90459         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
90461 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
90463         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
90464         __set_errno.
90465         * malloc/hooks.c: Likewise.
90467         [BZ #11929]
90468         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
90469         variables statically.
90470         (narenas): Initialize.
90471         (list_lock): Initialize.
90472         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
90473         initializtion of main_arena and list_lock.  Small cleanups.
90474         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
90475         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
90476         Add initializers to main_arena and mp_.
90477         (malloc_state): Remove pagesize member.  Change all users to use
90478         GLRO(dl_pagesize).
90480         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
90481         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
90482         is always initialized.
90484         * malloc/malloc.c: Removed unused configurations and dead code.
90485         * malloc/arena.c: Likewise.
90486         * malloc/hooks.c: Likewise.
90487         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
90489         * include/tls.h: Removed.  USE___THREAD must always be defined.
90490         * bits/libc-tsd.h: Don't handle !USE___THREAD.
90491         * elf/dl-libc.c: Likewise.
90492         * elf/dl-tsd.c: Likewise.
90493         * include/errno.h: Likewise.
90494         * include/netdb.h: Likewise.
90495         * include/resolv.h: Likewise.
90496         * inet/herrno-loc.c: Likewise.
90497         * inet/herrno.c: Likewise.
90498         * malloc/arena.c: Likewise.
90499         * malloc/hooks.c: Likewise.
90500         * malloc/malloc.c: Likewise.
90501         * resolv/res-state.c: Likewise.
90502         * resolv/res_libc.c: Likewise.
90503         * sysdeps/i386/dl-machine.h: Likewise.
90504         * sysdeps/ia64/dl-machine.h: Likewise.
90505         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
90506         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
90507         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
90508         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
90509         * sysdeps/sh/dl-machine.h: Likewise.
90510         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
90511         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
90512         * sysdeps/unix/i386/sysdep.S: Likewise.
90513         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
90514         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
90515         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
90516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
90517         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
90518         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
90519         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
90520         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
90521         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
90522         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
90523         * sysdeps/unix/x86_64/sysdep.S: Likewise.
90524         * sysdeps/x86_64/dl-machine.h: Likewise.
90525         * tls.make.c: Likewise.
90527         * configure.in: Remove --with-__thread option.  Make tests for
90528         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
90529         tls_model attribute fail if no support is available.  Remove
90530         USE_IN_LIBIO.
90531         * Makeconfig: Adjust for dropped configure option.  All features are
90532         now mandatory.
90533         * Makerules: Likewise.
90534         * Versions.def: Likewise.
90535         * argp/argp-fmtstream.c: Likewise.
90536         * argp/argp-fmtstream.h: Likewise.
90537         * argp/argp-help.c: Likewise.
90538         * assert/assert.c: Likewise.
90539         * config.h.in: Likewise.
90540         * config.make.in: Likewise.
90541         * configure: Likewise.
90542         * configure.in: Likewise.
90543         * csu/Versions: Likewise.
90544         * csu/init.c: Likewise.
90545         * elf/tst-audit2.c: Likewise.
90546         * elf/tst-tls10.c: Likewise.
90547         * elf/tst-tls10.h: Likewise.
90548         * elf/tst-tls11.c: Likewise.
90549         * elf/tst-tls12.c: Likewise.
90550         * elf/tst-tls14.c: Likewise.
90551         * elf/tst-tlsmod11.c: Likewise.
90552         * elf/tst-tlsmod12.c: Likewise.
90553         * elf/tst-tlsmod13.c: Likewise.
90554         * elf/tst-tlsmod13a.c: Likewise.
90555         * elf/tst-tlsmod14a.c: Likewise.
90556         * elf/tst-tlsmod15b.c: Likewise.
90557         * elf/tst-tlsmod16a.c: Likewise.
90558         * elf/tst-tlsmod16b.c: Likewise.
90559         * elf/tst-tlsmod7.c: Likewise.
90560         * elf/tst-tlsmod8.c: Likewise.
90561         * elf/tst-tlsmod9.c: Likewise.
90562         * gmon/gmon.c: Likewise.
90563         * grp/fgetgrent_r.c: Likewise.
90564         * grp/putgrent.c: Likewise.
90565         * hurd/fopenport.c: Likewise.
90566         * include/libc-symbols.h: Likewise.
90567         * include/tls.h: Likewise.
90568         * intl/gettextP.h: Likewise.
90569         * intl/loadinfo.h: Likewise.
90570         * locale/global-locale.c: Likewise.
90571         * locale/localeinfo.h: Likewise.
90572         * mach/devstream.c: Likewise.
90573         * malloc/arena.c: Likewise.
90574         * malloc/set-freeres.c: Likewise.
90575         * misc/err.c: Likewise.
90576         * misc/getttyent.c: Likewise.
90577         * misc/mntent_r.c: Likewise.
90578         * posix/getopt.c: Likewise.
90579         * posix/wordexp.c: Likewise.
90580         * pwd/fgetpwent_r.c: Likewise.
90581         * resolv/Versions: Likewise.
90582         * resolv/res_hconf.c: Likewise.
90583         * shadow/fgetspent_r.c: Likewise.
90584         * shadow/putspent.c: Likewise.
90585         * stdio-common/printf_fphex.c: Likewise.
90586         * stdio-common/tmpfile.c: Likewise.
90587         * stdlib/abort.c: Likewise.
90588         * stdlib/fmtmsg.c: Likewise.
90589         * sunrpc/auth_unix.c: Likewise.
90590         * sunrpc/clnt_perr.c: Likewise.
90591         * sunrpc/clnt_tcp.c: Likewise.
90592         * sunrpc/clnt_udp.c: Likewise.
90593         * sunrpc/clnt_unix.c: Likewise.
90594         * sunrpc/openchild.c: Likewise.
90595         * sunrpc/svc_simple.c: Likewise.
90596         * sunrpc/svc_tcp.c: Likewise.
90597         * sunrpc/svc_udp.c: Likewise.
90598         * sunrpc/svc_unix.c: Likewise.
90599         * sunrpc/xdr.c: Likewise.
90600         * sunrpc/xdr_array.c: Likewise.
90601         * sunrpc/xdr_rec.c: Likewise.
90602         * sunrpc/xdr_ref.c: Likewise.
90603         * sunrpc/xdr_stdio.c: Likewise.
90605 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90607         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90609 2011-07-03  Andreas Jaeger  <aj@suse.de>
90611         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
90612         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
90613         regenerate with gen-libm-tests.pl.
90615 2010-05-12  Petr Baudis  <pasky@suse.cz>
90617         [BZ #11589]
90618         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
90619         around j0() zero points by switching to j1().
90620         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90621         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
90623         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90625 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90627         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
90628         instead of 0.
90629         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
90630         instead of 0.
90631         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
90632         Patch in part by Pavel Roskin <proski@gnu.org>.
90634         [BZ #13138]
90635         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
90636         realloc.
90637         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
90638         Free memory block if necessary.
90640         [BZ #12847]
90641         * libio/genops.c (INTDEF): For string streams the _lock pointer can
90642         be NULL.  Don't lock in this case.
90644 2011-09-09  Roland McGrath  <roland@hack.frob.com>
90646         * elf/elf.h (ELFOSABI_GNU): New macro.
90647         (ELFOSABI_LINUX): Define to that.
90649 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
90651         * string/strncat.c (strncat): Undef the symbol in case it has been
90652         defined in bits/string.h.
90654 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
90656         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
90658         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
90659         link map.
90661 2011-08-17  Andreas Jaeger  <aj@suse.de>
90663         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
90665 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
90666             Ian Lance Taylor  <iant@google.com>
90668         * math/libm-test.inc (lround_test): New testcase.
90669         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
90671 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
90673         * Makefile: Remove support for automatic cvs check-ins.
90674         * Makerules: Likewise.
90675         * config.make.in: Likewise.
90676         * configure.in: Likewise.
90677         * intl/Makefile: Likewise.
90678         * locale/Makefile: Likewise.
90679         * po/Makefile: Likewise.
90680         * posix/Makefile: Likewise.
90681         * sysdeps/gnu/Makefile: Likewise.
90682         * sysdeps/mach/hurd/Makefile: Likewise.
90683         * sysdeps/sparc/sparc32/Makefile: Likewise.
90685         [BZ #13118]
90686         * posix/Makefile (bug-regex32-ENV): Define.
90687         Patch by John Stanley <jpsinthemix@verizon.net>.
90689         * misc/Makefile (headers): Add bits/select2.h.
90690         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
90691         * misc/bits/select2.h: New file.
90692         * include/bits/select2.h: New file.
90693         * debug/Makefile (routines): Add fdelt_chk.
90694         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
90695         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
90696         FD_ISSET.
90697         * debug/fdelt_chk.c: New file.
90699         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
90700         * wcsmbs/test-wmemcmp.c: Likewise.
90701         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
90702         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
90704 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90706         * string/Makefile (strop-tests): Add memcmp.
90707         * string/test-wmemcmp.c: New file.
90708         * string/test-memcmp.c: Add wmemcmp support.
90710 2011-09-08  Roland McGrath  <roland@hack.frob.com>
90712         [BZ #13153]
90713         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
90714         2011-07-19 change.
90716         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
90717         garbage value in a __mach_port_mod_refs call in the cases of the
90718         task-self and thread-self ports.
90720 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90722         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
90724 2011-09-08  Andreas Schwab  <schwab@redhat.com>
90726         * elf/dl-load.c (lose): Check for non-null L.
90728 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90730         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
90732         * elf/dl-libc.c (dlerror_run): Pass back error code from
90733         dl_catch_error.
90735         [BZ #13123]
90736         * elf/dl-load.c (lose): Free l_origin if it is valid.
90738         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
90739         names.
90740         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
90741         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90742         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
90743         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90744         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
90745         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
90747 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90749         * sysdeps/powerpc/fpu/e_hypot.c: New file.
90750         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
90751         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
90752         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
90753         * sysdeps/powerpc/fpu/k_cosf.c: New file.
90754         * sysdeps/powerpc/fpu/k_sinf.c: New file.
90755         * sysdeps/powerpc/fpu/s_cosf.c: New file.
90756         * sysdeps/powerpc/fpu/s_sinf.c: New file.
90757         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
90758         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
90760 2011-08-15  Alan Modra  <amodra@gmail.com>
90762         [BZ #13092]
90763         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
90764         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
90765         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
90766         ppc_mcount to static-only-routines.
90767         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
90768         __mcount_internal.
90769         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
90770         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
90772 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
90774         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
90775         for finite and infinity parameters.
90777 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
90779         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
90780         and add nop instructions for throughput optimization.
90781         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
90783 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
90785         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
90786         aligned copy for power7 with vector-scalar instructions.
90787         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
90789 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
90791         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
90792         AVX check.
90794 2011-09-07  Andreas Schwab  <schwab@redhat.com>
90796         [BZ #13144]
90797         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
90798         last change.
90800 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
90802         * sysdeps/unix/sysv/linux/x86_64/init-first.c
90803         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
90804         syscall wrapper around clock_gettime in __vdso_clock_gettime.
90805         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
90806         clock_gettime.
90808 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90810         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
90811         Forgot to demangle the pointer.
90813         * sysdeps/i386/sysdep.h: Define atom_text_section.
90814         * sysdeps/x86_64/sysdep.h: Likewise.
90815         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
90816         section with atom_text_section.
90817         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
90818         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
90819         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
90820         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
90821         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
90823         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
90824         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
90825         already be defined.  Change to take two parameters and don't assign
90826         result to variable.  Adjust all users.
90827         Define INTERNAL_GETTIME if not already defined.
90828         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
90829         call.
90830         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
90831         HAVE_CLOCK_GETTIME_VSYSCALL.
90832         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
90834         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
90835         gettimeofday vsyscall, just use time.
90837 2011-09-06  Andreas Schwab  <schwab@redhat.com>
90839         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
90840         <errno.h>.
90842 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
90844         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
90845         syscall on x86-64.
90846         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
90847         syscall.
90848         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
90849         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
90850         syscall if possible.
90852 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90854         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
90855         e_ident.  Don't pass to find_mapsXX.
90856         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
90858 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90860         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90861         strchr-sse2-no-bsf strrchr-sse2-no-bsf
90862         * sysdeps/x86_64/multiarch/strchr.S: Update.
90863         Check bit_slow_BSF bit.
90864         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
90865         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
90866         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
90868 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90870         [BZ #13134]
90871         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
90872         before glibc 2.15.
90873         (tryshell): Define.
90874         (__spawni): Change last parameter to be flag.  Test
90875         SPAWN_XFLAGS_USE_PATH flag to use path or not.
90876         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
90877         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
90878         * posix/spawni.c: Likewise.
90879         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
90880         * posix/spawnp.c: Likewise.  Change normal version to use
90881         SPAWN_XFLAGS_USE_PATH.
90882         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
90883         SPAWN_XFLAGS_TRY_SHELL.
90885         [BZ #13150]
90886         * posix/glob.h: Remove gcc 1.x support.
90888         [BZ #13068]
90889         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
90891 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
90893         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90894         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
90895         strrchr-sse2-bsf
90896         * sysdeps/i386/i686/multiarch/strchr.S: New file.
90897         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
90898         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
90899         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
90900         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
90901         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
90903 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90905         * sysdeps/x86_64/wcscmp.S: New file.
90907         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
90908         wcscmp-c wcscmp-sse2
90909         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
90910         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
90911         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
90912         * wcsmbs/wcscmp.c: Allow renaming.
90914 2011-09-05  David S. Miller  <davem@davemloft.net>
90916         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
90917         stack slot, rather than the struct return pointer slot.
90918         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
90919         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
90920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
90921         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
90923 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
90925         * po/ja.po: Update from translation team.
90927         [BZ #13144]
90928         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
90929         kernel in 64-bit binaries.
90931 2011-09-01  David S. Miller  <davem@davemloft.net>
90933         * elf/elf.h (HWCAP_SPARC_*): Move to..
90934         * sysdeps/sparc/sysdep.h: this new file and add new values.
90935         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
90936         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
90937         _DL_HWCAP_COUNT to 24.
90938         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
90939         entries.
90940         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
90941         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
90942         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
90943         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
90944         instead of magic constants.
90945         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
90947 2011-08-31  David S. Miller  <davem@davemloft.net>
90949         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
90950         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
90951         Reimplement to do errno handling inline.
90952         (SYSCALL_ERROR_HANDLER): New macro.
90953         (__SYSCALL_STRING): Do not do errno handling in asm.
90954         (__CLONE_SYSCALL_STRING): Delete.
90955         (__INTERNAL_SYSCALL_STRING): Delete.
90956         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
90957         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
90958         (PSEUDO): Reimplement to do errno handling inline.
90959         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
90960         (SYSCALL_ERROR_HANDLER): New macro.
90961         (__SYSCALL_STRING): Do not do errno handling in asm.
90962         (__CLONE_SYSCALL_STRING): Delete.
90963         (__INTERNAL_SYSCALL_STRING): Delete.
90964         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
90965         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
90966         i386.
90967         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
90968         (inline_syscall*): Add 'err' argument.
90969         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
90970         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
90971         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
90972         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
90974         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
90975         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
90977 2011-08-30  Andreas Schwab  <schwab@redhat.com>
90979         * elf/rtld.c (dl_main): Relocate objects in dependency order.
90981 2011-08-29  Jiri Olsa <jolsa@redhat.com>
90983         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
90984         directive.
90986 2011-08-24  David S. Miller  <davem@davemloft.net>
90988         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
90990 2011-08-24  Andreas Schwab  <schwab@redhat.com>
90992         * elf/Makefile: Add rules to build and run unload8 test.
90993         * elf/unload8.c: New file.
90994         * elf/unload8mod1.c: New file.
90995         * elf/unload8mod1x.c: New file.
90996         * elf/unload8mod2.c: New file.
90997         * elf/unload8mod3.c: New file.
90999         * elf/dl-close.c (_dl_close_worker): Reset private search list if
91000         it wasn't used.
91002 2011-08-23  David S. Miller  <davem@davemloft.net>
91004         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
91005         subtract stack bias.
91006         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
91007         %sp not %fp in calculations.
91008         (_JMPBUF_UNWINDS_ADJ): Likewise.
91010         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91011         (aio_suspend): Call it to force an exception region around the
91012         AIO_MISC_WAIT() invocation.
91014 2011-08-23  Andreas Schwab  <schwab@redhat.com>
91016         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91017         backslash.
91019 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
91021         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91022         protection macro.
91023         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91024         and <dl-machine.h>.
91025         (Elf64_FuncDesc): Remove.
91027 2011-08-22  David S. Miller  <davem@davemloft.net>
91029         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91030         sigaltstack check, add missing cfi directives.
91031         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91032         missing cfi directives, and sigaltstack handling.
91034 2011-08-16  Andreas Schwab  <schwab@redhat.com>
91036         [BZ #11724]
91037         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91038         object is seen twice.
91039         * elf/dl-fini.c (_dl_sort_fini): Likewise.
91041         * elf/Makefile (distribute): Add tst-initorder2.c.
91042         (tests): Add tst-initorder2.
91043         (modules-names): Add tst-initorder2a tst-initorder2b
91044         tst-initorder2c tst-initorder2d.  Add rules to build them.
91045         ($(objpfx)tst-initorder2.out): New rule.
91046         * elf/tst-initorder2.c: New file.
91047         * elf/tst-initorder2.exp: New file.
91049 2011-08-22  Andreas Schwab  <schwab@redhat.com>
91051         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91053         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91054         dependencies back to end of function.
91056         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91057         $(elfobjdir)/ld.so.
91059 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
91061         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91062         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91063         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91064         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
91065         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
91066         of __vdso_gettimeofday.
91067         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
91068         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
91069         attribute_hidden.
91070         (_libc_vdso_platform_setup): Remove initialization of
91071         __vdso_gettimeofday and __vdso_time.
91073 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91075         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
91076         and fgetc_unlocked.
91077         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
91078         getc_unlocked.
91080         * elf/dl-open.c (add_to_global): Report additions to the global scope
91081         for LD_DEBUG=scopes.
91082         (dl_open_worker): Also print scope of newly loaded dependencies.
91083         (_dl_show_scope): Indicate if there is no scope.
91085         [BZ #13114]
91086         * stdio-common/Makefile (tests): Add bug24.
91087         * stdio-common/bug24.c: New file.
91089 2011-08-19  Andreas Jaeger  <aj@suse.de>
91091         [BZ #13114]
91092         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
91093         non-existant file when using close-on-exec mode.
91095 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
91097         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
91098         the very first instruction.
91100         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
91101         the CFI state in the end.
91102         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
91103         inclusion of dl-trampoline.h.
91104         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
91106 2011-08-19  Andreas Schwab  <schwab@redhat.com>
91108         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
91109         expectations for long double.
91111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
91112         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
91114 2011-08-14  David S. Miller  <davem@davemloft.net>
91116         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
91117         artificual limit depends upon the system page size.
91119 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91121         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
91122         * resolv/Makefile: Define CFLAGS-libresolv.
91124 2011-08-17  Andreas Schwab  <schwab@redhat.com>
91126         * nss/makedb.c (compute_tables): Make variables used in nested
91127         function static.
91129 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
91131         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
91132         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
91133         if buffer was too small.
91135         * elf/pldd.c (main): Attach to all threads in the process.
91136         Rewrite /proc handling to use *at functions.
91138 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
91140         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
91141         specifies first scope to show.
91142         (dl_open_worker): Update callers.  Move printing scope of new
91143         object to before the relocation.
91144         * elf/rtld.c (dl_main): Update _dl_show_scope call.
91145         * sysdeps/generic/ldsodefs.h: Update declaration.
91147         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
91148         string for the scope number.
91150 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
91152         * nscd/servicescache.c (cache_addserv): Make sure written is always
91153         initialized.
91155 2011-08-14  Roland McGrath  <roland@hack.frob.com>
91157         * sysdeps/i386/i486/bits/atomic.h
91158         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
91159         statement expression, so as to suppress "set but not used" warning.
91160         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
91162         * string/strncat.c (STRNCAT): Use prototype definition.
91164         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
91165         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
91166         -Iprograms here.
91167         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
91168         (localedef-modules): Add localedef.
91169         (locale-modules): Add locale.
91171         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
91172         * elf/rtld.c (dl_main): Invert order of assignment in last change,
91173         to avoid a warning.
91175 2011-08-14  David S. Miller  <davem@davemloft.net>
91177         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
91178         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
91180 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
91182         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
91183         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
91184         * elf/rtld.c (dl_main): Set l_name of vDSO.
91185         Call _dl_show_scope when DL_DEBUG_SCOPES.
91186         (process_dl_debug): Recognize scopes flag and also set it for all.
91187         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
91188         Declare _dl_show_scope.
91190         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
91191         (do_dlopen): Pass caller_dlopen to dl_open.
91192         (__libc_dlopen_mode): Initialize caller_dlopen.
91194         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
91195         of libc.  Make tolower call locale-independent.  Optimize a bit by
91196         using isdigit instead of isalnum.
91197         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
91199 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
91201         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
91202         was a dependency or dynamically loaded.
91204 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
91206         * intl/l10nflist.c: Allow architecture-specific pop function.
91207         * sysdeps/x86_64/l10nflist.c: New file.
91209         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
91210         classification.
91212 2011-08-10  Andreas Schwab  <schwab@redhat.com>
91214         * include/dirent.h: Add libc_hidden_proto for scandirat and
91215         scandirat64.  Don't declare __scandirat64.
91216         * dirent/scandirat.c: Add libc_hidden_def.
91217         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
91218         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
91220 2011-08-10  David S. Miller  <davem@davemloft.net>
91222         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
91223         enum.
91224         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91225         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91226         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91228 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
91230         * Versions.def [libc]: Add GLIBC_2.15.
91231         * dirent/Makefile (routines): Add scandirat and scandirat64.
91232         * dirent/Versions [libc]: Export scandirat and scandirat64 for
91233         GLIBC_2.15.
91234         * dirent/dirent.h: Declare scandirat and scandirat64.
91235         * dirent/scandirat.c: New file.
91236         * dirent/scandirat64.c: New file.
91237         * sysdeps/wordsize-64/scandirat.c: New file.
91238         * sysdeps/wordsize-64/scandirat64.c: New file.
91239         * dirent/opendir.c: Define opendirat.
91240         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
91241         using scandirat.
91242         * dirent/scandir64.c: Adjust for scandir.c change.
91243         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
91244         __scandirat64, and __scandir_cancel_handler.
91245         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
91246         additional parameter and use openat instead of open (outside of ld.so).
91247         Add new __opendir as wrapper around __opendirat.
91248         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
91249         here without requiring old scandirat implementation.
91251 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
91253         * dirent/scandir.c (cancel_handler): Renamed to
91254         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
91255         defined.  Adjust users.
91256         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
91257         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
91259 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
91261         * string/test-string.h (IMPL): Use __STRING to expand name and then
91262         stringify it.
91264         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
91265         of cleanups.
91267 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91269         * string/Makefile: Update.
91270         (strop-tests): Append strncat.
91271         * string/test-wcscmp.c: New file.
91272         New comprehensive test for wcscmp.
91273         * string/test-strcmp.c: Update.
91274         (WIDE): New define.
91276 2011-07-22  Andreas Schwab  <schwab@redhat.com>
91278         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
91279         line.
91281 2011-07-26  Andreas Schwab  <schwab@redhat.com>
91283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91284         encoding to ACE if AI_IDN.
91286 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
91288         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
91289         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
91291 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91293         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
91294         Fix overflow bug in strncat.
91295         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
91297         * string/test-strncat.c: Update.
91298         Add new tests for checking overflow bugs.
91300 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91302         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91303         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
91304         * sysdeps/i386/i686/multiarch/strcat.S: New file.
91305         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
91306         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
91307         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
91308         * sysdeps/i386/i686/multiarch/strncat.S: New file.
91309         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
91310         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
91312         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
91313         (USE_AS_STRCAT): Define.
91314         Add strcat and strncat support.
91315         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91317 2011-07-25  Andreas Schwab  <schwab@redhat.com>
91319         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
91320         __n bigger than INT_MAX+1.
91321         (__strncmp_g): Likewise.
91323 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
91325         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
91326         * libio/stido.h: Likewise.
91328         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
91329         (AF_NFC): Define.
91330         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
91331         (AF_NFC): Define.
91333         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
91334         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
91335         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
91336         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
91337         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
91339         [BZ #13021]
91340         * scripts/test-installation.pl: Don't expect libnss_test1 to be
91341         installed.
91343         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
91344         typo.
91345         (_dl_x86_64_save_sse): Likewise.
91347 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
91349         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
91350         OSXSAVE.
91351         (_dl_x86_64_save_sse): Likewise.
91353         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
91355         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
91357 2011-07-21  Andreas Schwab  <schwab@redhat.com>
91359         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
91360         change.
91361         (_dl_x86_64_save_sse): Use correct AVX check.
91363 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91365         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
91366         bug in strncpy/strncat.
91367         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
91369 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
91371         * string/tester.c (test_strcat): Add tests for different alignments
91372         of source and destination.
91373         (test_strncat): Likewise.
91375 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91377         [BZ #12852]
91378         * posix/glob.c (glob): Check passed in values before using them in
91379         expressions to avoid some overflows.
91380         (glob_in_dir): Likewise.
91382         [BZ #13007]
91383         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
91384         check for AVX enablement so that we don't crash with old kernels and
91385         new hardware.
91386         * elf/tst-audit4.c: Add same checks here.
91387         * elf/tst-audit6.c: Likewise.
91389         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
91391 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
91393         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
91395 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
91397         * po/cs.po: Update from translation team.
91398         * po/bg.po: Likewise.
91400 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
91402         * misc/sys/cdefs.h: Add support for const attribute.
91403         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
91404         to gnu_dev_{major,minor,makedev} functions.
91406 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
91408         * intl/dcigettext.c (get_output_charset): Add missing bracket.
91410 2011-07-20  Andreas Schwab  <schwab@redhat.com>
91412         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
91413         strlen results.
91415 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91417         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
91418         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
91419         register in order to avoid conflicts with the soft frame pointer
91420         being held in r11 when necessary.
91421         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
91422         (INTERNAL_VSYSCALL_NCS): Likewise.
91424 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
91426         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
91427         * elf/dl-fini.c (_dl_fini): Adjust caller.
91428         * elf/dl-close.c (_dl_close_worker): Likewise.
91429         * sysdeps/generic/ldsodefs.h: Adjust declaration.
91431 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91433         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
91434         "aux_cache->nlibs < 0".
91436         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
91437         in the reload-count case.
91439 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91442         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
91443         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
91444         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
91445         * sysdeps/x86_64/multiarch/strcat.S: New file.
91446         * sysdeps/x86_64/multiarch/strncat.S: New file.
91447         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
91448         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
91449         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
91450         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
91451         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
91452         (USE_AS_STRCAT): Define.
91453         Add strcat and strncat support.
91454         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91455         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
91456         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
91457         * string/strncat.c: Update.
91458         (USE_AS_STRNCAT): Define.
91459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91460         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
91461         and i7.
91462         * sysdeps/x86_64/multiarch/init-arch.h
91463         (bit_Prefer_PMINUB_for_stringop): New.
91464         (index_Prefer_PMINUB_for_stringop): Likewise.
91465         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
91466         bit_Prefer_PMINUB_for_stringop.
91468 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91470         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
91471         buffer64.
91472         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
91473         of casting of buffer.
91474         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
91475         buffer32 and buffer64.
91476         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
91477         writes instead of casting of buffer.
91478         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
91479         buffer32.
91480         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
91481         casting of buffer.
91483 2011-07-19  Andreas Schwab  <schwab@redhat.com>
91485         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
91487 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
91489         * nscd/nscd.c (termination_handler): Don't do anything for a database
91490         if it has not yet been initialized.
91492 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91494         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91496 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
91498         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
91500 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
91502         * po/nl.po: Update from translation team.
91503         * po/sv.po: Likewise.
91505 2011-07-16  Roland McGrath  <roland@hack.frob.com>
91507         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
91508         now disallowed by GCC.
91510         * configure.in (use-default-link): Default to yes if a test -shared
91511         link meets our qualifications.
91512         * configure: Regenerated.
91514         * config.make.in (output-format): New variable.
91515         * configure.in: Check for ld --print-output-format support.
91516         * configure: Regenerated.
91517         * Makerules ($(common-objpfx)format.lds)
91518         [$(output-format) != unknown]: Just use $(output-format),
91519         instead of the linker-script munging.
91521 2011-07-14  Roland McGrath  <roland@hack.frob.com>
91523         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
91524         of $(common-objpfx)shlib.lds.
91525         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
91527         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
91528         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
91530         * configure.in (-z relro check): Adjust test code to add a large
91531         writable data section after it.
91532         * configure: Regenerated.
91534 2011-07-11  Roland McGrath  <roland@hack.frob.com>
91536         * configure.in (-z relro check): Fix test code to make the variable
91537         truly const.
91538         * configure: Regenerated.
91540 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
91542         * nscd/nscd.h (struct traced_file): Define.
91543         (struct database_dyn): Remove inotify_descr, reset_res, and filename
91544         elements.  Add traced_files.
91545         (inotify_fd): Declare.
91546         (register_traced_file): Declare.
91547         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
91548         (inotify_fd): Export.
91549         (resolv_conf_descr): Remove.
91550         (nscd_init): Move inotify descriptor creation to main.
91551         Don't register files for notification here.
91552         (register_traced_file): New function.
91553         (invalidate_cache): Don't use reset_res to determine whether to call
91554         res_init, go through the list of registered files.
91555         (main_loop_poll): The inotify descriptors are now stored in the
91556         structures for the traced files.
91557         (main_loop_epoll): Likewise.
91558         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
91559         to __nss_disable_nscd.
91560         * nscd/cache.c (prune_cache): There is no single inotify descriptor
91561         for a database anymore.  Check the records for all the registered
91562         files instead.
91563         * nss/Makefile (libnss_files-routines): Add files-init.
91564         (libnss_db-routines): Add db-init.
91565         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
91566         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
91567         * nss/nss_db/db-init.c: New file.
91568         * nss/nss_files/files-init.c: New file.
91569         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
91570         __nss_lookup_function.
91571         (__nss_lookup_function): Call nss_load_library.
91572         (nss_load_all_libraries): New function.
91573         (__nss_disable_nscd): Take parameter with callback function for files
91574         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
91575         used for the cached services.
91576         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
91577         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
91578         options for features to all the files in nscd.
91580         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
91582 2011-07-10  Roland McGrath  <roland@hack.frob.com>
91584         * csu/elf-init.c (__libc_csu_init): Comment typo.
91586 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
91588         * po/pl.po: Update from translation team.
91589         * po/ja.po: Likewise.
91590         * po/ru.po: Likewise.
91591         * po/ko.po: Likewise.
91592         * po/fr.po: Likewise.
91594 2011-07-09  Roland McGrath  <roland@hack.frob.com>
91596         * configure.in (.ctors/.dtors header and trailer check):
91597         Use an empirical test on a built program.
91598         * configure: Regenerated.
91600         * configure.in (-z relro check): Use an empirical test on a built DSO.
91601         Detect, but do not require, on ia64.
91602         * configure: Regenerated.
91604         * configure.in (READELF): Find it with AC_CHECK_TOOL.
91605         Update tests that use readelf to use $READELF instead.
91606         * configure: Regenerated.
91608 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
91610         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
91611         if the result is not used.
91613 2011-07-05  Andreas Jaeger  <aj@suse.de>
91615         [BZ #9696]
91616         * stdlib/tst-strtod.c: Add testcase.
91618 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
91620         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
91621         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
91622         The latter has a higher limit.  Take additional parameter to pass to
91623         the new function.
91624         (__pathconf): Pass file to __statfs_link_max.
91625         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
91626         __statfs_link_max.
91627         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
91628         __statfs_link_max.
91630         [BZ #12868]
91631         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
91632         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
91633         Handle Lustre.
91634         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
91635         (__statfs_filesize_max): Likewise.
91636         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
91638 2011-07-05  Andreas Jaeger  <aj@suse.de>
91640         * resolv/res_comp.c (dn_skipname): Remove unused variable.
91642 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
91644         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
91645         `status' variable.
91646         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
91647         Likewise.
91649 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
91651         * Makefile (strop-tests): Add strncat.
91652         * string/test-strncat.c: New file.
91654 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
91656         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
91658 2011-06-21  Andreas Jaeger  <aj@suse.de>
91660         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
91661         Copy rule from iconvdata/Makefile.
91663 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91665         [BZ #12922]
91666         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
91667         but no long options are defined, just return 'W'.
91669 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
91671         [BZ #9696]
91672         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
91674 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
91676         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
91677         netgroups to read.
91678         (innetgr): Likewise.
91680 2011-07-05  Roland McGrath  <roland@hack.frob.com>
91682         * config.make.in (install_root): Default to $(DESTDIR).
91684 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
91686         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
91688 2011-07-02  Roland McGrath  <roland@hack.frob.com>
91690         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
91692         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
91693         containing directory rather than embedding absolute directory names.
91695         * scripts/check-local-headers.sh: Rewritten using awk.
91696         Match by word, not by line.  Print error messages for matches.
91697         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
91699         * Makerules [shlib-lds-flags empty]:
91700         ($(common-objpfx)libc_pic.opts): New target.
91701         ($(common-objpfx)libc_pic.os.clean): New target.
91702         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
91704         * config.make.in (OBJCOPY): New variable.
91705         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
91706         * configure: Regenerated.
91708         * config.make.in (use-default-link): New variable.
91709         * configure.in (use_default_link): Grok --with-default-link to set it.
91710         * configure: Regenerated.
91711         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
91712         (shlib-lds, shlib-lds-flags): Define to empty.
91714         * Makerules (shlib-lds): New variable.
91715         (shlib-lds-flags): New variable.
91716         (build-shlib, build-moduile, build-module-asneeded): Use it.
91717         ($(common-objpfx)libc.so): Use $(shlib-lds).
91718         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
91719         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
91721         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
91722         DT_FLAGS/DT_FLAGS_1 with zero flags.
91724         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
91725         linker script munging.
91727 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
91729         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
91730         as 128-bit value.
91731         * crypt/sha512.c (sha512_process_block): Perform total addition using
91732         128-bit if possible.
91733         (__sha512_finish_ctx): Likewise.
91734         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
91735         as 64-bit value.
91736         * crypt/sha256.c (SWAP64): Define.
91737         (sha256_process_block): Perform total addition using 64-bit if
91738         possible.
91739         (__sha256_finish_ctx): Likewise.
91741 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
91743         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
91744         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91745         * nscd/hstcache.c (cache_addhst): Likewise.
91746         * nscd/grpcache.c (cache_addgr): Likewise.
91747         * nscd/aicache.c (addhstaiX): Likewise.
91748         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
91750 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
91752         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
91753         * nscd/initgrcache.c (addinitgroupsX): Likewise.
91754         * nscd/hstcache.c (cache_addhst): Likewise.
91755         * nscd/grpcache.c (cache_addgr): Likewise.
91756         * nscd/aicache.c (addhstaiX): Likewise.
91758 2011-07-01  Andreas Schwab  <schwab@redhat.com>
91760         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
91761         domain only when needed.
91763 2011-06-30  Andreas Schwab  <schwab@redhat.com>
91765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
91766         is always restored.
91768 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
91770         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
91771         are re-adding the entry.
91772         * nscd/servicescache.c (cache_addserv): Likewise.
91774 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
91776         * sysdeps/generic/dl-irel.h: fix protection against multiple
91777         inclusions.
91778         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
91780 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
91782         [BZ #12935]
91783         * malloc/memusage.sh: Fix quoting in message.
91784         * debug/xtrace.sh: Likewise.
91786         * configure.in: Remove support for --experimental-malloc option, make
91787         it the default.
91788         * config.make.in: Likewise.
91789         * malloc/Makefile: Likewise.
91791 2011-06-27  Andreas Schwab  <schwab@redhat.com>
91793         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
91794         two-byte characters.
91796 2011-06-27  Roland McGrath  <roland@hack.frob.com>
91798         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
91799         AC_CACHE_CHECK invocation.
91800         * configure: Regenerated.
91802         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
91804 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
91806         [BZ #12350]
91807         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
91808         bit from old_res_options.
91810         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
91812         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
91813         value type for setfct.
91815 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
91817         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91818         __gettimeofday instead of gettimeofday.
91820 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
91822         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
91824 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
91826         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
91828         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
91829         info.
91831 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91834         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91835         strcpy-sse2-unaligned strncpy-sse2-unaligned
91836         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
91837         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
91838         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
91839         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
91840         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
91841         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
91842         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
91843         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
91844         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
91845         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
91846         (STRCPY): Support SSE2 and SSSE3 versions.
91848 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
91850         [BZ #12874]
91851         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
91852         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
91853         kernels which artificially limit size of requests.
91855 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
91857         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91858         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
91859         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
91860         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
91861         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
91862         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
91863         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
91864         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
91865         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
91866         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
91867         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
91868         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
91869         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
91870         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
91871         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
91872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91873         Enable unaligned load optimization for Intel Core i3, i5 and i7
91874         processors.
91875         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
91876         Define.
91877         (index_Fast_Unaligned_Load): Define.
91878         (HAS_FAST_UNALIGNED_LOAD): Define.
91880 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
91882         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
91884 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91886         [BZ #12907]
91887         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
91888         until it is clear that the information is realy needed.
91889         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
91891 2011-06-22  Andreas Schwab  <schwab@redhat.com>
91893         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
91895 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
91897         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
91898         /sys/devices/system/cpu/online if it is usable.
91900         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
91901         reading the information from the /proc filesystem to once a second.
91903 2011-06-21  Andreas Jaeger  <aj@suse.de>
91905         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
91906         NULL after inclusion of kernel headers.
91908 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
91910         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
91911         calls to internal_setent.
91913         [BZ #12885]
91914         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
91915         addresses using gethostbyname4_r ignore IPv4 addresses.
91917         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
91918         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
91920         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
91922 2011-06-20  David S. Miller  <davem@davemloft.net>
91924         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
91925         inclusions.
91926         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
91928         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
91929         (elf_irel): Use it.
91930         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
91931         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
91932         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
91933         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
91934         * sysdeps/x86_64/dl-irel.h: Likewise.
91936         * elf/dl-runtime.c: Use elf_ifunc_invoke.
91937         * elf/dl-sym.c: Likewise.
91939 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91941         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
91942         need to dereference resplen2.
91944 2011-06-14  Andreas Schwab  <schwab@redhat.com>
91946         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
91948 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
91950         * Makeconfig: Define vardbdir and inst_vardbdir.
91951         * nss/Makefile: Add rules to install db-Makefile.
91953         * nss/nss_db/db-XXX.c: Cleanup.
91955         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
91956         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
91957         GLIBC_PRIVATE.
91958         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
91959         * nss/makedb.c: Implement -g option to specify that value strings
91960         are generated and should not be added to table iterated over for
91961         get*ent calls.
91962         * nss/nss_db/db-initgroups.c: New file.
91964         * nss/getent.c: Add support for initgroups lookups through getgrouplist
91965         interface.
91967         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
91968         (internal_getgrouplist): Adjust to name change.
91969         Update use_initgroups_entry if this is not the first call.
91970         * nss/databases.def: Add initgroups entry.
91972         * nss/makedb.c (compute_tables): Check result of multiple hash table
91973         sizes to minimize maximum chain length.
91975 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
91977         * Versions.def: Add entry for libnss_db.
91978         * shlib-versions: Likewise.
91979         * nss/Makefile: Add rules to build libnss_db.
91980         * nss/Versions: Add libnss_db information.  Organize libnss_files
91981         entries better.
91982         * nss/db-Makefile: Add gshadow support.  Change rules for the new
91983         makedb progra.  Some minor improvements to generate smaller files.
91984         * nss/nss_db/nss_db.h: Move NSS database header data structures to
91985         here from...
91986         * nss/makedb.c: ...here.
91987         Improve database format to be smaller and require less memory at
91988         runtime.
91989         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
91990         db anymore.
91991         * nss/nss_db/db-netgrp.c: Likewise.
91992         * nss/nss_db/db-open.c: Likewise.
91993         * nss/nss_files/flies-XXX.x: Adjust comments.
91994         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
91995         * nss/nss_files/files-grp.c: Likewise.
91996         * nss/nss_files/files-hosts.c: Likewise.
91997         * nss/nss_files/files-network.c: Likewise.
91998         * nss/nss_files/files-proto.c: Likewise.
91999         * nss/nss_files/files-pwd.c: Likewise.
92000         * nss/nss_files/files-rpc.c: Likewise.
92001         * nss/nss_files/files-service.c: Likewise.
92002         * nss/nss_files/files-sgrp.c: Likewise.
92003         * nss/nss_files/files-spwd.c: Likewise.
92004         * nss/nss_db/db-alias.c: Removed.
92005         * nss/nss_db/dummy-db.h: Removed.
92007 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
92009         * nss/makedb.c: Rewritten to not use database library.
92010         * nss/Makefile: Update to build new makedb program.
92012 2011-06-14  Andreas Jaeger  <aj@suse.de>
92014         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92015         memset declaration.
92017 2011-06-10  Andreas Schwab  <schwab@redhat.com>
92019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92020         tmpbuf.
92022 2011-06-10  Roland McGrath  <roland@hack.frob.com>
92024         * Makerules (shlib.lds): Fail if the linker script comes out empty.
92025         * elf/Makefile ($(objpfx)ld.so): Likewise.
92027         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92028         Don't list ld.so twice in dependencies.
92030         * posix/bug-regex31.c: Include <stdlib.h>.
92032         * nscd/hstcache.c (cache_addhst): Remove unused variable.
92034         * nis/nss_compat/compat-spwd.c
92035         (getspent_next_nss_netgr): Remove unused variable.
92036         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92038         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92039         nonmembers" output to use the right array.
92041         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92043         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92045         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92046         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92047         * catgets/gencat.c (read_input_file): Likewise.
92048         * locale/programs/locarchive.c (enlarge_archive): Likewise.
92050         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92051         variable definition inside #if's controlling its use.
92053         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92055         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92057         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92059         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92060         unreachable code.
92062         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92064         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
92065         * configure: Regenerated.
92067         * Makerules: Revert last change.
92068         * elf/Makefile: Likewise.
92070 2011-06-09  Roland McGrath  <roland@hack.frob.com>
92072         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
92073         * elf/Makefile ($(objpfx)librtld.os): Likewise.
92074         (reloc-link): Likewise.
92076 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
92078         * elf/Makefile: Add rules to build pldd.
92079         * elf/pldd.c: New file.
92080         * elf/pldd-xx.c: New file.
92082 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
92084         * version.h: Update for 2.15 development version.
92086 2011-06-07  David S. Miller  <davem@davemloft.net>
92088         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
92089         ifuncs.
92090         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
92091         elf_machine_lazy_rel): Likewise.
92092         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
92093         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
92094         elf_machine_lazy_rel): Likewise.
92095         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
92096         dl_hwcap via passed in argument.
92097         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
92098         Likewise.
92100 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92102         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
92104 2011-06-06  Roland McGrath  <roland@hack.frob.com>
92106         [BZ #12849]
92107         * manual/fdl-1.1.texi: New file, verbatim from:
92108         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
92109         * manual/lgpl-2.1.texi: New file, verbatim from:
92110         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
92111         * manual/Makefile (licenses): New variable, list those new file names.
92112         (texis): Use it.
92113         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
92115         * manual/fdl.texi: File removed.
92116         * manual/lesser.texi: File removed.
92117         * manual/libc.texinfo (Copying, Documentation License):
92118         Use new @include file names, put @appendix directive before @include.
92120 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
92122         [BZ #12841]
92123         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
92124         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
92125         (mq_open): Add __NTH.
92127 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
92129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92130         Assume Intel Core i3/i5/i7 processor if AVX is available.
92132 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92134         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
92135         typo.
92137 2011-05-31  Andreas Schwab  <schwab@redhat.com>
92139         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
92140         memory.  Use alloca_account.  Fix memory leak when retrying.
92142 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
92144         * version.h (RELEASE): Bump for 2.14 release.
92145         * include/features.h (__GLIBC_MINOR__): Bump to 14.
92147         * config.make.in (RANLIB): Remove entry.
92149 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
92151         * po/Makefile (po-sed-cmd): Add ksh to extensions.
92152         (libc.pot): Work around missing support for .ksh extension in xgettext.
92154         [BZ #12684]
92155         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
92156         if both request failed.
92157         (send_dg): In case of server errors clear resplen or *resplen2.
92159         [BZ #12454]
92160         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
92161         when there are multiple maps.
92162         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
92163         (_dl_fini): Remove test here.
92165         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
92167 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
92169         [BZ #12350]
92170         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
92171         bit from old_res_options.
92172         (gaih_inet): Likewise.
92174         [BZ #11099]
92175         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
92176         as signed.
92178         * resolv/res_init.c (res_setoptions): Make the code more compact.
92180         [BZ #11558]
92181         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
92182         set RES_USEVC.
92184         [BZ #11634]
92185         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
92187         * malloc/malloc.h: Mark malloc hook variables as deprecated.
92189         [BZ #11781]
92190         * malloc/malloc.h: Declare malloc hook variables as volatile.
92192         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
92193         in last patch.
92195         [BZ #11799]
92196         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
92197         raise in the comment.
92198         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
92199         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
92200         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
92202 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
92204         [BZ #12811]
92205         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
92206         grow the buffers more if it already has to be sufficient.
92207         (build_wcs_upper_buffer): Likewise.
92208         * posix/regexec.c (check_matching): Likewise.
92209         (clean_state_log_if_needed): Likewise.
92210         (extend_buffers): Don't enlarge buffers beyond size of the input
92211         buffer.
92212         Patches mostly by Emil Wojak <emil@wojak.eu>.
92213         * posix/bug-regex32.c: New file.
92214         * posix/Makefile (tests): Add bug-regex32.
92216         * locale/findlocale.c (_nl_find_locale): Return right away if
92217         _nl_explode_name failed.
92218         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
92220         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
92222         * debug/xtrace.sh: Unify messages.
92223         * malloc/memusage.sh: Likewise.
92225         [BZ #12813]
92226         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
92227         time symbol from vDSO.  Substitute with vsyscall if not available.
92228         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
92229         __vdso_time.
92231         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
92232         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
92233         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
92234         Add sendmmsg and internal_sendmmsg.
92235         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
92236         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
92237         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
92239         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
92240         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
92241         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
92243 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
92245         [BZ #12813]
92246         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
92247         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
92248         available.
92249         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
92250         __vdso_getcpu.
92252         [BZ #12814]
92253         * iconvdata/Makefile (tests): Add bug-iconv9.
92254         * iconvdata/bug-iconv9.c: New file.
92256 2011-05-27  Andreas Schwab  <schwab@redhat.com>
92258         [BZ #12814]
92259         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
92261 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
92263         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92264         (struct user_regs_struct): Change intcs field back to cs.
92266 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
92268         * po/ja.po: Update from translation team.
92270 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
92272         [BZ #12795]
92273         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
92274         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
92276 2011-05-20  Andreas Schwab  <schwab@redhat.com>
92278         * stdlib/longlong.h: Update from GCC.
92280 2011-05-23  Andreas Schwab  <schwab@redhat.com>
92282         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
92283         parameter name.
92284         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
92285         Add parameter name.
92286         (__sysconf): Pass it down.
92288 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
92290         [BZ #12671]
92291         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
92292         some situations.
92293         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
92294         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
92295         add in in __libc_use_alloca calls.  Adjust callers.
92296         (glob): Use malloc in some situations.
92298         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
92299         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
92300         pltexit.
92302 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
92304         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
92305         and CLOCK_BOOTTIME_ALARM.
92307         [BZ #12782]
92308         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
92309         is returned.
92311         * string/_strerror.c (__strerror_r): Print negative errors as signed
92312         numbers.
92314         [BZ #12777]
92315         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
92316         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
92317         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
92319         * configure.in: Fix typo in redirection and correct removal of test
92320         files in two cases.
92322         [BZ #12788]
92323         * locale/setlocale.c (new_composite_name): Fix test to check for
92324         identical name of all categories.
92326         [BZ #12792]
92327         * libio/filedoalloc.c (local_isatty): New function.
92328         (_IO_file_doallocate): Use local_isatty.
92329         * stdio-common/perror.c (perror): In case a new stream is used
92330         forward the stream error.
92331         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
92332         error flag.
92334 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
92336         [BZ #11884]
92337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
92338         alloca.
92339         * include/alloca.h (extend_alloca_account): Define.
92341         [BZ #11857]
92342         * posix/regex.h: Fix comments with documentation of user-accessible
92343         fields after compilation and describe correct free'ing of pattern
92344         after re_compile_pattern.
92345         Patch by Reuben Thomas <rrt@sc3d.org>.
92347 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
92349         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
92350         and -mno-altivec to prevent the compiler from using Altivec and/or
92351         VSX instructions when the corresponding registers are not available.
92353 2011-05-19  Andreas Schwab  <schwab@redhat.com>
92355         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
92357 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
92359         * libio/freopen.c (freopen): Use __dup2, not dup2.
92360         * libio/freopen64.c (freopen64): Likewise.
92362 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
92364         [BZ #12775]
92365         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
92366         * math/Makefile (tests): Add test-powl.
92367         (CFLAGS-test-powl.c): Define.
92368         * math/test-powl.c: New file.
92370 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
92372         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
92374 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
92376         [BZ #11837]
92377         * iconvdata/gb18030.c: Update to GB18020-2005.
92379 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
92381         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
92382         RE_SYNTAX_POSIX_AWK): Update to match recent development.
92383         Patch by Aharon Robbins <arnold@skeeve.com>.
92385         [BZ #11892]
92386         * stdlib/putenv.c (putenv): Don't always create copy of the variable
92387         on the stack.
92389         [BZ #11895]
92390         * misc/pselect.c (__pselect): Handle timeout value errors hidden
92391         through underflows.
92393         [BZ #12766]
92394         * misc/error.c (error_at_line): Ensure file_name and old_file_name
92395         point to strings before performing equality test for error_one_per_line
92396         mode.
92398         [BZ #11697]
92399         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
92401         [BZ #11820]
92402         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
92403         (struct user_fpregs_struct): Avoid __uint*_t types.
92405         [BZ #6420]
92406         * malloc/mtrace.c (tr_where): Add additional parameter to point to
92407         symbol info.  Use it instead of calling _dl_addr locally.
92408         (lock_and_info): New function.
92409         (tr_freehook): Call lock_and_info and pass symbol info as additional
92410         parameter to tr_where.
92411         (tr_mallochook): Likewise.
92412         (tr_reallochook): Likewise.
92413         (tr_memalignhook): Likewise.
92415         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
92416         used and couldn't be at all thread-safe.
92418 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
92420         * libio/freopen.c (freopen): Don't close old file descriptor
92421         before the new one is opened.  Instead dup the new file descriptor
92422         to the old one after the new stream is created.
92423         * libio/freopen64.c (freopen64): Likewise.
92424         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
92425         * libio/fileops.c (_IO_new_file_close_it): Handle new
92426         _IO_FLAGS2_NOCLOSE flag.
92427         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
92428         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
92429         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
92430         _IO_FLAGS2_NOCLOSE flag.
92431         * include/unistd.h: Add hidden_proto for dup3.
92432         Define __have_dup3.
92433         * io/dup3.c: Define hidden symbol.
92434         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
92436         [BZ #7101]
92437         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
92438         when an incomplete long option is used.
92439         * posix/tst-getopt_long1.c: New file.
92440         * posix/Makefile (tests): Add tst-getopt_long1.
92442         [BZ #10138]
92443         * scripts/config.guess: Update from autoconf-2.68.
92444         * scripts/config.sub: Likewise.
92446         [BZ #10157]
92447         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
92448         tests into ...
92449         (has_cpuclock): ...this.  New function.
92450         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
92451         macro here based on has_cpuclock code.
92453         [BZ #10149]
92454         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92455         First byte (not low byte) is now always NUL.
92456         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
92458         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
92459         Use non-cancelable interfaces.
92461         [BZ #9809]
92462         * locale/iso-639.def: Add entry for Sorani.
92464         [BZ #11901]
92465         * include/stdlib.h: Move include protection to the right place.
92466         Define abort_msg_s.  Declare __abort_msg with it.
92467         * stdlib/abort.c (__abort_msg): Adjust type.
92468         * assert/assert.c (__assert_fail_base): New function.  Majority
92469         of code from __assert_fail.  Allocate memory for __abort_msg with
92470         mmap.
92471         (__assert_fail): Now call __assert_fail_base.
92472         * assert/assert-perr.c: Remove bulk of implementation.  Use
92473         __assert_fail_base.
92474         * include/assert.hL Declare __assert_fail_base.
92475         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
92476         mmap.
92477         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
92479 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
92481         [BZ #11952]
92482         [BZ #12453]
92483         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
92484         until all modules are registered in the DTV.
92485         * elf/Makefile: Add rules to build and run tst-tls19.
92486         * elf/tst-tls19.c: New file.
92487         * elf/tst-tls19mod1.c: New file.
92488         * elf/tst-tls19mod2.c: New file.
92489         * elf/tst-tls19mod3.c: New file.
92490         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
92492         [BZ #12083]
92493         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
92494         correctly.
92496         [BZ #12601]
92497         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
92498         two-byte sequence errors.
92499         * iconvdata/Makefile (tests): Add bug-iconv8.
92500         * iconvdata/bug-iconv8.c: New file.
92502         [BZ #12626]
92503         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
92504         buf2 definition.
92506         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
92508         [BZ #12432]
92509         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
92510         (dummy_getcfa): New function.
92511         (init): Get _Unwind_GetCFA address, use dummy if not found.
92512         (backtrace_helper): In recursion check, also check whether CFA changes.
92513         (__backtrace): Completely initialize arg.
92515         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
92516         storing incomplete byte sequence in state object.  Avoid testing for
92517         guaranteed too small input if we know there is enough data available.
92519 2011-05-11  Andreas Schwab  <schwab@redhat.com>
92521         * Makeconfig (+link-pie): Indent.
92522         * Rules (binaries-pie): Define if $(have-fpie) and
92523         $(build-shared).
92524         (binaries-shared): Also filter out $(binaries-pie).
92525         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
92526         * nscd/Makefile (others-pie): Add nscd.
92527         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
92528         ($(objpfx)nscd): Remove command override.
92529         * login/Makefile (others-pie): Add pt_chown.
92530         ($(objpfx)pt_chown): Remove command override.
92531         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
92532         remove command overrides.
92534 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
92536         * libio/tst_putwc.c: Fix error messages.
92538         [BZ #12724]
92539         * libio/fileops.c (_IO_new_file_close_it): Always flush when
92540         currently writing and seek to current position when not.
92541         * libio/Makefile (tests): Add bug-fclose1.
92542         * libio/bug-fclose1.c: New file.
92544 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
92546         [BZ #12511]
92547         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
92548         don't set DF_1_NODELETE here.
92549         (do_lookup_x): When entering new entry test for copy relocation
92550         and if necessary set DF_1_NODELETE flag.
92551         * elf/tst-unique4.cc: New file.
92552         * elf/tst-unique4.h: New file.
92553         * elf/tst-unique4lib.cc: New file.
92554         * elf/Makefile: Add rules to build and run tst-unique4.
92555         Patch by Piotr Bury <pbury@goahead.com>.
92557 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
92559         [BZ #12052]
92560         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
92562         [BZ #12625]
92563         * misc/mntent_r.c (addmntent): Flush the stream after the output
92565         [BZ #12393]
92566         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
92567         (is_trusted_path_normalize): Skip initial colon.  Append slash
92568         to empty buffer.  Duplicate is_trusted_path code but allow
92569         constructed patch to be prefix.
92570         (is_dst): Allow $ORIGIN followed by /.
92571         (_dl_dst_substitute): Correct clearing of check_for_trusted.
92572         Correct testing of result of is_trusted_path_normalize
92573         (decompose_rpath): Fix warning.
92575 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
92577         [BZ #11257]
92578         * grp/initgroups.c (internal_getgrouplist): When we found the service
92579         list through the initgroups entry in nsswitch.conf do not always
92580         continue on a successful lookup.  Don't always use the
92581         __nss_group_database value if it is set.
92582         * nss/nsswitch.conf (initgroups): Change action for successful db
92583         lookup to continue for compatibility.
92585 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
92587         [BZ #11532]
92588         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
92589         and CP774 modules.
92590         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
92591         and CP774 modules.
92592         * iconvdata/tst-tables.sh: Likewise.
92593         * iconvdata/cp770.c: New file.
92594         * iconvdata/cp771.c: New file.
92595         * iconvdata/cp772.c: New file.
92596         * iconvdata/cp773.c: New file.
92597         * iconvdata/cp774.c: New file.
92598         * iconvdata/testdata/CP770: New file.
92599         * iconvdata/testdata/CP770..UTF8: New file.
92600         * iconvdata/testdata/CP771: New file.
92601         * iconvdata/testdata/CP771..UTF8: New file.
92602         * iconvdata/testdata/CP772: New file.
92603         * iconvdata/testdata/CP772..UTF8: New file.
92604         * iconvdata/testdata/CP773: New file.
92605         * iconvdata/testdata/CP773..UTF8: New file.
92606         * iconvdata/testdata/CP774: New file.
92607         * iconvdata/testdata/CP774..UTF8: New file.
92609         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
92610         END CHARMAP line.
92611         * iconvdata/gen-8bit-gap.sh: Likewise.
92612         * iconvdata/gen-8bit.sh: Likewise.
92614         * locale/iso-639.def: Add ary entry.
92616         [BZ #11258]
92617         * locale/C-translit.h.in: Add U20A1 transliteration.
92619         [BZ #12178]
92620         * locale/iso-639.def: Add wae entry.
92621         Patch by Kevin Bortis <bortis@translate-wae.ch>.
92623         [BZ #12545]
92624         * locale/programs/localedef.c (construct_output_path): Use ssize_t
92625         for n.
92627         [BZ #12711]
92628         * locale/C-translit.h.in: Add entry for U20B9.
92629         Patch by pravin.d.s@gmail.com.
92631 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
92633         [BZ #12713]
92634         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
92635         ENAMETOOLONG use generic getcwd.
92636         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
92637         in rtld.  Use *stat64.
92638         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
92639         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
92640         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
92641         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
92642         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
92643         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
92644         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
92645         __fstatat64 macros.
92646         * include/dirent.h: Add libc_hidden_proto for rewinddir.
92647         * dirent/rewinddir.c: Add libc_hidden_def.
92648         * sysdeps/mach/hurd/rewinddir.c: Likewise.
92649         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
92651         * include/dirent.h (__alloc_dir): Add flags parameter.
92652         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
92653         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
92654         __alloc_dir.
92655         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
92656         from fdopendir if O_CLOEXEC is already set.
92658 2011-03-15  Alan Modra  <amodra@gmail.com>
92660         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
92661         l_tls_firstbyte_offset non-zero.  Save padding offset in
92662         l_tls_firstbyte_offset for later use.
92663         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
92664         freeing static tls block.
92666 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
92668         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
92669         where #ifdef was intended.  The intent is to prevent ARG_MAX from
92670         being defined by the kernel headers.
92672 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
92674         [BZ #12734]
92675         * resolv/resolv.h: Define RES_NOTLDQUERY.
92676         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
92677         no-tld-query and set RES_NOTLDQUERY.
92678         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
92679         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
92680         modern BIND to search name as TLD unless forbidden.
92682 2011-05-07  Petr Baudis  <pasky@suse.cz>
92683             Ulrich Drepper  <drepper@gmail.com>
92685         [BZ #12393]
92686         * elf/dl-load.c (fillin_rpath): Move trusted path check...
92687         (is_trusted_path): ...to here.
92688         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
92689         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
92690         using is_trusted_path_normalize() in setuid scripts.
92692 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
92694         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
92695         __BEGIN/__END_DECLS.
92697 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
92699         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
92700         NSS_STATUS_NOTFOUND if no record was found.
92702 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92704         * sunrpc/Makefile (headers): Add rpc/netdb.h.
92705         (headers-not-in-tirpc): Remove rpc/netdb.h
92706         * resolv/netdb.h: Revert last change.
92708 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
92710         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
92711         circular dependency between libgcc.a and libc.a.
92713 2011-05-05  Andreas Schwab  <schwab@redhat.com>
92715         * resolv/netdb.h: Don't include <rpc/netdb.h>.
92716         * nis/Makefile: Don't install rpcsvc/*.
92717         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
92718         instead of <rpc/types.h>.
92719         (MAXHOSTNAMELEN): Define.
92721 2011-05-03  Andreas Schwab  <schwab@redhat.com>
92723         * elf/ldconfig.c (add_dir): Don't crash on empty path.
92725 2011-04-28  Maciej Babinski  <mbabinski@google.com>
92727         [BZ #12714]
92728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
92729         gethostbyname4_r when IPv6 results are possible.
92731 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
92733         [BZ #12723]
92734         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
92735         _PC_PIPE_BUF handling.
92737 2011-04-30  Bruno Haible  <bruno@clisp.org>
92739         [BZ #12717]
92740         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
92741         * resolv/netdb.h (getnameinfo): Change type of flags parameter
92742         to 'int'.
92743         * inet/getnameinfo.c (getnameinfo): Likewise.
92745 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
92747         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
92748         to groups setting in database lookup.
92749         * nss/nsswitch.conf: Add initgroups entry.
92751 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
92753         [BZ #12685]
92754         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
92755         mode string.
92756         Patch by Eric Blake <eblake@redhat.com>.
92758 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
92760         * sunrpc/Makefile (need-export-routines): Add svc_run.
92761         (routines): Remove svc_run.
92762         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
92763         * sunrpc/clnt_perr.c (clnt_perrno): Export.
92764         * sunrpc/svc_run.c (svc_run): Likewise.
92765         * sunrpc/svc_udp.c (svcudp_create): Likewise.
92767 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
92769         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
92770         problem in reallocation in last patch.
92772 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
92774         * sunrpc/Makefile: Move inclusion of Rules.
92776 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92778         * nss/nss_files/files-initgroups.c: New file.
92779         * nss/Makefile (libnss_files-routines): Add files-initgroups.
92780         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
92781         _nss_files_initgroups_dyn.
92783 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
92785         * elf/elf.h (R_ARM_IRELATIVE): Define.
92787 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
92789         * po/ru.po: Update from translation team.
92791 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92793         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
92794         dependencies.
92796 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
92798         [BZ #12653]
92799         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
92800         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
92801         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
92802         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
92803         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
92805 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
92807         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
92808         differing bytes.
92809         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
92810         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
92811         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92813 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
92815         [BZ #12420]
92816         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
92817         storing it.
92818         * stdlib/bug-getcontext.c: New file.
92819         * stdlib/Makefile: Add rules to build and run bug-getcontext.
92821 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92823         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
92824         instructions into .machine "z9-109".
92825         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
92826         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
92828 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92830         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
92831         between environment variables and auxiliary vector.
92833 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
92835         * Makefile: Add rules to build linkobj/libc.so.
92836         * include/libc-symbols.h: Define libc_hidden_nolink.
92837         * include/rpc/auth.h: Mark functions which are to be hidden.
92838         * include/rpc/auth_des.h: Likewise.
92839         * include/rpc/auth_unix.h: Likewise.
92840         * include/rpc/clnt.h: Likewise.
92841         * include/rpc/des_crypt.h: Likewise.
92842         * include/rpc/key_prot.h: Likewise.
92843         * include/rpc/pmap_clnt.h: Likewise.
92844         * include/rpc/pmap_prot.h: Likewise.
92845         * include/rpc/pmap_rmt.h: Likewise.
92846         * include/rpc/rpc_msg.h: Likewise.
92847         * include/rpc/svc.h: Likewise.
92848         * include/rpc/svc_auth.h: Likewise.
92849         * include/rpc/xdr.h: Likewise.
92850         * nis/Makefile: Link all DSOs against linkobj/libc.so.
92851         * nss/Makefile: Likewise.
92852         * sunrpc/Makefile: Don't install headers.  Build library with normal
92853         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
92854         * sunrpc/auth_des.c: Hide exported symbols by default, export some
92855         for the compat linking library.  Remove use of INTDEF/INTUSE.
92856         * sunrpc/auth_none.c: Likewise.
92857         * sunrpc/auth_unix.c: Likewise.
92858         * sunrpc/authdes_prot.c: Likewise.
92859         * sunrpc/authuxprot.c: Likewise.
92860         * sunrpc/clnt_gen.c: Likewise.
92861         * sunrpc/clnt_perr.c: Likewise.
92862         * sunrpc/clnt_raw.c: Likewise.
92863         * sunrpc/clnt_simp.c: Likewise.
92864         * sunrpc/clnt_tcp.c: Likewise.
92865         * sunrpc/clnt_udp.c: Likewise.
92866         * sunrpc/clnt_unix.c: Likewise.
92867         * sunrpc/des_crypt.c: Likewise.
92868         * sunrpc/des_soft.c: Likewise.
92869         * sunrpc/get_myaddr.c: Likewise.
92870         * sunrpc/key_call.c: Likewise.
92871         * sunrpc/key_prot.c: Likewise.
92872         * sunrpc/netname.c: Likewise.
92873         * sunrpc/pm_getmaps.c: Likewise.
92874         * sunrpc/pm_getport.c: Likewise.
92875         * sunrpc/pmap_clnt.c: Likewise.
92876         * sunrpc/pmap_prot.c: Likewise.
92877         * sunrpc/pmap_prot2.c: Likewise.
92878         * sunrpc/pmap_rmt.c: Likewise.
92879         * sunrpc/publickey.c: Likewise.
92880         * sunrpc/rpc_cmsg.c: Likewise.
92881         * sunrpc/rpc_common.c: Likewise.
92882         * sunrpc/rpc_dtable.c: Likewise.
92883         * sunrpc/rpc_prot.c: Likewise.
92884         * sunrpc/rpc_thread.c: Likewise.
92885         * sunrpc/rtime.c: Likewise.
92886         * sunrpc/svc.c: Likewise.
92887         * sunrpc/svc_auth.c: Likewise.
92888         * sunrpc/svc_authux.c: Likewise.
92889         * sunrpc/svc_raw.c: Likewise.
92890         * sunrpc/svc_run.c: Likewise.
92891         * sunrpc/svc_simple.c: Likewise.
92892         * sunrpc/svc_tcp.c: Likewise.
92893         * sunrpc/svc_udp.c: Likewise.
92894         * sunrpc/svc_unix.c: Likewise.
92895         * sunrpc/svcauth_des.c: Likewise.
92896         * sunrpc/xcrypt.c: Likewise.
92897         * sunrpc/xdr.c: Likewise.
92898         * sunrpc/xdr_array.c: Likewise.
92899         * sunrpc/xdr_float.c: Likewise.
92900         * sunrpc/xdr_intXX_t.c: Likewise.
92901         * sunrpc/xdr_mem.c: Likewise.
92902         * sunrpc/xdr_rec.c: Likewise.
92903         * sunrpc/xdr_ref.c: Likewise.
92904         * sunrpc/xdr_sizeof.c: Likewise.
92905         * sunrpc/xdr_stdio.c: Likewise.
92907 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
92909         [BZ #12650]
92910         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
92911         * sysdeps/ia64/dl-tls.h: Likewise.
92912         * sysdeps/powerpc/dl-tls.h: Likewise.
92913         * sysdeps/s390/dl-tls.h: Likewise.
92914         * sysdeps/sh/dl-tls.h: Likewise.
92915         * sysdeps/sparc/dl-tls.h: Likewise.
92916         * sysdeps/x86_64/dl-tls.h: Likewise.
92917         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
92919 2011-03-14  Andreas Schwab  <schwab@redhat.com>
92921         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
92922         rpath element also skip the following colon.
92923         (expand_dynamic_string_token): Add is_path parameter and pass
92924         down to DL_DST_REQUIRED and _dl_dst_substitute.
92925         (decompose_rpath): Call expand_dynamic_string_token with
92926         non-zero is_path.  Ignore empty rpaths.
92927         (_dl_map_object_from_fd): Call expand_dynamic_string_token
92928         with zero is_path.
92930 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
92932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
92933         Make cancelable.
92935 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
92937         [BZ #12655]
92938         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
92939         Patch by Filipe David Manana <fdmanana@apache.org>.
92941 2011-04-07  Andreas Schwab  <schwab@redhat.com>
92943         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
92944         Maintain aligned stack.
92945         (CHECK_RSP): Remove unused macro.
92947 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
92949         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
92950         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
92952 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
92954         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
92956         * include/features.h: Mention __USE_XOPEN2K8 in comment.
92958 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
92960         [BZ #12518]
92961         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
92962         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
92963         * sysdeps/x86_64/memmove.c: New file.
92964         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
92965         (memcpy): Renamed to ...
92966         (__new_memcpy): This.
92967         (memcpy): Provide GLIBC_2_14 memcpy.
92968         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
92969         (memcpy): Provide GLIBC_2_2_5 memcpy.
92971 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92973         [BZ #12631]
92974         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
92976 2011-03-30  Andreas Schwab  <schwab@redhat.com>
92978         * misc/syncfs.c: New file.
92979         * misc/Makefile (routines): Add syncfs.
92980         * posix/unistd.h: Declare syncfs.
92981         * sysdeps/unix/syscalls.list: Add syncfs.
92983 2011-04-01  Andreas Schwab  <schwab@redhat.com>
92985         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
92986         open_by_handle_at.
92987         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
92988         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92989         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
92990         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
92991         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
92992         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
92993         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
92995 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
92997         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
92998         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
92999         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
93000         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93001         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93002         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93003         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93005         * io/Makefile: Compile fallocate.c, fallocate64.c, and
93006         sync_file_range.c with -fexceptions.
93007         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
93008         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
93009         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93010         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93011         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93012         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93013         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93014         sync_file_range as cancellation point
93015         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
93016         now a wrapper around __call_sync_file_range with cancellation handling.
93017         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93018         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
93019         function name to __call_sync_file_range.
93020         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93021         Add call_sync_file_range.
93023 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93025         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93026         bits/timex.h.
93028 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93030         * iconv/iconv.h: Fix typo in comment.
93031         * io/fcntl.h: Likewise.
93032         * libio/stdio.h: Likewise.
93033         * posix/spawn.h: Likewise.
93034         * posix/unistd.h: Likewise.
93035         * stdlib/stdlib.h: Likewise.
93036         * time/time.h: Likewise.
93037         * wcsmbs/wchar.h: Likewise.
93039         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93040         open_by_handle): Add.
93041         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93042         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
93043         Augment a few comments.
93044         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93045         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93046         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93048         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93049         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93050         open_by_handle.
93052         * io/fcntl.h (AT_EMPTY_PATH): Define.
93054 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
93056         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93057         * sysdeps/unix/sysv/linux/bits/time.h: New file.
93058         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93059         to...
93060         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
93061         * Versions.def: Add GLIBC_2.14.
93062         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93063         Export.
93065 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
93067         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
93068         round counter.
93069         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93071 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
93073         [BZ #12597]
93074         * string/test-strncmp.c (do_page_test): New function.
93075         (check2): Likewise.
93076         (test_main): Call check2.
93077         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
93079 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
93081         [BZ #12587]
93082         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
93083         Handle cache information in CPU leaf 4.
93084         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
93086 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
93088         [BZ #12583]
93089         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
93090         character representation.
93091         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
93093 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
93095         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
93096         END(__isnan) to END(__isnanf) to match function entry point/label
93097         EALIGN(__isnanf,...).
93099 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
93101         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
93103 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
93105         [BZ #12510]
93106         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
93107         copy from the symbol referenced in the relocation to initialize the
93108         used variable.
93109         Patch by Piotr Bury <pbury@goahead.com>.
93110         * elf/Makefile: Add rules to build and tst-unique3.
93111         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
93112         * elf/tst-unique3.cc: New file.
93113         * elf/tst-unique3.h: New file.
93114         * elf/tst-unique3lib.cc: New file.
93115         * elf/tst-unique3lib2.cc: New file.
93117         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
93119 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
93121         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
93122         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
93123         to _start.
93125 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
93127         * elf/dl-load.c (_dl_map_object): If we are looking for the first
93128         to-be-loaded object along a path to loader is ld.so.
93130 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93131             Ulrich Drepper  <drepper@gmail.com>
93133         * sysdeps/x86_64/memset.S: After aligning destination, code
93134         branches to different locations depending on the value of
93135         misalignment, when multiarch is enabled. Fix this.
93137 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
93139         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
93140         Set _x86_64_preferred_memory_instruction for AMD processsors.
93141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93142         Set bit_Prefer_SSE_for_memop for AMD processors.
93144 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
93146         * libio/fmemopen.c (fmemopen): Optimize a bit.
93148 2011-03-03  Andreas Schwab  <schwab@redhat.com>
93150         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
93152 2011-03-03  Roland McGrath  <roland@redhat.com>
93154         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
93156 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
93158         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
93159         __bzero_ultra1 instead of __memset_ultra1.
93161 2011-02-23  Andreas Schwab  <schwab@redhat.com>
93162             Ulrich Drepper  <drepper@gmail.com>
93164         [BZ #12509]
93165         * include/link.h (struct link_map): Add l_orig_initfini.
93166         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
93167         returning unsuccessfully.
93168         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
93169         close of a file loaded at startup, restore the original l_initfini
93170         list.
93171         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
93172         list, store the pointer.
93173         * elf/Makefile ($(objpfx)noload-mem): New rule.
93174         (noload-ENV): Define.
93175         (tests): Add $(objpfx)noload-mem.
93176         * elf/noload.c: Include <memcheck.h>.
93177         (main): Call mtrace.  Close all opened handles.
93179 2011-02-17  Andreas Schwab  <schwab@redhat.com>
93181         [BZ #12454]
93182         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
93183         dependencies are missing.
93185 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93187         Fix __if_freereq crash: Unlike the generic version which uses free,
93188         Hurd needs munmap.
93189         * sysdeps/mach/hurd/ifreq.h: New file.
93191 2011-01-27  Petr Baudis  <pasky@suse.cz>
93192             Ulrich Drepper  <drepper@gmail.com>
93194         [BZ 12445]#
93195         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
93196         to extend_alloca().
93197         * stdio-common/bug23.c: New file.
93198         * stdio-common/Makefile (tests): Add bug23.
93200 2010-09-28  Andreas Schwab  <schwab@redhat.com>
93201             Ulrich Drepper  <drepper@gmail.com>
93203         [BZ #12489]
93204         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
93205         before performing relro protection.  At old place add assertion
93206         to make sure nothing changed.
93208 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
93209             Glauber de Oliveira Costa  <glommer@gmail.com>
93211         * elf/elf.h: Add new ARM TLS relocs.
93213 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
93215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
93216         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
93217         cast from r3.
93218         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
93219         'tests' variable.
93220         * sysdeps/wordsize-64/tst-writev.c: New file.
93222 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
93224         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
93225         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
93226         insns in _dl_start to prevent a TOC reference before relocs are
93227         resolved.
93229 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
93231         [BZ #12469]
93232         * Makeconfig: Remove RANLIB definition.
93233         * Makerules: Don't use RANLIB.
93234         * aclocal.m4: Remove ranlib test.
93235         * configure.in: No need to check for ranlib.
93236         * elf/rtld-Rules: Don't use RANLIB.
93238 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93240         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
93241         protection macro.
93242         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
93243         inclusion protection macro.
93245         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
93246         SIGRTMIN and SIGRTMAX and print information in that case only when
93247         SIGRTMIN is defined.
93249 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
93251         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
93252         arginfo fn returning -1.
93254         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
93255         and thousands string is zero terminated.
93257 2011-02-03  Andreas Schwab  <schwab@redhat.com>
93259         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
93260         sysdeps/unix/sysv/linux/bits/socket.h.
93262 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93264         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
93265         (__CPU_COUNT): Remove old macros.
93266         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
93267         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
93268         (__CPU_ALLOC, __CPU_FREE): Add macros.
93269         (__sched_cpualloc, __sched_cpufree): Add declarations.
93271 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
93273         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
93274         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
93275         * nscd/aicache.c (addhstaiX): Return timeout of added value.
93276         (readdhstai): Return value of addhstaiX call.
93277         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
93278         (addgrbyX): Return value returned by cache_addgr.
93279         (readdgrbyname): Return value returned by addgrbyX.
93280         (readdgrbygid): Likewise.
93281         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
93282         (addpwbyX): Return value returned by cache_addpw.
93283         (readdpwbyname): Return value returned by addhstbyX.
93284         (readdpwbyuid): Likewise.
93285         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
93286         (addservbyX): Return value returned by cache_addserv.
93287         (readdservbyname): Return value returned by addservbyX:
93288         (readdservbyport): Likewise.
93289         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
93290         (addhstbyX): Return value returned by cache_addhst.
93291         (readdhstbyname): Return value returned by addhstbyX.
93292         (readdhstbyaddr): Likewise.
93293         (readdhstbynamev6): Likewise.
93294         (readdhstbyaddrv6): Likewise.
93295         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
93296         (readdinitgroups): Return value returned by addinitgroupsX.
93297         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
93298         (prune_cache): Keep track of timeout value of re-added entries.
93299         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
93300         * nscd/nscd.h: Adjust prototypes of readd* functions.
93302 2011-02-04  Roland McGrath  <roland@redhat.com>
93304         * nis/nis_server.c (nis_servstate): Use the right name for 0.
93305         (nis_stats): Likewise.
93306         * nis/nis_modify.c (nis_modify): Likewise.
93307         * nis/nis_remove.c (nis_remove): Likewise.
93308         * nis/nis_add.c (nis_add): Likewise.
93310         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
93312         * posix/fnmatch_loop.c: Add some consts.
93314         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
93316 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
93318         [BZ #12460]
93319         * config.make.in (config-cflags-novzeroupper): Define.
93320         * configure.in: Substitute libc_cv_cc_novzeroupper.
93321         * elf/Makefile (AVX-CFLAGS): Define.
93322         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
93323         (CFLAGS-tst-auditmod4a.c): Likewise.
93324         (CFLAGS-tst-auditmod4b.c): Likewise.
93325         (CFLAGS-tst-auditmod6b.c): Likewise.
93326         (CFLAGS-tst-auditmod6c.c): Likewise.
93327         (CFLAGS-tst-auditmod7b.c): Likewise.
93328         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
93330 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
93332         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
93333         function to the callback.
93334         Patch partly by Jiri Olsa <jolsa@redhat.com>.
93336 2011-02-02  Andreas Schwab  <schwab@redhat.com>
93338         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
93339         of errno.
93341 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
93343         [BZ #11724]
93344         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
93345         of constructors.
93346         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
93347         of destructors.
93348         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
93350         [BZ #11724]
93351         * elf/Makefile: Add rules to build and run new test.
93352         * elf/tst-initorder.c: New file.
93353         * elf/tst-initorder.exp: New file.
93354         * elf/tst-initordera1.c: New file.
93355         * elf/tst-initordera2.c: New file.
93356         * elf/tst-initordera3.c: New file.
93357         * elf/tst-initordera4.c: New file.
93358         * elf/tst-initorderb1.c: New file.
93359         * elf/tst-initorderb2.c: New file.
93360         * elf/tst-order-a1.c: New file.
93361         * elf/tst-order-a2.c: New file.
93362         * elf/tst-order-a3.c: New file.
93363         * elf/tst-order-a4.c: New file.
93364         * elf/tst-order-b1.c: New file.
93365         * elf/tst-order-b2.c: New file.
93366         * elf/tst-order-main.c: New file.
93367         New test case by George Gensure <werkt0@gmail.com>.
93369 2010-10-01  Andreas Schwab  <schwab@redhat.com>
93371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93372         decoding ACE if AI_CANONIDN.
93374 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
93376         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
93378 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
93380         * version.h (RELEASE): Bump for 2.13 release.
93381         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
93383         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
93385         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
93386         MADV_NOHUGEPAGE.
93387         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
93388         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
93389         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
93390         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
93391         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
93392         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93394         * posix/getconf.c: Update copyright year.
93395         * catgets/gencat.c: Likewise.
93396         * csu/version.c: Likewise.
93397         * debug/catchsegv.sh: Likewise.
93398         * debug/xtrace.sh: Likewise.
93399         * elf/ldconfig.c: Likewise.
93400         * elf/ldd.bash.in: Likewise.
93401         * elf/sprof.c (print_version): Likewise.
93402         * iconv/iconv_prog.c: Likewise.
93403         * iconv/iconvconfig.c: Likewise.
93404         * locale/programs/locale.c: Likewise.
93405         * locale/programs/localedef.c: Likewise.
93406         * malloc/memusage.sh: Likewise.
93407         * malloc/mtrace.pl: Likewise.
93408         * nscd/nscd.c (print_version): Likewise.
93409         * nss/getent.c: Likewise.
93411         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
93412         PF_CAIF, and PF_ALG.
93413         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
93415 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
93417         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
93418         (modules-names): Use them.
93419         (ifunc-test-modules, ifunc-pie-tests): Define.
93420         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
93421         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
93422         (test-extras): Likewise.
93423         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
93424         $(compile-command.c).
93425         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
93426         (all-built-dso): Define.
93427         (check-textrel.out, check-execstack.out): Depend on it.
93429         * configure.in: Don't override --enable-multi-arch.
93431 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
93433         [BZ #6812]
93434         * nscd/hstcache.c (tryagain): Define.
93435         (cache_addhst): Return tryagain not notfound for temporary errors.
93436         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
93437         failed.
93439 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
93441         [BZ #10563]
93442         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
93443         to make the syscall.
93444         * sysdeps/unix/sysv/linux/setgroups.c: New file.
93446         [BZ #12378]
93447         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
93448         and fall back to matching as normal character if the string ends before
93449         the matching ']' is found.  This is what POSIX requires.
93450         * posix/testfnm.c: Adjust test result.
93451         * posix/globtest.sh: Adjust test result.  Add new test.
93452         * posix/tst-fnmatch.input: Likewise.
93453         * posix/tst-fnmatch2.c: Add new test.
93455 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
93457         * elf/Makefile (check-execstack): Revert last change.  Depend on
93458         check-execstack.h.
93459         (check-execstack.h): New target.
93460         (generated): Add check-execstack.h.
93461         * elf/check-execstack.c: Include "check-execstack.h".
93462         (main): Revert last change.
93463         (handle_file): Return zero if GNU_STACK is absent and
93464         DEFAULT_STACK_PERMS doesn't include PF_X.
93466 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
93468         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
93469         in child fails because the descriptor is already closed.
93470         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
93471         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
93472         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
93474         [BZ #12397]
93475         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
93476         syscall.
93478         [BZ #10484]
93479         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
93480         temporary buffer used to handle multi lookups locally.
93481         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
93483 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93485         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
93486         loader is ld.so.
93488 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
93490         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
93491         alignment for SSE2.
93493 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
93495         [BZ #12394]
93496         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
93497         characters.  When rounding increased number of integer digits recompute
93498         number of groups.
93499         * stdio-common/tst-grouping.c: New file.
93500         * stdio-common/Makefile: Add rules to build and run tst-grouping.
93502 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
93504         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
93505         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
93507         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
93508         void.
93509         * bits/select.h: Likewise.
93511 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
93513         * po/ja.po: Update from translation team.
93515 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
93517         [BZ #11155]
93518         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
93519         implementation just like for lxstat, fxstatat, et al.
93521 2010-12-27  Jim Meyering  <meyering@redhat.com>
93523         [BZ #12348]
93524         * posix/regexec.c (build_trtable): Return failure indication upon
93525         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
93527 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
93529         [BZ #12201]
93530         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
93531         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
93532         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
93533         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
93535         [BZ #12207]
93536         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
93538         [BZ #12204]
93539         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
93540         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
93542 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
93544         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
93545         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
93546         script has SORT_BY_INIT_PRIORITY.
93547         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
93548         NO_CTORS_DTORS_SECTIONS is defined.
93549         * elf/soinit.c: Likewise.
93550         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
93551         NO_CTORS_DTORS_SECTIONS is defined.
93552         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
93553         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
93554         * sysdeps/sh/init-first.c: Likewise.
93555         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
93557 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
93559         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
93560         always use the slow path.
93562 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
93564         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
93565         similar rule which adds the sysdep directories to the header search in
93566         order to pick up the correct platform stackinfo.h.
93567         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
93568         perform test if it is, otherwise return successfully without testing.
93569         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
93570         DEFAULT_STACK_PERMS define in stackinfo.h.
93571         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
93572         defined in stackinfo.h.
93573         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
93574         DEFAULT_STACK_PERMS defined in stackinfo.h.
93575         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
93576         * sysdeps/ia64/stackinfo.h: Likewise.
93577         * sysdeps/s390/stackinfo.h: Likewise.
93578         * sysdeps/sh/stackinfo.h: Likewise.
93579         * sysdeps/sparc/stackinfo.h: Likewise.
93580         * sysdeps/x86_64/stackinfo.h: Likewise.
93581         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
93582         PF_X for powerpc64.  Retain PF_X for powerpc32.
93584 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
93586         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
93587         accurately.
93588         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
93589         GETDENTS_64BIT_ALIGNED.
93591 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
93593         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
93595 2010-12-10  Andreas Schwab  <schwab@redhat.com>
93597         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
93598         _GNU_SOURCE.
93600         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
93601         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
93602         Remove __restrict.
93603         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
93604         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
93606 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
93608         [BZ #11655]
93609         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
93610         are initialized.
93612 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
93614         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
93616 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
93618         * po/it.po: Update from translation team.
93620 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
93622         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
93623         unused codes.
93625 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
93627         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
93629 2010-11-24  Andreas Schwab  <schwab@redhat.com>
93631         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
93632         specially.
93633         (gaih_getanswer_slice): Likewise.
93635 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
93637         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
93639 2010-05-31  Petr Baudis  <pasky@suse.cz>
93641         [BZ #11149]
93642         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
93643         silently even in the chroot mode.
93645 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
93647         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
93648         last patch a bit.  Pretty printing
93650 2010-05-31  Petr Baudis <pasky@suse.cz>
93652         [BZ #10085]
93653         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
93654         initialization of skip_initgroups_dyn.
93656 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
93658         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
93659         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
93661 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
93663         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
93665 2010-11-11  Andreas Schwab  <schwab@redhat.com>
93667         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
93668         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
93669         (tst-fnmatch-ENV): Set MALLOC_TRACE.
93670         ($(objpfx)tst-fnmatch-mem): New rule.
93671         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
93672         * posix/tst-fnmatch.c (main): Call mtrace.
93674 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
93676         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93677         Support Intel processor model 6 and model 0x2c.
93679 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
93681         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
93682           signed comparison.
93684 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
93686         [BZ #12205]
93687         * string/test-strncasecmp.c (check_result): New function.
93688         (do_one_test): Use it.
93689         (check1): New function.
93690         (test_main): Use it.
93691         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
93692         Support strcasecmp and strncasecmp.
93694 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
93696         [BZ #12194]
93697         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
93698         * sysdeps/x86_64/bits/byteswap.h: Likewise.
93700 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
93702         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
93703         IFUNC support.
93704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93705         memset-x86-64.
93706         * sysdeps/x86_64/multiarch/bzero.S: New file.
93707         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
93708         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
93709         * sysdeps/x86_64/multiarch/memset.S: New file.
93710         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
93711         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93712         Set bit_Prefer_SSE_for_memop for Intel processors.
93713         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
93714         Define.
93715         (index_Prefer_SSE_for_memop): Define.
93716         (HAS_PREFER_SSE_FOR_MEMOP): Define.
93718 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
93720         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
93721         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
93723 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
93725         [BZ #12191]
93726         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93727         (__x86_64_raw_data_cache_size_half): Likewise.
93728         (__x86_64_raw_shared_cache_size): Likewise.
93729         (__x86_64_raw_shared_cache_size_half): Likewise.
93731         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
93732         (__x86_64_raw_data_cache_size_half): Likewise.
93733         (__x86_64_raw_shared_cache_size): Likewise.
93734         (__x86_64_raw_shared_cache_size_half): Likewise.
93735         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
93736         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
93737         and __x86_64_raw_shared_cache_size_half.  Round
93738         __x86_64_data_cache_size_half, __x86_64_data_cache_size
93739         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
93740         to multiple of 256 bytes.
93742 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
93744         [BZ #12167]
93745         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
93746         of inacessible symlinks.  Verify result of symlink before returning it.
93747         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
93748         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
93750 2010-10-28  Erich Ritz  <erichritz@gmail.com>
93752         * math/math.h (isinf): Fix typo in comment.
93754 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
93756         * po/da.po: Update from translation team.
93758 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
93760         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
93761         is added to the list.
93763 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93764             Ulrich Drepper  <drepper@gmail.com>
93766         * elf/dl-object.c (_dl_new_object): Don't append the new object to
93767         the global list here.  Move code to...
93768         (_dl_add_to_namespace_list): ...here.  New function.
93769         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
93770         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
93771         * elf/dl-load.c (lose): Don't remove the element from the list.
93772         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
93773         (_dl_map_object): Likewise.
93775 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
93777         [BZ #12159]
93778         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
93779         into all bytes of SSE register.
93780         Patch by Richard Li <richardpku@gmail.com>.
93782 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
93784         [BZ #12140]
93785         * malloc/malloc.c (_int_free): Fill correct number of bytes when
93786         perturbing.
93788 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
93790         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
93791         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
93792         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
93793         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
93794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
93795         submachine.
93796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
93798 2010-10-22  Andreas Schwab  <schwab@redhat.com>
93800         * include/dlfcn.h (__RTLD_SECURE): Define.
93801         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
93802         mode & __RTLD_SECURE instead.
93803         (open_path): Rename preloaded parameter to secure.
93804         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
93805         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
93806         * elf/dl-deps.c (openaux): Likewise.
93807         * elf/rtld.c (struct map_args): Remove is_preloaded.
93808         (map_doit): Don't use it.
93809         (dl_main): Likewise.
93810         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
93811         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
93813 2010-09-09  Andreas Schwab  <schwab@redhat.com>
93815         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
93816         (sysd-rules-targets): Remove duplicates.
93817         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
93818         rtld-%.$o dependency.
93820 2010-10-18  Andreas Schwab  <schwab@redhat.com>
93822         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
93823         _dl_map_object do it.
93825 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
93827         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
93828         fast fma builtins, define the macros in the C99 standard.
93829         (FP_FAST_FMAF): Likewise.
93830         (FP_FAST_FMAL): Likewise.
93831         * sysdeps/x86_64/bits/mathdef.h: Likewise.
93833         * bits/mathdef.h: Update copyright year.
93834         * sysdeps/powerpc/bits/mathdef.h: Likewise.
93836 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
93838         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
93839         builtins, define the macros in the C99 standard.
93840         (FP_FAST_FMAF): Likewise.
93841         (FP_FAST_FMAL): Likewise.
93842         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
93843         multiply/add.
93844         (FP_FAST_FMAF): Likewise.
93846 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
93848         [BZ #3268]
93849         * math/libm-test.inc (fma_test): Some new testcases.
93850         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
93851         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
93852         y and infinite z.  Do multiplication by C already in long double.
93853         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
93854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
93855         y and infinite z.  Do bitwise or of inexact bit into u.d.
93856         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
93857         * sysdeps/i386/fpu/s_fmaf.S: Removed.
93858         * sysdeps/i386/fpu/s_fma.S: Removed.
93859         * sysdeps/i386/fpu/s_fmal.S: Removed.
93861 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
93863         [BZ #3268]
93864         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
93865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
93866         computation is not scheduled after fetestexcept.  Fix value
93867         of minimum denormal long double.
93869 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
93871         [BZ #3268]
93872         * math/libm-test.inc (fma_test): Add some more tests.
93873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
93874         correctly.
93876 2010-10-15  Andreas Schwab  <schwab@redhat.com>
93878         * scripts/data/localplt-s390-linux-gnu.data: New file.
93879         * scripts/data/localplt-s390x-linux-gnu.data: New file.
93881 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
93883         [BZ #3268]
93884         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
93885         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
93886         instead of dbl-64.
93887         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
93888         inlines.
93889         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
93890         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
93891         if one of x and y is very large and the other is subnormal.
93892         * sysdeps/s390/fpu/s_fmaf.c: New file.
93893         * sysdeps/s390/fpu/s_fma.c: New file.
93894         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
93895         * sysdeps/powerpc/fpu/s_fma.S: New file.
93896         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
93897         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
93898         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
93900 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
93902         [BZ #3268]
93903         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
93904         fma tests.
93905         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
93906         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
93907         * sysdeps/i386/i686/multiarch/s_fma.c: Include
93908         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
93909         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
93910         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
93911         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
93913 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
93915         [BZ #12078]
93916         * posix/regcomp.c (parse_branch): One more memory leak plugged.
93917         * posix/bug-regex31.input: Add test case.
93919 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93921         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
93922         * posix/bug-regex31.input: New file.
93924         [BZ #12078]
93925         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
93926         (parse_sub_exp): Fix last change, use postorder.
93928         * posix/bug-regex31.c: New file.
93929         * posix/Makefile: Add rules to build and run bug-regex31.
93931         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
93933         [BZ #12078]
93934         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
93936         [BZ #12108]
93937         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
93938         to have entries in sys_siglist.
93940         [BZ #12093]
93941         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
93942         be NULL.
93944 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
93946         [BZ #3268]
93947         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
93948         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
93949         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
93950         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
93951         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
93952         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
93953         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
93954         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
93955         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
93956         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
93957         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
93958         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
93959         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
93960         * math/ftestexcept.c (fetestexcept): Likewise.
93961         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
93962         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
93963         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
93964         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
93965         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
93966         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
93967         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
93969 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
93971         [BZ #12107]
93972         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
93973         newline.
93975 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
93977         * string/bug-strstr1.c: New file.
93978         * string/Makefile: Add rules to build and run bug-strstr1.
93980 2010-10-05  Eric Blake  <eblake@redhat.com>
93982         [BZ #12092]
93983         * string/str-two-way.h (two_way_long_needle): Always clear memory
93984         when skipping input due to the shift table.
93986 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
93988         [BZ #12005]
93989         * malloc/mcheck.c: Handle large requests.
93991         [BZ #12077]
93992         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
93993         for strncmp and strncasecmp.
93994         * string/stratcliff.c: Add tests for strcmp and strncmp.
93995         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
93997 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
93999         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
94000         __set_fpscr.
94002 2010-09-30  Andreas Jaeger  <aj@suse.de>
94004         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
94005         (CGROUP_SUPER_MAGIC): Define.
94006         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94007         Handle btrfs and cgroup file systems.
94008         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
94009         Likewise.
94011 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
94013         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94014         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94016 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94018         [BZ #12067]
94019         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94020         trying to locate the ELF header.
94022 2010-09-27  Andreas Schwab  <schwab@redhat.com>
94024         [BZ #11611]
94025         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94026         Mask out sign-bit copies when constructing f_fsid.
94028 2010-09-24  Petr Baudis <pasky@suse.cz>
94030         * debug/stack_chk_fail_local.c: Add missing licence exception.
94031         * debug/warning-nop.c: Likewise.
94033 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
94035         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94036         implementing getdents64 using getdents syscall, set d_type if
94037         __ASSUME_GETDENTS32_D_TYPE.
94039 2010-09-16  Andreas Schwab  <schwab@redhat.com>
94041         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94042         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94044 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
94046         [BZ #12037]
94047         * posix/unistd.h: Undo change of feature selection for ftruncate from
94048         2010-01-11.
94050 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
94052         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94053         detection.
94055 2010-09-20  Andreas Schwab  <schwab@redhat.com>
94057         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94058         fanotify_mark.
94059         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94061 2010-09-14  Andreas Schwab  <schwab@redhat.com>
94063         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94064         variables after CHECK_SP call.
94065         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
94067 2010-09-13  Andreas Schwab  <schwab@redhat.com>
94068             Ulrich Drepper  <drepper@redhat.com>
94070         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
94071         re-relocationg ld.so.
94072         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
94073         _dl_init_paths call.
94074         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
94075         here anymore.
94077 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
94079         * resolv/res_init.c (__res_vinit): Count the default server we added.
94081 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
94082             Ulrich Drepper  <drepper@redhat.com>
94084         [BZ #11968]
94085         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
94086         (____longjmp_chk): Use %ebx for saving value across system call.
94087         Add unwind info.
94089 2010-09-06  Andreas Schwab  <schwab@redhat.com>
94091         * manual/Makefile: Don't mix pattern rules with normal rules.
94093 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
94095         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
94096         operation.
94097         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
94098         * libio/iofopncook.c (_IO_cookie_init): Likewise.
94099         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
94100         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
94101         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
94102         Likewise.
94104 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
94106         [BZ #11979]
94107         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
94108         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
94110 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
94112         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
94113         * sysdeps/x86_64/addmul_1.S: Likewise.
94114         * sysdeps/x86_64/lshift.S: Likewise.
94115         * sysdeps/x86_64/mul_1.S: Likewise.
94116         * sysdeps/x86_64/rshift.S: Likewise.
94117         * sysdeps/x86_64/sub_n.S: Likewise.
94118         * sysdeps/x86_64/submul_1.S: Likewise.
94120 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94122         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
94123         Define __sched_param instead of SCHED_* and sched_param when
94124         <bits/sched.h> is included with __need_schedparam defined.
94125         * bits/sched.h [__need_schedparam]
94126         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
94127         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
94128         (__defined_schedparam): Define to 1.
94129         (__sched_param): New structure, identical to sched_param.
94130         (__need_schedparam): Undefine.
94132 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
94134         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
94135         (epoll_create1): Declare.
94137         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
94139 2010-08-31  Andreas Schwab  <schwab@redhat.com>
94141         [BZ #7066]
94142         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
94143         shifting retval into place.
94145 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
94147         * nis/rpcsvc/nis.h: Update copyright notice.
94148         * nis/rpcsvc/nis.x: Likewise.
94149         * nis/rpcsvc/nis_callback.h: Likewise.
94150         * nis/rpcsvc/nis_callback.x: Likewise.
94151         * nis/rpcsvc/nis_object.x: Likewise.
94152         * nis/rpcsvc/nis_tags.h: Likewise.
94153         * nis/rpcsvc/yp.h: Likewise.
94154         * nis/rpcsvc/yp.x: Likewise.
94155         * nis/rpcsvc/ypupd.h: Likewise.
94156         * nis/yp_xdr.c: Likewise.
94157         * nis/ypupdate_xdr.c: Likewise.
94159         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
94160         mainly the body of pmap_getport.  Add parameters to specify timeouts.
94161         (pmap_getport): Use __libc_rpc_getport.
94162         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
94163         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
94164         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
94166 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
94168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
94169         fanotify_mark.
94171 2010-08-27  Roland McGrath  <roland@redhat.com>
94173         * sysdeps/i386/i686/multiarch/Makefile
94174         (CFLAGS-varshift.c): New variable.
94176 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
94178         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
94179         * sysdeps/i386/i686/multiarch/varshift.c: New file.
94181         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
94183         * sysdeps/x86_64/strlen.S: Minimal code improvement.
94185 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
94187         * sysdeps/x86_64/strlen.S: Unroll the loop.
94188         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94189         strlen-sse2 strlen-sse2-bsf.
94190         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
94191         __strlen_no_bsf if bit_Slow_BSF is set.
94192         (__strlen_sse42): Removed.
94193         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
94194         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
94196 2010-08-25  Roland McGrath  <roland@redhat.com>
94198         * sysdeps/x86_64/multiarch/varshift.S: File removed.
94199         * sysdeps/x86_64/multiarch/varshift.c: New file.
94200         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
94201         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
94202         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
94203         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
94205 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
94207         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94208         strlen-sse2 strlen-sse2-bsf.
94209         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
94210         __strlen_sse2_bsf if bit_Slow_BSF is unset.
94211         (__strlen_sse2): Removed.
94212         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
94213         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
94214         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
94215         bit_Slow_BSF for Atom.
94216         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
94217         (index_Slow_BSF): Define.
94218         (HAS_SLOW_BSF): Define.
94220 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
94222         [BZ #10851]
94223         * resolv/res_init.c (__res_vinit): When no server address at all
94224         is given default to loopback.
94226 2010-08-24  Roland McGrath  <roland@redhat.com>
94228         * configure.in: Remove config-name.h generation.
94229         * configure: Regenerated.
94230         * config-name.in: File removed.
94231         * scripts/config-uname.sh: New file.
94232         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
94233         ($(objdir)config-name.h): New target.
94235         * sunrpc/rpc_parse.h: Avoid nested comment.
94237 2010-08-24  Richard Henderson  <rth@redhat.com>
94238             Ulrich Drepper  <drepper@redhat.com>
94239             H.J. Lu  <hongjiu.lu@intel.com>
94241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
94242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
94243         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
94244         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
94245         _mm_alignr_epi8 with _mm_loadu_si128.
94246         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
94247         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
94248         (__m128i_shift_right): Removed.
94249         * sysdeps/i386/i686/multiarch/varshift.h: New file.
94250         * sysdeps/i386/i686/multiarch/varshift.S: New file.
94251         * sysdeps/x86_64/multiarch/varshift.h: New file.
94252         * sysdeps/x86_64/multiarch/varshift.S: New file.
94254 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
94256         * configure.in: Move assembler checks to before sysdep dir checking.
94258 2010-08-20  Petr Baudis  <pasky@suse.cz>
94260         * LICENSES: Sync the sunrpc license.
94262 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
94264         * sunrpc/auth_des.c: Update copyright notice once again.
94265         * sunrpc/auth_none.c: Likewise.
94266         * sunrpc/auth_unix.c: Likewise.
94267         * sunrpc/authdes_prot.c: Likewise.
94268         * sunrpc/authuxprot.c: Likewise.
94269         * sunrpc/bindrsvprt.c: Likewise.
94270         * sunrpc/clnt_gen.c: Likewise.
94271         * sunrpc/clnt_perr.c: Likewise.
94272         * sunrpc/clnt_raw.c: Likewise.
94273         * sunrpc/clnt_simp.c: Likewise.
94274         * sunrpc/clnt_tcp.c: Likewise.
94275         * sunrpc/clnt_udp.c: Likewise.
94276         * sunrpc/clnt_unix.c: Likewise.
94277         * sunrpc/des_crypt.c: Likewise.
94278         * sunrpc/des_soft.c: Likewise.
94279         * sunrpc/get_myaddr.c: Likewise.
94280         * sunrpc/getrpcport.c: Likewise.
94281         * sunrpc/key_call.c: Likewise.
94282         * sunrpc/key_prot.c: Likewise.
94283         * sunrpc/openchild.c: Likewise.
94284         * sunrpc/pm_getmaps.c: Likewise.
94285         * sunrpc/pm_getport.c: Likewise.
94286         * sunrpc/pmap_clnt.c: Likewise.
94287         * sunrpc/pmap_prot.c: Likewise.
94288         * sunrpc/pmap_prot2.c: Likewise.
94289         * sunrpc/pmap_rmt.c: Likewise.
94290         * sunrpc/rpc/auth.h: Likewise.
94291         * sunrpc/rpc/auth_unix.h: Likewise.
94292         * sunrpc/rpc/clnt.h: Likewise.
94293         * sunrpc/rpc/des_crypt.h: Likewise.
94294         * sunrpc/rpc/key_prot.h: Likewise.
94295         * sunrpc/rpc/netdb.h: Likewise.
94296         * sunrpc/rpc/pmap_clnt.h: Likewise.
94297         * sunrpc/rpc/pmap_prot.h: Likewise.
94298         * sunrpc/rpc/pmap_rmt.h: Likewise.
94299         * sunrpc/rpc/rpc.h: Likewise.
94300         * sunrpc/rpc/rpc_des.h: Likewise.
94301         * sunrpc/rpc/rpc_msg.h: Likewise.
94302         * sunrpc/rpc/svc.h: Likewise.
94303         * sunrpc/rpc/svc_auth.h: Likewise.
94304         * sunrpc/rpc/types.h: Likewise.
94305         * sunrpc/rpc/xdr.h: Likewise.
94306         * sunrpc/rpc_clntout.c: Likewise.
94307         * sunrpc/rpc_cmsg.c: Likewise.
94308         * sunrpc/rpc_common.c: Likewise.
94309         * sunrpc/rpc_cout.c: Likewise.
94310         * sunrpc/rpc_dtable.c: Likewise.
94311         * sunrpc/rpc_hout.c: Likewise.
94312         * sunrpc/rpc_main.c: Likewise.
94313         * sunrpc/rpc_parse.c: Likewise.
94314         * sunrpc/rpc_parse.h: Likewise.
94315         * sunrpc/rpc_prot.c: Likewise.
94316         * sunrpc/rpc_sample.c: Likewise.
94317         * sunrpc/rpc_scan.c: Likewise.
94318         * sunrpc/rpc_scan.h: Likewise.
94319         * sunrpc/rpc_svcout.c: Likewise.
94320         * sunrpc/rpc_tblout.c: Likewise.
94321         * sunrpc/rpc_util.c: Likewise.
94322         * sunrpc/rpc_util.h: Likewise.
94323         * sunrpc/rpcinfo.c: Likewise.
94324         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
94325         * sunrpc/rpcsvc/key_prot.x: Likewise.
94326         * sunrpc/rpcsvc/klm_prot.x: Likewise.
94327         * sunrpc/rpcsvc/mount.x: Likewise.
94328         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
94329         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
94330         * sunrpc/rpcsvc/rex.x: Likewise.
94331         * sunrpc/rpcsvc/rstat.x: Likewise.
94332         * sunrpc/rpcsvc/rusers.x: Likewise.
94333         * sunrpc/rpcsvc/sm_inter.x: Likewise.
94334         * sunrpc/rpcsvc/spray.x: Likewise.
94335         * sunrpc/rpcsvc/yppasswd.x: Likewise.
94336         * sunrpc/rtime.c: Likewise.
94337         * sunrpc/svc.c: Likewise.
94338         * sunrpc/svc_auth.c: Likewise.
94339         * sunrpc/svc_authux.c: Likewise.
94340         * sunrpc/svc_raw.c: Likewise.
94341         * sunrpc/svc_run.c: Likewise.
94342         * sunrpc/svc_simple.c: Likewise.
94343         * sunrpc/svc_tcp.c: Likewise.
94344         * sunrpc/svc_udp.c: Likewise.
94345         * sunrpc/svc_unix.c: Likewise.
94346         * sunrpc/svcauth_des.c: Likewise.
94347         * sunrpc/xcrypt.c: Likewise.
94348         * sunrpc/xdr.c: Likewise.
94349         * sunrpc/xdr_array.c: Likewise.
94350         * sunrpc/xdr_float.c: Likewise.
94351         * sunrpc/xdr_mem.c: Likewise.
94352         * sunrpc/xdr_rec.c: Likewise.
94353         * sunrpc/xdr_ref.c: Likewise.
94354         * sunrpc/xdr_sizeof.c: Likewise.
94355         * sunrpc/xdr_stdio.c: Likewise.
94357         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
94358         handling.
94360 2010-08-19  Andreas Schwab  <schwab@redhat.com>
94362         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
94364 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
94366         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
94367         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
94368         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
94369         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
94370         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
94371         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
94372         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
94373         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
94374         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
94375         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
94376         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
94377         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
94378         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
94379         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
94381 2010-07-26  Anton Blanchard  <anton@samba.org>
94383         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
94384         * malloc/arena.c (heap_trim): Likewise.
94386 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
94388         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
94389         here.  Not...
94390         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
94391         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
94393 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
94395         * sysdeps/i386/elf/Makefile: New file.
94397 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94399         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
94400         from fanotify_init.
94401         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
94402         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94404 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
94406         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
94407         of strncasecmp_l.
94408         * sysdeps/multiarch/strcmp.S: Likewise.
94410 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
94412         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94413         strncase_l-nonascii.
94414         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94415         Add strncase_l-ssse3.
94416         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
94417         * sysdeps/x86_64/strcmp.S: Likewise.
94418         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
94419         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
94420         * sysdeps/x86_64/strncase.S: New file.
94421         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
94422         * sysdeps/x86_64/strncase_l.S: New file.
94423         * string/Makefile (strop-tests): Add strncasecmp.
94424         * string/test-strncasecmp.c: New file.
94426         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
94427         warning.
94429         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
94430         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
94432 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
94434         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
94436 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
94438         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
94439         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
94440         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
94442 2010-05-01  Alan Modra  <amodra@gmail.com>
94444         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
94445         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
94446         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
94447         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
94448         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
94449         tidying.  Don't tail-call __sigjmp_save for static lib.
94450         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
94451         save location.
94452         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
94453         (CALL_MCOUNT): Add eh info, and nop after bl.
94454         (TAIL_CALL_SYSCALL_ERROR): New macro.
94455         (PSEUDO_RET): Use it.
94456         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
94457         Correct save location of integer regs and cr.
94458         (_dl_profile_resolve): Correct cr save location.  Delete nops
94459         after bl when SHARED.  Reduce cfi size a little by better
94460         placement of cfi directives.
94461         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
94462         make a stack frame.  Instead use parm save area as a temp.
94463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
94464         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
94465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
94466         Don't make a stack frame for parent, use parm save area.
94467         Increase child stack frame to 112 bytes.  Don't save unused reg,
94468         and adjust reg usage.  Set up cfi on error recovery and
94469         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
94470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
94471         (__makecontext): Add dummy nop after jump to exit.
94472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
94473         Use correct parm save area and cr save, reduce stack frame.
94474         Correct cfi for possible PSEUDO_RET frame setup.
94475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
94476         Branch to local label emitted by PSEUDO_RET rather than
94477         __syscall_error.
94479 2010-08-12  Andreas Schwab  <schwab@redhat.com>
94481         [BZ #11904]
94482         * locale/programs/locale.c (print_assignment): New function.
94483         (show_locale_vars): Use it.
94485 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
94487         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
94488         field.
94489         (struct statfs64): Likewise.
94490         (_STATFS_F_FLAGS): Define.
94491         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
94492         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94493         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
94494         (ST_VALID): Define locally.
94495         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
94496         __statvfs_getflags, use the provided value.
94497         * sysdeps/unix/sysv/linux/kernel-features.h: Define
94498         __ASSUME_STATFS_F_FLAGS.
94500         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
94502         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
94503         Add sys/fanotify.h.
94504         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
94505         fanotify_mask for GLIBC_2.13.
94506         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
94507         fanotify_init and fanotify_mark.
94508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
94509         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
94511         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
94512         Add prlimit.
94513         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
94514         prlimit64 for GLIBC_2.13.
94515         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
94516         prlimit64.
94517         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
94518         syscall.
94519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
94520         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94521         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
94522         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
94523         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
94524         add prlimit alias.
94525         * sysdeps/unix/sysv/linux/prlimit.c: New file.
94527         [BZ #11903]
94528         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
94529         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
94531         * nss/Makefile: Add rules to build and run tst-nss-test1.
94532         * shlib-versions: Add entry for libnss_test1.
94533         * nss/nss_test1.c: New file.
94534         * nss/tst-nss-test1.c: New file.
94536         * nss/nsswitch.c (__nss_database_custom): Define new variable.
94537         (__nss_configure_lookup): Set appropriate entry in
94538         __nss_configure_lookup to true.
94539         * nss/nsswitch.h: Define enum with indeces of databases in
94540         databases and __nss_database_custom arrays.  Declare
94541         __nss_database_custom.
94542         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
94543         to avoid using nscd when custom rules are installed.
94544         * nss/getXXbyYY_r.c: Likewise.
94545         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
94547         * nss/nss_files/files-parse.c: Whitespace fixes.
94549 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
94551         [BZ #11883]
94552         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
94553         * posix/fnmatch_loop.c: Likewise.
94555 2010-07-17  Andi Kleen  <ak@linux.intel.com>
94557         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
94558         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
94559         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
94560         * Versions.def [GLIBC_2.13]: Add.
94562 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
94564         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94565         Also fail if tpwd after pwuid call is NULL.
94567 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94569         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
94570         when converting to ms.
94572 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94574         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
94575         EOPNOTSUPP errors with ENOTTY.
94576         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
94577         EOPNOTSUPP errors with ENOTTY.
94579 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
94581         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
94582         Add strcasecmp_l-ssse3.
94583         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
94584         strcasecmp.
94585         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
94586         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
94587         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
94589 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
94591         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
94593         * string/Makefile (strop-tests): Add strcasecmp.
94594         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
94595         strcasecmp_l-nonascii.
94596         (gen-as-const-headers): Add locale-defines.sym.
94597         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
94598         * sysdeps/x86_64/strcasecmp.S: New file.
94599         * sysdeps/x86_64/strcasecmp_l.S: New file.
94600         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
94601         * sysdeps/x86_64/locale-defines.sym: New file.
94602         * string/test-strcasecmp.c: New file.
94604         * string/test-strcasestr.c: Test both ends of the range of characters.
94605         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
94607 2010-07-29  Roland McGrath  <roland@redhat.com>
94609         [BZ #11856]
94610         * manual/locale.texi (Yes-or-No Questions): Fix example code.
94612 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
94614         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
94615         for ld.so.
94617 2010-07-27  Andreas Schwab  <schwab@redhat.com>
94619         * manual/memory.texi (Malloc Tunable Parameters): Document
94620         M_PERTURB.
94622 2010-07-26  Roland McGrath  <roland@redhat.com>
94624         [BZ #11840]
94625         * configure.in (-fgnu89-inline check): Set and substitute
94626         gnu89_inline, not libc_cv_gnu89_inline.
94627         * configure: Regenerated.
94628         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
94630 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
94632         * string/test-strnlen.c: New file.
94633         * string/Makefile (strop-tests): Add strnlen.
94634         * string/tester.c (test_strnlen): Add a few more test cases.
94635         * string/tst-strlen.c: Better error reporting.
94637         * sysdeps/x86_64/strnlen.S: New file.
94639 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
94641         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
94642         lower-latency instructions.
94644 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
94646         * string/test-strcasestr.c: New file.
94647         * string/test-strstr.c: New file.
94648         * string/Makefile (strop-tests): Add strstr and strcasestr.
94649         * string/str-two-way.h: Don't undefine MAX.
94650         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
94652 2010-07-21  Andreas Schwab  <schwab@redhat.com>
94654         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
94655         strcasestr-nonascii.
94656         (CFLAGS-strcasestr-nonascii.c): Define.
94657         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
94658         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
94659         Remove unused attribute.
94661 2010-07-20  Roland McGrath  <roland@redhat.com>
94663         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
94664         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
94665         ld.so.cache was broken.  With it, there is no way to disable dsocaps
94666         like LD_HWCAP_MASK can disable hwcaps.
94668 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94670         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
94672 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
94674         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
94675         call in strcasestr.
94676         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
94677         __strcasestr_sse42_nonascii.
94678         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
94679         strcasestr-nonascii.c.
94680         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
94682 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
94684         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
94685         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
94686         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
94687         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
94689 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
94691         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
94692         fcntl.
94694 2010-07-06  Andreas Schwab  <schwab@redhat.com>
94696         [BZ #11577]
94697         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
94698         dl_signal_cerror.
94700 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
94702         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
94703         _PC_PIPE_BUF using F_GETPIPE_SZ.
94705 2010-07-05  Roland McGrath  <roland@redhat.com>
94707         * manual/arith.texi (Rounding Functions): Fix rint description
94708         implicit in round description.
94710 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
94712         * elf/Makefile: Fix linking for a few tests to make recent linker
94713         happy.
94715 2010-06-30  Andreas Schwab  <schwab@redhat.com>
94717         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
94718         $(common-objpfx)libc_nonshared.a.
94720 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
94722         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
94723         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
94724         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94725         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94726         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
94727         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
94728         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94729         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
94731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
94732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
94733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
94734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
94735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
94736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
94737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
94738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
94739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
94740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
94741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
94742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
94743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
94744         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
94745         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
94746         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
94747         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
94748         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
94749         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
94750         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
94751         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
94752         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
94753         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
94754         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
94755         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
94756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
94757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
94758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
94759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
94760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
94761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
94762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
94763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
94764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
94765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
94766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
94767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
94768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
94769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
94771 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
94773         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
94774         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
94775         * string/memmove.c (memmove): Renamed to ...
94776         (MEMMOVE): ...this.  Default to memmove.
94777         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
94778         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
94779         (END_CHK): Define.
94780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94781         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
94782         mempcpy-ssse3-back memmove-ssse3-back.
94783         * sysdeps/x86_64/multiarch/bcopy.S: New file .
94784         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
94785         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
94786         * sysdeps/x86_64/multiarch/memcpy.S: New file.
94787         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
94788         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
94789         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
94790         * sysdeps/x86_64/multiarch/memmove.c: New file.
94791         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
94792         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
94793         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
94794         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
94795         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
94796         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
94797         Define.
94798         (index_Fast_Copy_Backward): Define.
94799         (HAS_ARCH_FEATURE): Define.
94800         (HAS_FAST_REP_STRING): Define.
94801         (HAS_FAST_COPY_BACKWARD): Define.
94803 2010-06-21  Andreas Schwab  <schwab@redhat.com>
94805         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
94806         Restore proper fallback handling.
94808 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
94810         [BZ #11701]
94811         * posix/group_member.c (__group_member): Correct checking loop.
94813         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
94814         OOM in getpwuid_r correctly.  Return error number when the caller
94815         should return, otherwise -1.
94816         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
94817         call returning > 0 value.
94818         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
94820 2010-06-07  Andreas Schwab  <schwab@redhat.com>
94822         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
94823         libc_nonshared.a from targets in modules-names.
94825 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
94827         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
94828         requires it.
94830 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
94832         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
94833         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
94834         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
94835         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
94837 2010-06-02  Andreas Schwab  <schwab@redhat.com>
94839         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
94841 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
94843         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
94844         and F_GETPIPE_SZ.
94845         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94846         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94847         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94848         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94849         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94850         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94852 2010-06-14  Roland McGrath  <roland@redhat.com>
94854         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
94856 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
94858         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
94859         __REDIRECT followed by __THROW.
94860         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
94861         * posix/getopt.h (getopt): Likewise.
94863 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
94865         * hurd/lookup-at.c (__file_name_lookup_at): Accept
94866         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
94867         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
94868         in AT_FLAGS.
94869         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
94870         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
94872 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
94874         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
94876 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
94878         [BZ #11640]
94879         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94880         Properly check family and model.
94882 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
94884         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
94886 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
94888         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
94890 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
94892         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
94893         symbol reference.
94895 2010-05-19  Andreas Schwab  <schwab@redhat.com>
94897         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
94898         symbol reference.
94900 2010-05-21  Andreas Schwab  <schwab@redhat.com>
94902         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
94903         and internal_recvmmsg.
94904         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
94905         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
94906         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
94907         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
94909         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
94910         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
94911         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
94913 2010-05-20  Andreas Schwab  <schwab@redhat.com>
94915         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
94917 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
94919         POWER7 optimizations.
94920         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
94921         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
94923 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
94925         * version.h: Update for 2.13 development version.
94927 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
94929         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
94930         exceptions.  Return 0.
94932 2010-05-07  Roland McGrath  <roland@redhat.com>
94934         * elf/ldconfig.c (main): Add a const.
94936 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
94938         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
94939         (args_options): Add no-idn option.
94940         (ahosts_keys_int): Add idn_flags to ai_flags.
94941         (parse_option): Handle 'i' option to clear idn_flags.
94943         * malloc/malloc.c (_int_free): Possible race in the most recently
94944         added check.  Only act on the data if no current modification
94945         happened.
94947 See ChangeLog.17 for earlier changes.